Based (loosely) on language-python
There are currently two versions:
How to build
Make sure your locale supports UTF-8. For example, on most Unix-like platforms, you can type:
cabal clean && cabal configure && cabal build
cabal clean && cabal configure -fbuildtests && cabal build
Running the tests
To debug the grammar
Alex 3.0 now supports unicode natively, and has been included as a dependency in the cabal file.
Note: The generation of the lexical analyser has been separated out, to remove the install-time dependency on Alex. If any changes need to be made to the lexer, the Lexer.x source lies in src-dev, and the runalex.sh script will invoke Alex with the appropriate directories.