compilation-0.0.0.3: Haskell functionality for quickly assembling simple compilers.

Safe HaskellSafe-Inferred

Control.Compilation.Sequences

Description

Compilation Monad and combinators for quickly assembling simple compilers.

Control/Compilation/Sequences.hs

A generic compilation monad for quickly assembling simple compilers for target languages that are primarily sequences of instructions (possibly with nesting, e.g., loop constructs or procedures).

Synopsis

Documentation

type StateExtensionSequences a = [[a]]Source

Type synonyms and class memberships.

class StateExtension a => HasSequences a b whereSource

State extension class definition, and combinators for compiling into a sequence (possibly with nested blocks) of instructions.