Get VoiceXML generation working.

This commit is contained in:
bjorn
2008-06-03 20:05:52 +00:00
parent 783f5a0aec
commit 8d4dddfada
4 changed files with 51 additions and 89 deletions

View File

@@ -10,6 +10,7 @@ import GF.Infra.Option
import GF.Speech.CFG
import GF.Speech.PGFToCFG
import GF.Speech.SRGS
import GF.Speech.VoiceXML
import GF.Text.UTF8
-- top-level access to code generation
@@ -26,6 +27,8 @@ prPGF fmt gr name = case fmt of
FmtHaskell_GADT -> grammar2haskellGADT gr name
FmtBNF -> prCFG $ pgfToCFG gr (outputConcr gr)
FmtSRGS_XML -> srgsXmlPrinter Nothing gr (outputConcr gr)
FmtVoiceXML -> grammar2vxml gr (outputConcr gr)
-- | Get the name of the concrete syntax to generate output from.
-- FIXME: there should be an option to change this.