1
0
forked from GitHub/gf-core
Files
gf-core/examples/phrasebook/Words.gf
2010-03-28 19:29:06 +00:00

25 lines
668 B
Plaintext

-- (c) 2009 Aarne Ranta under LGPL
abstract Words = Sentences ** {
fun
Wine, Beer, Water, Coffee, Tea : Kind ;
Cheese, Fish, Pizza : Kind ;
Fresh, Warm, Italian,
Expensive, Delicious, Boring : Quality ;
Bar, Restaurant, Toilet : PlaceKind ;
Euro, Dollar, Lei : Currency ;
English, Finnish, French, Romanian, Swedish : Language ;
-- actions can be expressed by different structures in different languages
AWant : Person -> Object -> Action ;
ALike : Person -> Item -> Action ;
AHave : Person -> Kind -> Action ;
ASpeak : Person -> Language -> Action ;
ALove : Person -> Person -> Action ;
}