Files
gf-core/examples/phrasebook/PhrasebookRon.gf
2010-03-20 21:21:50 +00:00

23 lines
367 B
Plaintext

--# -path=.:present
concrete PhrasebookRon of Phrasebook =
GreetingsRon,
FoodRon
** open
SyntaxRon,
ResRon, ---- for Num to Utt
Prelude in {
lincat
Phrase = Utt ;
lin
PNumeral n = mkPhrase (ss ((mkCard <n : Numeral>).sp ! Masc)) ; ----
PGreeting g = mkPhrase g ;
PSentence s = s ;
oper
mkPhrase : SS -> Utt = \s -> lin Utt s ;
}