Here are some examples of GF grammars.
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.
big grammars built from the resource by extending the lexicon with several thousands of words. Still very buggy.
bronzeage defines a set of grammars using the Swadesh list to perform basic communication in eight languages. It is also another illustration of the use of the resource grammar library.
gfcc shows a small C compiler written in GF. It is explained in the paper Declarative Language Definitions and Code Generation as Linearization
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.
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.
stoneage is an earlier version of bronzeage.
tram is an illustration of the resource grammar library, in particular of multimodal grammars that combine speech with mouse clicks.