parsley-core-1.4.0.0: A fast parser combinator library backed by Typed Template Haskell
LicenseBSD-3-Clause
MaintainerJamie Willis
Stabilityexperimental
Safe HaskellNone
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) 
=> Code (InputDependant (Rep o))

The input as provided by the user.

-> LetBinding o a a

The binding to be generated.

-> DMap MVar (LetBinding o a)

The map of all other required bindings.

-> 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