PMCFG pretty printer

This commit is contained in:
krasimir
2009-02-07 23:31:22 +00:00
parent 14c13cb080
commit 5c2ce87cde
7 changed files with 118 additions and 68 deletions

View File

@@ -30,6 +30,7 @@ exportPGF :: Options
exportPGF opts fmt pgf =
case fmt of
FmtPGFPretty -> multi "txt" prPGFPretty
FmtPMCFGPretty -> single "pmcfg" prPMCFGPretty
FmtJavaScript -> multi "js" pgf2js
FmtHaskell -> multi "hs" (grammar2haskell opts name)
FmtProlog -> multi "pl" grammar2prolog