- Notifications
You must be signed in to change notification settings - Fork1
socrata/otp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
There are several exampleson the website to help you get started. The below example defines a functionworld/0
that prints "Hello, world" in the Erlang shell:
-module(hello).-export([world/0]).world()->io:format("Hello, world\n").
Save the file ashello.erl
and runerl
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, worldok
Learn more about the Erlang syntax ofmodules,functions andexpressions onErlang.org.
Erlang/OTP is available as pre-built binary packages by most OS package managers.
apt-get install erlang
To compile Erlang from source, run the following commands. The complete building and installation instructionscan be found here.
git clone https://github.com/erlang/otp.gitcd otp
Checkout the branch or tag of your choice
git checkout maint-25# current latest stable version
Configure, build and install
./configuremakemake install
Alternatively, you can useKerl, a script that lets you easily build Erlang with a few commands.
Please visit ourGitHub Issues page for reporting bugs. The instructions for submitting bugs reportscan be found here.
We take security bugs in Erlang/OTP seriously. Please disclose the issues regarding security by sending an email toerlang-security [at] erlang [dot] org and not by creating a public issue.
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!
Read ourcontribution 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.
We have a list ofHelp Wanted bugs that we would appreciate external help from the community. This is a great place to get involved.
You can find more projects, tools and articles related to Erlang/OTP on theawesome-erlang list. Add your project there.
Erlang/OTP is released under theApache 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, softwaredistributed 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 andlimitations under the License.
%CopyrightEnd%
About
Erlang/OTP
Resources
License
Stars
Watchers
Forks
Packages0
Languages
- Erlang71.1%
- C16.8%
- C++8.0%
- Makefile1.0%
- Shell0.6%
- Java0.5%
- Other2.0%