diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-29 15:44:57 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-29 15:44:57 -0300 |
| commit | 03b9ed1601acfe323dc9b5360b8f2c2c972c8e04 (patch) | |
| tree | 72e33eec337b386e6d536f128da03a9d4f2f12fe /data/sample-grammars/pokeattacks.gram | |
| parent | d22367abbb07f020dfb387032e9b72a040a170f5 (diff) | |
| parent | 0faa5175b6f0de8835ed514615ac64135f406b29 (diff) | |
Merge branch 'working'
Diffstat (limited to 'data/sample-grammars/pokeattacks.gram')
| -rwxr-xr-x | data/sample-grammars/pokeattacks.gram | 124 |
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 |
