diff options
| author | bjorn <bjorn@bringert.net> | 2008-06-12 18:39:02 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-06-12 18:39:02 +0000 |
| commit | 4369e679986fb602180b03f461105b9b3a2fdce2 (patch) | |
| tree | 6239c7ad86cf68a8246593d439bb9a12ec96b69d /src-3.0/GF/Compile | |
| parent | b76c8c195cb4f6bb7bdaa5c3d2c522c2c39f7e15 (diff) | |
Get JSGF generation to compile. Still untested.
Diffstat (limited to 'src-3.0/GF/Compile')
| -rw-r--r-- | src-3.0/GF/Compile/Export.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-3.0/GF/Compile/Export.hs b/src-3.0/GF/Compile/Export.hs index 22b248159..d5f9e33ae 100644 --- a/src-3.0/GF/Compile/Export.hs +++ b/src-3.0/GF/Compile/Export.hs @@ -10,6 +10,7 @@ import GF.Infra.Option import GF.Speech.CFG import GF.Speech.PGFToCFG import GF.Speech.SRGS_XML +import GF.Speech.JSGF import GF.Speech.VoiceXML import GF.Text.UTF8 @@ -27,9 +28,11 @@ 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) + FmtJSGF -> jsgfPrinter 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. outputConcr :: PGF -> CId |
