A simple parser for a Haskell-like language written in Haskell.
-
Follow the Nix installation instructions to set up
nix
. -
Enter the nix shell from the
shell.nix
.
nix-shell
- Build the project using ghc or run it with runhaskell.
ghc Main.hs
./Main
runhaskell Main.hs
You can modify the test/Main.2hs
file and run the project to generate the abstract syntax tree of the file contents.
Note
Not all features of Haskell are supported.
This project is licensed under the MIT License. Feel free to modify and use it as you wish!