caraML: a compiler for a sweet and simple subset of Standard ML
To run test suite, run
cabal test
To compile a code file at the path test/file.cml
, run
cabal run caraml-exe -- test/file.cml
To run a specific step of the compiler, specify it with a flag:
cabal run caraml-exe -- --lexer test/file.cml
.github/workflows/ # Github Actions config
app/ # executable file
design/ # grammar definition of the language
src/ # majority of source code
test/ # test suite
caraml.cabal # config file for the cabal package