ValerianClerc / caraml

caraML: a compiler for a sweet and simple subset of Standard ML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

caraml

caraML: a compiler for a sweet and simple subset of Standard ML

Usage

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

Repo structure

.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

About

caraML: a compiler for a sweet and simple subset of Standard ML

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%