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/HelloEng.gf Normal file
View File

@@ -0,0 +1,10 @@
concrete HelloEng of Hello = {
lincat Greeting, Recipient = {s : Str} ;
lin
Hello rec = {s = "hello" ++ rec.s} ;
World = {s = "world"} ;
Mum = {s = "mum"} ;
Friends = {s = "friends"} ;
}