parsley-core-2.2.0.0: A fast parser combinator library backed by Typed Template Haskell
LicenseBSD-3-Clause
MaintainerJamie Willis
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

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

Documentation

codeGen Source #

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