sequent-core

Alternative Core language for GHC plugins

https://github.com/lukemaurer/sequent-core

Latest on Hackage:0.5.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Luke Maurer, Paul Downen, Iavor S. Diatchki
Maintained by [email protected]

Sequent Core is a GHC plugin library based on a sequent calculus. It includes:

  • A set of datatypes for a language expressing function code as interactions between values and their contexts (continuations)

  • A library for writing GHC optimizer plugins using the Sequent Core language in place of the built-in Core language

  • Example plugins written using Sequent Core