|Version 3 (modified by benl, 7 years ago)|
- A recent version of GHC.
It's been tested with at least 6.10.1 and 6.10.3
We use a few GHC specific extensions, so it's unlikely to work with other compilers.
- A recent version of GCC.
It's been tested with at least 4.0.1 and 4.1.2.
- If you want to work on the lexer you will need the Alex lexer generator
- 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 deps $ make
Building the base libraries separately
This can be useful if you've been hacking on the compiler and want to test it by re-compiling the base libs.
- Build the base libraries (with optimisations enabled)
$ make libs
or alternately:$ bin/ddc -O -make library/Prelude.ds