summaryrefslogtreecommitdiff
path: root/examples-3.0/tutorial/syntax/TestIta.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-06-17 13:16:15 +0000
committeraarne <aarne@cs.chalmers.se>2008-06-17 13:16:15 +0000
commit23b8136af27b0baaa8fcb5272a613d5f2ee447fa (patch)
tree2e7cd2930b7e8b6b0d911c00ec2d279b882f4893 /examples-3.0/tutorial/syntax/TestIta.gf
parent7c097669d2c3934622c57f6e2f4ddee8826953d3 (diff)
started examples-3.0 with examples that are tested to work
Diffstat (limited to 'examples-3.0/tutorial/syntax/TestIta.gf')
-rw-r--r--examples-3.0/tutorial/syntax/TestIta.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples-3.0/tutorial/syntax/TestIta.gf b/examples-3.0/tutorial/syntax/TestIta.gf
new file mode 100644
index 000000000..5e05cdcab
--- /dev/null
+++ b/examples-3.0/tutorial/syntax/TestIta.gf
@@ -0,0 +1,23 @@
+--# -path=.:resource:prelude
+
+concrete TestIta of Test = GrammarIta ** open Prelude, MorphoIta in {
+
+ lin
+ wine_N = regNoun "vino" ;
+ cheese_N = regNoun "formaggio" ;
+ fish_N = regNoun "pesce" ;
+ pizza_N = regNoun "pizza" ;
+ waiter_N = regNoun "cameriere" ;
+ customer_N = regNoun "cliente" ;
+ fresh_A = regAdjective "fresco" ;
+ warm_A = regAdjective "caldo" ;
+ italian_A = regAdjective "italiano" ;
+ expensive_A = regAdjective "caro" ;
+ delicious_A = regAdjective "delizioso" ;
+ boring_A = regAdjective "noioso" ;
+ stink_V = regVerb "puzzare" ;
+ eat_V2 = regVerb "mangiare" ** {c = []} ;
+ love_V2 = regVerb "amare" ** {c = []} ;
+ talk_V2 = regVerb "parlare" ** {c = "di"} ;
+}
+