major changes to the prolog export

This commit is contained in:
peter.ljunglof
2012-06-27 23:29:05 +00:00
parent 97df099d07
commit 7fb35be6e3
3 changed files with 115 additions and 92 deletions

View File

@@ -36,7 +36,6 @@ exportPGF opts fmt pgf =
FmtPython -> multi "py" pgf2python
FmtHaskell -> multi "hs" (grammar2haskell opts name)
FmtProlog -> multi "pl" grammar2prolog
FmtProlog_Abs -> multi "pl" grammar2prolog_abs
FmtLambdaProlog -> multi "mod" grammar2lambdaprolog_mod ++ multi "sig" grammar2lambdaprolog_sig
FmtBNF -> single "bnf" bnfPrinter
FmtEBNF -> single "ebnf" (ebnfPrinter opts)