mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
prepared mini syntax example
This commit is contained in:
23
doc/tutorial/resource/TestIta.gf
Normal file
23
doc/tutorial/resource/TestIta.gf
Normal file
@@ -0,0 +1,23 @@
|
||||
--# -path=.:resource:prelude
|
||||
|
||||
concrete TestIta of Test = SyntaxIta ** open Prelude, MorphoIta in {
|
||||
|
||||
lin
|
||||
Wine = regNoun "vino" ;
|
||||
Cheese = regNoun "formaggio" ;
|
||||
Fish = regNoun "pesce" ;
|
||||
Pizza = regNoun "pizza" ;
|
||||
Waiter = regNoun "cameriere" ;
|
||||
Customer = regNoun "cliente" ;
|
||||
Fresh = regAdjective "fresco" ;
|
||||
Warm = regAdjective "caldo" ;
|
||||
Italian = regAdjective "italiano" ;
|
||||
Expensive = regAdjective "caro" ;
|
||||
Delicious = regAdjective "delizioso" ;
|
||||
Boring = regAdjective "noioso" ;
|
||||
Stink = regVerb "puzzare" ;
|
||||
Eat = regVerb "mangiare" ** {c = []} ;
|
||||
Love = regVerb "amare" ** {c = []} ;
|
||||
Talk = regVerb "parlare" ** {c = "di"} ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user