Skip to content

Latest commit

 

History

History
40 lines (40 loc) · 932 Bytes

README.md

File metadata and controls

40 lines (40 loc) · 932 Bytes

This project allows compiling a subset of haskell to the erlang WM (beam).

Prerequisites:


Build the Etnt compiler (Etnt):
make all

Compile beam code from haskell/tnt code:


./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