From 76c14c4a2cc5138dc8bc9457d684d3f2f5e799f7 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 14 Aug 2007 14:09:25 +0000 Subject: Hello grammars in tutorial --- doc/tutorial/HelloIta.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/tutorial/HelloIta.gf (limited to 'doc/tutorial/HelloIta.gf') diff --git a/doc/tutorial/HelloIta.gf b/doc/tutorial/HelloIta.gf new file mode 100644 index 000000000..f1465a867 --- /dev/null +++ b/doc/tutorial/HelloIta.gf @@ -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"} ; +} \ No newline at end of file -- cgit v1.2.3