1
0
forked from GitHub/gf-core

Hello grammars in tutorial

This commit is contained in:
aarne
2007-08-14 14:09:25 +00:00
parent bc1c5a6a09
commit 76c14c4a2c
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"} ;
}