summaryrefslogtreecommitdiff
path: root/examples/regulus/toy1/LexToy1Swe.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-06-11 14:53:08 +0000
committeraarne <aarne@cs.chalmers.se>2007-06-11 14:53:08 +0000
commit75a9ea71a27cba432286f0b14fe0be31edff5752 (patch)
tree55c82418df60463ce388322902b34b20440b0f87 /examples/regulus/toy1/LexToy1Swe.gf
parent2b438a6284564feec800e5bdca5fe006bf8aed11 (diff)
toy1 with classes and using resource API
Diffstat (limited to 'examples/regulus/toy1/LexToy1Swe.gf')
-rw-r--r--examples/regulus/toy1/LexToy1Swe.gf12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/regulus/toy1/LexToy1Swe.gf b/examples/regulus/toy1/LexToy1Swe.gf
new file mode 100644
index 000000000..3930a4728
--- /dev/null
+++ b/examples/regulus/toy1/LexToy1Swe.gf
@@ -0,0 +1,12 @@
+instance LexToy1Swe of LexToy1 = open SyntaxSwe, ParadigmsSwe in {
+
+oper
+ dim_V2 = mkV2 "dämpa" ;
+ fan_N = mkN "fläkt" ;
+ kitchen_N = mkN "kök" neutrum ;
+ light_N = mkN "lampa" ;
+ livingRoom_N = mkN "vardagsrum" "vardagsrummet" "vardagsrum" "vardagsrummen" ;
+ switchOff_V2 = mkV2 "släcker" ;
+ switchOn_V2 = mkV2 "tänder" ;
+
+}