mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-09 03:02:50 -06:00
Added regexps grammar printer. This is a first step towards recursion-free SRGS.
This commit is contained in:
@@ -65,7 +65,7 @@ import GF.Speech.PrSRGS_ABNF
|
||||
import qualified GF.Speech.SISR as SISR
|
||||
import GF.Speech.PrSLF
|
||||
import GF.Speech.PrFA (faGraphvizPrinter,regularPrinter,faCPrinter)
|
||||
import GF.Speech.PrRegExp (regexpPrinter)
|
||||
import GF.Speech.PrRegExp (regexpPrinter,multiRegexpPrinter)
|
||||
import GF.Speech.GrammarToVoiceXML (grammar2vxml)
|
||||
|
||||
import GF.Data.Zipper
|
||||
@@ -264,6 +264,7 @@ customGrammarPrinter =
|
||||
,(strCI "fa_graphviz", faGraphvizPrinter)
|
||||
,(strCI "fa_c", faCPrinter)
|
||||
,(strCI "regexp", regexpPrinter)
|
||||
,(strCI "regexps", multiRegexpPrinter)
|
||||
,(strCI "regular", regularPrinter)
|
||||
,(strCI "plbnf", \_ -> prLBNF True)
|
||||
,(strCI "lbnf", \_ -> prLBNF False)
|
||||
|
||||
Reference in New Issue
Block a user