diff options
| author | bringert <bringert@cs.chalmers.se> | 2007-06-27 12:50:42 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2007-06-27 12:50:42 +0000 |
| commit | a22de1a9f6b084189583797a84adc4dc4a624572 (patch) | |
| tree | 13d50cce6d8501dd43909d2b125e34532e3c92ef /examples/regulus/toy0/example-based | |
| parent | ab99a1f89ad03b987ec93ecd81604529707735d4 (diff) | |
Cleaned up names and paths in toy0 grammars.
Diffstat (limited to 'examples/regulus/toy0/example-based')
| -rw-r--r-- | examples/regulus/toy0/example-based/Toy0.gf | 15 | ||||
| -rw-r--r-- | examples/regulus/toy0/example-based/Toy0Ger.gf | 6 | ||||
| -rw-r--r-- | examples/regulus/toy0/example-based/Toy0GerE.gf | 6 | ||||
| -rw-r--r-- | examples/regulus/toy0/example-based/Toy0I.gfe (renamed from examples/regulus/toy0/example-based/Toy0IE.gfe) | 6 |
4 files changed, 24 insertions, 9 deletions
diff --git a/examples/regulus/toy0/example-based/Toy0.gf b/examples/regulus/toy0/example-based/Toy0.gf new file mode 100644 index 000000000..b1e2d6a40 --- /dev/null +++ b/examples/regulus/toy0/example-based/Toy0.gf @@ -0,0 +1,15 @@ +-- toy0 grammar from Chapter 2 of the Regulus book +abstract Toy0 = { + + flags startcat=NP ; + + cat + NP ; + Noun ; + Spec ; + + fun + SpecNoun : Spec -> Noun -> NP ; + One, Two : Spec ; + Felis, Canis : Noun ; +} diff --git a/examples/regulus/toy0/example-based/Toy0Ger.gf b/examples/regulus/toy0/example-based/Toy0Ger.gf new file mode 100644 index 000000000..7355cbfac --- /dev/null +++ b/examples/regulus/toy0/example-based/Toy0Ger.gf @@ -0,0 +1,6 @@ +--# -path=.:present:prelude + +concrete Toy0Ger of Toy0 = Toy0I with + (Grammar = GrammarGer), + (Lexicon = LexiconGer) ; + diff --git a/examples/regulus/toy0/example-based/Toy0GerE.gf b/examples/regulus/toy0/example-based/Toy0GerE.gf deleted file mode 100644 index f87eceb31..000000000 --- a/examples/regulus/toy0/example-based/Toy0GerE.gf +++ /dev/null @@ -1,6 +0,0 @@ ---# -path=..:present:prelude - -concrete Toy0GerE of Toy0 = Toy0IE with - (Grammar = GrammarGer), - (Lexicon = LexiconGer) ; - diff --git a/examples/regulus/toy0/example-based/Toy0IE.gfe b/examples/regulus/toy0/example-based/Toy0I.gfe index 03313efd5..4589bf4b6 100644 --- a/examples/regulus/toy0/example-based/Toy0IE.gfe +++ b/examples/regulus/toy0/example-based/Toy0I.gfe @@ -1,9 +1,9 @@ --# -resource=present/LangEng.gfc ---# -path=..:present:prelude +--# -path=.:present:prelude --- to compile: gf -examples Toy0IE.gfe +-- to compile: gf -examples Toy0I.gfe -incomplete concrete Toy0IE of Toy0 = open Grammar, Lexicon in { +incomplete concrete Toy0I of Toy0 = open Grammar, Lexicon in { lincat Spec = Det ; |
