diff options
Diffstat (limited to 'src-3.0/GF/Speech')
| -rw-r--r-- | src-3.0/GF/Speech/PGFToCFG.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-3.0/GF/Speech/PGFToCFG.hs b/src-3.0/GF/Speech/PGFToCFG.hs index 168591e6b..1f3ebaeb4 100644 --- a/src-3.0/GF/Speech/PGFToCFG.hs +++ b/src-3.0/GF/Speech/PGFToCFG.hs @@ -4,7 +4,7 @@ -- -- Approximates PGF grammars with context-free grammars. ---------------------------------------------------------------------- -module GF.Speech.PGFToCFG (pgfToCFG) where +module GF.Speech.PGFToCFG (bnfPrinter, pgfToCFG) where import PGF.CId import PGF.Data as PGF @@ -19,6 +19,8 @@ import Data.Maybe import Data.Set (Set) import qualified Data.Set as Set +bnfPrinter :: PGF -> CId -> String +bnfPrinter pgf cnc = prCFG $ pgfToCFG pgf cnc pgfToCFG :: PGF -> CId -- ^ Concrete syntax name |
