diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-24 18:40:28 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-24 18:40:28 -0300 |
| commit | 73a7c860f6252f5f2e94e2a57eb5cbd53e2b9ccb (patch) | |
| tree | 17a75f0e7d88ea6386b6fe2880204a1ae2d154e5 /RGens/data/sample-grammars/long-data | |
| parent | 924bcdc9a65c7f88004d6dbf8dfa138c9a125e5d (diff) | |
Update sample data
Diffstat (limited to 'RGens/data/sample-grammars/long-data')
| -rw-r--r-- | RGens/data/sample-grammars/long-data/cards.gram | 248 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/long-data/digit-twoup.gram | 10 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/long-data/roman-numeral.gram | 19 |
3 files changed, 276 insertions, 1 deletions
diff --git a/RGens/data/sample-grammars/long-data/cards.gram b/RGens/data/sample-grammars/long-data/cards.gram new file mode 100644 index 0000000..4b16d7e --- /dev/null +++ b/RGens/data/sample-grammars/long-data/cards.gram @@ -0,0 +1,248 @@ +[card] [playing-card] + [tarot-card] + [complete-many-things] + [harrowed-many-things] + +pragma initial-rule [card] + +[playing-card] [playing-rank] of [playing-suit] + +[playing-rank] 2 + deuce + two + 3 + three + 4 + four + 5 + five + 6 + six + 7 + seven + 8 + eight + 9 + nine + 10 + ten + jack + king + queen + ace + +[playing-suit] hearts + clubs + spades + diamonds + +pragma export-rule [playing-card] + +[tarot-card] [minor-arcana] + [major-arcana] + +pragma export-rule [tarot-card] + +pragma prefix-with [tarot-card] inverse + +[minor-arcana] [minor-rank] of [playing-suit] + [minor-rank] of [arcana-suit] + [minor-rank] of [alt-arcana-suit] + +[major-arcana] [major-arcana1] + [major-arcana2] + +[minor-rank] ace + 2 + deuce + 3 + three + 4 + four + 5 + five + 6 + six + 7 + seven + 8 + eight + 9 + nine + 10 + ten + knave + page + jack + knight + king + queen + +[arcana-suit] swords + staves + cups + coins + pentacles + +[alt-arcana-suit] stones + books + bells + candles + +[major-arcana1] the magician + the high priestess + the empress + the emperor + the hierophant + the lovers + the chariot + justice + the hermit + the wheel of fortune + the strength + the hanged man + death + temperance + the devil + the tower + the star + the moon + the sun + judgment + the world + the fool + the excuse + +[major-arcana2] the witch + the sorceror + the temple + balance + the dragon + the die + diligence + life + courage + the angel + day + dusk + night + the rainbow + void + the demon + +pragma export-rule [major-arcana] +pragma export-rule [major-arcana1] +pragma export-rule [major-arcana2] + +[complete-many-things] fates + donjon + balance + patient zero + metamorphosis + frog + dwarf + crone + tongue + coin + rogue + euryale + ruin + talons + idiot + burdned man + bleeding man + cripple + nymph + leper + acid + blind man + hermaphrodite + skull + flames + void + god-king + wizard + titan + chicken soup + ballerina + sage + demagogue + armor + guide + heart + knight + moon + throne + vizier + gem + envy + sea + shoes + nose + giant + maiden + gift + comet + star + key + sun + jester + fool + +pragma export-rule [complete-many-things] + +[harrowed-many-things] the avalanche + the bear + the beating + the betrayal + the big sky + the brass dwarf + the carnival + the courtesan + the cricket + the crows + the cyclone + the dance + the demon's lantern + the desert + the fiend + the foreign trader + the forge + the eclipse + the empty throne + the hidden truth + the idiot + the inquisitor + the joke + the juggler + the keep + the liar + the locksmith + the lost + the marriage + the mountain man + the mute hag + the owl + the paladin + the peacock + the publican + the queen mother + the rabbit prince + the rakshasa + the sickness + the snakebite + the survivor + the tangled briar + the teamster + the theater + the trumpet + the twin joker + the tyrant + the unicorn + the uprsing + the vision + the wanderer + the waxworks + the winged serpent + +pragma export-rule [harrowed-many-things] diff --git a/RGens/data/sample-grammars/long-data/digit-twoup.gram b/RGens/data/sample-grammars/long-data/digit-twoup.gram new file mode 100644 index 0000000..686c348 --- /dev/null +++ b/RGens/data/sample-grammars/long-data/digit-twoup.gram @@ -0,0 +1,10 @@ +[digit-twoup] 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + +pragma initial-rule [digit-twoup] diff --git a/RGens/data/sample-grammars/long-data/roman-numeral.gram b/RGens/data/sample-grammars/long-data/roman-numeral.gram index 39281ab..886d44c 100644 --- a/RGens/data/sample-grammars/long-data/roman-numeral.gram +++ b/RGens/data/sample-grammars/long-data/roman-numeral.gram @@ -1,3 +1,17 @@ +[roman-numeral-string] [roman-numeral-string+1] + +[roman-numeral-string+1] [roman-numeral] + [roman-numeral] + [roman-numeral] [roman-numeral-string] + +pragma initial-rule [roman-numeral-string] + +[ordinal-roman] [act+ordroman] + +pragma export-rule [ordinal-roman] + +[act+ordroman] [roman-numeral-string] th + [roman-numeral] → I II III @@ -8,5 +22,8 @@ VIII IX X + D + C + M -pragma initial-rule [roman-numeral] +pragma export-rule [roman-numeral] |
