summaryrefslogtreecommitdiff
path: root/data/new-sample-grammars
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-04 21:14:41 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-04 21:14:41 -0300
commit63c7fff30d41ab691d6f49d8d7b69e60f9a9e80f (patch)
tree2addce4256bdabf4cc987fff936b4c04b9df2477 /data/new-sample-grammars
parent9b9ce0c3123d70b9e839084aade4f37eb08e328d (diff)
Grammar updates
General pass to update grammars to new syntax/features
Diffstat (limited to 'data/new-sample-grammars')
-rw-r--r--data/new-sample-grammars/perchance/meal.gram35
1 files changed, 35 insertions, 0 deletions
diff --git a/data/new-sample-grammars/perchance/meal.gram b/data/new-sample-grammars/perchance/meal.gram
new file mode 100644
index 0000000..252c207
--- /dev/null
+++ b/data/new-sample-grammars/perchance/meal.gram
@@ -0,0 +1,35 @@
+[meal] It's a [adjective] dish with [type] [main] .
+ The [adjective] [main] is paired with a [size] serving of [condiment] .
+ A [main] with with a bit of [condiment] and some [adjective] [side] on top .
+
+pragma export-rule [meal]
+
+[adjective] vegan
+ Indonesian
+ Italian
+ delicious
+
+[main] risotto
+ pie
+ stir-fry
+ curry
+
+[side] bowl of rice
+ salad
+ fries
+ fried mushrooms
+ pumpkin soup
+
+[type] a [size] serving of
+ well-cooked
+ unusually fresh
+ roasted
+
+[size] small
+ large
+ tiny
+
+[condiment] <^2> pepper
+ salt
+ chili flakes
+ oregano