コンテンツにスキップ

「Erlang」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
Kgx (トーク | 投稿記録)
英語版から転載
 
Kgx (トーク | 投稿記録)
翻訳
 
3行目: 3行目:
[[es:Erlang]]
[[es:Erlang]]
[[zh-hans:Erlang]]
[[zh-hans:Erlang]]
[https://www.erlang.org/ Erlang] is a programming language with the specific qualities of immutable data and distributed computing.
[https://www.erlang.org/ Erlang] は、不変データと分散コンピューティングという特有の性質を備えたプログラミング言語です。


== Installation ==
== インストール ==


{{Pkg|erlang}} パッケージを [[インストール]] して下さい。
[[Install]] the {{Pkg|erlang}} package.


== Usage ==
== 使い方 ==


For further documentation you can read [https://erlang.org/doc/getting_started/intro.html Erlang's docs].
さらに詳しいドキュメントについては、[https://erlang.org/doc/getting_started/intro.html こちら] を参照してください。


コンソールをアクティブにするには、次のコマンドを実行します:
To activate the console, run:


$ erl
$ 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]
Erlang/OTP 22 [erts-10.7.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
27行目: 27行目:
3>
3>


== ヒントとテクニック ==
== Tips and tricks ==


=== Emacs mode ===
=== Emacs モード ===


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}}).
付属の [[Emacs]] モード {{ic|erlang-mode}} をセットアップするには、[https://erlang.org/doc/apps/tools/erlang_mode_chapter.html#setup-on-unix ドキュメント] に従ってください。(OTP パスは {{ic|/usr/lib/erlang}} です)

2024年2月8日 (木) 04:31時点における最新版

Erlang は、不変データと分散コンピューティングという特有の性質を備えたプログラミング言語です。

インストール

erlang パッケージを インストール して下さい。

使い方

さらに詳しいドキュメントについては、こちら を参照してください。

コンソールをアクティブにするには、次のコマンドを実行します:

$ erl

コマンドは次のように入力できます:

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>

ヒントとテクニック

Emacs モード

付属の Emacs モード erlang-mode をセットアップするには、ドキュメント に従ってください。(OTP パスは /usr/lib/erlang です)