Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ParserRepr repr inp = ObserveSharing Name (OptimizeGrammar (Program repr inp))
- type Parser inp = ParserRepr Gen inp
- machine :: forall inp repr a. Ord (InputToken inp) => Show (InputToken inp) => Lift (InputToken inp) => Grammar (InputToken inp) (Program repr inp) => Machine (InputToken inp) repr => ParserRepr repr inp a -> repr inp '[] ('Succ 'Zero) a
- module Symantic.Parser.Machine.Generate
- module Symantic.Parser.Machine.Input
- module Symantic.Parser.Machine.Instructions
- module Symantic.Parser.Machine.Optimize
- module Symantic.Parser.Machine.Program
- module Symantic.Parser.Machine.View
Documentation
type ParserRepr repr inp = ObserveSharing Name (OptimizeGrammar (Program repr inp)) Source #
type Parser inp = ParserRepr Gen inp Source #
machine :: forall inp repr a. Ord (InputToken inp) => Show (InputToken inp) => Lift (InputToken inp) => Grammar (InputToken inp) (Program repr inp) => Machine (InputToken inp) repr => ParserRepr repr inp a -> repr inp '[] ('Succ 'Zero) a Source #
Build a Machine
able to generateCode
for the given Parser
.
module Symantic.Parser.Machine.View