summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Speech/JSGF.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-03-21 21:25:05 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-03-21 21:25:05 +0000
commit51a9ef72c7e32f06d2413a5aea5751df2780063b (patch)
treedc7a0626ade80e5d5c621d9eb381ebaf8d15f50c /src/compiler/GF/Speech/JSGF.hs
parentd816c34986d3ecb4624d7638e290adddc941b38d (diff)
refactor the compilation of CFG and EBNF grammars. Now they are parsed by using GF.Grammar.Parser just like the ordinary GF grammars. Furthermore now GF.Speech.CFG is moved to GF.Grammar.CFG. The new module is used by both the speech conversion utils and by the compiler for CFG grammars. The parser for CFG now consumes a lot less memory and can be used with grammars with more than 4 000 000 productions.
Diffstat (limited to 'src/compiler/GF/Speech/JSGF.hs')
-rw-r--r--src/compiler/GF/Speech/JSGF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Speech/JSGF.hs b/src/compiler/GF/Speech/JSGF.hs
index 921108e11..6a4935a7f 100644
--- a/src/compiler/GF/Speech/JSGF.hs
+++ b/src/compiler/GF/Speech/JSGF.hs
@@ -14,7 +14,7 @@ module GF.Speech.JSGF (jsgfPrinter) where
--import GF.Data.Utilities
import GF.Infra.Option
-import GF.Speech.CFG
+import GF.Grammar.CFG
import GF.Speech.RegExp
import GF.Speech.SISR
import GF.Speech.SRG