summaryrefslogtreecommitdiff
path: root/grammars/resource/english
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 /grammars/resource/english
parent94326929b144913642121bef8f8ecc98feb992e7 (diff)
Added paths.
Diffstat (limited to 'grammars/resource/english')
-rw-r--r--grammars/resource/english/ResEng.gf5
-rw-r--r--grammars/resource/english/TestEng.gf3
2 files changed, 6 insertions, 2 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 ;