diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-27 12:48:21 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-27 12:48:21 -0300 |
| commit | 884c12a387e48bb86a094bc196c758d6546f7d21 (patch) | |
| tree | 467c654afd105767485bb54a7c6e3d6c720dd6fa /RGens/data/sample-grammars/superhero.gram | |
| parent | 8783f6e6f4860c4b2dd9c02311814878d74092d9 (diff) | |
Update sample grammars
Diffstat (limited to 'RGens/data/sample-grammars/superhero.gram')
| -rwxr-xr-x | RGens/data/sample-grammars/superhero.gram | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/RGens/data/sample-grammars/superhero.gram b/RGens/data/sample-grammars/superhero.gram index 7f6e89a..cdb609f 100755 --- a/RGens/data/sample-grammars/superhero.gram +++ b/RGens/data/sample-grammars/superhero.gram @@ -2,12 +2,40 @@ pragma initial-rule [superhero-desc] -pragma suffix-with [superhero-desc] [superhero-ally] -pragma suffix-with [superhero-desc] [superhero-enemy] +[superhero-postfix] [superhero-ally] + [superhero-enemy] + +pragma suffix-with [superhero-desc] [superhero-postfix] +pragma suffix-with [superhero-desc] [superhero-postfix] +pragma suffix-with [superhero-desc] [superhero-postfix] + +pragma suffix-with [superhero-desc] [superhero-secret] + +pragma suffix-with [superhero-desc] [superhero-org] +pragma suffix-with [superhero-desc] [superhero-org] [superhero-ally] (ally of [superhero-name] ) + (secret ally of [superhero-name] ) + (lover of [superhero-name] ) [superhero-enemy] (enemy of [superhero-name] ) + (secret enemy of [superhero-name] ) + +[superhero-misc] (betrayer of [superhero-name] ) + (killer of [superhero-name] ) + (defeater of [superhero-name] ) + (mentor of [superhero-name] ) + (subordinate of [superhero-name] ) + ( [generic-title] ) + +[superhero-secret] (secret identity of [full-name-and-title] ) + +[superhero-org] (member of the [organization] ) + (double agent for the [organization] ) + (sworn enemy of the [organization] ) + (leader of the [organization] ) + (second in command of the [organization] ) + ( [generic-title] of the [organization] ) [superhero-name] [first-part] [second-part] [second-part] [first-part] @@ -112,6 +140,8 @@ pragma suffix-with [fifth-part] [fourth-part] [third-part] ,The [third-part2] +pragma suffix-with [third-part] [fifth-part] + [third-part2] [third-part-act] [third-part-act] [second-part] |
