From 59b5745c0eaf418954bfea5ac594845420262295 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 3 Aug 2004 11:47:32 +0000 Subject: Preparing for release. --- examples/letter/README | 34 ++++++++++++++++++++++++++++++++++ examples/numerals/README | 37 +++++++++++++++++++++++++++++++++++++ examples/numerals/arabic_modern.gf | 2 +- examples/numerals/finnish.gf | 2 +- 4 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 examples/letter/README create mode 100644 examples/numerals/README (limited to 'examples') diff --git a/examples/letter/README b/examples/letter/README new file mode 100644 index 000000000..eb5724dc7 --- /dev/null +++ b/examples/letter/README @@ -0,0 +1,34 @@ +GF challenges Microsoft Works! Here you find templates for +multilingual authoring of business and love letters! + +Another point of these grammars is to illustrate how +local updates are propagated everywhere in the document. +Form, in the editor + + Dear Colleague, + + I love you. + + With best regards, + + your wife + +and change between ColleagueHe, ColleagueShe, ColleaguesHe, ColleaguesShe. + +The grammars are somewhat ad hoc and messy, and could be improved +with better abstractions. + +(AR 2001) + +To use in the editor, it is a good idea to precompile: + + gf 2341.html + +(Requires the gft program, produces by "make gft" in GF sources) + +Document last updated August 3, 2004 by Aarne Ranta. + +Copyright (c) Koen Claessen, Carlos Gonzalía, Qiao Haiyan, Harald +Hammarström, Patrik Jansson, Peter Ljunglöf, Wojciech Mostowski, Aarne +Ranta, Karol Ostrovski, David Wahlstedt 1999--2004, under +GNU General Public License (GPL). diff --git a/examples/numerals/arabic_modern.gf b/examples/numerals/arabic_modern.gf index 5c2433400..f4f8e75fb 100644 --- a/examples/numerals/arabic_modern.gf +++ b/examples/numerals/arabic_modern.gf @@ -1,5 +1,5 @@ include numerals.Abs.gf ; - +--- flags unlexer=reverse ; param DForm = unit Place | teen | ten | hund ; param Size = small | large | dual ; param Place = attr | indep ; diff --git a/examples/numerals/finnish.gf b/examples/numerals/finnish.gf index 6cb789ff2..b1514554b 100644 --- a/examples/numerals/finnish.gf +++ b/examples/numerals/finnish.gf @@ -1,6 +1,6 @@ include numerals.Abs.gf ; -param Place = attr | indep ; +param Place = indep | attr ; param Nm = sg | pl ; oper sata : Nm => Str = table {{sg} => "sata" ; {pl} => "sataa"} ; -- cgit v1.2.3