summaryrefslogtreecommitdiff
path: root/old-examples/tutorial/syntax/Syntax.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-06-27 09:18:50 +0000
committeraarne <aarne@cs.chalmers.se>2008-06-27 09:18:50 +0000
commit5c713d8f027a9b6be687ee3f7e917e8bd2115773 (patch)
tree65da19829810b753345a5b2164bef2d8876268dd /old-examples/tutorial/syntax/Syntax.gf
parentf7b2a83059697f1b36a6369e489ac276e7ff875d (diff)
took away old-examples
Diffstat (limited to 'old-examples/tutorial/syntax/Syntax.gf')
-rw-r--r--old-examples/tutorial/syntax/Syntax.gf43
1 files changed, 0 insertions, 43 deletions
diff --git a/old-examples/tutorial/syntax/Syntax.gf b/old-examples/tutorial/syntax/Syntax.gf
deleted file mode 100644
index 31f3fc127..000000000
--- a/old-examples/tutorial/syntax/Syntax.gf
+++ /dev/null
@@ -1,43 +0,0 @@
-interface Syntax = open Prelude, Grammar in {
-
-oper
- mkPhr = overload {
- mkPhr : S -> Phr
- = PhrS ;
- mkPhr : QS -> Phr
- = PhrQS ;
- } ;
-
- mkS = overload {
- mkS : Pol -> NP -> VP -> S
- = PredVP ;
- mkS : NP -> VP -> S
- = PredVP PPos ;
- mkS : Pol -> NP -> V2 -> NP -> S
- = \p,np,v,o -> PredVP p np (ComplV2 v o) ;
- mkS : NP -> V2 -> NP -> S
- = \np,v,o -> PredVP PPos np (ComplV2 v o) ;
- mkS : Pol -> NP -> AP -> S
- = \p,np,ap -> PredVP p np (ComplAP ap) ;
- mkS : NP -> AP -> S
- = \np,ap -> PredVP PPos np (ComplAP ap) ;
- } ;
-
- mkNP : Det -> CN -> NP
- = DetCN ;
-
- mkCN = overload {
- mkCN : AP -> CN -> CN
- = ModCN ;
- mkCN : N -> CN
- = UseN ;
- } ;
-
- mkAP = overload {
- mkAP : AdA -> AP -> AP
- = AdAP ;
- mkAP : A -> AP
- = UseA ;
- } ;
-
-}