Archive for the ‘Erlang’ Category

  1. Hello, Erlang World!

    Posted on 1月 29th, 2012 by cx20

    Erlang

    Erlang は並行処理指向のプログラミング言語である。名前の由来は数学者のアグナー・アーラン (Agner Krarup Erlang) より。

    ソースコード

    -module(hello).
    -export([main/0]).
     main()->
         io:format("Hello, Erlang World!n").

    コンパイル&実行方法

    $ erlc hello.erl
    $ erl -noshell -s hello main -s init stop

    実行結果

    Hello, Erlang World!