mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 10:22:50 -06:00
BronzeageDan
This commit is contained in:
5
examples/bronzeage/BronzeageDan.gf
Normal file
5
examples/bronzeage/BronzeageDan.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageDan of Bronzeage = CatDan, SwadeshDan ** BronzeageI with
|
||||
(Lang = LangDan) ;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
incomplete concrete BronzeageI of Bronzeage = open Lang in {
|
||||
|
||||
flags
|
||||
startcat = Phr ; optimize = all_subs ;
|
||||
startcat = Phr ; optimize = share_subs ;
|
||||
unlexer = text ; lexer = text ;
|
||||
|
||||
lincat
|
||||
|
||||
5
examples/bronzeage/SwadeshDan.gf
Normal file
5
examples/bronzeage/SwadeshDan.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete SwadeshDan of Swadesh = CatDan ** SwadeshI with
|
||||
(Lang = LangDan) ;
|
||||
|
||||
@@ -272,10 +272,8 @@ compileSourceModule opts env@(k,gr,can) mo@(i,mi) = do
|
||||
(k',mo3r:_) <- ioeErr $ refreshModule (k,mos) mo3
|
||||
|
||||
mo4 <-
|
||||
---- case snd mo1b of
|
||||
---- ModMod n | isModCnc n ->
|
||||
putpp " optimizing " $ ioeErr $ optimizeModule opts mos mo3r
|
||||
---- _ -> return [mo3r]
|
||||
---- if oElem "check_only" opts
|
||||
putpp " optimizing " $ ioeErr $ optimizeModule opts mos mo3r
|
||||
return (k',mo4)
|
||||
where
|
||||
---- prDebug mo = ioeIO $ putStrLn $ prGrammar $ MGrammar [mo] ---- debug
|
||||
|
||||
Reference in New Issue
Block a user