summaryrefslogtreecommitdiff
path: root/data/sample-grammars/fantasy-locations.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-05 00:16:59 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-05 00:16:59 -0300
commitbb5d2256ba052af13a3d50f150b78c5762840449 (patch)
tree10fb079acabaa34752d5557ce7cf0b97c95beef7 /data/sample-grammars/fantasy-locations.gram
parent8062cff63f864178a2a73650870362871bc25224 (diff)
Grammar update
Update grammar for new features/syntax
Diffstat (limited to 'data/sample-grammars/fantasy-locations.gram')
-rwxr-xr-xdata/sample-grammars/fantasy-locations.gram41
1 files changed, 10 insertions, 31 deletions
diff --git a/data/sample-grammars/fantasy-locations.gram b/data/sample-grammars/fantasy-locations.gram
index 1190d68..7d06791 100755
--- a/data/sample-grammars/fantasy-locations.gram
+++ b/data/sample-grammars/fantasy-locations.gram
@@ -1,7 +1,7 @@
-[fantasy-location-name] [name2]
+[fantasy-location-name] {@oname=[name1]} [name2]
-pragma prefix-with [fantasy-location-name] [name1]
-pragma prefix-with [fantasy-location-name] [name1]
+pragma prefix-with [fantasy-location-name] [@oname]
+pragma prefix-with [fantasy-location-name] [@oname]
pragma initial-rule [fantasy-location-name]
@@ -27,11 +27,11 @@ pragma initial-rule [fantasy-location-name]
drowsy
dry
dusty
- [black-color]
+ [ebon|ebony]
emerald
fleet
fire
- [gold-color]
+ [gold|golden]
good
grace
grand
@@ -46,7 +46,7 @@ pragma initial-rule [fantasy-location-name]
holy
honey
hot
- [ice-type]
+ [ice|icy]
iron
ivory
lilac
@@ -55,16 +55,16 @@ pragma initial-rule [fantasy-location-name]
maple
mighty
night
- [oak-type]
+ [oak|oaken]
onyx
peaceful
pearl
prancing
quartz
queens
- [rain-type]
+ [rain|rainy]
red
- [rose-type]
+ [rose|rosy]
royal
ruby
sable
@@ -76,7 +76,7 @@ pragma initial-rule [fantasy-location-name]
shale
shining
short
- [silk-type]
+ [silk|silken]
silver
sleeping
small
@@ -207,24 +207,3 @@ pragma initial-rule [fantasy-location-name]
way
wolf
wood
-
-[silk-type] silk
- silken
-
-[rose-type] rose
- rosy
-
-[rain-type] rain
- rainy
-
-[oak-type] oak
- oaken
-
-[ice-type] ice
- icy
-
-[black-color] ebon
- ebony
-
-[gold-color] gold
- golden