Added haskell_gadt -printer. It does not include a Compos instance yet, so it's not terribly useful.

This commit is contained in:
bringert
2007-05-10 13:56:41 +00:00
parent 6b6c25e5cb
commit 94531fac8a
4 changed files with 33 additions and 3 deletions

View File

@@ -270,6 +270,7 @@ customGrammarPrinter =
,(strCI "bnf", \_ -> prBNF False)
,(strCI "absbnf", \_ -> abstract2bnf . stateGrammarST)
,(strCI "haskell", \_ -> grammar2haskell . stateGrammarST)
,(strCI "haskell_gadt", \_ -> grammar2haskellGADT . stateGrammarST)
,(strCI "transfer", \_ -> grammar2transfer . stateGrammarST)
,(strCI "morpho", \_ -> prMorpho . stateMorpho)
,(strCI "fullform",\_ -> prFullForm . stateMorpho)