summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/anime.gram
diff options
context:
space:
mode:
Diffstat (limited to 'RGens/data/sample-grammars/anime.gram')
-rwxr-xr-xRGens/data/sample-grammars/anime.gram20
1 files changed, 10 insertions, 10 deletions
diff --git a/RGens/data/sample-grammars/anime.gram b/RGens/data/sample-grammars/anime.gram
index b83e8be..eabbade 100755
--- a/RGens/data/sample-grammars/anime.gram
+++ b/RGens/data/sample-grammars/anime.gram
@@ -1,18 +1,17 @@
-[anime-name] [two-name]
- [three-name]
+[anime-name] [first-name]
+ [second-name]
+ [third-name]
pragma initial-rule [anime-name]
-[two-name] [first-name] [third-name]
- [second-name] [third-name]
-
-[three-name] [first-name] [first-name]
- [first-name] [second-name]
- [second-name] [first-name]
- [second-name] [second-name]
-
+pragma suffix-with [anime-name] [first-name]
+pragma suffix-with [anime-name] [second-name]
pragma suffix-with [anime-name] [third-name]
+pragma prefix-with [anime-name] [third-name]
+pragma prefix-with [anime-name] [second-name]
+pragma prefix-with [anime-name] [first-name]
+
[first-name] Vampire
Cat
Death
@@ -51,6 +50,7 @@ pragma suffix-with [anime-name] [third-name]
Goddess
Sushi
Star
+ [planet]
Moon
Zombie
Banana