summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/long-data/roman-numeral.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/roman-numeral.gram
parente3bfbe722cdf30a667c2bf88d7fe1fc086ba35fb (diff)
Convert long rules to grammars
Diffstat (limited to 'RGens/data/sample-grammars/long-data/roman-numeral.gram')
-rw-r--r--RGens/data/sample-grammars/long-data/roman-numeral.gram22
1 files changed, 12 insertions, 10 deletions
diff --git a/RGens/data/sample-grammars/long-data/roman-numeral.gram b/RGens/data/sample-grammars/long-data/roman-numeral.gram
index b21d14a..39281ab 100644
--- a/RGens/data/sample-grammars/long-data/roman-numeral.gram
+++ b/RGens/data/sample-grammars/long-data/roman-numeral.gram
@@ -1,10 +1,12 @@
-I
-II
-III
-IV
-V
-VI
-VII
-VIII
-IX
-X
+[roman-numeral] → I
+ II
+ III
+ IV
+ V
+ VI
+ VII
+ VIII
+ IX
+ X
+
+pragma initial-rule [roman-numeral]