From 46f6ee5545f0703c1626c8de35a8e6e6217a9b14 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Wed, 8 Feb 2017 14:33:24 -0500 Subject: Update --- RGens/data/sample-grammars/anime.gram | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'RGens/data/sample-grammars/anime.gram') diff --git a/RGens/data/sample-grammars/anime.gram b/RGens/data/sample-grammars/anime.gram index 0cc21d8..b83e8be 100755 --- a/RGens/data/sample-grammars/anime.gram +++ b/RGens/data/sample-grammars/anime.gram @@ -1,20 +1,19 @@ -[anime-name] [anime-two-name] - [anime-three-name] +[anime-name] [two-name] + [three-name] pragma initial-rule [anime-name] -pragma export-rule [anime-name] -[anime-two-name] [anime-first-name] [anime-third-name] - [anime-second-name] [anime-third-name] +[two-name] [first-name] [third-name] + [second-name] [third-name] -[anime-three-name] [anime-first-name] [anime-first-name] - [anime-first-name] [anime-second-name] - [anime-second-name] [anime-first-name] - [anime-second-name] [anime-second-name] +[three-name] [first-name] [first-name] + [first-name] [second-name] + [second-name] [first-name] + [second-name] [second-name] -pragma suffix-with [anime-name] [anime-third-name] +pragma suffix-with [anime-name] [third-name] -[anime-first-name] Vampire +[first-name] Vampire Cat Death Mermaid @@ -41,7 +40,7 @@ pragma suffix-with [anime-name] [anime-third-name] Lucid Space -[anime-second-name] Princess +[second-name] Princess Planet Blade Bride @@ -69,7 +68,7 @@ pragma suffix-with [anime-name] [anime-third-name] Blackout Phantom -[anime-third-name] Forever +[third-name] Forever Detectives Memories Outlaw -- cgit v1.2.3