Home > Uncategorized > Hello Erlang!

Hello Erlang!

February 21st, 2009

Since this is the first post, I just want to test the Erlang syntax highlighting enabled in WordPress. It uses SyntaxHighlighter plugin and the Erlang Brush file from Steve Gilham

-module(test).
-export(hello/0).
hello() ->
    io:format("Hello Erlang~n").

And you know the expected output. I’ll post more serious examples later … this is just the very first post!

Uncategorized

  1. dix
    February 2nd, 2011 at 02:29 | #1

    Is it possible to compile programs in the erlang executable

  2. Trung
    February 8th, 2011 at 17:00 | #2

    As far as I know, it is not possible. However you can run erlang script directly without compiling it, aka escript. Like shell script or window bash.

  1. No trackbacks yet.