diff options
| author | bjorn <bjorn@bringert.net> | 2008-09-25 08:41:49 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-09-25 08:41:49 +0000 |
| commit | cdc647e788ec694bdd9579cf473b7d2983af453a (patch) | |
| tree | 627025a15bf0a129a9c2e26abeb26460a34de3f7 /src/GF/Compile | |
| parent | db15fe74be6e4a6f95e93fa4bbaba78a05d9c0a2 (diff) | |
Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else.
Diffstat (limited to 'src/GF/Compile')
| -rw-r--r-- | src/GF/Compile/Export.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GF/Compile/Export.hs b/src/GF/Compile/Export.hs index 739079c9c..b387a576f 100644 --- a/src/GF/Compile/Export.hs +++ b/src/GF/Compile/Export.hs @@ -37,6 +37,7 @@ exportPGF opts fmt pgf = FmtProlog -> multi "pl" grammar2prolog FmtProlog_Abs -> multi "pl" grammar2prolog_abs FmtBNF -> single "bnf" bnfPrinter + FmtFCFG -> single "fcfg" fcfgPrinter FmtSRGS_XML -> single "grxml" (srgsXmlPrinter sisr) FmtSRGS_XML_NonRec -> single "grxml" srgsXmlNonRecursivePrinter FmtSRGS_ABNF -> single "gram" (srgsAbnfPrinter sisr) @@ -67,3 +68,4 @@ outputConcr pgf = case cncnames pgf of printPGF :: PGF -> String printPGF = encodeUTF8 . printTree . fromPGF + |
