-
Notifications
You must be signed in to change notification settings - Fork 0
/
Grammar.ts
210 lines (209 loc) · 23.8 KB
/
Grammar.ts
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
// Generated automatically by nearley
// http://github.com/Hardmath123/nearley
function id(d:any[]):any {return d[0];}
import {
Command, TakeCommand, DropCommand, MoveCommand, WhereisCommand,
Location, Entity,
Object, RelativeObject, SimpleObject,
} from "./Types";
interface NearleyGrammar {ParserRules:NearleyRule[]; ParserStart:string};
interface NearleyRule {name:string; symbols:NearleySymbol[]; postprocess?:(d:any[],loc?:number,reject?:{})=>any};
type NearleySymbol = string | {literal:any} | {test:(token:any) => boolean};
export var grammar : NearleyGrammar = {
ParserRules: [
{"name": "main$ebnf$1", "symbols": ["will_you"], "postprocess": id},
{"name": "main$ebnf$1", "symbols": [], "postprocess": (d) => null},
{"name": "main$ebnf$2", "symbols": ["please"], "postprocess": id},
{"name": "main$ebnf$2", "symbols": [], "postprocess": (d) => null},
{"name": "main$ebnf$3", "symbols": ["please"], "postprocess": id},
{"name": "main$ebnf$3", "symbols": [], "postprocess": (d) => null},
{"name": "main", "symbols": ["main$ebnf$1", "main$ebnf$2", "command", "main$ebnf$3"], "postprocess": (d) => d[2]},
{"name": "command", "symbols": ["take", "entity"], "postprocess": (d) => new TakeCommand(d[1])},
{"name": "command", "symbols": ["move", "it", "location"], "postprocess": (d) => new DropCommand(d[2])},
{"name": "command", "symbols": ["move", "entity", "location"], "postprocess": (d) => new MoveCommand(d[1], d[2])},
{"name": "location", "symbols": ["relation", "entity"], "postprocess": (d) => new Location(d[0], d[1])},
{"name": "entity", "symbols": ["quantifierSG", "simpleObjectSG"], "postprocess": (d) => new Entity(d[0], d[1])},
{"name": "entity", "symbols": ["quantifierSG", "relativeObjectSG"], "postprocess": (d) => new Entity(d[0], d[1])},
{"name": "entity", "symbols": ["quantifierPL", "simpleObjectPL"], "postprocess": (d) => new Entity(d[0], d[1])},
{"name": "entity", "symbols": ["quantifierPL", "relativeObjectPL"], "postprocess": (d) => new Entity(d[0], d[1])},
{"name": "relativeObjectSG$ebnf$1", "symbols": ["that_is"], "postprocess": id},
{"name": "relativeObjectSG$ebnf$1", "symbols": [], "postprocess": (d) => null},
{"name": "relativeObjectSG", "symbols": ["simpleObjectSG", "relativeObjectSG$ebnf$1", "location"], "postprocess": (d) => new RelativeObject(d[0], d[2])},
{"name": "relativeObjectPL$ebnf$1", "symbols": ["that_are"], "postprocess": id},
{"name": "relativeObjectPL$ebnf$1", "symbols": [], "postprocess": (d) => null},
{"name": "relativeObjectPL", "symbols": ["simpleObjectPL", "relativeObjectPL$ebnf$1", "location"], "postprocess": (d) => new RelativeObject(d[0], d[2])},
{"name": "simpleObjectSG$ebnf$1", "symbols": ["size"], "postprocess": id},
{"name": "simpleObjectSG$ebnf$1", "symbols": [], "postprocess": (d) => null},
{"name": "simpleObjectSG$ebnf$2", "symbols": ["color"], "postprocess": id},
{"name": "simpleObjectSG$ebnf$2", "symbols": [], "postprocess": (d) => null},
{"name": "simpleObjectSG", "symbols": ["simpleObjectSG$ebnf$1", "simpleObjectSG$ebnf$2", "formSG"], "postprocess": (d) => new SimpleObject(d[0], d[1], d[2])},
{"name": "simpleObjectPL$ebnf$1", "symbols": ["size"], "postprocess": id},
{"name": "simpleObjectPL$ebnf$1", "symbols": [], "postprocess": (d) => null},
{"name": "simpleObjectPL$ebnf$2", "symbols": ["color"], "postprocess": id},
{"name": "simpleObjectPL$ebnf$2", "symbols": [], "postprocess": (d) => null},
{"name": "simpleObjectPL", "symbols": ["simpleObjectPL$ebnf$1", "simpleObjectPL$ebnf$2", "formPL"], "postprocess": (d) => new SimpleObject(d[0], d[1], d[2])},
{"name": "quantifierSG$subexpression$1$string$1", "symbols": [{"literal":"a"}, {"literal":"n"}, {"literal":"y"}], "postprocess": (d) => d.join('')},
{"name": "quantifierSG$subexpression$1", "symbols": ["quantifierSG$subexpression$1$string$1"]},
{"name": "quantifierSG$subexpression$1$string$2", "symbols": [{"literal":"a"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "quantifierSG$subexpression$1", "symbols": ["quantifierSG$subexpression$1$string$2"]},
{"name": "quantifierSG$subexpression$1", "symbols": [{"literal":"a"}]},
{"name": "quantifierSG", "symbols": ["quantifierSG$subexpression$1"], "postprocess": (d) => "any"},
{"name": "quantifierSG$subexpression$2$string$1", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "quantifierSG$subexpression$2", "symbols": ["quantifierSG$subexpression$2$string$1"]},
{"name": "quantifierSG", "symbols": ["quantifierSG$subexpression$2"], "postprocess": (d) => "the"},
{"name": "quantifierSG$subexpression$3$string$1", "symbols": [{"literal":"e"}, {"literal":"v"}, {"literal":"e"}, {"literal":"r"}, {"literal":"y"}], "postprocess": (d) => d.join('')},
{"name": "quantifierSG$subexpression$3", "symbols": ["quantifierSG$subexpression$3$string$1"]},
{"name": "quantifierSG", "symbols": ["quantifierSG$subexpression$3"], "postprocess": (d) => "all"},
{"name": "quantifierPL$subexpression$1$string$1", "symbols": [{"literal":"a"}, {"literal":"l"}, {"literal":"l"}], "postprocess": (d) => d.join('')},
{"name": "quantifierPL$subexpression$1", "symbols": ["quantifierPL$subexpression$1$string$1"]},
{"name": "quantifierPL", "symbols": ["quantifierPL$subexpression$1"], "postprocess": (d) => "all"},
{"name": "relation$subexpression$1$string$1", "symbols": [{"literal":"l"}, {"literal":"e"}, {"literal":"f"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$1$string$2", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$1", "symbols": ["relation$subexpression$1$string$1", "relation$subexpression$1$string$2"]},
{"name": "relation$subexpression$1$string$3", "symbols": [{"literal":"t"}, {"literal":"o"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$1$string$4", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$1$string$5", "symbols": [{"literal":"l"}, {"literal":"e"}, {"literal":"f"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$1$string$6", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$1", "symbols": ["relation$subexpression$1$string$3", "relation$subexpression$1$string$4", "relation$subexpression$1$string$5", "relation$subexpression$1$string$6"]},
{"name": "relation", "symbols": ["relation$subexpression$1"], "postprocess": (d) => "leftof"},
{"name": "relation$subexpression$2$string$1", "symbols": [{"literal":"r"}, {"literal":"i"}, {"literal":"g"}, {"literal":"h"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$2$string$2", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$2", "symbols": ["relation$subexpression$2$string$1", "relation$subexpression$2$string$2"]},
{"name": "relation$subexpression$2$string$3", "symbols": [{"literal":"t"}, {"literal":"o"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$2$string$4", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$2$string$5", "symbols": [{"literal":"r"}, {"literal":"i"}, {"literal":"g"}, {"literal":"h"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$2$string$6", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$2", "symbols": ["relation$subexpression$2$string$3", "relation$subexpression$2$string$4", "relation$subexpression$2$string$5", "relation$subexpression$2$string$6"]},
{"name": "relation", "symbols": ["relation$subexpression$2"], "postprocess": (d) => "rightof"},
{"name": "relation$subexpression$3$string$1", "symbols": [{"literal":"i"}, {"literal":"n"}, {"literal":"s"}, {"literal":"i"}, {"literal":"d"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$3", "symbols": ["relation$subexpression$3$string$1"]},
{"name": "relation$subexpression$3$string$2", "symbols": [{"literal":"i"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$3", "symbols": ["relation$subexpression$3$string$2"]},
{"name": "relation$subexpression$3$string$3", "symbols": [{"literal":"i"}, {"literal":"n"}, {"literal":"t"}, {"literal":"o"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$3", "symbols": ["relation$subexpression$3$string$3"]},
{"name": "relation", "symbols": ["relation$subexpression$3"], "postprocess": (d) => "inside"},
{"name": "relation$subexpression$4$string$1", "symbols": [{"literal":"o"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$4", "symbols": ["relation$subexpression$4$string$1"]},
{"name": "relation$subexpression$4$string$2", "symbols": [{"literal":"o"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$4$string$3", "symbols": [{"literal":"t"}, {"literal":"o"}, {"literal":"p"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$4$string$4", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$4", "symbols": ["relation$subexpression$4$string$2", "relation$subexpression$4$string$3", "relation$subexpression$4$string$4"]},
{"name": "relation", "symbols": ["relation$subexpression$4"], "postprocess": (d) => "ontop"},
{"name": "relation$subexpression$5$string$1", "symbols": [{"literal":"u"}, {"literal":"n"}, {"literal":"d"}, {"literal":"e"}, {"literal":"r"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$5", "symbols": ["relation$subexpression$5$string$1"]},
{"name": "relation$subexpression$5$string$2", "symbols": [{"literal":"b"}, {"literal":"e"}, {"literal":"l"}, {"literal":"o"}, {"literal":"w"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$5", "symbols": ["relation$subexpression$5$string$2"]},
{"name": "relation", "symbols": ["relation$subexpression$5"], "postprocess": (d) => "under"},
{"name": "relation$subexpression$6$string$1", "symbols": [{"literal":"b"}, {"literal":"e"}, {"literal":"s"}, {"literal":"i"}, {"literal":"d"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$6", "symbols": ["relation$subexpression$6$string$1"]},
{"name": "relation", "symbols": ["relation$subexpression$6"], "postprocess": (d) => "beside"},
{"name": "relation$subexpression$7$string$1", "symbols": [{"literal":"a"}, {"literal":"b"}, {"literal":"o"}, {"literal":"v"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$7", "symbols": ["relation$subexpression$7$string$1"]},
{"name": "relation", "symbols": ["relation$subexpression$7"], "postprocess": (d) => "above"},
{"name": "relation$subexpression$8$string$1", "symbols": [{"literal":"b"}, {"literal":"e"}, {"literal":"h"}, {"literal":"i"}, {"literal":"n"}, {"literal":"d"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8", "symbols": ["relation$subexpression$8$string$1"]},
{"name": "relation$subexpression$8$string$2", "symbols": [{"literal":"i"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8$string$3", "symbols": [{"literal":"b"}, {"literal":"a"}, {"literal":"c"}, {"literal":"k"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8$string$4", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8", "symbols": ["relation$subexpression$8$string$2", "relation$subexpression$8$string$3", "relation$subexpression$8$string$4"]},
{"name": "relation$subexpression$8$string$5", "symbols": [{"literal":"t"}, {"literal":"o"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8$string$6", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8$string$7", "symbols": [{"literal":"b"}, {"literal":"a"}, {"literal":"c"}, {"literal":"k"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8$string$8", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$8", "symbols": ["relation$subexpression$8$string$5", "relation$subexpression$8$string$6", "relation$subexpression$8$string$7", "relation$subexpression$8$string$8"]},
{"name": "relation", "symbols": ["relation$subexpression$8"], "postprocess": (d) => "behind"},
{"name": "relation$subexpression$9$string$1", "symbols": [{"literal":"b"}, {"literal":"e"}, {"literal":"f"}, {"literal":"o"}, {"literal":"r"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9", "symbols": ["relation$subexpression$9$string$1"]},
{"name": "relation$subexpression$9$string$2", "symbols": [{"literal":"i"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9$string$3", "symbols": [{"literal":"f"}, {"literal":"r"}, {"literal":"o"}, {"literal":"n"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9$string$4", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9", "symbols": ["relation$subexpression$9$string$2", "relation$subexpression$9$string$3", "relation$subexpression$9$string$4"]},
{"name": "relation$subexpression$9$string$5", "symbols": [{"literal":"t"}, {"literal":"o"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9$string$6", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9$string$7", "symbols": [{"literal":"f"}, {"literal":"r"}, {"literal":"o"}, {"literal":"n"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9$string$8", "symbols": [{"literal":"o"}, {"literal":"f"}], "postprocess": (d) => d.join('')},
{"name": "relation$subexpression$9", "symbols": ["relation$subexpression$9$string$5", "relation$subexpression$9$string$6", "relation$subexpression$9$string$7", "relation$subexpression$9$string$8"]},
{"name": "relation", "symbols": ["relation$subexpression$9"], "postprocess": (d) => "before"},
{"name": "size$subexpression$1$string$1", "symbols": [{"literal":"s"}, {"literal":"m"}, {"literal":"a"}, {"literal":"l"}, {"literal":"l"}], "postprocess": (d) => d.join('')},
{"name": "size$subexpression$1", "symbols": ["size$subexpression$1$string$1"]},
{"name": "size$subexpression$1$string$2", "symbols": [{"literal":"t"}, {"literal":"i"}, {"literal":"n"}, {"literal":"y"}], "postprocess": (d) => d.join('')},
{"name": "size$subexpression$1", "symbols": ["size$subexpression$1$string$2"]},
{"name": "size", "symbols": ["size$subexpression$1"], "postprocess": (d) => "small"},
{"name": "size$subexpression$2$string$1", "symbols": [{"literal":"l"}, {"literal":"a"}, {"literal":"r"}, {"literal":"g"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "size$subexpression$2", "symbols": ["size$subexpression$2$string$1"]},
{"name": "size$subexpression$2$string$2", "symbols": [{"literal":"b"}, {"literal":"i"}, {"literal":"g"}], "postprocess": (d) => d.join('')},
{"name": "size$subexpression$2", "symbols": ["size$subexpression$2$string$2"]},
{"name": "size", "symbols": ["size$subexpression$2"], "postprocess": (d) => "large"},
{"name": "color$string$1", "symbols": [{"literal":"b"}, {"literal":"l"}, {"literal":"a"}, {"literal":"c"}, {"literal":"k"}], "postprocess": (d) => d.join('')},
{"name": "color", "symbols": ["color$string$1"], "postprocess": (d) => "black"},
{"name": "color$string$2", "symbols": [{"literal":"w"}, {"literal":"h"}, {"literal":"i"}, {"literal":"t"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "color", "symbols": ["color$string$2"], "postprocess": (d) => "white"},
{"name": "color$string$3", "symbols": [{"literal":"b"}, {"literal":"l"}, {"literal":"u"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "color", "symbols": ["color$string$3"], "postprocess": (d) => "blue"},
{"name": "color$string$4", "symbols": [{"literal":"g"}, {"literal":"r"}, {"literal":"e"}, {"literal":"e"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "color", "symbols": ["color$string$4"], "postprocess": (d) => "green"},
{"name": "color$string$5", "symbols": [{"literal":"y"}, {"literal":"e"}, {"literal":"l"}, {"literal":"l"}, {"literal":"o"}, {"literal":"w"}], "postprocess": (d) => d.join('')},
{"name": "color", "symbols": ["color$string$5"], "postprocess": (d) => "yellow"},
{"name": "color$string$6", "symbols": [{"literal":"r"}, {"literal":"e"}, {"literal":"d"}], "postprocess": (d) => d.join('')},
{"name": "color", "symbols": ["color$string$6"], "postprocess": (d) => "red"},
{"name": "formSG", "symbols": ["form"], "postprocess": (d) => d[0]},
{"name": "formPL", "symbols": ["form", {"literal":"s"}], "postprocess": (d) => d[0]},
{"name": "formSG$string$1", "symbols": [{"literal":"b"}, {"literal":"o"}, {"literal":"x"}], "postprocess": (d) => d.join('')},
{"name": "formSG", "symbols": ["formSG$string$1"], "postprocess": (d) => "box"},
{"name": "formPL$string$1", "symbols": [{"literal":"b"}, {"literal":"o"}, {"literal":"x"}, {"literal":"e"}, {"literal":"s"}], "postprocess": (d) => d.join('')},
{"name": "formPL", "symbols": ["formPL$string$1"], "postprocess": (d) => "box"},
{"name": "form$subexpression$1$string$1", "symbols": [{"literal":"o"}, {"literal":"b"}, {"literal":"j"}, {"literal":"e"}, {"literal":"c"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "form$subexpression$1", "symbols": ["form$subexpression$1$string$1"]},
{"name": "form$subexpression$1$string$2", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"i"}, {"literal":"n"}, {"literal":"g"}], "postprocess": (d) => d.join('')},
{"name": "form$subexpression$1", "symbols": ["form$subexpression$1$string$2"]},
{"name": "form$subexpression$1$string$3", "symbols": [{"literal":"f"}, {"literal":"o"}, {"literal":"r"}, {"literal":"m"}], "postprocess": (d) => d.join('')},
{"name": "form$subexpression$1", "symbols": ["form$subexpression$1$string$3"]},
{"name": "form", "symbols": ["form$subexpression$1"], "postprocess": (d) => "anyform"},
{"name": "form$string$1", "symbols": [{"literal":"b"}, {"literal":"r"}, {"literal":"i"}, {"literal":"c"}, {"literal":"k"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$1"], "postprocess": (d) => "brick"},
{"name": "form$string$2", "symbols": [{"literal":"p"}, {"literal":"l"}, {"literal":"a"}, {"literal":"n"}, {"literal":"k"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$2"], "postprocess": (d) => "plank"},
{"name": "form$string$3", "symbols": [{"literal":"b"}, {"literal":"a"}, {"literal":"l"}, {"literal":"l"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$3"], "postprocess": (d) => "ball"},
{"name": "form$string$4", "symbols": [{"literal":"p"}, {"literal":"y"}, {"literal":"r"}, {"literal":"a"}, {"literal":"m"}, {"literal":"i"}, {"literal":"d"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$4"], "postprocess": (d) => "pyramid"},
{"name": "form$string$5", "symbols": [{"literal":"t"}, {"literal":"a"}, {"literal":"b"}, {"literal":"l"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$5"], "postprocess": (d) => "table"},
{"name": "form$string$6", "symbols": [{"literal":"c"}, {"literal":"u"}, {"literal":"p"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$6"], "postprocess": (d) => "cup"},
{"name": "form$string$7", "symbols": [{"literal":"f"}, {"literal":"l"}, {"literal":"o"}, {"literal":"o"}, {"literal":"r"}], "postprocess": (d) => d.join('')},
{"name": "form", "symbols": ["form$string$7"], "postprocess": (d) => "floor"},
{"name": "take$string$1", "symbols": [{"literal":"t"}, {"literal":"a"}, {"literal":"k"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "take", "symbols": ["take$string$1"]},
{"name": "take$string$2", "symbols": [{"literal":"g"}, {"literal":"r"}, {"literal":"a"}, {"literal":"s"}, {"literal":"p"}], "postprocess": (d) => d.join('')},
{"name": "take", "symbols": ["take$string$2"]},
{"name": "take$string$3", "symbols": [{"literal":"p"}, {"literal":"i"}, {"literal":"c"}, {"literal":"k"}], "postprocess": (d) => d.join('')},
{"name": "take$string$4", "symbols": [{"literal":"u"}, {"literal":"p"}], "postprocess": (d) => d.join('')},
{"name": "take", "symbols": ["take$string$3", "take$string$4"]},
{"name": "move$string$1", "symbols": [{"literal":"m"}, {"literal":"o"}, {"literal":"v"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "move", "symbols": ["move$string$1"]},
{"name": "move$string$2", "symbols": [{"literal":"p"}, {"literal":"u"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "move", "symbols": ["move$string$2"]},
{"name": "move$string$3", "symbols": [{"literal":"d"}, {"literal":"r"}, {"literal":"o"}, {"literal":"p"}], "postprocess": (d) => d.join('')},
{"name": "move", "symbols": ["move$string$3"]},
{"name": "it$string$1", "symbols": [{"literal":"i"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "it", "symbols": ["it$string$1"]},
{"name": "that_is$string$1", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"a"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "that_is$string$2", "symbols": [{"literal":"i"}, {"literal":"s"}], "postprocess": (d) => d.join('')},
{"name": "that_is", "symbols": ["that_is$string$1", "that_is$string$2"]},
{"name": "that_are$string$1", "symbols": [{"literal":"t"}, {"literal":"h"}, {"literal":"a"}, {"literal":"t"}], "postprocess": (d) => d.join('')},
{"name": "that_are$string$2", "symbols": [{"literal":"a"}, {"literal":"r"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "that_are", "symbols": ["that_are$string$1", "that_are$string$2"]},
{"name": "will_you$subexpression$1$string$1", "symbols": [{"literal":"w"}, {"literal":"i"}, {"literal":"l"}, {"literal":"l"}], "postprocess": (d) => d.join('')},
{"name": "will_you$subexpression$1", "symbols": ["will_you$subexpression$1$string$1"]},
{"name": "will_you$subexpression$1$string$2", "symbols": [{"literal":"c"}, {"literal":"a"}, {"literal":"n"}], "postprocess": (d) => d.join('')},
{"name": "will_you$subexpression$1", "symbols": ["will_you$subexpression$1$string$2"]},
{"name": "will_you$subexpression$1$string$3", "symbols": [{"literal":"c"}, {"literal":"o"}, {"literal":"u"}, {"literal":"l"}, {"literal":"d"}], "postprocess": (d) => d.join('')},
{"name": "will_you$subexpression$1", "symbols": ["will_you$subexpression$1$string$3"]},
{"name": "will_you$string$1", "symbols": [{"literal":"y"}, {"literal":"o"}, {"literal":"u"}], "postprocess": (d) => d.join('')},
{"name": "will_you", "symbols": ["will_you$subexpression$1", "will_you$string$1"]},
{"name": "please$string$1", "symbols": [{"literal":"p"}, {"literal":"l"}, {"literal":"e"}, {"literal":"a"}, {"literal":"s"}, {"literal":"e"}], "postprocess": (d) => d.join('')},
{"name": "please", "symbols": ["please$string$1"]}
]
, ParserStart: "main"
}