No description
  • Erlang 70.8%
  • C 16.8%
  • C++ 8%
  • Makefile 1%
  • Shell 0.6%
  • Other 2.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-06-12 18:35:16 +02:00
.devcontainer otp: Add configuration for gitpod and DevContainer 2022-01-21 10:30:25 +01:00
.github Merge branch 'maint' 2023-06-09 14:52:27 +02:00
bin The R13B03 release. 2009-11-20 14:54:40 +00:00
bootstrap Merge branch 'maint' 2023-06-09 14:52:27 +02:00
erts Merge branch 'maint' 2023-06-12 13:03:44 +02:00
HOWTO docs: Fix some broken links 2023-06-02 11:30:34 +02:00
lib Merge branch 'maint' 2023-06-12 18:35:16 +02:00
make Merge branch 'maint-26' into maint 2023-06-08 15:35:52 +02:00
plt The R13B03 release. 2009-11-20 14:54:40 +00:00
scripts scripts/pre-push: Reject fixup! commits 2023-06-08 12:17:54 +02:00
system Merge branch 'maint' 2023-06-12 13:03:44 +02:00
xcomp Switch to deterministic builds for Android 2022-08-19 23:45:32 +02:00
.dir-locals.el Merge branch 'maint' 2021-11-01 08:58:22 +01:00
.editorconfig Set editor tab_width to 8 2021-11-01 13:50:37 +01:00
.gitattributes Stop including in .gitignore files in the source tar files 2010-08-18 08:48:09 +02:00
.gitignore otp: Refactor second and third bootstrap 2022-10-18 12:23:14 +02:00
.gitpod.yml otp: Add configuration for gitpod and DevContainer 2022-01-21 10:30:25 +01:00
.mailmap Add .mailmap file 2010-02-14 09:35:49 +01:00
AUTHORS The R13B03 release. 2009-11-20 14:54:40 +00:00
configure Update copyright year 2022-09-20 12:30:27 +02:00
configure.src Update copyright year 2022-09-20 12:30:27 +02:00
CONTRIBUTING.md Document squashing of smaller changes in CONTRIBUTING 2023-05-31 17:12:02 +02:00
erl-build-tool-vars.sh Update copyright year 2021-12-15 23:29:58 +01:00
erlang_ls.config otp: Add configuration for gitpod and DevContainer 2022-01-21 10:30:25 +01:00
LICENSE.txt Change license text to APLv2 2015-06-18 11:31:02 +02:00
Makefile.in otp: Refactor second and third bootstrap 2022-10-18 12:23:14 +02:00
otp_build otp_build check help text improvements 2023-05-10 11:14:44 +02:00
otp_patch_apply Merge branch 'maint' 2021-12-15 23:39:08 +01:00
OTP_VERSION Updated OTP version 2023-06-08 07:33:54 +02:00
otp_versions.table Merge branch 'maint-26' into maint 2023-06-08 15:35:52 +02:00
prebuild.delete gh: Use prebuilt as cache to speedup build 2022-10-18 12:23:14 +02:00
prebuild.skip OTP-8323 Cross compilation improvements and other build system 2010-02-03 19:04:55 +01:00
README.md Update copyright year 2023-02-14 14:02:43 +01:00
TAR.include Move README and INSTALL to HOWTO folder 2012-07-19 12:24:40 +02:00

Erlang/OTP

Erlang is a programming language and runtime system for building massively scalable soft real-time systems with requirements on high availability.

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.

Learn how to program in Erlang.

Examples

There are several examples on the website to help you get started. The below example defines a function world/0 that prints "Hello, world" in the Erlang shell:

-module(hello).
-export([world/0]).

world() -> io:format("Hello, world\n").

Save the file as hello.erl and run erl to enter the Erlang shell to compile the module.

Erlang/OTP 24 [erts-12.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]

Eshell V12.2  (abort with ^G)
1> c(hello).
{ok,hello}
2> hello:world().
Hello, world
ok

Learn more about the Erlang syntax of modules, functions and expressions on Erlang.org.

Installation

Binary Distributions

Erlang/OTP is available as pre-built binary packages by most OS package managers.

apt-get install erlang

Compiling from source

To compile Erlang from source, run the following commands. The complete building and installation instructions can be found here.

git clone https://github.com/erlang/otp.git
cd otp

Checkout the branch or tag of your choice

git checkout maint-25    # current latest stable version

Configure, build and install

./configure
make
make install

Alternatively, you can use Kerl, a script that lets you easily build Erlang with a few commands.

Bug Reports

Please visit our GitHub Issues page for reporting bugs. The instructions for submitting bugs reports can be found here.

Security Disclosure

We 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.

Contributing

We 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!

Contribution Guide

Read our contribution guide 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.

Help Wanted

We have a list of Help Wanted bugs that we would appreciate external help from the community. This is a great place to get involved.

Awesome-Erlang

You can find more projects, tools and articles related to Erlang/OTP on the awesome-erlang list. Add your project there.

License

Erlang/OTP is released under the Apache License 2.0.

%CopyrightBegin%

Copyright Ericsson AB 2010-2023. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

%CopyrightEnd%