From 65e19f8feedc520034187f08014d4e92b281918f Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Wed, 22 Mar 2017 10:35:48 -0400 Subject: Convert long rules to grammars --- RGens/data/sample-grammars/long-data/animal.gram | 32 +++++++++++++----------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'RGens/data/sample-grammars/long-data/animal.gram') diff --git a/RGens/data/sample-grammars/long-data/animal.gram b/RGens/data/sample-grammars/long-data/animal.gram index b180551..b0b7a42 100644 --- a/RGens/data/sample-grammars/long-data/animal.gram +++ b/RGens/data/sample-grammars/long-data/animal.gram @@ -1,15 +1,17 @@ -dog -cat -horse -cow -chicken -penguin -turkey -eagle -llama -camel -deer -bear -elk -giraffe -elephant +[animal] → dog + cat + horse + cow + chicken + penguin + turkey + eagle + llama + camel + deer + bear + elk + giraffe + elephant + +pragma initial-rule [animal] -- cgit v1.2.3