You can find it here. It should be easy to install and run. To make sure it's installed run the command ghci. If you have issues add /Library/Haskell/bin to your path.
To run lexer you need the better regex. To install the better regex run: cabal update cabal install regex-pcre-builtin You might get a bunch of warnings but it should install
Navigate to the directory in which all the .hs files are and run ghc --make Main.hs. Shouldn't take more than a couple seconds.
Or! To be super cool just run cabal install in the root directory. This will build everything cleanly and make it so you can run forkpiler instead of having to use ./Main in the right folder and all that stuff.
If you used ghc --make ./Main in the directory you ran ghc. Make sure the file is in the same folder.
If you used cabal install run it as forkpiler instead. This can be done in any folder on your computer.
All of the test files and the test writeup are in the assignment 1 folder. All of the working code is currently on branch assignment1. Just pull the repo and checkout assignment1 and everything will show up.
All of the files for the second assignment are in the assignment 2 folder. Currently an assignment 2 branch has not been made. Once/if it is I'll update this. If there never is than master is where the current code will be.