Epic - a Supercombinator Compiler
See the code
Build instructions:
* cabal install
* ...that's it
The command line tool, epic takes a source file and produces executable
code, via C. Separate compilation is supported, in a fairly simple
way, e.g. to compile a main program main.e which includes some
functions defined in lib.e:
* Build lib.o with the command epic -c lib.e.
* Import functions in main.e with the line include "lib.ei" in the source.
* Build the executable with epic main.e lib.o -o main
Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.
TeX
68.4%
Haskell
19.5%
C
7.8%
E
2.1%
Bison
1.7%
Epic - a Supercombinator Compiler
See the code
Build instructions:
* cabal install
* ...that's it
The command line tool, epic takes a source file and produces executable
code, via C. Separate compilation is supported, in a fairly simple
way, e.g. to compile a main program main.e which includes some
functions defined in lib.e:
* Build lib.o with the command epic -c lib.e.
* Import functions in main.e with the line include "lib.ei" in the source.
* Build the executable with epic main.e lib.o -o main
Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.
TeX
68.4%
Haskell
19.5%
C
7.8%
E
2.1%
Bison
1.7%