mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 10:42:50 -06:00
refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed
This commit is contained in:
@@ -81,8 +81,8 @@ type CFFun = String
|
||||
|
||||
cf2gf :: String -> CF -> SourceGrammar
|
||||
cf2gf name cf = MGrammar [
|
||||
(aname, ModMod (emptyModule {mtype = MTAbstract, jments = abs})),
|
||||
(cname, ModMod (emptyModule {mtype = MTConcrete aname, jments = cnc}))
|
||||
(aname, emptyModInfo{mtype = MTAbstract, jments = abs}),
|
||||
(cname, emptyModInfo{mtype = MTConcrete aname, jments = cnc})
|
||||
]
|
||||
where
|
||||
(abs,cnc) = cf2grammar cf
|
||||
|
||||
Reference in New Issue
Block a user