From 3564aa406bba333bdc8937edcfdf670186ddd0bf Mon Sep 17 00:00:00 2001 From: bringert Date: Tue, 29 Nov 2005 12:22:40 +0000 Subject: Added GrammarToTransfer. It works, except that the constructor types are missing Tree here and there. --- src/GF/UseGrammar/Custom.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/GF/UseGrammar/Custom.hs') diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs index 26bad1ee9..f888c22ab 100644 --- a/src/GF/UseGrammar/Custom.hs +++ b/src/GF/UseGrammar/Custom.hs @@ -67,6 +67,7 @@ import GF.UseGrammar.Statistics import GF.UseGrammar.Morphology import GF.UseGrammar.Information import GF.API.GrammarToHaskell +import GF.API.GrammarToTransfer -----import GrammarToCanon (showCanon, showCanonOpt) -----import qualified GrammarToGFC as GFC import GF.Probabilistic.Probabilistic (prProbs) @@ -269,6 +270,7 @@ customGrammarPrinter = ,(strCI "lbnf", prLBNF False) ,(strCI "bnf", prBNF False) ,(strCI "haskell", grammar2haskell . stateGrammarST) + ,(strCI "transfer", grammar2transfer . stateGrammarST) ,(strCI "morpho", prMorpho . stateMorpho) ,(strCI "fullform",prFullForm . stateMorpho) ,(strCI "opts", prOpts . stateOptions) -- cgit v1.2.3