Version 57 (modified by benl, 10 years ago) (diff)


The Disciplined Disciple Compiler (DDC)

This is the developer's wiki for the Disciplined Disciple Compiler.

An outline of the project is at

Our end goal is to have a light-weight functional language based on Haskell's syntax but with direct support for strict evaluation and arbitrary destructive update. These two features give the programmer better control over runtime performance than most other functional languages can offer. Our target applications are the ones that you always find yourself writing C programs for, because existing functional languages are too slow, use too much memory, or don't let you update the data that you need to.

State of Play

This section records what the DDC developers are actively working on. If you're hacking on something DDC related then by all means add yourself here. Records are dropped off if they haven't been updated for more than a month.

Ben (benl23) -- updated 11th June 2010

  • I'm cleaning up the core language and rewriting the core type checker. We currently have Core.Reconstruct that reconstructs some type annotations as well as checks the type information, but we want to split this into two separate phases. We only have to do the real reconstruction during conversion between the desugared and core language, but we want to run the checker after every stage (during debugging).
  • After doing this we should be able to use the TConstrain form of type expressions in the core language, ditch the TFetters version, then finish work on the new interface file format.

Erik de Castro Lopo (m3ga) -- updated 25th May 2010

  • Above all, I'm doing bug fixing. However there are still large chunks of the compiler I don't understand. These bits need Ben's attention.
  • The top of my list are bugs (in numeric order) #7 (waiting on #168), #102 and anything marked with a milestone of 0.1.3. These bugs are all deeper than the ones I've worked on previously and I'm not sure if I can make progress on these or not.
  • Working on finding examples of of code (currently concentrating on list comprehensions) which compiles with GHC but fails with DDC. We'd like to make DDC as Haskell compatible as possible.
  • Working on making the library more usable.
  • Looking into doing an LLVM backend.


Language Overview?

Syntactic differences to Haskell?

The Language Definition is still evolving, but the wiki should be in sync with the development branch.



How you can help

  • Download out the compiler, write programs, and file bug reports!
  • Write more test programs.
  • Fix the bugs on the 0.1.3 Buglist
  • Write more quick check tests.

How to get help

Further Reading