diff options
Diffstat (limited to 'RGens/data/sample-grammars')
| -rwxr-xr-x | RGens/data/sample-grammars/fantasy-locations.gram | 12 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/linux.gram | 1 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/organization.gram | 23 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/web.gram | 4 |
4 files changed, 18 insertions, 22 deletions
diff --git a/RGens/data/sample-grammars/fantasy-locations.gram b/RGens/data/sample-grammars/fantasy-locations.gram index 0dc8aa3..7aea723 100755 --- a/RGens/data/sample-grammars/fantasy-locations.gram +++ b/RGens/data/sample-grammars/fantasy-locations.gram @@ -1,9 +1,9 @@ -pragma uniform - -[fantasy-location-name] 4 [name1] [name2] - 2 [name1] [name1] [name2] - -pragma uniform +[fantasy-location-name] [name1] [name2] + [name1] [name2] + [name1] [name2] + [name1] [name2] + [name1] [name1] [name2] + [name1] [name1] [name2] pragma initial-rule [fantasy-location-name] diff --git a/RGens/data/sample-grammars/linux.gram b/RGens/data/sample-grammars/linux.gram index a67f344..0be401c 100644 --- a/RGens/data/sample-grammars/linux.gram +++ b/RGens/data/sample-grammars/linux.gram @@ -51,7 +51,6 @@ pragma initial-rule [linux-domain] uber [first-name] - [linux-domain1] linux geek nerd diff --git a/RGens/data/sample-grammars/organization.gram b/RGens/data/sample-grammars/organization.gram index d185bc5..8bd3cc2 100644 --- a/RGens/data/sample-grammars/organization.gram +++ b/RGens/data/sample-grammars/organization.gram @@ -5,12 +5,15 @@ pragma export-rule [org-political] [org-political] [org-prefix] [org-body] [org-goal] -pragma uniform - -[org-body] 7 of [org-members] [org-position] - 1 for - -pragma uniform +[org-body] of [org-members] [org-position] + of [org-members] [org-position] + of [org-members] [org-position] + of [org-members] [org-position] + of [org-members] [org-position] + of [org-members] [org-position] + of [org-members] [org-position] + of [org-members] [org-position] + for [org-position] for for @@ -53,7 +56,7 @@ pragma uniform raising taxes for [tax-class] random drug testing for elected officials right on red traffic laws - splitting microsoft into [ms-pieces] pieces + splitting microsoft into [2..50] pieces subsidized day care for working parents teaching [subject] in the classroom the death penalty @@ -76,9 +79,7 @@ pragma uniform wealth filthy rich -[min+wage] [min-wage-init] . [digit] [digit] - -pragma range-rule [min-wage-init] 6 8 +[min+wage] [6..8] . [digit] [digit] [protect] bill of rights first amendment @@ -90,8 +91,6 @@ pragma range-rule [min-wage-init] 6 8 billionaire lottery winners -pragma range-rule [ms-pieces] 2 50 - [subject] evolution evilution creationism diff --git a/RGens/data/sample-grammars/web.gram b/RGens/data/sample-grammars/web.gram index 0c2fbf7..a12d303 100644 --- a/RGens/data/sample-grammars/web.gram +++ b/RGens/data/sample-grammars/web.gram @@ -50,9 +50,7 @@ pragma export-rule [big-tld] [middle-initial] [last-name] [first-name] . [last-name] [first-name] - [random-name] [num-range] - -pragma range-rule [num-range] 1 999 + [random-name] [1..999] [actual+url] http://www. [domain] / http://www. [domain] / |
