summaryrefslogtreecommitdiff
path: root/RGens
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2017-03-21 14:03:52 -0400
committerbjculkin <bjculkin@mix.wvu.edu>2017-03-21 14:03:52 -0400
commitba7e0a2c1efe4203f766f3192b8852c3bb7d3369 (patch)
tree1f8460b4cdc4d4e7cac42e20da5cfc3e41acd67e /RGens
parent70299a3eb281d3083829a0f97c809e2f4af59fe2 (diff)
Add sample grammar for new syntax
Diffstat (limited to 'RGens')
-rw-r--r--RGens/data/new-sample-grammars/test.gram6
1 files changed, 6 insertions, 0 deletions
diff --git a/RGens/data/new-sample-grammars/test.gram b/RGens/data/new-sample-grammars/test.gram
new file mode 100644
index 0000000..830b3fc
--- /dev/null
+++ b/RGens/data/new-sample-grammars/test.gram
@@ -0,0 +1,6 @@
+# Test of new grammar syntax
+
+[test] → hello
+ there
+
+pragma initial-rule [test]