platinum-parsing-0.1.0.0: General Framework for compiler development.

Copyright(c) 2017 Patrick Champion
Licensesee LICENSE file
Maintainerchlablak@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

PP.Lexers.Dfa

Description

 

Synopsis

Documentation

data DfaConfig Source #

DFA configuration

Instances

Show DfaConfig Source # 
Lexer DfaConfig Source #

Lexer instance for DFA configuration Dragon Book (2nd edition, fr), page 156, example 3.28

dfaConfig :: String -> DfaGraph -> DfaConfig Source #

Create DFA configuration

createDfa :: [Rule] -> DfaGraph Source #

Create a complete DFA from a list of lexical rules

createDfa' :: [Rule] -> IO (Either String DfaGraph) Source #

Exception-safe version of createDfa