summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/city.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-11-06 20:56:39 -0400
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-11-06 20:56:39 -0400
commit72cbe4c1c664712c1fdecf75b039132a53d91635 (patch)
tree0b61565e327eea7304848e40952092b7303c21f3 /RGens/data/sample-grammars/city.gram
parentcba5ae6bc285439593f4e847c0d3b32e8e608ec8 (diff)
More grammar updates
Diffstat (limited to 'RGens/data/sample-grammars/city.gram')
-rw-r--r--RGens/data/sample-grammars/city.gram10
1 files changed, 9 insertions, 1 deletions
diff --git a/RGens/data/sample-grammars/city.gram b/RGens/data/sample-grammars/city.gram
index bfe9026..b344d3b 100644
--- a/RGens/data/sample-grammars/city.gram
+++ b/RGens/data/sample-grammars/city.gram
@@ -4,9 +4,13 @@
pragma initial-rule [city]
+# @TODO 11/01/17 Ben Culkin :SuffixIssues
+# Figure out why suffixes aren't properly getting attached to
+# things.
+#
+
[other-city] [act-other-city]
[act-other-city] [town-suffix]
- [town-suffix]
pragma despace-rule [other-city]
pragma prefix-with [other-city] [town-prefix]
@@ -21,6 +25,8 @@ pragma prefix-with [other-city] [town-prefix]
[gen-name] - [gen-name]
[gen-name] [geographic-thing]
+pragma despace-rule [act-other-city]
+
[gen-name] [last-name]
[first-name]
[random-name]
@@ -44,3 +50,5 @@ pragma prefix-with [other-city] [town-prefix]
field
boro
dale
+
+pragma despace-rule [town-suffix]