diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-27 23:30:14 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-27 23:30:14 -0300 |
| commit | 0a2ce93a19db9774db916e7e9711b16d4ef135d7 (patch) | |
| tree | f9585d5b611ac62bad2e3f717e2d9c1ff03dd5bc /RGens/data/sample-grammars/pokeattacks.gram | |
| parent | ce65131c7bab59f7308ae74cf21e4ce996a67354 (diff) | |
Update grammars
Diffstat (limited to 'RGens/data/sample-grammars/pokeattacks.gram')
| -rwxr-xr-x | RGens/data/sample-grammars/pokeattacks.gram | 55 |
1 files changed, 54 insertions, 1 deletions
diff --git a/RGens/data/sample-grammars/pokeattacks.gram b/RGens/data/sample-grammars/pokeattacks.gram index b667cc7..ad23186 100755 --- a/RGens/data/sample-grammars/pokeattacks.gram +++ b/RGens/data/sample-grammars/pokeattacks.gram @@ -1,9 +1,62 @@ -[pokeattack] [word-1] [word-1] +[pokeattack] [pokeattack-name] + +[attack-type] ( [poke-type] type) + ( [poke-type] / [poke-type] type) + +[attack-pp] [5..40] type + +pragma suffix-with [pokeattack] [move-kind] +pragma suffix-with [pokeattack] [attack-type] + +[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] [word-1] pragma suffix-with [pokeattack] [word-2] |
