Getting Started

You need recent versions of GHC, Cabal and LLVM already installed:

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.1

$ cabal --version
cabal-install version
compiled using version of the Cabal library

$ llc --version
LLVM version 5.0.0

Clone the source repository from github:

$ git clone
$ cd ddc

Install package dependencies via cabal:

$ make setup

Build the compiler:

$ make

Run the testsuite to ensure everything is ok:

$ make war

Build and run one of the demos:

$ bin/ddc -make test/ddc-demo/source/tetra/10-Defib/04-Life/Main.ds
$ test/ddc-demo/source/tetra/10-Defib/04-Life/Main -steps 1000