Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantics for terminal grammars.
- newtype Terminal g a = Terminal {
- unTerminal :: g a
- class Gram_Terminal g where
- data Unicat
- unicode_categories :: Unicat -> [GeneralCategory]
Type Terminal
Terminal grammar.
Terminal | |
|
Class Gram_Terminal
class Gram_Terminal g where Source #
Symantics for terminal grammars.
but :: Terminal g Char -> Terminal g Char -> Terminal g Char Source #
char :: Char -> g Char Source #
string :: String -> g String Source #
Gram_Terminal RuleEBNF Source # | |
Gram_Terminal EBNF Source # | |
Gram_Terminal g => Gram_Terminal (Terminal g) Source # | |
Gram_Terminal g => Gram_Terminal (CF g) Source # | |
Gram_Terminal g => Gram_Terminal (Reg lr g) Source # | |
Type Unicat
Unicode category.
unicode_categories :: Unicat -> [GeneralCategory] Source #