summaryrefslogtreecommitdiff
path: root/data/sample-grammars/rune.gram
blob: 4c64e5a286a3d1815a76079f81f0bd40f27b93c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# @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]
	[rune-2] [rune-3]

pragma initial-rule [rune-string]

pragma prefix-with [rune-string] [rune-1]
pragma suffix-with [rune-string] [rune-3]

[rune-1] a dagger plunged into
	vines growing out of
	a crown perched atop
	crossed swords over
	a pair of hands surrounding
	demonic eyes peering out of
	blue lightning arcing out of
	an axe thrust into
	a hand bursting from
	a tentacle reaching out of
	a spear thrust through
	a trumpet thrust through
	tiny stars surrounding
	a jewel within
	a hand inside
	a sword inside
	a hand within
	an arrow piercing
	a hand clutching

[rune-2] a skull
	a treasure chest
	a circle cut into three parts
	a pyramid
	a triangle
	a mushroom
	a grinning mask
	a clenched fist
	a giant human eye
	a shield
	a circle
	a pentagram
	a pentacle
	a flagon
	a circle cut in half
	a semicircle
	a heart
	a large star
	a wave
	a diamond
	an octagon
	a scroll
	a spiral
	a tree
	a rose
	a helmet
	a book
	a staff
	a hammer
	a bone
	a cat’s face
	a wolf’s head
	a large mouth
	an upward-pointing arrow
	a downward-pointing arrow
	an arrow pointing two directions
	a circle cut into four parts
	a ship
	a six-pointed star
	a seven-pointed star
	a pentagon

[rune-3] girded by laurels
	sheathed in flames
	glowing like the sun
	emblazoned with a demonic face
	flanked by catlike wings
	in the coils of a serpent
	swaddled in tentacles
	flanked by feathered wings
	inscribed within a red circle
	inscribed within a magic circle
	inscribed within a long rectangle
	covered with spikes and spines
	haloed in light
	half in shadow
	with coins all around it
	with curved knives all around it
	wrapped in a pair of rings
	atop a tower
	next to a writhing snake
	atop a mountain
	next to a crescent moon
	made of thin red lines
	made of thin blue lines
	made of thin green lines
	made of thin black lines
	all done as a silhouette
	wrapped in a cloud
	dripping with blood
	flanked by swords
	flanked by skulls
	flanked by arrows
	within a ring made by a whip
	within a ring made by a snake, eating its own tail
	atop crossed bones
	above a trident
	below two spears
	covered in insects