summaryrefslogtreecommitdiff
path: root/RGens
diff options
context:
space:
mode:
Diffstat (limited to 'RGens')
-rw-r--r--RGens/data/misc/700000items.gram99
-rwxr-xr-xRGens/data/sample-grammars/art-objects.gram37
-rw-r--r--RGens/data/sample-grammars/career.gram39
-rw-r--r--RGens/data/sample-grammars/company.gram24
-rw-r--r--RGens/data/sample-grammars/computer.gram16
-rwxr-xr-xRGens/data/sample-grammars/diablo-ii/diabloiiperish.gram8
-rwxr-xr-xRGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram2
-rw-r--r--RGens/data/sample-grammars/dungeondressing/abandoned.gram3
-rw-r--r--RGens/data/sample-grammars/dungeondressing/bedroom.gram5
-rw-r--r--RGens/data/sample-grammars/dungeondressing/dragonencounter.gram1
-rw-r--r--RGens/data/sample-grammars/dungeondressing/kitchen.gram1
-rw-r--r--RGens/data/sample-grammars/dungeondressing/monster.gram2
-rw-r--r--RGens/data/sample-grammars/fortune.gram12
-rw-r--r--RGens/data/sample-grammars/linux.gram75
-rw-r--r--RGens/data/sample-grammars/long-data/cards.gram248
-rw-r--r--RGens/data/sample-grammars/long-data/digit-twoup.gram10
-rw-r--r--RGens/data/sample-grammars/long-data/roman-numeral.gram19
-rw-r--r--RGens/data/sample-grammars/media.gram9
-rw-r--r--RGens/data/sample-grammars/mission.gram2
-rw-r--r--RGens/data/sample-grammars/names.gram409
-rw-r--r--RGens/data/sample-grammars/ordinal.gram4
-rw-r--r--RGens/data/sample-grammars/organization.gram2
-rw-r--r--RGens/data/sample-grammars/phone-number.gram11
-rw-r--r--RGens/data/sample-grammars/rtwiki/bodyparts.gram2
-rw-r--r--RGens/data/sample-grammars/rtwiki/color.gram9
-rw-r--r--RGens/data/sample-grammars/rtwiki/creature.gram4
-rw-r--r--RGens/data/sample-grammars/rtwiki/death-cause.gram2
-rw-r--r--RGens/data/sample-grammars/rtwiki/fantasy-name.gram1
-rw-r--r--RGens/data/sample-grammars/rtwiki/favorite.gram3
-rw-r--r--RGens/data/sample-grammars/rtwiki/guns.gram3
-rw-r--r--RGens/data/sample-grammars/rtwiki/item.gram7
-rw-r--r--RGens/data/sample-grammars/rtwiki/traits.gram2
-rwxr-xr-xRGens/data/sample-grammars/rune.gram7
-rwxr-xr-xRGens/data/sample-grammars/superhero.gram141
-rwxr-xr-xRGens/data/sample-grammars/tarotcard.gram9
-rwxr-xr-xRGens/data/sample-grammars/technobabble.gram19
-rw-r--r--RGens/data/sample-grammars/vaultsofnagoh/turboghoul-hats.gram56
-rw-r--r--RGens/data/sample-grammars/web.gram1
l---------RGens/data/seniordesign/dbdata.gram1
-rw-r--r--RGens/data/server-config-sample.cfg29
40 files changed, 1244 insertions, 90 deletions
diff --git a/RGens/data/misc/700000items.gram b/RGens/data/misc/700000items.gram
new file mode 100644
index 0000000..5e2d487
--- /dev/null
+++ b/RGens/data/misc/700000items.gram
@@ -0,0 +1,99 @@
+[item-name] [noun]
+
+pragma initial-rule [item-name]
+
+pragma prefix-with [item-name] [post]
+pragma prefix-with [item-name] [adj]
+pragma prefix-with [item-name] [adj]
+pragma prefix-with [item-name] [pre]
+
+pragma suffix-with [item-name] [end]
+
+[end] of Secrets
+ of Flies
+ da Whoop
+ of Shadows
+ of Meat
+ Baby
+ of Pills
+ of Cards
+ Fetus
+ Worm
+ 2.0
+ is Power
+ in a jar
+
+[adj] Gross
+ Smelly
+ Holy
+ Dead
+ Small
+ Rotten
+ Tiny
+ Magic
+ Mysterious
+ Lost
+ Little
+ Sacred
+ Cursed
+ Evil
+ Demonic
+ Sad
+ Turdy
+ Sticky
+ Ultra
+ Super
+ Satanic
+ Sulfuric
+ Epic
+ Explosive
+ Powerful
+ Charged
+ Electric
+ Bloody
+ Charmed
+ Burning
+ Charred
+ Poison
+ Rainbow
+ Soy
+
+[noun] Boy
+ Kid
+ Tears
+ Head
+ Bag
+ Brain
+ Box
+ Eye
+ Sack
+ Meat
+ Paw
+ Ring
+ Poop
+ Acid
+ Liquid
+ Shield
+ Money
+ Friend
+ Aura
+ Battery
+ Milk
+
+[post] Bomb
+ Coin
+ Spider
+ Fly
+ Cube of
+ Book of
+ Halo of
+ Trinity
+ Bum
+ Revenge
+
+[pre] Bob's
+ Guppy's
+ Mr.
+ My
+ Mom's
+ Mama
diff --git a/RGens/data/sample-grammars/art-objects.gram b/RGens/data/sample-grammars/art-objects.gram
index 8cb1c4e..8263dda 100755
--- a/RGens/data/sample-grammars/art-objects.gram
+++ b/RGens/data/sample-grammars/art-objects.gram
@@ -1,7 +1,18 @@
[art-treasure] [gemstones]
+ [gemstones]
[art-object]
- [art-object] as well as a [gemstones]
+ [art-object]
+ [art-object] as well as a large [gemstones]
[gemstones] as well as a [art-object]
+ a small [gemstones]
+ a flawless piece of [gemstones]
+ [art-object] ; [art-object] as well as a [art-object]
+ a pile of [gemstones]
+ a pile of [gemstones]
+ a [art-object] atop a pile of [gemstones]
+ a [art-object] hidden under a [art-object]
+ a [gemstones] hidden under a pile of [gemstones]
+ a [art-object] hidden under a pile of [gemstones]
pragma initial-rule [art-treasure]
@@ -30,16 +41,22 @@ pragma initial-rule [art-treasure]
aquamarine
black pearl
topaz
+ [common-gem] and [common-gem]
+ [common-gem] and [common-gem] fused together
[legendary-gem] emerald
fire opal
sapphire
+ [rare-gem] and [rare-gem]
+ [rare-gem] and [rare-gem] fused together
[epic-gem] diamond
jacinth
ruby
+ [legendary-gem] and [legendary-gem]
+ [legendary-gem] and [legendary-gem] fused together
-[common-art] gold ring with [common-gem]
+[common-art] [common-goldring]
bone/ivory statuette
gold bracelet
silver necklace
@@ -47,7 +64,12 @@ pragma initial-rule [art-treasure]
silver-plated sword
silk robe
-[uncommon-art] gold ring with [legendary-gem]
+[common-goldring] gold ring
+ gold ring with a [common-gem]
+ gold ring with [common-gem] inlay
+ gold ring with [common-gem] setting
+
+[uncommon-art] [uncommon-goldring]
gold/silver necklace
gold bracelet studded with [rare-gem]
gold necklace adorned with [common-gem]
@@ -55,7 +77,12 @@ pragma initial-rule [art-treasure]
ivory comb with embedded [rare-gem]
gold vestments
-[rare-art] gold/platinum ring with [legendary-gem]
+[uncommon-goldring] gold ring with [legendary-gem] inlay
+ gold ring with a [legendary-gem]
+ gold ring with [legendary-gem] setting
+ gold ring with [rare-gem] and [rare-gem] decorations
+
+[rare-art] gold/platinum ring with a [legendary-gem]
gold/silver statuette adorned with [rare-gem]
gold necklace adorned with [rare-gem]
gold crown with [rare-gem]
@@ -75,7 +102,7 @@ pragma initial-rule [art-treasure]
gold statuette with eyes of [epic-gem]
gold necklace adorned with [epic-gem]
mithril tiara studded with [epic-gem]
- cup of celestial cold that glows with inner light
+ cup of celestial gold that glows with inner light
silvery cloak of astral thread
enormous [legendary-gem]
diff --git a/RGens/data/sample-grammars/career.gram b/RGens/data/sample-grammars/career.gram
index 4ea3f78..9dbac20 100644
--- a/RGens/data/sample-grammars/career.gram
+++ b/RGens/data/sample-grammars/career.gram
@@ -1,28 +1,31 @@
-[career-tech] [career-prefix] paper pusher
- [career-prefix] computer programmer
- [career-prefix] sheet spreader
+[career-tech] paper pusher
+ computer programmer
+ sheet spreader
data entry [career-suffix]
- [career-prefix] webpage designer
- [career-prefix] button pusher
- [career-prefix] bug terminator
+ webpage designer
+ button pusher
+ bug terminator
help desk [career-suffix]
- [career-prefix] software reinstaller
+ software reinstaller
software engineering [career-suffix]
- [career-prefix] system administrator
- [career-prefix] bastard operator from hell
- [career-prefix] webmaster
- [career-prefix] dead chicken waver
- [career-prefix] information technology [career-suffix]
- [career-prefix] four-color glossy publisher
- [career-prefix] corporate spy [career-suffix]
- [career-prefix] trade show booth bunny
+ system administrator
+ bastard operator from hell
+ webmaster
+ dead chicken waver
+ information technology [career-suffix]
+ four-color glossy publisher
+ corporate spy [career-suffix]
+ trade show booth bunny
evil human resources [career-suffix]
- [career-prefix] internet [career-suffix]
- [career-prefix] network administrator
- [career-prefix] software design [career-suffix]
+ internet [career-suffix]
+ network administrator
+ software design [career-suffix]
+ to the [career-tech]
pragma initial-rule [career-tech]
+pragma prefix-with [career-tech] [career-prefix]
+
[career-prefix] executive
assistant
junior
diff --git a/RGens/data/sample-grammars/company.gram b/RGens/data/sample-grammars/company.gram
index 53dcd11..a437fa0 100644
--- a/RGens/data/sample-grammars/company.gram
+++ b/RGens/data/sample-grammars/company.gram
@@ -13,15 +13,14 @@
[first-name] [last-name] [company-name+suffix]
[acronym] [company-name+suffix]
[acronym] [company-name]
- [acronym] [company-root-suffix] [company-suffix]
+ [company-root+acronym] [company-suffix]
[full-name] [company-name+suffix]
- [last-name] [company-root-suffix] [company-suffix]
- [last-name] [company-root-suffix]
+ [company-root+name]
[2letter+letter] [company-name+suffix]
[letter+letter] [company-name]
- [first-name] [company-root-suffix] [company-suffix]
+ [company-root+name] [company-suffix]
[city] [company-name+suffix]
- [city] [company-root-suffix]
+ [company-root+city]
[us-state] [company-name+suffix]
[buzzword-adjective] [buzzword-noun] [company-suffix]
[media-company]
@@ -30,6 +29,13 @@
pragma export-rule [company]
+[company-root+acronym] [acronym] [company-root-suffix]
+
+[company-root+city] [city] [company-root-suffix]
+
+[company-root+name] [first-name] [company-root-suffix]
+ [last-name] [company-root-suffix]
+
[plural+first] [first-name] 's
[company-name+suffix] [company-name] [company-suffix]
@@ -53,10 +59,10 @@ pragma export-rule [company]
{{empty}} Cooperative
{{empty}} Amalgamated
-[company-suffix2] , Inc.
- , Incorporated
- , Ltd.
- , LLC
+[company-suffix2] , {{empty}} Inc.
+ , {{empty}} Incorporated
+ , {{empty}} Ltd.
+ , {{empty}} LLC
[company-name] associated
united
diff --git a/RGens/data/sample-grammars/computer.gram b/RGens/data/sample-grammars/computer.gram
index 9f9fb6f..58405e3 100644
--- a/RGens/data/sample-grammars/computer.gram
+++ b/RGens/data/sample-grammars/computer.gram
@@ -20,13 +20,29 @@
tcl/tk
ada
dos batch files
+ jcl
+ rexx
+ scheme
+ clojure
+ ruby
+ python
+ apl
+ k
+ opencomal
+ [esoteric-language]
+ [esoteric-language]
+
+[esoteric-language] magenta
pragma export-rule [computer-language]
+pragma export-rule [esoteric-language]
pragma export-rule [computer-skill]
[computer-skill] html
xml
+ css
cgi scripting
+ cgi scripting with [computer-language]
photoshop
autocad
sql
diff --git a/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram b/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram
index 87f61dd..0e3515c 100755
--- a/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram
+++ b/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram
@@ -32,14 +32,14 @@ pragma export-rule [perishables]
explosive
fulminating
[gas-type] gas
- acidic
+ acidity
energizing
strengthening
empowering
artful
skillful
adroit
- sturdy
+ sturdiness
hardy
robust
sage
@@ -63,7 +63,7 @@ pragma export-rule [perishables]
fascinating
bright
solar
- omniscient
+ omniscience
mystical
arcane
strength
@@ -71,7 +71,7 @@ pragma export-rule [perishables]
vitality
intelligence
chi
- spectral
+ spectralness
fire
ice
lightning
diff --git a/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram b/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram
index 98c2335..f4acbf1 100755
--- a/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram
+++ b/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram
@@ -205,7 +205,7 @@ pragma export-rule [suffix]
[weapon-use] many
plenty
-[spell-casting] [spell-number] magic
+[spell-casting] [spell-number] level magic
[spell-number] 1st
2nd
diff --git a/RGens/data/sample-grammars/dungeondressing/abandoned.gram b/RGens/data/sample-grammars/dungeondressing/abandoned.gram
index 6046fcb..c9ed653 100644
--- a/RGens/data/sample-grammars/dungeondressing/abandoned.gram
+++ b/RGens/data/sample-grammars/dungeondressing/abandoned.gram
@@ -1,7 +1,6 @@
[abandoned] while exploring the abandoned [abandon-place] , a [abandon-person] sneaks up on you [abandon-motion] .
pragma initial-rule [abandoned]
-pragma export-rule [abandoned]
[abandon-place] shopping mall
amusement park
@@ -14,7 +13,7 @@ pragma export-rule [abandoned]
investment banker
cyborg prostitute
vampire
- 3 dogs in a trench coat
+ trio of dogs in a trench coat
undead wizard
[abandon-motion] on a jetpack
diff --git a/RGens/data/sample-grammars/dungeondressing/bedroom.gram b/RGens/data/sample-grammars/dungeondressing/bedroom.gram
index a80b8dd..fea0e00 100644
--- a/RGens/data/sample-grammars/dungeondressing/bedroom.gram
+++ b/RGens/data/sample-grammars/dungeondressing/bedroom.gram
@@ -1,7 +1,7 @@
[bedroom] you enter the [bedroom-type] and see a [bedroom-bed] with a [bedroom-person] lying on it.
+ you enter the [bedroom-type] and see a [bedroom-bed] with a [bedroom-person] lying in it.
pragma initial-rule [bedroom]
-pragma export-rule [bedroom]
[bedroom-type] cheap hotel room
penthouse suite
@@ -9,6 +9,9 @@ pragma export-rule [bedroom]
bear's den
captain's cabin
hospital ward
+ damp cave
+ mountain glen
+ deserted clearing
[bedroom-bed] king bed with luxury sheets
messy pile of wet hay
diff --git a/RGens/data/sample-grammars/dungeondressing/dragonencounter.gram b/RGens/data/sample-grammars/dungeondressing/dragonencounter.gram
index 676b6a2..5c299c3 100644
--- a/RGens/data/sample-grammars/dungeondressing/dragonencounter.gram
+++ b/RGens/data/sample-grammars/dungeondressing/dragonencounter.gram
@@ -1,7 +1,6 @@
[dragon-encounter] The [dragon-desc] dragon has a lair in [dragon-lair] where it guards a massive hoard of [dragon-hoard]
pragma initial-rule [dragon-encounter]
-pragma export-rule [dragon-encounter]
[dragon-desc] obese
syphilitic
diff --git a/RGens/data/sample-grammars/dungeondressing/kitchen.gram b/RGens/data/sample-grammars/dungeondressing/kitchen.gram
index 6448632..f888ff3 100644
--- a/RGens/data/sample-grammars/dungeondressing/kitchen.gram
+++ b/RGens/data/sample-grammars/dungeondressing/kitchen.gram
@@ -1,7 +1,6 @@
[kitchen] You enter the [kitchen-desc] kitchen. There is a [kitchen-book] cookbook nearby. Over the hearth, a [kitchen-food] gently simmers in a saucepan.
pragma initial-rule [kitchen]
-pragma export-rule [kitchen]
[kitchen-desc] poorly lit
dirty and insect infested
diff --git a/RGens/data/sample-grammars/dungeondressing/monster.gram b/RGens/data/sample-grammars/dungeondressing/monster.gram
index ea28b0e..cac53c7 100644
--- a/RGens/data/sample-grammars/dungeondressing/monster.gram
+++ b/RGens/data/sample-grammars/dungeondressing/monster.gram
@@ -1,6 +1,8 @@
[monster] [monster-kind]
[monster-prefix] [monster-kind]
+pragma initial-rule [monster]
+
[monster-prefix] were
vampire
giant
diff --git a/RGens/data/sample-grammars/fortune.gram b/RGens/data/sample-grammars/fortune.gram
index b9afb55..8bfce32 100644
--- a/RGens/data/sample-grammars/fortune.gram
+++ b/RGens/data/sample-grammars/fortune.gram
@@ -20,17 +20,17 @@
you will lose your job because of your involvement in the [org-political]
you will find the perfect joke to play on your [relative] on april fool's day, only to discover that it's actually april 2nd
your television will explode while the [big-game] is on
- you will receive a [large+bill] [bill-type] bill by mistake
- you will find a counterfeit [counter-bill] bill on the ground
+ you will receive a [large+bill] [bill-type] dollar bill by mistake
+ you will find a counterfeit [counter-bill] dollar bill on the ground
you will discover that everybody really is out to get you
- you will become successful in business -- unfortunately, that business will violate the laws of [30..49]
+ you will become successful in business -- unfortunately, that business will violate the laws of [30..49] states
you will inherit [40..80] acres of worthless swampland from your relative
along with [5..9] billion cockroaches, you will be the only survivor of world war II
you will save the world -- Bob's Auto World that is
you will move into a mobile home park and then a tornado will strike the very next day
you will set a record high golf score
a black cat will run across your path today, but thankfully you aren't superstitious (at least not until you get run over by a bus this evening
- the engine in your [vehicle] will explode precisely [ seconds after your warranty expires
+ the engine in your [vehicle] will explode precisely [10..35] seconds after your warranty expires
while on a business trip to [real-city] you will get lost and wind up in [real-city]
you will shoot your eye out with a BB gun, just as your mother said you would
you will run out of gas on Interstate [4..99] in the vicinity of nowhere, [us-state] , population [1..25]
@@ -42,7 +42,7 @@
you will discover the meaning of life at the bottom of a beer bottle, but you won't remember what it is after you sober up in the morning
you will receive a blank fortune cookie at a chinese restaurant, an event regarded by most superstition experts as a "bad omen"
you will be falsely accused of jaywalking
- you will suffer a nosebleed during a speech in front of [speech+num]
+ you will suffer a nosebleed during a speech in front of [speech+num] people
you will receive [50..100] credit card offers in the mail during the next week
you will receive [speech+num] pieces of spam email during the next year
your favorite tv show will be cancelled and replaced with an infomercial
@@ -56,7 +56,7 @@
you will realize that your life really is completely meaningless
you will appear on "who wants to be a millionaire?" and fail to answer the first $100 question
you will be sued by major league baseball for taping the world series on your vcr without prior written consent
- you will be at the losing end of a [300..500] lawsuit
+ you will be at the losing end of a [300..500] dollar lawsuit
you will receive a [100..500] dollar parking ticket from [real-city] even though you have never been there
every single time you visit the doctor's office, the doctor will be out playing golf
until the day you die, you will never understand what the saying "Life is like a bowl of cherries" actually means
diff --git a/RGens/data/sample-grammars/linux.gram b/RGens/data/sample-grammars/linux.gram
index fbbbac7..e716f88 100644
--- a/RGens/data/sample-grammars/linux.gram
+++ b/RGens/data/sample-grammars/linux.gram
@@ -547,23 +547,74 @@ pragma export-rule [geek-scifi-book]
software modem
cable modem
video card
+ [monitor-type] capture card
+ [peripheral-interface] [wireless+type] adapter
3d accelerator card
[peripheral-interface] time travel card
[peripheral-interface] coffee machine
- [40..99] inch monitor
+ [15..99] inch [monitor]
+ [15..99] inch widescreen [monitor]
uninterruptible power supply
[peripheral-interface] cd-recorder
beowulf-cluster-in-a-box
+ [cable-type] extender
+ [cable-type] to [cable-type] converter
+ [cable-type] hub
+ [cable-type] splitter
+
+[wireless+type] 802.11 [wireless-postfix]
+
+[wireless-postfix] a
+ b
+ g
+ n
+ ac
+ ad
+ af
+ ah
+ ai
+ aj
+ aq
+ ax
+ ay
+
+[cable-type] [monitor-type]
+ [peripheral-interface]
+
+[monitor] monitor
+
+pragma prefix-with [monitor] [monitor-resolution]
+pragma prefix-with [monitor] [monitor-type]
+
+[monitor-resolution] 4k
+ 1080p
+ 720p
+ 480p
+ 360p
+ 240p
+ 144p
+
+[monitor-type] vga
+ dvi-d
+ hdmi
+ display-port
+ mini display-port
+ micro display-port
[peripheral-interface] scsi
ide
- parallel port
+ parallel
[usb]
- firewire
- serial port
+ firewire 400
+ firewire 800
+ serial
thunderbolt
[usb] usb
+ usb type A
+ usb type B
+ usb 3.0
+ usb 2.0
micro-usb
mini-usb
usb (type C)
@@ -612,7 +663,11 @@ pragma export-rule [peripheral]
pragma export-rule [freshmeat-url]
-[freshmeat+url] http://freshmeat.net/news/ [digit] / [digit] / [digit] [digit] [digit] [digit] / [digit] [digit] [digit] [digit] [digit] [digit] [digit] [digit] [digit] /.html
+[freshmeat+url] http://freshmeat.net/news/ [digit] / [digit] / [freshmeat-group1] / [freshmeat-group2] .html
+
+[freshmeat-group1] [digit] [digit] [digit] [digit]
+
+[freshmeat-group2] [digit] [digit] [digit] [digit] [digit] [digit] [digit] [digit] [digit]
[freshmeat-desc] [app-type] [app-suffix]
[app-type] [app-suffix] for [freshmeat-for]
@@ -695,8 +750,7 @@ pragma export-rule [app-name]
[app-prefix+letter] [app-suffix]
[app-prefix+syllable] [app-type] [app-suffix]
[app-common] [app-type] [app-suffix]
-# TODO write [device-type] or find what its supposed to be.
-# [tech-company] [peripheral] [device-type]
+ [tech-company] [peripheral] [device-type]
[buzzword-adjective] [app-suffix]
[plural+first] [buzzword-adjective] [buzzword-noun] [buzzword-job]
[acronym] [buzzword-noun]
@@ -705,6 +759,8 @@ pragma export-rule [app-name]
[buzzword-adjective] [buzzword-noun] [app-suffix]
[linux-distro]
+[device-type] 'WRITE ME'
+
[app-prefix+name] [app-prefix] [random-name]
[app-prefix+letter] [app-prefix] [letter] [letter] [letter] [letter]
@@ -860,8 +916,10 @@ pragma export-rule [app-name]
2.4.0-ac [1..30]
2.4. [digit]
2.5. [0..99]
+ [2..4] . [6..9] . [0..99]
-[windows-version] 95
+[windows-version] 3.1
+ 95
98
98 second edition
millenium edition
@@ -875,6 +933,7 @@ pragma export-rule [app-name]
8
10
10 anniversary edition
+ 10 creators update
[ms-product] office
word
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]
diff --git a/RGens/data/sample-grammars/media.gram b/RGens/data/sample-grammars/media.gram
index 4bd7565..f3a1c98 100644
--- a/RGens/data/sample-grammars/media.gram
+++ b/RGens/data/sample-grammars/media.gram
@@ -112,7 +112,12 @@ pragma initial-rule [media-company]
pragma export-rule [newspaper-pair2]
-[cardinal] north
+[cardinal] [act-cardinal]
+ [act-cardinal]
+ [act-cardinal] by [act-cardinal]
+ [2+cardinal]
+
+[act-cardinal] north
west
east
south
@@ -121,6 +126,8 @@ pragma export-rule [newspaper-pair2]
southeast
southwest
+[2+cardinal] [act-cardinal] - [act-cardinal]
+
pragma export-rule [cardinal]
[real-newspaper] new york times
diff --git a/RGens/data/sample-grammars/mission.gram b/RGens/data/sample-grammars/mission.gram
index b76ae20..e474fcd 100644
--- a/RGens/data/sample-grammars/mission.gram
+++ b/RGens/data/sample-grammars/mission.gram
@@ -13,7 +13,7 @@
[opening] [work-phrase] [verb-part] [noun-part] and [verb-part] [noun-part] [connector] [goal]
[opening] [work-phrase2] [verb-part2] [noun-part] and [verb-part2] [noun-part] [connector] [goal]
[opening] [verb-part] [noun-part] and [noun-part] [connector] [goal]
- [opening] [verb-part] [noun-part], [noun-part] and [noun-part] [connector] [goal]
+ [opening] [verb-part] [noun-part] , [noun-part] and [noun-part] [connector] [goal]
[opening] [work-phrase] [verb-part] [noun-part] [connector] [verb-part] [noun-part] [connector] [goal]
[opening] [work-phrase2] [verb-part2] [noun-part] [connector] [verb-part] [noun-part] [connector] [goal]
[opening] [verb-part] [noun-part] [connector] [verb-part] [noun-part] [connector] [goal]
diff --git a/RGens/data/sample-grammars/names.gram b/RGens/data/sample-grammars/names.gram
index 241159f..b499d3d 100644
--- a/RGens/data/sample-grammars/names.gram
+++ b/RGens/data/sample-grammars/names.gram
@@ -1,21 +1,408 @@
-[full-name] [first-name] [last-name]
- [first-name] [middle-initial] [last-name]
- [consonant] [middle-initial] [last-name]
+[full-name] [first-name]
+ [last-name]
+ [first-name] [last-name]
+ [first-name] [middle-initial] . [last-name]
+ [consonant] . [middle-initial] . [last-name]
+ [middle-initial] . [middle-initial] . [last-name]
+ [random-name]
[random-name] [random-name]
+ [random-name] [middle-initial] . [random-name]
+
+pragma initial-rule [full-name-and-title]
-pragma initial-rule [full-name]
pragma export-rule [person]
pragma export-rule [first-name]
-pragma export-rule [full-name-and-title]
+pragma export-rule [generic-title]
+pragma export-rule [full-name]
pragma export-rule [random-name]
-[full-name-and-title] Mr. [first-name-male] [last-name]
- Mr. [first-name-male] [middle-initial] [last-name]
- Mrs. [first-name-female] [last-name]
- Miss [first-name-female] [last-name]
- Dr. [first-name] [last-name]
+[full-name-and-title] [generic-title] [last-name]
+ [generic-title] [middle-initial] . [middle-initial] . [last-name]
+ [male-title] [first-name-male]
+ [male-title] [first-name-male] [last-name]
+ [male-title] [first-name-male] [middle-initial] . [last-name]
+ [female-title] [first-name-female]
+ [female-title] [first-name-female] [last-name]
+ [female-title] [first-name-female] [middle-initial] . [last-name]
+ [gender-neutral-title] [full-name]
+ [full-name]
+
+[generic-title] [male-title]
+ [female-title]
+ [gender-neutral-title]
+
+# @TODO 10/23/17 Ben Culkin :TitleExpansion
+# Expand titles to
+# - Include place names where appropriate (e.g empereror of ...)
+# - Include ordinals where necessary (first emperor of ...)
+#
+
+[male-title] Mr.
+ Master
+ Uncle
+ Lord Mayor
+ Prince
+ archduke
+ grand duke
+ duke
+ marquis
+ marquess
+ count
+ earl
+ jarl
+ viscount
+ baron
+ lord
+ emperor
+ king
+ tsar
+ imperator
+ viceroy
+ pope
+ abbot
+ brother
+ friar
+ bishop
+ archbishob
+ priest
+ high priest
+ father
+ patriarch
+ vicar
+ chaplain
+ pastor
+ cardinal
+ monsieur
+ herr
+ senor
+ signor
+ emir
+ sultan
+ maharajah
+ lord protector
+ king-emperor
+ rex
+ lord of the manor
+ high king
+ crown prince
+ grand prince
+ praetor
+ headmaster
+
+[female-title] Ms.
+ Mrs.
+ Miss
+ Mistress
+ Aunt
+ Lady Mayoress
+ princess
+ arch duchess
+ grand duchess
+ duchess
+ marquise
+ marchioness
+ countess
+ viscountess
+ baroness
+ lady
+ empress
+ queen
+ tsarina
+ imperatrix
+ rex
+ vicerine
+ popess
+ dame
+ abbess
+ sister
+ mother superior
+ mother
+ reverend mother
+ priestess
+ high priestess
+ matriarch
+ madame
+ mademoiselle
+ frau
+ fraulein
+ senora
+ senorita
+ signora
+ signorina
+ emira
+ sultana
+ maharani
+ lady protectoress
+ queen-empress
+ regina
+ lady of the manor
+ high queen
+ crown princess
+ grand princess
+ headmistress
+
+[gender-neutral-title] Dr.
+ Professor
+ Right Honorable
+ Rt. Hon.
+ Honorable
+ Hon.
+ Representative
+ Senator
+ Speaker
+ [president]
+ Councillor
+ Delegate
+ Mayor
+ Governor
+ Lieutenant Governor
+ Premier
+ [ambassador]
+ [envoy]
+ [secretary]
+ attache
+ attache ( to [full-name-and-title] )
+ provost
+ chevalier
+ [judicial-title]
+ [religious-title]
+ [military-title]
+ coach
+ wizard
+ grand wizard
+ imperial wizard
+ principal
+ comrade
+ docent
+ lama
+ druid
+ archdruid
+ rabbi
+ ayatollah
+ bodhisattva
+ saoshyant
+ sheikh
+ archon
+ legate
+ satrap
+ consul
+ doge
+ pharaoh
+ caliph
+ khagan
+ khan
+ shah
+ shogun
+ despot
+ kaiser
+ don
+ comissioner
+ comptroller
+ courtier
+ curator
+ intendant
+ superindentent
+ sheriff
+ treasurer
+ warden
+ lord warden
+ apprentice
+ apprentice (to a [generic-title] )
+ apprentice (to a [full-name-and-title] )
+ journeyman
+ adept
+ centurion
+ daimyo
+ elector
+ inquisitor
+ grand inquisitor
+ pontiff
+ knight
+ squire
+
+[military-title] admiral
+ grand admiral
+ lord high admiral
+ rear admiral
+ vice admiral
+ brigadier
+ captain
+ group captain
+ colonel
+ lieutenant colonel
+ commander
+ commander-in-chief
+ lieutenant commander
+ wing commander
+ commodore
+ air commodore
+ corporal
+ lance corporal
+ staff corporal
+ general
+ first lieutenant
+ flight lieutenant
+ major
+ marshal
+ air marshal
+ field marshal
+ mate
+ chief mate
+ first mate
+ [officer]
+ private
+ sergeant
+ sergeant at arms
+ brigadier general
+ cadet
+ ensign
+
+[officer] officer
+ chief academic officer
+ chief executive officer
+ chief information officer
+ chief operating officer
+ field officer
+ first officer
+ flag officer
+ warrant officer
+ petty officer
+ police officer
+ political officer
+ senior officer
+ staff officer
+ police officer
+ constable
+ agent
+
+[religious-title] venerable
+ blessed
+ Saint
+ St.
+ decon
+ archdeacon
+ acolyte
+ dean
+ elder
+ minister
+ monsignor
+ reader
+ almoner
+
+[judicial-title] advocate
+ attorney
+ attorney general
+ bailiff
+ chancellor
+ judge
+ justice
+ lord chief justice
+ justice of the peace
+ magistrate
+ solicitor
+
+[president] president
+ deputy president
+ vice president
+ executive vice president
+ lord president of the council
+
+[ambassador] ambassador
+ ambassador (to [nation] )
+
+[envoy] envoy
+ envoy (to [nation] )
+ envoy (to the [generic-title] )
+ envoy (to [full-name-and-title] )
+ special envoy
+ special envoy (to [nation] )
+ special envoy (to the [generic-title] )
+ special envoy (to [full-name-and-title] )
+
+[secretary] secretary
+ secretary (to [full-name-and-title] )
+ secretary (to the [generic-title] )
+ under-secretary
+ under-secretary (to [full-name-and-title] )
+ under-secretary (to the [generic-title] )
+ foreign secretary
+ general secretary
+ secretary of state
+
+pragma suffix-with [full-name-and-title] [title-generation]
+pragma suffix-with [full-name-and-title] [title-suffix]
+pragma suffix-with [full-name-and-title] [title-suffix]
+pragma suffix-with [full-name-and-title] [title-suffix]
+
+[title-generation] Sr.
+ Jr.
+ [roman-numeral]
+ the [roman-numeral]
+ the [ordinal]
+ the [ordinal-number]
+
+[title-trailer] CPA
+ Ph.D
+ MP
+ M.D
+ DBA
+ RNA
+ TLA
+ A.B
+ B.A
+ B.S
+ M.A
+ M.S
+ Ed.D
+ D.Phil
+ Eng.D
+ K.B.E
+ D.D
+ Esq.
+ Esquire
+ CFA
+ P.E
+ PMP
+ CIA
+ CEH
+ CISA
+ CISM
+ CISSP
+ CNP
+ [cisco-title]
+ [ms-title]
+ OCP
+ [acronym]
+ J.D
+ J.P
+ N.P
+ CPL
+ DVM
+ D.D.S
+ D.M.D
+ OD
+ EMT
+ LPN
+ CMT
+ CRNA
+ OTP
+ KHS
+ GCHS
+ KCHS
+ MBA
+
+[cisco-title] CCNA
+ CCNP
+ CCIE
+
+[ms-title] MCDBA
+ MCSA
+ MCSE
+ MCP
+
+[title-suffix] , [title-trailer]
-[person] [first-name] [last-name]
+[person] [full-name]
[first-name] [first-name-male]
[first-name-female]
diff --git a/RGens/data/sample-grammars/ordinal.gram b/RGens/data/sample-grammars/ordinal.gram
index 5e149c9..da4aa4e 100644
--- a/RGens/data/sample-grammars/ordinal.gram
+++ b/RGens/data/sample-grammars/ordinal.gram
@@ -4,8 +4,8 @@ pragma export-rule [ordinal-number]
[actual+ordinal-number] [ordinal-digit]
1 [digit] th
- [digit-noone] [ordinal-digit]
- [digit-noone] [ordinal-digit]
+ [digit-twoup] [ordinal-digit]
+ [digit-twoup] [ordinal-digit]
[digit-nonzero] [ordinal-number]
[ordinal-digit] 1st
diff --git a/RGens/data/sample-grammars/organization.gram b/RGens/data/sample-grammars/organization.gram
index 40088e9..d3205bc 100644
--- a/RGens/data/sample-grammars/organization.gram
+++ b/RGens/data/sample-grammars/organization.gram
@@ -79,7 +79,7 @@ pragma export-rule [org-political]
wealth
filthy rich
-[min+wage] [6..8] . [digit] [digit]
+[min+wage] [9..20] . [digit] [digit]
[protect] bill of rights
first amendment
diff --git a/RGens/data/sample-grammars/phone-number.gram b/RGens/data/sample-grammars/phone-number.gram
index ddf1c1a..163ef4a 100644
--- a/RGens/data/sample-grammars/phone-number.gram
+++ b/RGens/data/sample-grammars/phone-number.gram
@@ -1,20 +1,27 @@
[us-phone-number] [area+code] [full+num]
[intl+num]
- [area+code] [full+num] ext. [ext+num]
+ [area+code] [full+num]
[area+code] [letter+num]
[1800+num]
[1800+letter+num]
+[extension] ext. [ext+num]
+
+pragma suffix-with [us-phone-number] [extension]
pragma export-rule [us-phone-number]
[area+code] ( [digit] [digit] [digit] )
[full+num] [digit] [digit] [digit] - [digit] [digit] [digit] [digit]
-[intl+num] 1- [full+num]
+[intl+num] [1..100] - [full+num]
[ext+num] [digit-nonzero] [digit] [digit]
+pragma suffix-with [ext+num] [digit]
+pragma suffix-with [ext+num] [digit]
+pragma suffix-with [ext+num] [digit]
+
[letter+num] [digit] [digit] [digit] - [letter] [letter] [letter] [letter]
[1800+num] 1-800- [digit] [digit] [digit] - [digit] [digit] [digit] [digit]
diff --git a/RGens/data/sample-grammars/rtwiki/bodyparts.gram b/RGens/data/sample-grammars/rtwiki/bodyparts.gram
index f373af8..71b4924 100644
--- a/RGens/data/sample-grammars/rtwiki/bodyparts.gram
+++ b/RGens/data/sample-grammars/rtwiki/bodyparts.gram
@@ -70,3 +70,5 @@
shin
arm
forearm
+
+pragma export-rule [bodypart]
diff --git a/RGens/data/sample-grammars/rtwiki/color.gram b/RGens/data/sample-grammars/rtwiki/color.gram
index 1a1c740..0ee0da2 100644
--- a/RGens/data/sample-grammars/rtwiki/color.gram
+++ b/RGens/data/sample-grammars/rtwiki/color.gram
@@ -12,7 +12,6 @@
[anachronistic]
pragma initial-rule [color]
-pragma export-rule [color]
[standard] red
orange
@@ -277,10 +276,10 @@ pragma export-rule [color]
sulphureous (bright yellow)
urobilin (urine-colored)
-[arcipluvian] (varies between [color] and [color])
- (varies between [color] , [color] and [color])
- (varies between [color] , [color] , [color] and [color])
- (varies between [color] , [color] and [color])
+[arcipluvian] (varies between [color] and [color] )
+ (varies between [color] , [color] and [color] )
+ (varies between [color] , [color] , [color] and [color] )
+ (varies between [color] , [color] and [color] )
[archaic-green] bilious (yellow-green)
chrysochlorous (green-gold)
diff --git a/RGens/data/sample-grammars/rtwiki/creature.gram b/RGens/data/sample-grammars/rtwiki/creature.gram
index 681fc6f..b3f7b92 100644
--- a/RGens/data/sample-grammars/rtwiki/creature.gram
+++ b/RGens/data/sample-grammars/rtwiki/creature.gram
@@ -73,3 +73,7 @@
orc
tiefling
troglodyte
+
+pragma export-rule [creature]
+pragma export-rule [creature-epic]
+pragma export-rule [humanoid]
diff --git a/RGens/data/sample-grammars/rtwiki/death-cause.gram b/RGens/data/sample-grammars/rtwiki/death-cause.gram
index 357d180..627a3ee 100644
--- a/RGens/data/sample-grammars/rtwiki/death-cause.gram
+++ b/RGens/data/sample-grammars/rtwiki/death-cause.gram
@@ -98,3 +98,5 @@
by a hilltop gazebo
by crucifixion
by act of god
+
+pragma export-rule [death-cause]
diff --git a/RGens/data/sample-grammars/rtwiki/fantasy-name.gram b/RGens/data/sample-grammars/rtwiki/fantasy-name.gram
index 807330e..c4ce02e 100644
--- a/RGens/data/sample-grammars/rtwiki/fantasy-name.gram
+++ b/RGens/data/sample-grammars/rtwiki/fantasy-name.gram
@@ -1,7 +1,6 @@
[fantasy-name] [fantasy+name]
pragma initial-rule [fantasy-name]
-pragma export-rule [fantasy-name]
[fantasy+name] [name-root1] [name-root2]
[name-root1] [name-root3]
diff --git a/RGens/data/sample-grammars/rtwiki/favorite.gram b/RGens/data/sample-grammars/rtwiki/favorite.gram
index efd4f46..ba1468a 100644
--- a/RGens/data/sample-grammars/rtwiki/favorite.gram
+++ b/RGens/data/sample-grammars/rtwiki/favorite.gram
@@ -1,7 +1,6 @@
-[favorite-food] My favorite foods are [fruit], [vegetable] and [meat]
+[favorite-food] My favorite foods are [fruit] , [vegetable] and [meat]
pragma initial-rule [favorite-food]
-pragma export-rule [favorite-food]
[fruit] apple
banana
diff --git a/RGens/data/sample-grammars/rtwiki/guns.gram b/RGens/data/sample-grammars/rtwiki/guns.gram
index 54dd656..9b21827 100644
--- a/RGens/data/sample-grammars/rtwiki/guns.gram
+++ b/RGens/data/sample-grammars/rtwiki/guns.gram
@@ -147,3 +147,6 @@
Biter
Final Remedy
Taskmaster
+
+pragma export-rule [guncorp]
+pragma export-rule [gun-name]
diff --git a/RGens/data/sample-grammars/rtwiki/item.gram b/RGens/data/sample-grammars/rtwiki/item.gram
index cce8d99..601710a 100644
--- a/RGens/data/sample-grammars/rtwiki/item.gram
+++ b/RGens/data/sample-grammars/rtwiki/item.gram
@@ -1,11 +1,14 @@
-[item] [body]
+[item] [act-item]
+ [act-item]
+ [act-item] of the [act-item]
+
+[act-item] [body]
[music]
[symbol]
[thing]
[weapon]
pragma initial-rule [item]
-pragma export-rule [item]
[body] arm
open eye
diff --git a/RGens/data/sample-grammars/rtwiki/traits.gram b/RGens/data/sample-grammars/rtwiki/traits.gram
index 89dfb55..c3ff790 100644
--- a/RGens/data/sample-grammars/rtwiki/traits.gram
+++ b/RGens/data/sample-grammars/rtwiki/traits.gram
@@ -998,3 +998,5 @@
Youthful
Zany
Zealot
+
+pragma export-rule [personality-trait]
diff --git a/RGens/data/sample-grammars/rune.gram b/RGens/data/sample-grammars/rune.gram
index 05332e9..4c64e5a 100755
--- a/RGens/data/sample-grammars/rune.gram
+++ b/RGens/data/sample-grammars/rune.gram
@@ -1,3 +1,10 @@
+# @TODO 10/23/17 Ben Culkin :RuneDebug
+# Something seems to be wrong with this grammar, and I'm not sure as to
+# the exact details.
+#
+# The problem is that we are getting multiple runes running together
+# without an obvious cause.
+
[rune-string] [rune-2]
[rune-1] [rune-2]
[rune-1] [rune-2] [rune-3]
diff --git a/RGens/data/sample-grammars/superhero.gram b/RGens/data/sample-grammars/superhero.gram
index 8b53aef..7f6e89a 100755
--- a/RGens/data/sample-grammars/superhero.gram
+++ b/RGens/data/sample-grammars/superhero.gram
@@ -1,10 +1,28 @@
+[superhero-desc] [superhero-name]
+
+pragma initial-rule [superhero-desc]
+
+pragma suffix-with [superhero-desc] [superhero-ally]
+pragma suffix-with [superhero-desc] [superhero-enemy]
+
+[superhero-ally] (ally of [superhero-name] )
+
+[superhero-enemy] (enemy of [superhero-name] )
+
[superhero-name] [first-part] [second-part]
[second-part] [first-part]
-pragma initial-rule [superhero-name]
+pragma export-rule [superhero-name]
pragma suffix-with [superhero-name] [third-part]
pragma suffix-with [superhero-name] [fourth-part]
+pragma suffix-with [superhero-name] [fifth-part]
+pragma prefix-with [superhero-name] [third-part2]
+
+[fifth-part] and the [third-part2]
+ and [third-part2]
+
+pragma suffix-with [fifth-part] [fourth-part]
[first-part] Captain
Yellow
@@ -30,7 +48,10 @@ pragma suffix-with [superhero-name] [fourth-part]
Scarlet
Grand
Arcane
+ Arcana
White
+ Muscle
+ [second-class]
[gender-title]
[gender-title] Mr
@@ -71,47 +92,124 @@ pragma suffix-with [superhero-name] [fourth-part]
Shepherd
Flame
Orchid
- Rider
Torch
+ Magus
+ Wizard
+ [second-class]
+ [second-class]
+
+[second-class] Rider
+ Caster
+ Assasin
+ Berserker
+ Saber
+ Archer
+ Lancer
+ Saver
+ Ruler
+ Shielder
+ Avenger
+
+[third-part] ,The [third-part2]
-[third-part] ,The [third-part-act]
- ,The [third-part-act] [second-part]
+[third-part2] [third-part-act]
+ [third-part-act] [second-part]
[third-part-act] Champion
Protector
Wielder
+ Wielding
Marksman
Fated
+ Fate
Lover
+ Lovely
+ Loving
Celebrated
Prodigy
Guardian
Inquisitor
+ Inquisitorial
Legend
+ Legendary
Returned
Light
+ Dark
Warrior
Sacred
+ Cursed
Victor
+ Victorious
Triumphant
Mystic
+ Mystical
Amazing
Incomparable
Lord
+ Lady
Mysterious
Face
Divine
Magnificent
+ Magnificence
Virtuous
Survivor
+ Surviving
Courageous
Steward
Keeper
Squire
+ Exalted
+ Dammed
+ Infernal
+ Demonic
+ Demon
+ Angelic
+ Angel
+ Devilish
+ Devil
+ Dragonic
+ Dragon
+ Crusading
+ Crusader
+ Knightly
+ Knight
+ Lordly
+ Lord
+ Ravenous
+ Saintly
+ Saint
+ Blessed
+ Ghost
+ Ghostly
+ Magical
+ Magical Girl
+ Magical Knight
+ Dead
+ Deadly
+ Flaming
+ Thunderer
+ [major-arcana]
+ [major-arcana]
+ Cardinal
+ Bishop
+ Archbishop
+ Pope
+ Father
+ Mother
+ Fatherly
+ Motherly
+ Sinister
+ Embodiment
+ [generic-title]
+ [generic-title]
[fourth-part] of [fourth-part-act]
[fourth-part-act] the [fourth-part-the]
+ [harrowed-many-things]
+ [harrowed-many-things]
+ Hope
Destiny
Justice
Humanity
@@ -121,6 +219,20 @@ pragma suffix-with [superhero-name] [fourth-part]
Knowledge
Earth
Eternal Fire
+ [planet]
+ [planet]
+ [second-part]
+ [second-part]
+
+[planet] Earth
+ Mars
+ Jupiter
+ Saturn
+ Pluto
+ Uranus
+ Mercury
+ Venus
+ Neptune
[fourth-part-the] Realm
Chalice
@@ -139,3 +251,24 @@ pragma suffix-with [superhero-name] [fourth-part]
Galaxy
Ancients
Archive
+ Moon
+ [generic-title]
+ [generic-title]
+ [exalt-type]
+ [exalt-type]
+ [arcana]
+ [arcana]
+
+[exalt-type] Dawn
+ Zenith
+ Twilight
+ Night
+ Eclipse
+
+[arcana] [tarot-card]
+ Arcana
+ Minor Arcana
+ Major Arcana
+ [ordinal-roman] Arcana
+ [ordinal-number] Arcana
+ [ordinal] Arcana
diff --git a/RGens/data/sample-grammars/tarotcard.gram b/RGens/data/sample-grammars/tarotcard.gram
index e0ba840..43741a0 100755
--- a/RGens/data/sample-grammars/tarotcard.gram
+++ b/RGens/data/sample-grammars/tarotcard.gram
@@ -1,5 +1,9 @@
[tarot-card] [adjective-of] [title]
+ [adjective-of] [title] [adjective]
+ [adjective-of] [title] [adjective] [noun]
[adjective-of] [noun] [title]
+ [adjective-of] [noun]
+ [adjective-of] [noun] [adjective] [noun]
[noun]
[noun] [adjective]
[noun] [title]
@@ -10,7 +14,10 @@
pragma initial-rule [tarot-card]
[title] [male-title]
+ [male-title]
[female-title]
+ [female-title]
+ [misc-title]
[male-title] emperor
king
@@ -22,6 +29,8 @@ pragma initial-rule [tarot-card]
princess
priestess
+[misc-title] fool
+
[adjective] of [adjective-of]
[adjective-of] shimmering
diff --git a/RGens/data/sample-grammars/technobabble.gram b/RGens/data/sample-grammars/technobabble.gram
index e512047..3861576 100755
--- a/RGens/data/sample-grammars/technobabble.gram
+++ b/RGens/data/sample-grammars/technobabble.gram
@@ -1,10 +1,22 @@
[technobabble] [part-prefix] [part-suffix] [part-problem]
+ [part-suffix] [part-prefix] [part-problem]
[part-prefix] [part-problem]
- [part-suffix] [part-problem]
pragma initial-rule [technobabble]
+pragma suffix-with [technobabble] [part-cause]
+
+[part-cause] the [part-prefix]
+ the [part-suffix]
+ the [part-prefix] [part-suffix]
+
+pragma suffix-with [part-cause] [add-cause]
+
+[add-cause] and [part-cause]
+ and [part-problem] [part-cause]
+
[part-prefix] primary
+ secondary
compression
grav
hydraulic
@@ -30,3 +42,8 @@ pragma initial-rule [technobabble]
jammed
burnt
exploded
+ imploded
+ incinerated
+ froze
+ destabilized
+ clogged
diff --git a/RGens/data/sample-grammars/vaultsofnagoh/turboghoul-hats.gram b/RGens/data/sample-grammars/vaultsofnagoh/turboghoul-hats.gram
new file mode 100644
index 0000000..e0a21d3
--- /dev/null
+++ b/RGens/data/sample-grammars/vaultsofnagoh/turboghoul-hats.gram
@@ -0,0 +1,56 @@
+[turboghoul-hat] sack with eyeholes
+ bucket with eyeholes
+ coalscuttle with eyeholes
+ [mask]
+ [headscarf]
+ [hood]
+ [turban]
+ ]hat]
+ [helmet]
+ birdcage
+ goldfish bowl
+
+[mask] [mask-type] mask
+
+[mask-type] clown
+ fanged iron
+ gimp
+ guy fawkes
+ gas
+ welding
+ hockey
+ tights
+
+[headscarf] [headscarf-type] headscarf
+
+[headscarf-type] flowery
+ bedouin
+
+[hood] [hood-type] hood
+
+[hood-type] liripided
+ monastic
+
+[turban] [turban-type] turban
+
+[turban-type] elaborate
+ simple
+
+[hat] [hat-type] hat
+ [hat-type] hat with bandana
+
+[hat-type] stetson
+ fancy feathered
+ wizard's pointy
+
+[helmet] [helmet-type] helmet
+ [helmet-type] helm
+
+[helmet-type] monstrous skull
+ common
+ knightly
+ winged
+ pickelhaub
+ futuristic
+ football
+ extra-spiky chaotic
diff --git a/RGens/data/sample-grammars/web.gram b/RGens/data/sample-grammars/web.gram
index 9b86fae..52d2152 100644
--- a/RGens/data/sample-grammars/web.gram
+++ b/RGens/data/sample-grammars/web.gram
@@ -7,6 +7,7 @@
[url] [actual+url]
pragma initial-rule [email]
+
pragma export-rule [fake-email]
pragma export-rule [username]
pragma export-rule [domain-name]
diff --git a/RGens/data/seniordesign/dbdata.gram b/RGens/data/seniordesign/dbdata.gram
new file mode 120000
index 0000000..687340f
--- /dev/null
+++ b/RGens/data/seniordesign/dbdata.gram
@@ -0,0 +1 @@
+dbdata.gram \ No newline at end of file
diff --git a/RGens/data/server-config-sample.cfg b/RGens/data/server-config-sample.cfg
index 3fec5d1..2ed6a56 100644
--- a/RGens/data/server-config-sample.cfg
+++ b/RGens/data/server-config-sample.cfg
@@ -2,11 +2,13 @@
animal sample-grammars/long-data/animal.gram
binary-digit sample-grammars/long-data/binary-digit.gram
canada-province sample-grammars/long-data/canada-province.gram
+cards sample-grammars/long-data/cards.gram
character sample-grammars/long-data/character.gram
color sample-grammars/long-data/color.gram
consonant-group sample-grammars/long-data/consonant-group.gram
consonant sample-grammars/long-data/consonant.gram
digit-noone sample-grammars/long-data/digit-noone.gram
+digit-twoup sample-grammars/long-data/digit-twoup.gram
digit-nozero sample-grammars/long-data/digit-nozero.gram
digit sample-grammars/long-data/digit.gram
first-name-female sample-grammars/long-data/first-name-female.gram
@@ -77,3 +79,30 @@ theory sample-grammars/theory.gram
trademark sample-grammars/trademark.gram
web sample-grammars/web.gram
zadrons-pouch sample-grammars/zadrons-pouch.gram
+# Other grammar files
+
+# Diablo II items
+diabloii-base sample-grammars/diablo-ii/diabloii.gram
+diabloii-items sample-grammars/diablo-ii/diabloiiitems.gram
+diabloii-perish sample-grammars/diablo-ii/diabloiiperish.gram
+diabloii-prefixes sample-grammars/diablo-ii/diabloiiprefixes.gram
+diabloii-suffixes sample-grammars/diablo-ii/diabloiisuffixes.gram
+
+# Dungeon dressing
+abandoned sample-grammars/dungeondressing/abandoned.gram
+bedroom sample-grammars/dungeondressing/bedroom.gram
+dragonencounter sample-grammars/dungeondressing/dragonencounter.gram
+kitchen sample-grammars/dungeondressing/kitchen.gram
+monster sample-grammars/dungeondressing/monster.gram
+
+# RandomTable Wiki
+adjective sample-grammars/rtwiki/adjective.gram
+bodyparts sample-grammars/rtwiki/bodyparts.gram
+color sample-grammars/rtwiki/color.gram
+creature sample-grammars/rtwiki/creature.gram
+death-cause sample-grammars/rtwiki/death-cause.gram
+fantasy-name sample-grammars/rtwiki/fantasy-name.gram
+favorite sample-grammars/rtwiki/favorite.gram
+guns sample-grammars/rtwiki/guns.gram
+item sample-grammars/rtwiki/item.gram
+traits sample-grammars/rtwiki/traits.gram