Version 2 (modified by benl, 5 years ago)

--

Building

Dependencies

  1. 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.

  1. A recent version of GCC.

It's been tested with at least 4.0.1 and 4.1.2.

  1. If you want to work on the lexer you will need the Alex lexer generator
  1. The graphical demos depend on libxv but most Linux distros, and Mac OSX already have this.

Builing the compiler and runtime system

  1. Build the compiler, runtime system and external libraries.
    $ make deps
    $ make
    

Building the base libraries

  1. Build the base libraries (with optimisations enabled)
    $ bin/ddc -O -make library/Prelude.ds