summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraarne <unknown>2003-11-04 07:25:37 +0000
committeraarne <unknown>2003-11-04 07:25:37 +0000
commit0df32e1474cb66f86c4e35c6c3aa5c3578ec4b4f (patch)
tree95072f48a239973f30274d85a2217a5072040a7a
parent94326929b144913642121bef8f8ecc98feb992e7 (diff)
Added paths.
-rw-r--r--grammars/resource/english/ResEng.gf5
-rw-r--r--grammars/resource/english/TestEng.gf3
-rw-r--r--grammars/resource/finnish/TestFin.gf5
-rw-r--r--grammars/resource/german/TestDeu.gf3
-rw-r--r--grammars/resource/swedish/TestSwe.gf3
5 files changed, 16 insertions, 3 deletions
diff --git a/grammars/resource/english/ResEng.gf b/grammars/resource/english/ResEng.gf
index d302034d4..9e2675008 100644
--- a/grammars/resource/english/ResEng.gf
+++ b/grammars/resource/english/ResEng.gf
@@ -15,13 +15,14 @@
-- They should use $resource.Abs.gf$ to access the syntactic rules.
-- This file can be consulted in those, hopefully rare, occasions in which
-- one has to know how the syntactic categories are
--- implemented. The parameter types are defined in $types.Eng.gf$.
+-- implemented. The parameter types are defined in $TypesEng.gf$.
concrete ResEng of ResAbs = open Prelude, Syntax in {
flags
startcat=Phr ;
- parser=chart ;
+ lexer=text ;
+ unlexer=text ;
lincat
N = CommNoun ;
diff --git a/grammars/resource/english/TestEng.gf b/grammars/resource/english/TestEng.gf
index 7e0391c2a..5515cc9de 100644
--- a/grammars/resource/english/TestEng.gf
+++ b/grammars/resource/english/TestEng.gf
@@ -1,3 +1,6 @@
+-- use this path to read the grammar from the same directory
+--# -path=.:../abstract:../../prelude
+
concrete TestEng of TestAbs = ResEng ** open Syntax in {
flags startcat=Phr ; lexer=text ; parser=chart ; unlexer=text ;
diff --git a/grammars/resource/finnish/TestFin.gf b/grammars/resource/finnish/TestFin.gf
index 79ea285af..215ac0b5c 100644
--- a/grammars/resource/finnish/TestFin.gf
+++ b/grammars/resource/finnish/TestFin.gf
@@ -1,3 +1,6 @@
+-- use this path to read the grammar from the same directory
+--# -path=.:../abstract:../../prelude
+
concrete TestFin of TestAbs = ResFin ** open Prelude, Syntax in {
flags startcat=Phr ; lexer=text ; parser=chart ; unlexer=text ;
@@ -37,4 +40,4 @@ lin
John = mkProperName (sKukko "Jussi" "Jussin" "Jusseja") ;
Mary = mkProperName (sKukko "Mari" "Marin" "Mareja") ;
-} ; \ No newline at end of file
+} ;
diff --git a/grammars/resource/german/TestDeu.gf b/grammars/resource/german/TestDeu.gf
index b223714d0..9201f9c15 100644
--- a/grammars/resource/german/TestDeu.gf
+++ b/grammars/resource/german/TestDeu.gf
@@ -1,3 +1,6 @@
+-- use this path to read the grammar from the same directory
+--# -path=.:../abstract:../../prelude
+
concrete TestDeu of TestAbs = ResDeu ** open Syntax in {
flags startcat=Phr ; lexer=text ; parser=chart ; unlexer=text ;
diff --git a/grammars/resource/swedish/TestSwe.gf b/grammars/resource/swedish/TestSwe.gf
index 063119b56..3819a2b13 100644
--- a/grammars/resource/swedish/TestSwe.gf
+++ b/grammars/resource/swedish/TestSwe.gf
@@ -1,3 +1,6 @@
+-- use this path to read the grammar from the same directory
+--# -path=.:../abstract:../../prelude
+
concrete TestSwe of TestAbs = ResSwe ** open Syntax in {
flags startcat=Phr ; lexer=text ; parser=chart ; unlexer=text ;