|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| .github/ | H | 20-Dec-2021 | - | 471 | 396 |
| HOWTO/ | H | 20-Dec-2021 | - | 3,424 | 2,463 |
| bin/ | H | 20-Dec-2021 | - | | |
| bootstrap/ | H | 20-Dec-2021 | - | 1,688 | 1,192 |
| erts/ | H | 07-May-2022 | - | 788,833 | 618,291 |
| lib/ | H | 20-Dec-2021 | - | 2,969,286 | 2,275,980 |
| make/ | H | 07-May-2022 | - | 11,550 | 9,265 |
| plt/ | H | 20-Dec-2021 | - | | |
| scripts/ | H | 20-Dec-2021 | - | 2,325 | 1,763 |
| system/ | H | 20-Dec-2021 | - | 34,472 | 29,713 |
| xcomp/ | H | 20-Dec-2021 | - | 3,007 | 330 |
| .dir-locals.el | H A D | 20-Dec-2021 | 409 | 15 | 12 |
| .mailmap | H A D | 20-Dec-2021 | 128 | 4 | 3 |
| .travis.yml | H A D | 20-Dec-2021 | 1.4 KiB | 71 | 64 |
| AUTHORS | H A D | 20-Dec-2021 | 601 | 14 | 10 |
| CONTRIBUTING.md | H A D | 20-Dec-2021 | 5.7 KiB | 138 | 91 |
| Makefile.in | H A D | 03-May-2022 | 43.7 KiB | 1,209 | 791 |
| OTP_VERSION | H A D | 20-Dec-2021 | 10 | 2 | 1 |
| README.md | H A D | 20-Dec-2021 | 4.1 KiB | 95 | 71 |
| TAR.include | H A D | 20-Dec-2021 | 372 | 23 | 22 |
| configure | H A D | 20-Dec-2021 | 12.1 KiB | 442 | 368 |
| configure.src | H A D | 03-May-2022 | 12 KiB | 442 | 368 |
| erl-build-tool-vars.sh | H A D | 20-Dec-2021 | 1.1 KiB | 30 | 1 |
| otp_build | H A D | 20-Dec-2021 | 35.5 KiB | 1,332 | 1,107 |
| otp_patch_apply | H A D | 20-Dec-2021 | 12.6 KiB | 480 | 377 |
| otp_versions.table | H A D | 20-Dec-2021 | 168.9 KiB | 269 | 268 |
| prebuild.delete | H A D | 20-Dec-2021 | 31 | 3 | 2 |
| prebuild.skip | H A D | 20-Dec-2021 | 32 | 5 | 4 |
README.md
1# [Erlang/OTP](https://www.erlang.org)
2
3**Erlang** is a programming language and runtime system for building massively scalable soft real-time systems with requirements on high availability.
4
5**OTP** is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs. [Learn more about Erlang and OTP](http://erlang.org/doc/system_architecture_intro/sys_arch_intro.html).
6
7[Release notes](http://erlang.org/download/otp_versions_tree.html) for all OTP versions.
8
9[Learn how to program in Erlang](http://learnyousomeerlang.com/content).
10
11## Examples
12There are several examples [on the website](http://erlang.org/faq/getting_started.html) to help you get started. The below example defines a function `world/0` that prints "Hello, world" in the Erlang shell:
13```erlang
14-module(hello).
15-export([world/0]).
16
17world() -> io:format("Hello, world\n").
18```
19Save the file as `hello.erl` and run `erl` to enter the Erlang shell to compile the module.
20```
21Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
22
23Eshell V8.2 (abort with ^G)
241> c(hello).
25{ok,hello}
262> hello:world().
27Hello, world
28ok
29```
30Learn more about the Erlang syntax of [modules](http://erlang.org/doc/reference_manual/modules.html), [functions](http://erlang.org/doc/reference_manual/functions.html) and [expressions](http://erlang.org/doc/reference_manual/expressions.html) on [Erlang.org](https://www.erlang.org).
31
32## Installation
33### Binary Distributions
34Erlang/OTP is available as pre-built binary packages by most OS package managers.
35```
36apt-get install erlang
37```
38### Compiling from source
39
40To compile Erlang from source, run the following commands. The complete building and installation instructions [can be found here](HOWTO/INSTALL.md).
41```
42git clone https://github.com/erlang/otp.git
43cd otp
44./otp_build autoconf
45./configure
46make
47make install
48```
49Alternatively, you can use [Kerl](https://github.com/kerl/kerl), a script that lets you easily build Erlang with a few commands.
50
51## Bug Reports
52
53Please visit [bugs.erlang.org](https://bugs.erlang.org/issues/?jql=project%20%3D%20ERL) for reporting bugs. The instructions for submitting bugs reports [can be found here](https://github.com/erlang/otp/wiki/Bug-reports).
54
55### Security Disclosure
56
57We take security bugs in Erlang/OTP seriously. Please disclose the issues regarding security by sending an email to **erlang-security [at] erlang [dot] org** and not by creating a public issue.
58
59## Contributing
60
61We are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Erlang/OTP. We appreciate your help!
62
63### Contribution Guide
64
65Read our [contribution guide](CONTRIBUTING.md) to learn about our development process, how to propose fixes and improvements, and how to test your changes to Erlang/OTP before submitting a pull request.
66
67### Help Wanted
68
69We have a list of [Help Wanted](https://bugs.erlang.org/issues/?jql=status%20%3D%20%22Help%20Wanted%22) bugs that we would appreciate external help from the community. This is a great place to get involved.
70
71## License
72
73Erlang/OTP is released under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
74
75> %CopyrightBegin%
76>
77> Copyright Ericsson AB 2010-2017. All Rights Reserved.
78>
79> Licensed under the Apache License, Version 2.0 (the "License");
80> you may not use this file except in compliance with the License.
81> You may obtain a copy of the License at
82>
83> http://www.apache.org/licenses/LICENSE-2.0
84>
85> Unless required by applicable law or agreed to in writing, software
86> distributed under the License is distributed on an "AS IS" BASIS,
87> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88> See the License for the specific language governing permissions and
89> limitations under the License.
90>
91> %CopyrightEnd%
92
93## Awesome-Erlang
94You can find more projects, tools and articles related to Erlang/OTP on the [awesome-erlang list](https://github.com/drobakowski/awesome-erlang). Add your project there.
95