diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-08-14 14:09:25 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-08-14 14:09:25 +0000 |
| commit | 76c14c4a2cc5138dc8bc9457d684d3f2f5e799f7 (patch) | |
| tree | ebc873d420387f88030a88aef778f6367eb4bb9d /doc/tutorial/HelloFin.gf | |
| parent | bc1c5a6a094d1307a69fd78cda7e06db002ca795 (diff) | |
Hello grammars in tutorial
Diffstat (limited to 'doc/tutorial/HelloFin.gf')
| -rw-r--r-- | doc/tutorial/HelloFin.gf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/tutorial/HelloFin.gf b/doc/tutorial/HelloFin.gf new file mode 100644 index 000000000..969142a91 --- /dev/null +++ b/doc/tutorial/HelloFin.gf @@ -0,0 +1,10 @@ +concrete HelloFin of Hello = { + + lincat Greeting, Recipient = {s : Str} ; + + lin + Hello rec = {s = "terve" ++ rec.s} ; + World = {s = "maailma"} ; + Mum = {s = "äiti"} ; + Friends = {s = "ystävät"} ; +}
\ No newline at end of file |
