• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    Haskell
  • License
    Other
  • Created about 12 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The Disco Discus Compiler

The Disco Discus Compiler Build Status

The Discus language is an experimental dialect of Haskell which investigates static typing and program transformation in the presence of computational effects. The compiler (DDC) is currently "working alpha" quality, meaning there is a complete system that can be hacked around with, but itโ€™s not yet industrial strength.

Features

  • Haskell-like source language, so Haskell-like programs should work with minor modifications.

  • Modal region and effect system using โ€˜boxโ€™ and โ€˜runโ€™ to suspend and force computations.

  • Higher rank polymorphism with bidirectional type inference.

  • Simple two space copying garbage collection.

  • Default call-by-value evaluation.

  • Typed external core language.

Show Me Code

Check out the Demos, List Library, and Text Implementation in the source tree. The Demos are simple programs. The List Library demonstrates effect polymorphism, and the Text implementation demonstrates use of private regions and capabilities.

Larger programs like a Ray Tracer are described on the blog.

Let Me Hack

See the Getting Started guide on the home page.

More Information

Home Page: http://discus-lang.org

The GitHub site: http://github.com/discus-lang/ddc

Development Wiki: http://trac.discus-lang.org

Development Blog: http://blog.discus-lang.org

Mailing List: https://groups.google.com/forum/#!forum/discus-lang