mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Get VoiceXML generation working.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user