summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-03-10 10:05:49 +0000
committeraarne <aarne@cs.chalmers.se>2006-03-10 10:05:49 +0000
commitc5eea4b375a67de8e2d74229d178cdb52cbde4df (patch)
treee4f778d96f050e4b2dfa423fa097892dbd60e889 /examples
parenteca7de185aebe4204caaa9eb4597294c973d06bd (diff)
example index
Diffstat (limited to 'examples')
-rw-r--r--examples/index.html88
-rw-r--r--examples/index.txt61
2 files changed, 149 insertions, 0 deletions
diff --git a/examples/index.html b/examples/index.html
new file mode 100644
index 000000000..13a0b8af2
--- /dev/null
+++ b/examples/index.html
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<META NAME="generator" CONTENT="http://txt2tags.sf.net">
+<TITLE>GF Grammar Examples</TITLE>
+</HEAD><BODY BGCOLOR="white" TEXT="black">
+<P ALIGN="center"><CENTER><H1>GF Grammar Examples</H1>
+<FONT SIZE="4">
+<I>Author: Aarne Ranta &lt;aarne (at) cs.chalmers.se&gt;</I><BR>
+Last update: Fri Mar 10 11:05:35 2006
+</FONT></CENTER>
+
+<P></P>
+<HR NOSHADE SIZE=1>
+<P></P>
+ <UL>
+ <LI><A HREF="#toc1">This directory</A>
+ <LI><A HREF="#toc2">More examples</A>
+ </UL>
+
+<P></P>
+<HR NOSHADE SIZE=1>
+<P></P>
+<P>
+Here are some examples of GF grammars.
+</P>
+<A NAME="toc1"></A>
+<H2>This directory</H2>
+<P>
+<A HREF="animal/">animal</A>
+is a small grammar for queries about animals
+(<CODE>"who chases lions"</CODE>). Its aim is demonstrate
+example-based grammar writing using the
+<A HREF="../lib/resource-1.0/doc">resource grammar library</A>.
+</P>
+<P>
+<A HREF="bronzeage/">bronzeage</A>
+defines a set of grammars using the
+<A HREF="http://en.wiktionary.org/wiki/Swadesh_List">Swadesh list</A>
+to perform basic communication in eight languages.
+It is also another illustration of the use of the
+<A HREF="../lib/resource-1.0/doc">resource grammar library</A>.
+</P>
+<P>
+<A HREF="gfcc/">gfcc</A>
+shows a small C compiler written in GF.
+It is explained in the paper
+<A HREF="../doc/gfcc.pdf">Declarative Language Definitions and Code Generation as Linearization</A>
+</P>
+<P>
+<A HREF="letter/">letter</A>
+is a package for love and business letters in six languages.
+Its aimed is to illustrate
+multilingual authoring, as shown in this
+<A HREF="http://www.cs.chalmers.se/~markus/gramlets/letter-applet.html">demo applet</A>.
+</P>
+<P>
+<A HREF="numerals/">numerals</A>
+is a set of grammars for number words from 1 to 999,999 in 88
+languages. It can also be tested in this
+<A HREF="http://www.cs.chalmers.se/~bringert/gf/translate/">demo applet</A>.
+</P>
+<P>
+<A HREF="stoneage/">stoneage</A>
+is an earlier version of <A HREF="bronzeage/">bronzeage</A>.
+</P>
+<P>
+<A HREF="tram/">tram</A>
+is an illustration of the
+<A HREF="../lib/resource-1.0/doc">resource grammar library</A>,
+in particular of multimodal grammars that combine
+speech with mouse clicks.
+</P>
+<A NAME="toc2"></A>
+<H2>More examples</H2>
+<P>
+<A HREF="../doc/gf-quickstart.html">GF Quick start</A>
+</P>
+<P>
+<A HREF="../doc/tutorial/gf-tutorial2.html">GF Grammarian's Tutorial</A>
+</P>
+<P>
+<A HREF="../lib/resource-1.0/doc">GF resource grammar library</A>.
+</P>
+
+<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
+<!-- cmdline: txt2tags -\-toc -thtml index.txt -->
+</BODY></HTML>
diff --git a/examples/index.txt b/examples/index.txt
new file mode 100644
index 000000000..e690e0a92
--- /dev/null
+++ b/examples/index.txt
@@ -0,0 +1,61 @@
+GF Grammar Examples
+Author: Aarne Ranta <aarne (at) cs.chalmers.se>
+Last update: %%date(%c)
+
+% NOTE: this is a txt2tags file.
+% Create an html file from this file using:
+% txt2tags --toc -thtml index.txt
+
+%!target:html
+
+Here are some examples of GF grammars.
+
+
+==This directory==
+
+[animal animal/]
+is a small grammar for queries about animals
+(``"who chases lions"``). Its aim is demonstrate
+example-based grammar writing using the
+[resource grammar library ../lib/resource-1.0/doc].
+
+[bronzeage bronzeage/]
+defines a set of grammars using the
+[Swadesh list http://en.wiktionary.org/wiki/Swadesh_List]
+to perform basic communication in eight languages.
+It is also another illustration of the use of the
+[resource grammar library ../lib/resource-1.0/doc].
+
+[gfcc gfcc/]
+shows a small C compiler written in GF.
+It is explained in the paper
+[Declarative Language Definitions and Code Generation as Linearization ../doc/gfcc.pdf]
+
+[letter letter/]
+is a package for love and business letters in six languages.
+Its aimed is to illustrate
+multilingual authoring, as shown in this
+[demo applet http://www.cs.chalmers.se/~markus/gramlets/letter-applet.html].
+
+[numerals numerals/]
+is a set of grammars for number words from 1 to 999,999 in 88
+languages. It can also be tested in this
+[demo applet http://www.cs.chalmers.se/~bringert/gf/translate/].
+
+[stoneage stoneage/]
+is an earlier version of [bronzeage bronzeage/].
+
+[tram tram/]
+is an illustration of the
+[resource grammar library ../lib/resource-1.0/doc],
+in particular of multimodal grammars that combine
+speech with mouse clicks.
+
+
+==More examples==
+
+[GF Quick start ../doc/gf-quickstart.html]
+
+[GF Grammarian's Tutorial ../doc/tutorial/gf-tutorial2.html]
+
+[GF resource grammar library ../lib/resource-1.0/doc].