1
0
forked from GitHub/gf-core

Cleaned up names and paths in toy0 grammars.

This commit is contained in:
bringert
2007-06-27 12:50:42 +00:00
parent 236d4ca62f
commit 83d0dca023
12 changed files with 68 additions and 29 deletions

View File

@@ -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 ;
}

View File

@@ -0,0 +1,6 @@
--# -path=.:present:prelude
concrete Toy0Ger of Toy0 = Toy0I with
(Grammar = GrammarGer),
(Lexicon = LexiconGer) ;

View File

@@ -1,6 +0,0 @@
--# -path=..:present:prelude
concrete Toy0GerE of Toy0 = Toy0IE with
(Grammar = GrammarGer),
(Lexicon = LexiconGer) ;

View File

@@ -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 ;