| License | BSD-3-Clause |
|---|---|
| Maintainer | Jamie Willis |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Parsley.Internal.Backend.CodeGenerator
Description
This module exports codeGen used to translation from the high-level representation
to the low-level representation.
Since: 1.0.0.0
Synopsis
- codeGen :: Trace => Maybe (MVar x) -> Fix Combinator x -> Set SomeΣVar -> IMVar -> LetBinding o a x
Documentation
Arguments
| :: Trace | |
| => Maybe (MVar x) | The name of the parser, if it exists. |
| -> Fix Combinator x | The definition of the parser. |
| -> Set SomeΣVar | The free registers it requires to run. |
| -> IMVar | The binding identifier to start name generation from. |
| -> LetBinding o a x |
Translates a parser represented with combinators into its machine representation.
Since: 1.0.0.0