diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-07-20 12:52:31 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-07-20 12:52:31 -0300 |
| commit | 5ab1f1df04000219ae19a70c38a66dda3849b665 (patch) | |
| tree | 87b722f177d0539bdd0315f42b71bd0c0f752f44 /data/sample-grammars | |
| parent | 93884fa70a1fdcef373353639f10cec7aee7cec0 (diff) | |
Update grammars
Diffstat (limited to 'data/sample-grammars')
| -rwxr-xr-x | data/sample-grammars/pokeattacks.gram | 10 | ||||
| -rwxr-xr-x | data/sample-grammars/superhero.gram | 18 |
2 files changed, 16 insertions, 12 deletions
diff --git a/data/sample-grammars/pokeattacks.gram b/data/sample-grammars/pokeattacks.gram index dcbd770..8c192f2 100755 --- a/data/sample-grammars/pokeattacks.gram +++ b/data/sample-grammars/pokeattacks.gram @@ -1,4 +1,4 @@ -[pokeattack] {@oword:=[word-1]} {@tword:=[word-2]} {@ptype:=[poke-type]} [act-pokeattack] +[pokeattack] {@ptype:=[poke-type]} [act-pokeattack] [act-pokeattack] [pokeattack-name] @@ -11,7 +11,9 @@ pragma suffix-with [act-pokeattack] [move-kind] pragma suffix-with [act-pokeattack] [attack-type] pragma suffix-with [act-pokeattack] [attack-pp] -[pokeattack-name] <^2> <&1..2> [@oword] [@oword] +[pokeattack-name] {@oword:=[word-1]} {@tword:=[word-2]} [act-pokeattack-name] + +[act-pokeattack-name] <^2> <&1..2> [@oword] [@oword] <^2> <&1..2> [@tword] [@tword] <^2> [@oword] [@tword] <^2> [@tword] [@oword] @@ -57,8 +59,8 @@ pragma suffix-with [word-11] [seperator] pragma prefix-with [word-21] [seperator] -pragma prefix-with [pokeattack-name] [word-11] -pragma suffix-with [pokeattack-name] [word-21] +pragma prefix-with [act-pokeattack-name] [word-11] +pragma suffix-with [act-pokeattack-name] [word-21] [word-1] acid aerial diff --git a/data/sample-grammars/superhero.gram b/data/sample-grammars/superhero.gram index b9fab59..a997410 100755 --- a/data/sample-grammars/superhero.gram +++ b/data/sample-grammars/superhero.gram @@ -280,17 +280,19 @@ pragma suffix-with [third-part] [fifth-part] <^2> [exalt-type] <^2> [arcana] -[exalt-type] Dawn - Zenith - Twilight - Night - Eclipse +[exalt-type] [Dawn||Zenith||Twilight||Night||Eclipse] + [Dusk||Midnight||Daybreak||Day||Midnight] + [Full||Waxing||Half||No] Moon + Chosen of [Journeys||Serenity||Battle||Endings||Secrets] + [Herald||Disciple||Crusader||Shephard] -[arcana] [%tarot-card||%alt-tarot-card] +[arcana] [%(tarot-card)||%(alt-tarot-card)] Minor Arcana Major Arcana <^3> [ordinal-arcana] -[ordinal-arcana] {empty} +[ordinal-arcana] <^2> {empty} + Arcana [%ordinal||%(ordinal-roman)] + [ordinal-number] Arcana -pragma prefix-with [ordinal-arcana] Arcana [%ordinal||%ordinal-roman||%ordinal-number] +#pragma prefix-with [ordinal-arcana] Arcana [%ordinal||%(ordinal-roman)||%(ordinal-number)] |
