summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar
diff options
context:
space:
mode:
authorbringert <unknown>2005-06-17 11:46:04 +0000
committerbringert <unknown>2005-06-17 11:46:04 +0000
commit05b5ffe5bf03a870f6fe0728ace6c0d8de69b89e (patch)
tree18298275e8397f200013b6aec8ee38bbd93e32b1 /src/GF/UseGrammar
parent30e3a8fd991c7bad3d21b03749d6a8a0e7a7f8e5 (diff)
Added beginnings of ATK SLF generation.
Diffstat (limited to 'src/GF/UseGrammar')
-rw-r--r--src/GF/UseGrammar/Custom.hs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs
index 08136fad8..e158a19c4 100644
--- a/src/GF/UseGrammar/Custom.hs
+++ b/src/GF/UseGrammar/Custom.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/05/17 11:20:25 $
--- > CVS $Author: peb $
--- > CVS $Revision: 1.63 $
+-- > CVS $Date: 2005/06/17 12:46:05 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.64 $
--
-- A database for customizable GF shell commands.
--
@@ -56,6 +56,7 @@ import GF.Canon.MkGFC
import GF.CF.CFtoSRG
import GF.Speech.PrGSL (gslPrinter)
import GF.Speech.PrJSGF (jsgfPrinter)
+import GF.Speech.PrSLF (slfPrinter)
import GF.Data.Zipper
@@ -233,6 +234,9 @@ customGrammarPrinter =
,(strCI "jsgf", \s -> let opts = stateOptions s
name = cncId s
in jsgfPrinter name opts $ stateCFG s)
+ ,(strCI "slf", \s -> let opts = stateOptions s
+ name = cncId s
+ in slfPrinter name opts $ stateCFG s)
,(strCI "plbnf", prLBNF True)
,(strCI "lbnf", prLBNF False)
,(strCI "bnf", prBNF False)