summaryrefslogtreecommitdiff
path: root/examples/regulus/toy0/Toy0Eng.gf
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2007-06-27 12:38:24 +0000
committerbringert <bringert@cs.chalmers.se>2007-06-27 12:38:24 +0000
commit54d53251718dce4fcfda941eb9c21abe8eb939ed (patch)
treedc5c8eebca401909dcf8dce25bd86bd0d02fe4a6 /examples/regulus/toy0/Toy0Eng.gf
parent67857cb1465cede016bc9a0c0b71b08813089df0 (diff)
Moved the different versions of the toy0 concrete modules to different subdirectories.
Diffstat (limited to 'examples/regulus/toy0/Toy0Eng.gf')
-rw-r--r--examples/regulus/toy0/Toy0Eng.gf27
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/regulus/toy0/Toy0Eng.gf b/examples/regulus/toy0/Toy0Eng.gf
deleted file mode 100644
index 977fb09c5..000000000
--- a/examples/regulus/toy0/Toy0Eng.gf
+++ /dev/null
@@ -1,27 +0,0 @@
-concrete Toy0Eng of Toy0 = {
-
-param
- Number = Sg | Pl ;
-
-lincat
- Spec = {s : Str ; n : Number} ;
- Noun = {s : Number => Str} ;
- NP = {s : Str} ;
-
-lin
- SpecNoun spec noun = {s = spec.s ++ noun.s ! spec.n} ;
-
- One = {s = "one" ; n = Sg} ;
- Two = {s = "two" ; n = Pl} ;
-
- Felis = regNoun "cat" ;
- Canis = regNoun "dog" ;
-
-oper
- regNoun : Str -> {s : Number => Str} = \s -> {
- s = table {
- Sg => s ;
- Pl => s + "s"
- }
- } ;
-}