Erlang: Difference between revisions
(Update Interlanguage link) |
(Add links to other languages) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Programming languages]] | [[Category:Programming languages]] | ||
[[es:Erlang]] | [[es:Erlang]] | ||
[[ja:Erlang]] | |||
[[zh-hans:Erlang]] | [[zh-hans:Erlang]] | ||
{{ | {{Merge|List of applications|Content does not justify dedicated article}} | ||
[https://www.erlang.org/ Erlang] is a programming language with the specific qualities of immutable data and distributed computing. | [https://www.erlang.org/ Erlang] is a programming language with the specific qualities of immutable data and distributed computing. | ||
Line 11: | Line 12: | ||
== Usage == | == Usage == | ||
For further documentation you can read [ | For further documentation you can read [https://erlang.org/doc/getting_started/intro.html Erlang's docs]. | ||
To activate the console, | To activate the console, run: | ||
$ erl | |||
Commands can be entered like this: | |||
Erlang/OTP 22 [erts-10.7.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] | |||
Eshell V10.7.2 (abort with ^G) | |||
1> 1 + 2 . | |||
3 | |||
2> (2 + 3) * 4 / 5 . | |||
4.0 | |||
3> | |||
== Tips and tricks == | == Tips and tricks == | ||
Line 29: | Line 32: | ||
=== Emacs mode === | === Emacs mode === | ||
To set up the included [[Emacs]] mode, {{ic|erlang-mode}}, follow the [ | To set up the included [[Emacs]] mode, {{ic|erlang-mode}}, follow the [https://erlang.org/doc/apps/tools/erlang_mode_chapter.html#setup-on-unix documentation] (the OTP path is {{ic|/usr/lib/erlang}}). |
Latest revision as of 19:31, 7 February 2024
Erlang is a programming language with the specific qualities of immutable data and distributed computing.
Installation
Usage
For further documentation you can read Erlang's docs.
To activate the console, run:
$ erl
Commands can be entered like this:
Erlang/OTP 22 [erts-10.7.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] Eshell V10.7.2 (abort with ^G) 1> 1 + 2 . 3 2> (2 + 3) * 4 / 5 . 4.0 3>
Tips and tricks
Emacs mode
To set up the included Emacs mode, erlang-mode
, follow the documentation (the OTP path is /usr/lib/erlang
).