summaryrefslogtreecommitdiff
path: root/data/sample-grammars/career.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-04 10:55:11 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-04 10:55:11 -0300
commit7201b6bd42d0b3d5176e605eb4076f9d2284500a (patch)
tree23fdd806654b3632c0b4b615259c36da2c9d9432 /data/sample-grammars/career.gram
parentedade87b0a74137643e4c3ac861fff5cadbbe980 (diff)
Change parser token syntax
Parser meta-tokens now use <...> syntax instead of {...} so as not to get them confused with reference tokens.
Diffstat (limited to 'data/sample-grammars/career.gram')
-rwxr-xr-xdata/sample-grammars/career.gram8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/sample-grammars/career.gram b/data/sample-grammars/career.gram
index 556ba6f..92df2bb 100755
--- a/data/sample-grammars/career.gram
+++ b/data/sample-grammars/career.gram
@@ -4,7 +4,7 @@ pragma initial-rule [career-tech-desc]
pragma prefix-with [career-tech-desc] [career-tech-desc-pref]
-pragma suffix-with [career-tech-desc] {&1..2} [career-tech-descsuff]
+pragma suffix-with [career-tech-desc] <&1..2> [career-tech-descsuff]
[career-tech-desc-pref] [career-prefsuf] of the
@@ -20,7 +20,7 @@ pragma suffix-with [career-tech-desc] {&1..2} [career-tech-descsuff]
pragma export-rule [career-techname]
-[career-tech] {^6} [career-tech2]
+[career-tech] <^6> [career-tech2]
[quote-career-tech] and [quote-career-tech]
[quote-career-tech] , [quote-career-tech] and [quote-career-tech]
@@ -32,9 +32,9 @@ pragma export-rule [career-tech]
pragma despace-rule [quote-career-tech]
-[career-tech2] {^10} [act-career-tech]
+[career-tech2] <^10> [act-career-tech]
[act-career-tech] (reports to the [career-tech] )
- {^2} [act-career-tech] (reports to [full-name-and-title] )
+ <^2> [act-career-tech] (reports to [full-name-and-title] )
[act-career-tech] paper pusher
computer [software-career-type]