Version 9 (modified by benl, 4 years ago)




  1. A recent version of GHC.

It's been tested with at least 6.10.1, 6.10.4 and 6.12.1
We use a few GHC specific extensions, so it's unlikely to work with other Haskell compilers.

As of Feb 2010 the Haskell platform still hasn't been released, so if you're using 6.12.1 separately you'll need the following libraries. Later versions will probably work.

 cabal install mtl -p --reinstall
 cabal install QuickCheck- -p
 cabal install regex-base -p
 cabal install regex-posix -p
 cabal install regex-compat -p
 cabal install haskell-src -p

If you want to modify the lexer you will need the Alex lexer generator. If you don't modify the lexer you won't need to install this.

 cabal install alex
  1. A recent version of GCC.

It's been tested with at least 4.0.1, 4.1.2, 4.2.1 and 4.3.1. Later versions will probably work. We compile C files with the -std=c99 option to GCC, so the code should be fairly portable. We haven't explicitly tested it with other compilers though.

  1. The graphical demos depend on libxv but most Linux distros, and Mac OSX already have this.


  • Build the compiler, runtime system, external libraries and base libraries.
    $ make
  • As above, but also build source docs and run all the regression tests.
    $ make total

More useful build targets are listed at the top of the Makefile