Version 75 (modified by benl, 9 years ago) (diff)


The Disciplined Disciple Compiler (DDC)

Disciple is a dialect of Haskell that uses strict evaluation as the default, and supports arbitrary destructive update, effect and closure typing, type directed field projections and allied functional goodness. Many Haskell programs are also Disciple programs, or will run with minor changes. 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.

DDC is still in the "research prototype" stage, meaning that it will compile some programs if you are nice to it, but expect compiler panics and missing features. However, it is under active development and it is becoming more stable on a daily basis.

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 Lippmeier (benl23) -- updated 26th August 2010

  • The new core type checker is in place, and I've finally managed to eliminate the old TFetters constructor from Type expressions.
  • I'm currently cleaning up and documenting the type inferencer, and fixing bugs in the process.
  • The most critical bugs are the Order2 and Order3-4 tests, which check effect inference applied to some pathological higher-order functions. These worked before but were broken during the last refactoring effort. I've identified the problem and fixed the original bugs, and am now following the changes in the rest of the code.

Erik de Castro Lopo (m3ga) -- updated 18th Aug 2010

  • Started work on an LLVM backend. The idea is to have a -via-llvm command line option which would then generate object files using LLVM. The LLVM generated object files will be compatible with the object files generated using the C backend for easier debugging. Another goal for the backend is to make it easier to bootstrap the compiler (compile DDC with DDC) and to port the compiler to new platforms and architectures.
  • I'm pretty much stalled on all the current bugs and waiting for Ben to finish the refactoring at which time I'll have another crack at them.
  • Improvements to DDC's library.


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