From 63c7fff30d41ab691d6f49d8d7b69e60f9a9e80f Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Mon, 4 Jun 2018 21:14:41 -0300 Subject: Grammar updates General pass to update grammars to new syntax/features --- data/sample-grammars/dungeondressing/monster.gram | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'data/sample-grammars/dungeondressing/monster.gram') diff --git a/data/sample-grammars/dungeondressing/monster.gram b/data/sample-grammars/dungeondressing/monster.gram index 47e1417..d3a793e 100755 --- a/data/sample-grammars/dungeondressing/monster.gram +++ b/data/sample-grammars/dungeondressing/monster.gram @@ -1,12 +1,17 @@ -[monster] [monster-kind] +[monster] <^2> [monster-kind] [monster-prefix] [monster-kind] pragma initial-rule [monster] -[monster-prefix] were- +[monster-prefix] [monster-prefix-tail] + +pragma prefix-with [monster-prefix] <&1..3> [monster-prefix-head] + +[monster-prefix-tail] were- half- quarter- - vampire + +[monster-prefix-head] vampire giant diseased magic -- cgit v1.2.3