1
0
forked from GitHub/gf-core

new conversion MCFG -> FCFG, new grammar printers for FCFG

This commit is contained in:
peb
2006-06-07 16:06:49 +00:00
parent 4a3d280df5
commit 4009b46358
2 changed files with 11 additions and 2 deletions

View File

@@ -309,6 +309,7 @@ customGrammarPrinter =
-- grammar conversions:
,(strCI "mcfg", \_ -> Prt.prt . stateMCFG)
,(strCI "fcfg", \_ -> Prt.prt . stateFCFG)
,(strCI "mcfg2fcfg",\_ -> Prt.prt . Cnv.mcfg2fcfg . stateMCFG)
,(strCI "cfg", \_ -> Prt.prt . stateCFG)
,(strCI "pinfo", \_ -> Prt.prt . statePInfo)
,(strCI "abstract", \_ -> Prt.prtAfter "\n" . Cnv.gfc2abstract . stateGrammarLang)