diff options
| author | bjorn <bjorn@bringert.net> | 2008-09-23 12:56:25 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-09-23 12:56:25 +0000 |
| commit | 34c5617ef6c2b2b93c7c2ed4d877c8ff5d9ef5ce (patch) | |
| tree | 7c9965697205330106c389151408a8727153f798 /src/GF/Compile/Export.hs | |
| parent | 75df5cf443e590098bf13c05d12fc937f1f2bc68 (diff) | |
Got SRGS ABNF generation to compile.
Diffstat (limited to 'src/GF/Compile/Export.hs')
| -rw-r--r-- | src/GF/Compile/Export.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GF/Compile/Export.hs b/src/GF/Compile/Export.hs index 2aac9ad13..739079c9c 100644 --- a/src/GF/Compile/Export.hs +++ b/src/GF/Compile/Export.hs @@ -10,6 +10,7 @@ import GF.Compile.GFCCtoJS import GF.Infra.Option import GF.Speech.CFG import GF.Speech.PGFToCFG +import GF.Speech.SRGS_ABNF import GF.Speech.SRGS_XML import GF.Speech.JSGF import GF.Speech.GSL @@ -38,6 +39,8 @@ exportPGF opts fmt pgf = FmtBNF -> single "bnf" bnfPrinter FmtSRGS_XML -> single "grxml" (srgsXmlPrinter sisr) FmtSRGS_XML_NonRec -> single "grxml" srgsXmlNonRecursivePrinter + FmtSRGS_ABNF -> single "gram" (srgsAbnfPrinter sisr) + FmtSRGS_ABNF_NonRec -> single "gram" srgsXmlNonRecursivePrinter FmtJSGF -> single "jsgf" (jsgfPrinter sisr) FmtGSL -> single "gsl" gslPrinter FmtVoiceXML -> single "vxml" grammar2vxml |
