Got SRGS ABNF generation to compile.

This commit is contained in:
bjorn
2008-09-23 12:56:25 +00:00
parent 75df5cf443
commit 34c5617ef6
3 changed files with 27 additions and 46 deletions

View File

@@ -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