summaryrefslogtreecommitdiff
path: root/data/sample-grammars/pokeattacks.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-05-29 15:35:02 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-05-29 15:35:02 -0300
commit0faa5175b6f0de8835ed514615ac64135f406b29 (patch)
tree6a1a5a9b01a1175b8ae2203418005f7bc625be9d /data/sample-grammars/pokeattacks.gram
parent9356498bebab9342222cd87be669abae9d7ac3a2 (diff)
Move files out of folder
Diffstat (limited to 'data/sample-grammars/pokeattacks.gram')
-rwxr-xr-xdata/sample-grammars/pokeattacks.gram124
1 files changed, 124 insertions, 0 deletions
diff --git a/data/sample-grammars/pokeattacks.gram b/data/sample-grammars/pokeattacks.gram
new file mode 100755
index 0000000..649f42c
--- /dev/null
+++ b/data/sample-grammars/pokeattacks.gram
@@ -0,0 +1,124 @@
+[pokeattack] [pokeattack-name]
+
+[attack-type] ( [poke-type] type)
+ ( [poke-type] / [poke-type] type)
+
+[attack-pp] ( [5..40] pp )
+
+pragma despace-rule [attack-type]
+pragma despace-rule [attack-pp]
+
+pragma suffix-with [pokeattack] [move-kind]
+pragma suffix-with [pokeattack] [attack-type]
+pragma suffix-with [pokeattack] [attack-pp]
+
+[pokeattack-name] [word-1] [word-1]
+ [word-2] [word-2]
+ [word-1] [word-2]
+ [word-2] [word-1]
+ [word-1] [seperator] [word-1]
+ [word-2] [seperator] [word-2]
+ [word-1] [seperator] [word-2]
+ [word-2] [seperator] [word-1]
+ [word-1] [seperator] [word-1]
+ [word-2] [seperator] [word-2]
+ [word-1] [seperator] [word-2]
+ [word-2] [seperator] [word-1]
+
+[seperator] -
+ /
+ and
+
+[move-kind] (special move)
+ (physical move)
+
+[poke-type] normal
+ fire
+ fighting
+ water
+ flying
+ grass
+ poison
+ electric
+ ground
+ psychic
+ rock
+ ice
+ bug
+ dragon
+ ghost
+ dark
+ steel
+ fairy
+
+pragma initial-rule [pokeattack]
+pragma export-rule [pokeattack-name]
+
+[word-11] [word-1]
+
+pragma suffix-with [word-11] [seperator]
+
+[word-21] [word-2]
+
+pragma prefix-with [word-21] [seperator]
+
+pragma prefix-with [pokeattack-name] [word-1]
+pragma suffix-with [pokeattack-name] [word-2]
+
+[word-1] acid
+ aerial
+ air
+ ancient
+ aqua
+ aura
+ aurora
+ baton
+ beat
+ belly
+ blast
+ blaze
+ body
+ bone
+ comet
+ confuse
+ cotton
+ cross
+ dark
+ destiny
+ diamond
+ dizzy
+ doom
+ dragon
+ dream
+ dynamic
+ earth
+ egg
+ electric
+ energy
+
+[word-2] terrain
+ ball
+ impulse
+ bomb
+ speed
+ lock
+ wind
+ stinger
+ dance
+ gambit
+ blast
+ fang
+ punch
+ spin
+ burst
+ charge
+ wheel
+ blitz
+ cannon
+ drink
+ eye
+ shot
+ sun
+ slap
+ wrath
+ blade