summaryrefslogtreecommitdiff
path: root/data/sample-grammars/long-data/cards.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-05-29 15:35:02 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-05-29 15:35:02 -0300
commit0faa5175b6f0de8835ed514615ac64135f406b29 (patch)
tree6a1a5a9b01a1175b8ae2203418005f7bc625be9d /data/sample-grammars/long-data/cards.gram
parent9356498bebab9342222cd87be669abae9d7ac3a2 (diff)
Move files out of folder
Diffstat (limited to 'data/sample-grammars/long-data/cards.gram')
-rw-r--r--data/sample-grammars/long-data/cards.gram261
1 files changed, 261 insertions, 0 deletions
diff --git a/data/sample-grammars/long-data/cards.gram b/data/sample-grammars/long-data/cards.gram
new file mode 100644
index 0000000..51a86d4
--- /dev/null
+++ b/data/sample-grammars/long-data/cards.gram
@@ -0,0 +1,261 @@
+[card] [playing-card]
+ [tarot-card]
+ [complete-many-things]
+ [harrowed-many-things]
+
+pragma initial-rule [card]
+
+[playing-card] [playing-rank] of [playing-suit]
+
+pragma export-rule [playing-card]
+
+[playing-suit] hearts
+ clubs
+ spades
+ diamonds
+
+[playing-rank] [rank-two]
+ [rank-three]
+ [rank-four]
+ [rank-five]
+ [rank-six]
+ [rank-seven]
+ [rank-eight]
+ [rank-nine]
+ [rank-ten]
+ jack
+ king
+ queen
+ ace
+
+[rank-two] 2
+ deuce
+ two
+
+[rank-three] 3
+ three
+
+[rank-four] 4
+ four
+
+[rank-five] 5
+ five
+
+[rank-six] 6
+ six
+
+[rank-seven] 7
+ seven
+
+[rank-eight] 8
+ eight
+
+[rank-nine] 9
+ nine
+
+[rank-ten] 10
+ ten
+
+[tarot-card] [minor-arcana]
+ [major-arcana]
+
+pragma prefix-with [tarot-card] inverse
+
+pragma export-rule [tarot-card]
+
+[minor-arcana] [minor-rank] of [arcana-suit]
+
+[arcana-suit] [playing-suit]
+ [arcana-suit]
+ [alt-arcana-suit]
+
+[major-arcana] [major-arcana1]
+ [major-arcana2]
+
+pragma export-rule [major-arcana]
+
+[minor-rank] ace
+ [rank-two]
+ [rank-three]
+ [rank-four]
+ [rank-five]
+ [rank-six]
+ [rank-seven]
+ [rank-eight]
+ [rank-nine]
+ [rank-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
+
+pragma export-rule [major-arcana1]
+
+[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-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]