forked from GitHub/gf-core
new GFCC concrete syntax in place everywhere
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
module GF.Devel.PrintGFCC where
|
||||
|
||||
import GF.GFCC.DataGFCC (GFCC,printGFCC)
|
||||
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
|
||||
|
||||
@@ -14,3 +16,6 @@ prGFCC printer gr = case printer of
|
||||
"jsref" -> gfcc2grammarRef gr
|
||||
_ -> printGFCC gr
|
||||
|
||||
printGFCC :: GFCC -> String
|
||||
printGFCC = printTree . fromGFCC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user