forked from GitHub/gf-core
restored Symbolic in 1.4, moved to mathematical; Int and Float don't work properly
This commit is contained in:
@@ -62,6 +62,8 @@ make xx = do
|
||||
ifx "math" $ do
|
||||
mapM_ (gfc False [] . math) langsMath
|
||||
system $ "cp mathematical/*.gfo ../mathematical"
|
||||
mapM_ (gfc False [] . symbolic) langsMath
|
||||
system $ "cp mathematical/Symbolic*.gfo ../mathematical"
|
||||
ifxx "pgf" $ do
|
||||
system $ "gfc -s --make --name=langs --parser=off --output-dir=" ++ dir ++ " " ++
|
||||
unwords [dir ++ "/Lang" ++ la ++ ".gfo" | (_,la) <- langsPGF] ++
|
||||
@@ -88,6 +90,7 @@ treeb = "rf -lines -tree -file=" ++ treebankExx ++
|
||||
lang (lla,la) = lla ++ "/Lang" ++ la ++ ".gf"
|
||||
try (lla,la) = "api/Try" ++ la ++ ".gf"
|
||||
math (lla,la) = "mathematical/Mathematical" ++ la ++ ".gf"
|
||||
symbolic (lla,la) = "mathematical/Symbolic" ++ la ++ ".gf"
|
||||
|
||||
except ls es = filter (flip notElem es . snd) ls
|
||||
only ls es = filter (flip elem es . snd) ls
|
||||
|
||||
Reference in New Issue
Block a user