summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/rtwiki/guns.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-05-18 17:48:42 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-05-18 17:48:42 -0300
commit9356498bebab9342222cd87be669abae9d7ac3a2 (patch)
tree393ea0b5ee30013c4ee84d2b1c96967a59a1aeb3 /RGens/data/sample-grammars/rtwiki/guns.gram
parentca07d0ec8ec018129cf63080ebdf554a9d9abe82 (diff)
More grammar work
Diffstat (limited to 'RGens/data/sample-grammars/rtwiki/guns.gram')
-rw-r--r--RGens/data/sample-grammars/rtwiki/guns.gram19
1 files changed, 19 insertions, 0 deletions
diff --git a/RGens/data/sample-grammars/rtwiki/guns.gram b/RGens/data/sample-grammars/rtwiki/guns.gram
index 139e349..269aa0d 100644
--- a/RGens/data/sample-grammars/rtwiki/guns.gram
+++ b/RGens/data/sample-grammars/rtwiki/guns.gram
@@ -1,5 +1,24 @@
+[gun-phrase] [quote-gunname] was released today
+ [quote-gunname] vs. [quote-gunname] shootout
+ [quote-guncorp] is going out of business
+ [quote-guncorp] was bought by [quote-guncorp]
+
+[quote-gunname] ( [gun-name] )
+
+[quote-guncorp] ( [guncorp] )
+
+pragma initial-rule [gun-phrase]
+
[gun-name] [1gun-name]
[2gun-name2]
+ [1gun-name]
+ [2gun-name2]
+ [1gun-name]
+ [2gun-name2]
+ [2gun-name1] [2gun-name2]
+ [2gun-name1] [1gun-name]
+ [1gun-name] [2gun-name2]
+ [2gun-name1] [1gun-name] [2gun-name2]
pragma prefix-with [gun-name] [2gun-name1]