Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
collectTerminals :: Set Rule -> Set Symbol Source
Collect all terminal symbols from a set of rules.
TODO move to FormalGrammars library
TODO i guess, this collects multidim stuff for now!!!
collectNonTerminals :: Set Rule -> Set Symbol Source
Collect all non-terminal symbols from a set of rules.
TODO move to FormalGrammars library
collectEpsilons :: Set Rule -> Set SynTermEps Source
TODO not needed anymore ?!
genEps :: Symbol -> Symbol Source
Generate a multidim epsilon symbol of the same length as the given symbol.