This project allows compiling a subset of haskell to the erlang WM (beam).
- Erlang OTP
- GHC (easiest way to get it is from: Haskell Platform)
- Parsec (Through cabal: cabal install parsec)
Build the Etnt compiler (Etnt):
make all
./etnt gt.tnt
If everything went well (i.e. no bugs in your tnt code), you have an output beam file: gt.beam
Open up the erlang shell (erl), and type gt:gt(300,29). The result should be:
Eshell V5.10.4 (abort with ^G)
1> gt:gt(300,29).
true