Created
August 19, 2013 20:26
-
-
Save krestenkrab/6273690 to your computer and use it in GitHub Desktop.
Sample run of Elixir on Erjang.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
krab$ ./bin/iex | |
ej -env ERL_LIBS :/Users/krab/Projects/elixir/bin/../lib -noshell -user Elixir-IEx-CLI -extra --no-halt --erl -user Elixir-IEx-CLI | |
Warning: could not run smart terminal, falling back to dumb one | |
Interactive Elixir (0.8.2.dev) - press Ctrl+C to exit (type h() ENTER for help) | |
iex(1)> 1/0 | |
** (ArithmeticError) bad argument in arithmetic expression | |
:erlang./(1, 0) | |
:erlang.apply/2 | |
erl_eval.erl:572: :erl_eval.do_apply/6 | |
elixir.erl:133: :elixir.eval_forms/3 | |
server.ex:19: IEx.Server.do_loop/1 | |
:erlang.apply/2 | |
error_handler.erl:42: :error_handler.undefined_function/3 | |
:erlang.apply/2 | |
iex(1)> :"java.util.Date".new().toString() | |
"Mon Aug 19 22:23:53 CEST 2013" | |
iex(2)> | |
awesome! is that R16?
Now it is.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Things to notice:
erl
withej
in thebin/elixir
script and you're go