From f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 Mon Sep 17 00:00:00 2001 From: "john.j.camilleri" Date: Mon, 16 Sep 2013 07:17:27 +0000 Subject: Remove contribs and examples Everything has now been moved to a separate repository at https://github.com/GrammaticalFramework/gf-contrib The contents of the examples folder are build during SetupWeb --- examples/tutorial/old/semantics/Top.hs | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 examples/tutorial/old/semantics/Top.hs (limited to 'examples/tutorial/old/semantics/Top.hs') diff --git a/examples/tutorial/old/semantics/Top.hs b/examples/tutorial/old/semantics/Top.hs deleted file mode 100644 index 51d5fbb99..000000000 --- a/examples/tutorial/old/semantics/Top.hs +++ /dev/null @@ -1,23 +0,0 @@ -module Main where - -import Base -import SemBase -import Logic -import PGF - -main :: IO () -main = do - gr <- file2grammar "Base.pgf" - loop gr - -loop :: PGF -> IO () -loop gr = do - s <- getLine - let t:_ = parse gr "BaseEng" "S" s - putStrLn $ showTree t - let p = iS $ fg t - putStrLn $ show p - let v = valProp exModel [] p - putStrLn $ show v - loop gr - -- cgit v1.2.3