summaryrefslogtreecommitdiff
path: root/src-3.0/GF/Devel
diff options
context:
space:
mode:
Diffstat (limited to 'src-3.0/GF/Devel')
-rw-r--r--src-3.0/GF/Devel/PrintGFCC.hs21
1 files changed, 0 insertions, 21 deletions
diff --git a/src-3.0/GF/Devel/PrintGFCC.hs b/src-3.0/GF/Devel/PrintGFCC.hs
deleted file mode 100644
index c7e668884..000000000
--- a/src-3.0/GF/Devel/PrintGFCC.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module GF.Devel.PrintGFCC where
-
-import GF.GFCC.DataGFCC (GFCC)
-import GF.GFCC.Raw.ConvertGFCC (fromGFCC)
-import GF.GFCC.Raw.PrintGFCCRaw (printTree)
-import GF.Devel.GFCCtoHaskell
-import GF.Devel.GFCCtoJS
-import GF.Text.UTF8
-
--- top-level access to code generation
-
-prGFCC :: String -> GFCC -> String
-prGFCC printer gr = case printer of
- "haskell" -> grammar2haskell gr
- "haskell_gadt" -> grammar2haskellGADT gr
- "js" -> gfcc2js gr
- _ -> printGFCC gr
-
-printGFCC :: GFCC -> String
-printGFCC = encodeUTF8 . printTree . fromGFCC
-