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

Parsley.Internal.Backend.Machine.Eval

Description

This module exports the eval functions used to convert a machine into code.

Since: 1.0.0.0

Synopsis

Documentation

eval Source #

Arguments

:: forall o a. (Trace, Ops o, ?ops :: InputOps (StaRep o), ?flags :: Flags) 
=> LetBinding o a a

The binding to be generated.

-> DMap MVar (LetBinding o a)

The map of all other required bindings.

-> StaRep o 
-> Code (Maybe a)

The code for this parser.

This function performs the evaluation on the top-level let-bound parser to convert it into code.

Since: 1.0.0.0