summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/long-data/natural-color.gram
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2017-03-22 10:35:48 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2017-03-22 10:35:48 -0400
commit65e19f8feedc520034187f08014d4e92b281918f (patch)
tree3171212482375f94e0973d447e0f9550aaf3dded /RGens/data/sample-grammars/long-data/natural-color.gram
parente3bfbe722cdf30a667c2bf88d7fe1fc086ba35fb (diff)
Convert long rules to grammars
Diffstat (limited to 'RGens/data/sample-grammars/long-data/natural-color.gram')
-rw-r--r--RGens/data/sample-grammars/long-data/natural-color.gram14
1 files changed, 8 insertions, 6 deletions
diff --git a/RGens/data/sample-grammars/long-data/natural-color.gram b/RGens/data/sample-grammars/long-data/natural-color.gram
index 8830962..efdeba7 100644
--- a/RGens/data/sample-grammars/long-data/natural-color.gram
+++ b/RGens/data/sample-grammars/long-data/natural-color.gram
@@ -1,6 +1,8 @@
-red
-black
-blue
-green
-white
-yellow
+[natural-color] → red
+ black
+ blue
+ green
+ white
+ yellow
+
+pragma initial-rule [natural-color]