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

@@ -0,0 +1,10 @@
abstract Hello = {
cat Greeting ; Recipient ;
flags startcat = Greeting ;
fun
Hello : Recipient -> Greeting ;
World, Mum, Friends : Recipient ;
}