1
0
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:
aarne
2008-06-20 10:12:50 +00:00
parent b0c3dfb213
commit 392b11ba78
12 changed files with 107 additions and 3 deletions

View File

@@ -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