1 module Symantic.Parser.Automaton
2 ( module Symantic.Parser.Automaton.Instructions
4 import Symantic.Parser.Automaton.Instructions
6 import Symantic.Parser.Grammar
7 import Data.Function ((.))
8 import qualified Data.Functor as Functor
10 import qualified Language.Haskell.TH.Syntax as TH
14 ObserveSharing TH.Name (OptimizeComb TH.Name repr) a -> IO (repr a)
15 generateAutomaton = (optimizeComb Functor.<$>) . observeSharing