From 34c5617ef6c2b2b93c7c2ed4d877c8ff5d9ef5ce Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 23 Sep 2008 12:56:25 +0000 Subject: Got SRGS ABNF generation to compile. --- src/GF/Compile/Export.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/GF/Compile') 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 -- cgit v1.2.3