summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/long-data/number-word.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/number-word.gram
parente3bfbe722cdf30a667c2bf88d7fe1fc086ba35fb (diff)
Convert long rules to grammars
Diffstat (limited to 'RGens/data/sample-grammars/long-data/number-word.gram')
-rw-r--r--RGens/data/sample-grammars/long-data/number-word.gram22
1 files changed, 12 insertions, 10 deletions
diff --git a/RGens/data/sample-grammars/long-data/number-word.gram b/RGens/data/sample-grammars/long-data/number-word.gram
index c9e9e05..18d53fd 100644
--- a/RGens/data/sample-grammars/long-data/number-word.gram
+++ b/RGens/data/sample-grammars/long-data/number-word.gram
@@ -1,10 +1,12 @@
-one
-two
-three
-four
-five
-six
-seven
-eight
-nine
-ten
+[number-word] → one
+ two
+ three
+ four
+ five
+ six
+ seven
+ eight
+ nine
+ ten
+
+pragma initial-rule [number-word]