diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-03-21 21:25:05 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-03-21 21:25:05 +0000 |
| commit | 51a9ef72c7e32f06d2413a5aea5751df2780063b (patch) | |
| tree | dc7a0626ade80e5d5c621d9eb381ebaf8d15f50c /src/compiler/GF/Speech/CFGToFA.hs | |
| parent | d816c34986d3ecb4624d7638e290adddc941b38d (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/CFGToFA.hs')
| -rw-r--r-- | src/compiler/GF/Speech/CFGToFA.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Speech/CFGToFA.hs b/src/compiler/GF/Speech/CFGToFA.hs index 4f5e3621e..330c763e5 100644 --- a/src/compiler/GF/Speech/CFGToFA.hs +++ b/src/compiler/GF/Speech/CFGToFA.hs @@ -17,7 +17,7 @@ import qualified Data.Set as Set --import PGF.CId import PGF.Data import GF.Data.Utilities -import GF.Speech.CFG +import GF.Grammar.CFG --import GF.Speech.PGFToCFG --import GF.Infra.Ident (Ident) |
