yapb-0.1.3.2: Yet Another Parser Builder (YAPB)
Safe HaskellSafe-Inferred
LanguageHaskell2010

CodeGenC

Documentation

cgStates :: Show a => [[a]] -> IO () Source #

cgStates' :: Show a => [[a]] -> IO () Source #

cgState :: Show a => [a] -> IO () Source #

cgToState :: Show a => [a] -> [Char] Source #

cgToState' :: Show a => [a] -> [Char] Source #

cgCNames :: [[Char]] -> [[Char]] Source #

cgEnum :: [Char] -> IO a -> IO () Source #

prGotoTableDim :: (Show a1, Show a2) => a1 -> a2 -> IO () Source #

prGotoTableArr' :: (Eq t, Show a) => [t] -> [String] -> [(t, Symbol, [a])] -> IO () Source #

prGotoTableArr'' :: (Eq t, Show a) => t -> [String] -> [(t, Symbol, [a])] -> IO () Source #

cgInStates :: (Eq t, Num t, Show a) => t -> [([a], ExtendedSymbol, LALRAction)] -> [(Int, ProductionRule)] -> IO () Source #

cgActions :: (Eq t, Num t) => t -> [(a, ExtendedSymbol, LALRAction)] -> [(Int, ProductionRule)] -> IO () Source #

cgActions' :: (Eq t, Num t) => t -> [(a, ExtendedSymbol, LALRAction)] -> [(Int, ProductionRule)] -> IO () Source #

cgAction :: (Eq t, Num t) => t -> ExtendedSymbol -> LALRAction -> [(Int, ProductionRule)] -> IO () Source #

cgAction' :: (Eq t1, Num t1, Foldable t2) => t1 -> ExtendedSymbol -> [Char] -> t2 a -> p -> IO () Source #

prTab :: (Eq t, Num t) => t -> IO () Source #