mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Get JSGF generation to compile. Still untested.
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_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
|
||||
|
||||
Reference in New Issue
Block a user