Erlang Backend for Idris Compiler
See the codeIdris to Erlang Compiler and Libraries.
I started using Stackage, so these instructions now use stackage.
(cd irts; erlc *.erl)stack build(cd libs/erlang; stack exec idris -- --install erlang.ipkg)You're up and running. To invoke the compiler, use
$ stack exec idris -- --codegen=erlang --package=erlang Main.idr -o main.erl
Then run the program using
$ escript main.erl
If everything has worked, then you should be able to compile and run
all the examples. If not, ¯\_(ツ)_/¯
47 commits
1 commits
Haskell
69.4%
Idris
16.5%
Erlang
14.2%
Erlang Backend for Idris Compiler
See the codeIdris to Erlang Compiler and Libraries.
I started using Stackage, so these instructions now use stackage.
(cd irts; erlc *.erl)stack build(cd libs/erlang; stack exec idris -- --install erlang.ipkg)You're up and running. To invoke the compiler, use
$ stack exec idris -- --codegen=erlang --package=erlang Main.idr -o main.erl
Then run the program using
$ escript main.erl
If everything has worked, then you should be able to compile and run
all the examples. If not, ¯\_(ツ)_/¯
47 commits
1 commits
Haskell
69.4%
Idris
16.5%
Erlang
14.2%