forked from GitHub/gf-core
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.
This commit is contained in:
@@ -10,7 +10,7 @@ import PGF(showCId)
|
||||
import PGF.Data as PGF
|
||||
import PGF.Macros
|
||||
--import GF.Infra.Ident
|
||||
import GF.Speech.CFG hiding (Symbol)
|
||||
import GF.Grammar.CFG hiding (Symbol)
|
||||
|
||||
import Data.Array.IArray as Array
|
||||
--import Data.List
|
||||
|
||||
Reference in New Issue
Block a user