• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H20-Dec-2021-471396

HOWTO/H20-Dec-2021-3,4242,463

bin/H20-Dec-2021-

bootstrap/H20-Dec-2021-1,6881,192

erts/H07-May-2022-788,833618,291

lib/H20-Dec-2021-2,969,2862,275,980

make/H07-May-2022-11,5509,265

plt/H20-Dec-2021-

scripts/H20-Dec-2021-2,3251,763

system/H20-Dec-2021-34,47229,713

xcomp/H20-Dec-2021-3,007330

.dir-locals.elH A D20-Dec-2021409 1512

.mailmapH A D20-Dec-2021128 43

.travis.ymlH A D20-Dec-20211.4 KiB7164

AUTHORSH A D20-Dec-2021601 1410

CONTRIBUTING.mdH A D20-Dec-20215.7 KiB13891

Makefile.inH A D03-May-202243.7 KiB1,209791

OTP_VERSIONH A D20-Dec-202110 21

README.mdH A D20-Dec-20214.1 KiB9571

TAR.includeH A D20-Dec-2021372 2322

configureH A D20-Dec-202112.1 KiB442368

configure.srcH A D03-May-202212 KiB442368

erl-build-tool-vars.shH A D20-Dec-20211.1 KiB301

otp_buildH A D20-Dec-202135.5 KiB1,3321,107

otp_patch_applyH A D20-Dec-202112.6 KiB480377

otp_versions.tableH A D20-Dec-2021168.9 KiB269268

prebuild.deleteH A D20-Dec-202131 32

prebuild.skipH A D20-Dec-202132 54

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