A bare-bones calculus of constructions

Latest on Hackage:1.7.2

See all snapshots morte appears in

BSD-3-Clause licensed by Gabriel Gonzalez
Maintained by [email protected]

Module documentation for 1.6.20

This version can be pinned in stack with:[email protected]:f189e02cbf424643ba8e34254958840308a9862ea9644aba95372621bb208cb4,3599

Morte is a typed, purely functional, and strongly normalizing intermediate language designed for whole-program super-optimization. Use this library to type-check, optimize, parse, pretty-print, serialize and deserialize expressions in this intermediate language.

This library also installs an executable that you can use to type-check and optimize a morte program.

Morte.Core contains the core calculus of constructions for this language

Morte.Lexer contains the alex-generated lexer for Morte

Morte.Parser contains the parser for Morte

Read Morte.Tutorial to learn how to use this library