Hello grammars in tutorial

This commit is contained in:
aarne
2007-08-14 14:09:25 +00:00
parent 0a1d057855
commit e6b0cc5299
8 changed files with 534 additions and 483 deletions

10
doc/tutorial/HelloIta.gf Normal file
View File

@@ -0,0 +1,10 @@
concrete HelloIta of Hello = {
lincat Greeting, Recipient = {s : Str} ;
lin
Hello rec = {s = "ciao" ++ rec.s} ;
World = {s = "mondo"} ;
Mum = {s = "mamma"} ;
Friends = {s = "amici"} ;
}