OR-1 dataflow CPU sketch
1/* Automatically @generated by tree-sitter v0.25.10 */
2
3#include "tree_sitter/parser.h"
4
5#if defined(__GNUC__) || defined(__clang__)
6#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
7#endif
8
9#define LANGUAGE_VERSION 15
10#define STATE_COUNT 92
11#define LARGE_STATE_COUNT 28
12#define SYMBOL_COUNT 107
13#define ALIAS_COUNT 0
14#define TOKEN_COUNT 70
15#define EXTERNAL_TOKEN_COUNT 0
16#define FIELD_COUNT 7
17#define MAX_ALIAS_SEQUENCE_LENGTH 5
18#define MAX_RESERVED_WORD_SET_SIZE 0
19#define PRODUCTION_ID_COUNT 9
20#define SUPERTYPE_COUNT 0
21
22enum ts_symbol_identifiers {
23 sym_identifier = 1,
24 anon_sym_LBRACE = 2,
25 anon_sym_RBRACE = 3,
26 anon_sym_COMMA = 4,
27 anon_sym_EQ = 5,
28 anon_sym_ATsystem = 6,
29 anon_sym_AT = 7,
30 anon_sym_AMP = 8,
31 anon_sym_DOLLAR = 9,
32 anon_sym_PIPE = 10,
33 anon_sym_COLON = 11,
34 sym_hex_literal = 12,
35 sym_dec_literal = 13,
36 anon_sym_SQUOTE = 14,
37 aux_sym_char_literal_token1 = 15,
38 anon_sym_DQUOTE = 16,
39 aux_sym_string_literal_token1 = 17,
40 anon_sym_r_DQUOTE = 18,
41 aux_sym_raw_string_literal_token1 = 19,
42 anon_sym_b_DQUOTE = 20,
43 sym_escape_sequence = 21,
44 anon_sym_POUND = 22,
45 anon_sym_add = 23,
46 anon_sym_sub = 24,
47 anon_sym_inc = 25,
48 anon_sym_dec = 26,
49 anon_sym_shiftl = 27,
50 anon_sym_shiftr = 28,
51 anon_sym_ashiftr = 29,
52 anon_sym_and = 30,
53 anon_sym_or = 31,
54 anon_sym_xor = 32,
55 anon_sym_not = 33,
56 anon_sym_eq = 34,
57 anon_sym_lt = 35,
58 anon_sym_lte = 36,
59 anon_sym_gt = 37,
60 anon_sym_gte = 38,
61 anon_sym_breq = 39,
62 anon_sym_brgt = 40,
63 anon_sym_brge = 41,
64 anon_sym_brof = 42,
65 anon_sym_brty = 43,
66 anon_sym_sweq = 44,
67 anon_sym_swgt = 45,
68 anon_sym_swge = 46,
69 anon_sym_swof = 47,
70 anon_sym_swty = 48,
71 anon_sym_gate = 49,
72 anon_sym_sel = 50,
73 anon_sym_merge = 51,
74 anon_sym_pass = 52,
75 anon_sym_const = 53,
76 anon_sym_free_ctx = 54,
77 anon_sym_change_tag = 55,
78 anon_sym_extract_tag = 56,
79 anon_sym_read = 57,
80 anon_sym_write = 58,
81 anon_sym_clear = 59,
82 anon_sym_alloc = 60,
83 anon_sym_exec = 61,
84 anon_sym_free = 62,
85 anon_sym_rd_inc = 63,
86 anon_sym_rd_dec = 64,
87 anon_sym_cmp_sw = 65,
88 anon_sym_load_inst = 66,
89 sym_flow_in = 67,
90 sym_flow_out = 68,
91 sym_comment = 69,
92 sym_program = 70,
93 sym__statement = 71,
94 sym_func_def = 72,
95 sym_inst_def = 73,
96 sym_strong_edge = 74,
97 sym_weak_edge = 75,
98 sym_plain_edge = 76,
99 sym_data_def = 77,
100 sym_pragma = 78,
101 sym_system_param = 79,
102 sym_location_dir = 80,
103 sym_ref_list = 81,
104 sym_qualified_ref = 82,
105 sym_node_ref = 83,
106 sym_label_ref = 84,
107 sym_func_ref = 85,
108 sym_placement = 86,
109 sym_port = 87,
110 sym__argument = 88,
111 sym_named_arg = 89,
112 sym__positional_arg = 90,
113 sym__value = 91,
114 sym_value_list = 92,
115 sym_number_literal = 93,
116 sym_char_literal = 94,
117 sym_string_literal = 95,
118 sym_raw_string_literal = 96,
119 sym_byte_string_literal = 97,
120 sym_macro_call = 98,
121 sym_opcode = 99,
122 aux_sym_program_repeat1 = 100,
123 aux_sym_inst_def_repeat1 = 101,
124 aux_sym_pragma_repeat1 = 102,
125 aux_sym_ref_list_repeat1 = 103,
126 aux_sym_value_list_repeat1 = 104,
127 aux_sym_string_literal_repeat1 = 105,
128 aux_sym_macro_call_repeat1 = 106,
129};
130
131static const char * const ts_symbol_names[] = {
132 [ts_builtin_sym_end] = "end",
133 [sym_identifier] = "identifier",
134 [anon_sym_LBRACE] = "{",
135 [anon_sym_RBRACE] = "}",
136 [anon_sym_COMMA] = ",",
137 [anon_sym_EQ] = "=",
138 [anon_sym_ATsystem] = "@system",
139 [anon_sym_AT] = "@",
140 [anon_sym_AMP] = "&",
141 [anon_sym_DOLLAR] = "$",
142 [anon_sym_PIPE] = "|",
143 [anon_sym_COLON] = ":",
144 [sym_hex_literal] = "hex_literal",
145 [sym_dec_literal] = "dec_literal",
146 [anon_sym_SQUOTE] = "'",
147 [aux_sym_char_literal_token1] = "char_literal_token1",
148 [anon_sym_DQUOTE] = "\"",
149 [aux_sym_string_literal_token1] = "string_literal_token1",
150 [anon_sym_r_DQUOTE] = "r\"",
151 [aux_sym_raw_string_literal_token1] = "raw_string_literal_token1",
152 [anon_sym_b_DQUOTE] = "b\"",
153 [sym_escape_sequence] = "escape_sequence",
154 [anon_sym_POUND] = "#",
155 [anon_sym_add] = "add",
156 [anon_sym_sub] = "sub",
157 [anon_sym_inc] = "inc",
158 [anon_sym_dec] = "dec",
159 [anon_sym_shiftl] = "shiftl",
160 [anon_sym_shiftr] = "shiftr",
161 [anon_sym_ashiftr] = "ashiftr",
162 [anon_sym_and] = "and",
163 [anon_sym_or] = "or",
164 [anon_sym_xor] = "xor",
165 [anon_sym_not] = "not",
166 [anon_sym_eq] = "eq",
167 [anon_sym_lt] = "lt",
168 [anon_sym_lte] = "lte",
169 [anon_sym_gt] = "gt",
170 [anon_sym_gte] = "gte",
171 [anon_sym_breq] = "breq",
172 [anon_sym_brgt] = "brgt",
173 [anon_sym_brge] = "brge",
174 [anon_sym_brof] = "brof",
175 [anon_sym_brty] = "brty",
176 [anon_sym_sweq] = "sweq",
177 [anon_sym_swgt] = "swgt",
178 [anon_sym_swge] = "swge",
179 [anon_sym_swof] = "swof",
180 [anon_sym_swty] = "swty",
181 [anon_sym_gate] = "gate",
182 [anon_sym_sel] = "sel",
183 [anon_sym_merge] = "merge",
184 [anon_sym_pass] = "pass",
185 [anon_sym_const] = "const",
186 [anon_sym_free_ctx] = "free_ctx",
187 [anon_sym_change_tag] = "change_tag",
188 [anon_sym_extract_tag] = "extract_tag",
189 [anon_sym_read] = "read",
190 [anon_sym_write] = "write",
191 [anon_sym_clear] = "clear",
192 [anon_sym_alloc] = "alloc",
193 [anon_sym_exec] = "exec",
194 [anon_sym_free] = "free",
195 [anon_sym_rd_inc] = "rd_inc",
196 [anon_sym_rd_dec] = "rd_dec",
197 [anon_sym_cmp_sw] = "cmp_sw",
198 [anon_sym_load_inst] = "load_inst",
199 [sym_flow_in] = "flow_in",
200 [sym_flow_out] = "flow_out",
201 [sym_comment] = "comment",
202 [sym_program] = "program",
203 [sym__statement] = "_statement",
204 [sym_func_def] = "func_def",
205 [sym_inst_def] = "inst_def",
206 [sym_strong_edge] = "strong_edge",
207 [sym_weak_edge] = "weak_edge",
208 [sym_plain_edge] = "plain_edge",
209 [sym_data_def] = "data_def",
210 [sym_pragma] = "pragma",
211 [sym_system_param] = "system_param",
212 [sym_location_dir] = "location_dir",
213 [sym_ref_list] = "ref_list",
214 [sym_qualified_ref] = "qualified_ref",
215 [sym_node_ref] = "node_ref",
216 [sym_label_ref] = "label_ref",
217 [sym_func_ref] = "func_ref",
218 [sym_placement] = "placement",
219 [sym_port] = "port",
220 [sym__argument] = "_argument",
221 [sym_named_arg] = "named_arg",
222 [sym__positional_arg] = "_positional_arg",
223 [sym__value] = "_value",
224 [sym_value_list] = "value_list",
225 [sym_number_literal] = "number_literal",
226 [sym_char_literal] = "char_literal",
227 [sym_string_literal] = "string_literal",
228 [sym_raw_string_literal] = "raw_string_literal",
229 [sym_byte_string_literal] = "byte_string_literal",
230 [sym_macro_call] = "macro_call",
231 [sym_opcode] = "opcode",
232 [aux_sym_program_repeat1] = "program_repeat1",
233 [aux_sym_inst_def_repeat1] = "inst_def_repeat1",
234 [aux_sym_pragma_repeat1] = "pragma_repeat1",
235 [aux_sym_ref_list_repeat1] = "ref_list_repeat1",
236 [aux_sym_value_list_repeat1] = "value_list_repeat1",
237 [aux_sym_string_literal_repeat1] = "string_literal_repeat1",
238 [aux_sym_macro_call_repeat1] = "macro_call_repeat1",
239};
240
241static const TSSymbol ts_symbol_map[] = {
242 [ts_builtin_sym_end] = ts_builtin_sym_end,
243 [sym_identifier] = sym_identifier,
244 [anon_sym_LBRACE] = anon_sym_LBRACE,
245 [anon_sym_RBRACE] = anon_sym_RBRACE,
246 [anon_sym_COMMA] = anon_sym_COMMA,
247 [anon_sym_EQ] = anon_sym_EQ,
248 [anon_sym_ATsystem] = anon_sym_ATsystem,
249 [anon_sym_AT] = anon_sym_AT,
250 [anon_sym_AMP] = anon_sym_AMP,
251 [anon_sym_DOLLAR] = anon_sym_DOLLAR,
252 [anon_sym_PIPE] = anon_sym_PIPE,
253 [anon_sym_COLON] = anon_sym_COLON,
254 [sym_hex_literal] = sym_hex_literal,
255 [sym_dec_literal] = sym_dec_literal,
256 [anon_sym_SQUOTE] = anon_sym_SQUOTE,
257 [aux_sym_char_literal_token1] = aux_sym_char_literal_token1,
258 [anon_sym_DQUOTE] = anon_sym_DQUOTE,
259 [aux_sym_string_literal_token1] = aux_sym_string_literal_token1,
260 [anon_sym_r_DQUOTE] = anon_sym_r_DQUOTE,
261 [aux_sym_raw_string_literal_token1] = aux_sym_raw_string_literal_token1,
262 [anon_sym_b_DQUOTE] = anon_sym_b_DQUOTE,
263 [sym_escape_sequence] = sym_escape_sequence,
264 [anon_sym_POUND] = anon_sym_POUND,
265 [anon_sym_add] = anon_sym_add,
266 [anon_sym_sub] = anon_sym_sub,
267 [anon_sym_inc] = anon_sym_inc,
268 [anon_sym_dec] = anon_sym_dec,
269 [anon_sym_shiftl] = anon_sym_shiftl,
270 [anon_sym_shiftr] = anon_sym_shiftr,
271 [anon_sym_ashiftr] = anon_sym_ashiftr,
272 [anon_sym_and] = anon_sym_and,
273 [anon_sym_or] = anon_sym_or,
274 [anon_sym_xor] = anon_sym_xor,
275 [anon_sym_not] = anon_sym_not,
276 [anon_sym_eq] = anon_sym_eq,
277 [anon_sym_lt] = anon_sym_lt,
278 [anon_sym_lte] = anon_sym_lte,
279 [anon_sym_gt] = anon_sym_gt,
280 [anon_sym_gte] = anon_sym_gte,
281 [anon_sym_breq] = anon_sym_breq,
282 [anon_sym_brgt] = anon_sym_brgt,
283 [anon_sym_brge] = anon_sym_brge,
284 [anon_sym_brof] = anon_sym_brof,
285 [anon_sym_brty] = anon_sym_brty,
286 [anon_sym_sweq] = anon_sym_sweq,
287 [anon_sym_swgt] = anon_sym_swgt,
288 [anon_sym_swge] = anon_sym_swge,
289 [anon_sym_swof] = anon_sym_swof,
290 [anon_sym_swty] = anon_sym_swty,
291 [anon_sym_gate] = anon_sym_gate,
292 [anon_sym_sel] = anon_sym_sel,
293 [anon_sym_merge] = anon_sym_merge,
294 [anon_sym_pass] = anon_sym_pass,
295 [anon_sym_const] = anon_sym_const,
296 [anon_sym_free_ctx] = anon_sym_free_ctx,
297 [anon_sym_change_tag] = anon_sym_change_tag,
298 [anon_sym_extract_tag] = anon_sym_extract_tag,
299 [anon_sym_read] = anon_sym_read,
300 [anon_sym_write] = anon_sym_write,
301 [anon_sym_clear] = anon_sym_clear,
302 [anon_sym_alloc] = anon_sym_alloc,
303 [anon_sym_exec] = anon_sym_exec,
304 [anon_sym_free] = anon_sym_free,
305 [anon_sym_rd_inc] = anon_sym_rd_inc,
306 [anon_sym_rd_dec] = anon_sym_rd_dec,
307 [anon_sym_cmp_sw] = anon_sym_cmp_sw,
308 [anon_sym_load_inst] = anon_sym_load_inst,
309 [sym_flow_in] = sym_flow_in,
310 [sym_flow_out] = sym_flow_out,
311 [sym_comment] = sym_comment,
312 [sym_program] = sym_program,
313 [sym__statement] = sym__statement,
314 [sym_func_def] = sym_func_def,
315 [sym_inst_def] = sym_inst_def,
316 [sym_strong_edge] = sym_strong_edge,
317 [sym_weak_edge] = sym_weak_edge,
318 [sym_plain_edge] = sym_plain_edge,
319 [sym_data_def] = sym_data_def,
320 [sym_pragma] = sym_pragma,
321 [sym_system_param] = sym_system_param,
322 [sym_location_dir] = sym_location_dir,
323 [sym_ref_list] = sym_ref_list,
324 [sym_qualified_ref] = sym_qualified_ref,
325 [sym_node_ref] = sym_node_ref,
326 [sym_label_ref] = sym_label_ref,
327 [sym_func_ref] = sym_func_ref,
328 [sym_placement] = sym_placement,
329 [sym_port] = sym_port,
330 [sym__argument] = sym__argument,
331 [sym_named_arg] = sym_named_arg,
332 [sym__positional_arg] = sym__positional_arg,
333 [sym__value] = sym__value,
334 [sym_value_list] = sym_value_list,
335 [sym_number_literal] = sym_number_literal,
336 [sym_char_literal] = sym_char_literal,
337 [sym_string_literal] = sym_string_literal,
338 [sym_raw_string_literal] = sym_raw_string_literal,
339 [sym_byte_string_literal] = sym_byte_string_literal,
340 [sym_macro_call] = sym_macro_call,
341 [sym_opcode] = sym_opcode,
342 [aux_sym_program_repeat1] = aux_sym_program_repeat1,
343 [aux_sym_inst_def_repeat1] = aux_sym_inst_def_repeat1,
344 [aux_sym_pragma_repeat1] = aux_sym_pragma_repeat1,
345 [aux_sym_ref_list_repeat1] = aux_sym_ref_list_repeat1,
346 [aux_sym_value_list_repeat1] = aux_sym_value_list_repeat1,
347 [aux_sym_string_literal_repeat1] = aux_sym_string_literal_repeat1,
348 [aux_sym_macro_call_repeat1] = aux_sym_macro_call_repeat1,
349};
350
351static const TSSymbolMetadata ts_symbol_metadata[] = {
352 [ts_builtin_sym_end] = {
353 .visible = false,
354 .named = true,
355 },
356 [sym_identifier] = {
357 .visible = true,
358 .named = true,
359 },
360 [anon_sym_LBRACE] = {
361 .visible = true,
362 .named = false,
363 },
364 [anon_sym_RBRACE] = {
365 .visible = true,
366 .named = false,
367 },
368 [anon_sym_COMMA] = {
369 .visible = true,
370 .named = false,
371 },
372 [anon_sym_EQ] = {
373 .visible = true,
374 .named = false,
375 },
376 [anon_sym_ATsystem] = {
377 .visible = true,
378 .named = false,
379 },
380 [anon_sym_AT] = {
381 .visible = true,
382 .named = false,
383 },
384 [anon_sym_AMP] = {
385 .visible = true,
386 .named = false,
387 },
388 [anon_sym_DOLLAR] = {
389 .visible = true,
390 .named = false,
391 },
392 [anon_sym_PIPE] = {
393 .visible = true,
394 .named = false,
395 },
396 [anon_sym_COLON] = {
397 .visible = true,
398 .named = false,
399 },
400 [sym_hex_literal] = {
401 .visible = true,
402 .named = true,
403 },
404 [sym_dec_literal] = {
405 .visible = true,
406 .named = true,
407 },
408 [anon_sym_SQUOTE] = {
409 .visible = true,
410 .named = false,
411 },
412 [aux_sym_char_literal_token1] = {
413 .visible = false,
414 .named = false,
415 },
416 [anon_sym_DQUOTE] = {
417 .visible = true,
418 .named = false,
419 },
420 [aux_sym_string_literal_token1] = {
421 .visible = false,
422 .named = false,
423 },
424 [anon_sym_r_DQUOTE] = {
425 .visible = true,
426 .named = false,
427 },
428 [aux_sym_raw_string_literal_token1] = {
429 .visible = false,
430 .named = false,
431 },
432 [anon_sym_b_DQUOTE] = {
433 .visible = true,
434 .named = false,
435 },
436 [sym_escape_sequence] = {
437 .visible = true,
438 .named = true,
439 },
440 [anon_sym_POUND] = {
441 .visible = true,
442 .named = false,
443 },
444 [anon_sym_add] = {
445 .visible = true,
446 .named = false,
447 },
448 [anon_sym_sub] = {
449 .visible = true,
450 .named = false,
451 },
452 [anon_sym_inc] = {
453 .visible = true,
454 .named = false,
455 },
456 [anon_sym_dec] = {
457 .visible = true,
458 .named = false,
459 },
460 [anon_sym_shiftl] = {
461 .visible = true,
462 .named = false,
463 },
464 [anon_sym_shiftr] = {
465 .visible = true,
466 .named = false,
467 },
468 [anon_sym_ashiftr] = {
469 .visible = true,
470 .named = false,
471 },
472 [anon_sym_and] = {
473 .visible = true,
474 .named = false,
475 },
476 [anon_sym_or] = {
477 .visible = true,
478 .named = false,
479 },
480 [anon_sym_xor] = {
481 .visible = true,
482 .named = false,
483 },
484 [anon_sym_not] = {
485 .visible = true,
486 .named = false,
487 },
488 [anon_sym_eq] = {
489 .visible = true,
490 .named = false,
491 },
492 [anon_sym_lt] = {
493 .visible = true,
494 .named = false,
495 },
496 [anon_sym_lte] = {
497 .visible = true,
498 .named = false,
499 },
500 [anon_sym_gt] = {
501 .visible = true,
502 .named = false,
503 },
504 [anon_sym_gte] = {
505 .visible = true,
506 .named = false,
507 },
508 [anon_sym_breq] = {
509 .visible = true,
510 .named = false,
511 },
512 [anon_sym_brgt] = {
513 .visible = true,
514 .named = false,
515 },
516 [anon_sym_brge] = {
517 .visible = true,
518 .named = false,
519 },
520 [anon_sym_brof] = {
521 .visible = true,
522 .named = false,
523 },
524 [anon_sym_brty] = {
525 .visible = true,
526 .named = false,
527 },
528 [anon_sym_sweq] = {
529 .visible = true,
530 .named = false,
531 },
532 [anon_sym_swgt] = {
533 .visible = true,
534 .named = false,
535 },
536 [anon_sym_swge] = {
537 .visible = true,
538 .named = false,
539 },
540 [anon_sym_swof] = {
541 .visible = true,
542 .named = false,
543 },
544 [anon_sym_swty] = {
545 .visible = true,
546 .named = false,
547 },
548 [anon_sym_gate] = {
549 .visible = true,
550 .named = false,
551 },
552 [anon_sym_sel] = {
553 .visible = true,
554 .named = false,
555 },
556 [anon_sym_merge] = {
557 .visible = true,
558 .named = false,
559 },
560 [anon_sym_pass] = {
561 .visible = true,
562 .named = false,
563 },
564 [anon_sym_const] = {
565 .visible = true,
566 .named = false,
567 },
568 [anon_sym_free_ctx] = {
569 .visible = true,
570 .named = false,
571 },
572 [anon_sym_change_tag] = {
573 .visible = true,
574 .named = false,
575 },
576 [anon_sym_extract_tag] = {
577 .visible = true,
578 .named = false,
579 },
580 [anon_sym_read] = {
581 .visible = true,
582 .named = false,
583 },
584 [anon_sym_write] = {
585 .visible = true,
586 .named = false,
587 },
588 [anon_sym_clear] = {
589 .visible = true,
590 .named = false,
591 },
592 [anon_sym_alloc] = {
593 .visible = true,
594 .named = false,
595 },
596 [anon_sym_exec] = {
597 .visible = true,
598 .named = false,
599 },
600 [anon_sym_free] = {
601 .visible = true,
602 .named = false,
603 },
604 [anon_sym_rd_inc] = {
605 .visible = true,
606 .named = false,
607 },
608 [anon_sym_rd_dec] = {
609 .visible = true,
610 .named = false,
611 },
612 [anon_sym_cmp_sw] = {
613 .visible = true,
614 .named = false,
615 },
616 [anon_sym_load_inst] = {
617 .visible = true,
618 .named = false,
619 },
620 [sym_flow_in] = {
621 .visible = true,
622 .named = true,
623 },
624 [sym_flow_out] = {
625 .visible = true,
626 .named = true,
627 },
628 [sym_comment] = {
629 .visible = true,
630 .named = true,
631 },
632 [sym_program] = {
633 .visible = true,
634 .named = true,
635 },
636 [sym__statement] = {
637 .visible = false,
638 .named = true,
639 },
640 [sym_func_def] = {
641 .visible = true,
642 .named = true,
643 },
644 [sym_inst_def] = {
645 .visible = true,
646 .named = true,
647 },
648 [sym_strong_edge] = {
649 .visible = true,
650 .named = true,
651 },
652 [sym_weak_edge] = {
653 .visible = true,
654 .named = true,
655 },
656 [sym_plain_edge] = {
657 .visible = true,
658 .named = true,
659 },
660 [sym_data_def] = {
661 .visible = true,
662 .named = true,
663 },
664 [sym_pragma] = {
665 .visible = true,
666 .named = true,
667 },
668 [sym_system_param] = {
669 .visible = true,
670 .named = true,
671 },
672 [sym_location_dir] = {
673 .visible = true,
674 .named = true,
675 },
676 [sym_ref_list] = {
677 .visible = true,
678 .named = true,
679 },
680 [sym_qualified_ref] = {
681 .visible = true,
682 .named = true,
683 },
684 [sym_node_ref] = {
685 .visible = true,
686 .named = true,
687 },
688 [sym_label_ref] = {
689 .visible = true,
690 .named = true,
691 },
692 [sym_func_ref] = {
693 .visible = true,
694 .named = true,
695 },
696 [sym_placement] = {
697 .visible = true,
698 .named = true,
699 },
700 [sym_port] = {
701 .visible = true,
702 .named = true,
703 },
704 [sym__argument] = {
705 .visible = false,
706 .named = true,
707 },
708 [sym_named_arg] = {
709 .visible = true,
710 .named = true,
711 },
712 [sym__positional_arg] = {
713 .visible = false,
714 .named = true,
715 },
716 [sym__value] = {
717 .visible = false,
718 .named = true,
719 },
720 [sym_value_list] = {
721 .visible = true,
722 .named = true,
723 },
724 [sym_number_literal] = {
725 .visible = true,
726 .named = true,
727 },
728 [sym_char_literal] = {
729 .visible = true,
730 .named = true,
731 },
732 [sym_string_literal] = {
733 .visible = true,
734 .named = true,
735 },
736 [sym_raw_string_literal] = {
737 .visible = true,
738 .named = true,
739 },
740 [sym_byte_string_literal] = {
741 .visible = true,
742 .named = true,
743 },
744 [sym_macro_call] = {
745 .visible = true,
746 .named = true,
747 },
748 [sym_opcode] = {
749 .visible = true,
750 .named = true,
751 },
752 [aux_sym_program_repeat1] = {
753 .visible = false,
754 .named = false,
755 },
756 [aux_sym_inst_def_repeat1] = {
757 .visible = false,
758 .named = false,
759 },
760 [aux_sym_pragma_repeat1] = {
761 .visible = false,
762 .named = false,
763 },
764 [aux_sym_ref_list_repeat1] = {
765 .visible = false,
766 .named = false,
767 },
768 [aux_sym_value_list_repeat1] = {
769 .visible = false,
770 .named = false,
771 },
772 [aux_sym_string_literal_repeat1] = {
773 .visible = false,
774 .named = false,
775 },
776 [aux_sym_macro_call_repeat1] = {
777 .visible = false,
778 .named = false,
779 },
780};
781
782enum ts_field_identifiers {
783 field_key = 1,
784 field_name = 2,
785 field_placement = 3,
786 field_port = 4,
787 field_ref = 5,
788 field_separator = 6,
789 field_value = 7,
790};
791
792static const char * const ts_field_names[] = {
793 [0] = NULL,
794 [field_key] = "key",
795 [field_name] = "name",
796 [field_placement] = "placement",
797 [field_port] = "port",
798 [field_ref] = "ref",
799 [field_separator] = "separator",
800 [field_value] = "value",
801};
802
803static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
804 [1] = {.index = 0, .length = 1},
805 [2] = {.index = 1, .length = 1},
806 [3] = {.index = 2, .length = 2},
807 [4] = {.index = 4, .length = 2},
808 [5] = {.index = 6, .length = 2},
809 [6] = {.index = 8, .length = 3},
810 [7] = {.index = 11, .length = 2},
811 [8] = {.index = 13, .length = 2},
812};
813
814static const TSFieldMapEntry ts_field_map_entries[] = {
815 [0] =
816 {field_ref, 0},
817 [1] =
818 {field_name, 1},
819 [2] =
820 {field_placement, 1},
821 {field_ref, 0},
822 [4] =
823 {field_port, 1},
824 {field_ref, 0},
825 [6] =
826 {field_name, 1},
827 {field_separator, 0},
828 [8] =
829 {field_placement, 1},
830 {field_port, 2},
831 {field_ref, 0},
832 [11] =
833 {field_name, 0},
834 {field_value, 2},
835 [13] =
836 {field_key, 0},
837 {field_value, 2},
838};
839
840static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
841 [0] = {0},
842};
843
844static const uint16_t ts_non_terminal_alias_map[] = {
845 0,
846};
847
848static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
849 [0] = 0,
850 [1] = 1,
851 [2] = 2,
852 [3] = 3,
853 [4] = 4,
854 [5] = 5,
855 [6] = 6,
856 [7] = 7,
857 [8] = 8,
858 [9] = 9,
859 [10] = 10,
860 [11] = 11,
861 [12] = 12,
862 [13] = 13,
863 [14] = 14,
864 [15] = 15,
865 [16] = 16,
866 [17] = 17,
867 [18] = 18,
868 [19] = 19,
869 [20] = 20,
870 [21] = 21,
871 [22] = 22,
872 [23] = 23,
873 [24] = 24,
874 [25] = 25,
875 [26] = 26,
876 [27] = 27,
877 [28] = 28,
878 [29] = 29,
879 [30] = 30,
880 [31] = 31,
881 [32] = 32,
882 [33] = 33,
883 [34] = 34,
884 [35] = 35,
885 [36] = 36,
886 [37] = 37,
887 [38] = 38,
888 [39] = 39,
889 [40] = 40,
890 [41] = 41,
891 [42] = 42,
892 [43] = 43,
893 [44] = 44,
894 [45] = 45,
895 [46] = 46,
896 [47] = 47,
897 [48] = 48,
898 [49] = 49,
899 [50] = 50,
900 [51] = 51,
901 [52] = 52,
902 [53] = 53,
903 [54] = 54,
904 [55] = 55,
905 [56] = 56,
906 [57] = 57,
907 [58] = 58,
908 [59] = 59,
909 [60] = 60,
910 [61] = 61,
911 [62] = 46,
912 [63] = 63,
913 [64] = 64,
914 [65] = 65,
915 [66] = 66,
916 [67] = 67,
917 [68] = 68,
918 [69] = 69,
919 [70] = 70,
920 [71] = 71,
921 [72] = 72,
922 [73] = 73,
923 [74] = 74,
924 [75] = 75,
925 [76] = 76,
926 [77] = 77,
927 [78] = 78,
928 [79] = 79,
929 [80] = 80,
930 [81] = 81,
931 [82] = 82,
932 [83] = 83,
933 [84] = 84,
934 [85] = 85,
935 [86] = 86,
936 [87] = 87,
937 [88] = 88,
938 [89] = 89,
939 [90] = 90,
940 [91] = 91,
941};
942
943static bool ts_lex(TSLexer *lexer, TSStateId state) {
944 START_LEXER();
945 eof = lexer->eof(lexer);
946 switch (state) {
947 case 0:
948 if (eof) ADVANCE(18);
949 ADVANCE_MAP(
950 '"', 37,
951 '#', 47,
952 '$', 27,
953 '&', 26,
954 '\'', 33,
955 ',', 21,
956 '0', 31,
957 ':', 29,
958 ';', 53,
959 '<', 11,
960 '=', 22,
961 '@', 25,
962 '\\', 9,
963 'b', 50,
964 'r', 51,
965 '{', 19,
966 '|', 28,
967 '}', 20,
968 );
969 if (('\t' <= lookahead && lookahead <= '\r') ||
970 lookahead == ' ') SKIP(15);
971 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(32);
972 if (('A' <= lookahead && lookahead <= 'Z') ||
973 lookahead == '_' ||
974 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
975 END_STATE();
976 case 1:
977 ADVANCE_MAP(
978 '"', 37,
979 '$', 27,
980 '&', 26,
981 '\'', 33,
982 '0', 31,
983 ';', 53,
984 '<', 11,
985 '@', 24,
986 'b', 50,
987 'r', 51,
988 );
989 if (('\t' <= lookahead && lookahead <= '\r') ||
990 lookahead == ' ') SKIP(1);
991 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(32);
992 if (('A' <= lookahead && lookahead <= 'Z') ||
993 lookahead == '_' ||
994 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
995 END_STATE();
996 case 2:
997 if (lookahead == '"') ADVANCE(37);
998 if (lookahead == ';') ADVANCE(38);
999 if (lookahead == '\\') ADVANCE(9);
1000 if (('\t' <= lookahead && lookahead <= '\r') ||
1001 lookahead == ' ') ADVANCE(39);
1002 if (lookahead != 0) ADVANCE(40);
1003 END_STATE();
1004 case 3:
1005 if (lookahead == ';') ADVANCE(36);
1006 if (lookahead == '\\') ADVANCE(9);
1007 if (('\t' <= lookahead && lookahead <= '\r') ||
1008 lookahead == ' ') ADVANCE(35);
1009 if (lookahead != 0 &&
1010 lookahead != '\'') ADVANCE(34);
1011 END_STATE();
1012 case 4:
1013 if (lookahead == '>') ADVANCE(49);
1014 END_STATE();
1015 case 5:
1016 if (lookahead == 'e') ADVANCE(6);
1017 END_STATE();
1018 case 6:
1019 if (lookahead == 'm') ADVANCE(23);
1020 END_STATE();
1021 case 7:
1022 if (lookahead == 's') ADVANCE(8);
1023 END_STATE();
1024 case 8:
1025 if (lookahead == 't') ADVANCE(5);
1026 END_STATE();
1027 case 9:
1028 ADVANCE_MAP(
1029 'x', 14,
1030 '"', 46,
1031 '\'', 46,
1032 '0', 46,
1033 '\\', 46,
1034 'n', 46,
1035 'r', 46,
1036 't', 46,
1037 );
1038 END_STATE();
1039 case 10:
1040 if (lookahead == 'y') ADVANCE(7);
1041 END_STATE();
1042 case 11:
1043 if (lookahead == '|') ADVANCE(48);
1044 END_STATE();
1045 case 12:
1046 if (('0' <= lookahead && lookahead <= '9') ||
1047 ('A' <= lookahead && lookahead <= 'F') ||
1048 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(46);
1049 END_STATE();
1050 case 13:
1051 if (('0' <= lookahead && lookahead <= '9') ||
1052 ('A' <= lookahead && lookahead <= 'F') ||
1053 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(30);
1054 END_STATE();
1055 case 14:
1056 if (('0' <= lookahead && lookahead <= '9') ||
1057 ('A' <= lookahead && lookahead <= 'F') ||
1058 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(12);
1059 END_STATE();
1060 case 15:
1061 if (eof) ADVANCE(18);
1062 ADVANCE_MAP(
1063 '"', 37,
1064 '#', 47,
1065 '$', 27,
1066 '&', 26,
1067 '\'', 33,
1068 ',', 21,
1069 '0', 31,
1070 ';', 53,
1071 '<', 11,
1072 '=', 22,
1073 '@', 25,
1074 '\\', 9,
1075 'b', 50,
1076 'r', 51,
1077 '{', 19,
1078 '|', 4,
1079 '}', 20,
1080 );
1081 if (('\t' <= lookahead && lookahead <= '\r') ||
1082 lookahead == ' ') SKIP(15);
1083 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(32);
1084 if (('A' <= lookahead && lookahead <= 'Z') ||
1085 lookahead == '_' ||
1086 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
1087 END_STATE();
1088 case 16:
1089 if (eof) ADVANCE(18);
1090 ADVANCE_MAP(
1091 '$', 27,
1092 '&', 26,
1093 ',', 21,
1094 '0', 31,
1095 ':', 29,
1096 ';', 53,
1097 '<', 11,
1098 '=', 22,
1099 '@', 25,
1100 '|', 28,
1101 '}', 20,
1102 );
1103 if (('\t' <= lookahead && lookahead <= '\r') ||
1104 lookahead == ' ') SKIP(17);
1105 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(32);
1106 if (('A' <= lookahead && lookahead <= 'Z') ||
1107 lookahead == '_' ||
1108 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
1109 END_STATE();
1110 case 17:
1111 if (eof) ADVANCE(18);
1112 ADVANCE_MAP(
1113 '$', 27,
1114 '&', 26,
1115 ',', 21,
1116 '0', 31,
1117 ';', 53,
1118 '<', 11,
1119 '=', 22,
1120 '@', 25,
1121 '|', 4,
1122 '}', 20,
1123 );
1124 if (('\t' <= lookahead && lookahead <= '\r') ||
1125 lookahead == ' ') SKIP(17);
1126 if (('1' <= lookahead && lookahead <= '9')) ADVANCE(32);
1127 if (('A' <= lookahead && lookahead <= 'Z') ||
1128 lookahead == '_' ||
1129 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
1130 END_STATE();
1131 case 18:
1132 ACCEPT_TOKEN(ts_builtin_sym_end);
1133 END_STATE();
1134 case 19:
1135 ACCEPT_TOKEN(anon_sym_LBRACE);
1136 END_STATE();
1137 case 20:
1138 ACCEPT_TOKEN(anon_sym_RBRACE);
1139 END_STATE();
1140 case 21:
1141 ACCEPT_TOKEN(anon_sym_COMMA);
1142 END_STATE();
1143 case 22:
1144 ACCEPT_TOKEN(anon_sym_EQ);
1145 END_STATE();
1146 case 23:
1147 ACCEPT_TOKEN(anon_sym_ATsystem);
1148 END_STATE();
1149 case 24:
1150 ACCEPT_TOKEN(anon_sym_AT);
1151 END_STATE();
1152 case 25:
1153 ACCEPT_TOKEN(anon_sym_AT);
1154 if (lookahead == 's') ADVANCE(10);
1155 END_STATE();
1156 case 26:
1157 ACCEPT_TOKEN(anon_sym_AMP);
1158 END_STATE();
1159 case 27:
1160 ACCEPT_TOKEN(anon_sym_DOLLAR);
1161 END_STATE();
1162 case 28:
1163 ACCEPT_TOKEN(anon_sym_PIPE);
1164 if (lookahead == '>') ADVANCE(49);
1165 END_STATE();
1166 case 29:
1167 ACCEPT_TOKEN(anon_sym_COLON);
1168 END_STATE();
1169 case 30:
1170 ACCEPT_TOKEN(sym_hex_literal);
1171 if (('0' <= lookahead && lookahead <= '9') ||
1172 ('A' <= lookahead && lookahead <= 'F') ||
1173 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(30);
1174 END_STATE();
1175 case 31:
1176 ACCEPT_TOKEN(sym_dec_literal);
1177 if (lookahead == 'x') ADVANCE(13);
1178 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32);
1179 END_STATE();
1180 case 32:
1181 ACCEPT_TOKEN(sym_dec_literal);
1182 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32);
1183 END_STATE();
1184 case 33:
1185 ACCEPT_TOKEN(anon_sym_SQUOTE);
1186 END_STATE();
1187 case 34:
1188 ACCEPT_TOKEN(aux_sym_char_literal_token1);
1189 END_STATE();
1190 case 35:
1191 ACCEPT_TOKEN(aux_sym_char_literal_token1);
1192 if (lookahead == ';') ADVANCE(36);
1193 if (('\t' <= lookahead && lookahead <= '\r') ||
1194 lookahead == ' ') ADVANCE(35);
1195 if (lookahead != 0 &&
1196 lookahead != '\'' &&
1197 lookahead != '\\') ADVANCE(34);
1198 END_STATE();
1199 case 36:
1200 ACCEPT_TOKEN(aux_sym_char_literal_token1);
1201 if (lookahead != 0 &&
1202 lookahead != '\n') ADVANCE(53);
1203 END_STATE();
1204 case 37:
1205 ACCEPT_TOKEN(anon_sym_DQUOTE);
1206 END_STATE();
1207 case 38:
1208 ACCEPT_TOKEN(aux_sym_string_literal_token1);
1209 if (lookahead == '\n') ADVANCE(40);
1210 if (lookahead == '"' ||
1211 lookahead == '\\') ADVANCE(53);
1212 if (lookahead != 0) ADVANCE(38);
1213 END_STATE();
1214 case 39:
1215 ACCEPT_TOKEN(aux_sym_string_literal_token1);
1216 if (lookahead == ';') ADVANCE(38);
1217 if (('\t' <= lookahead && lookahead <= '\r') ||
1218 lookahead == ' ') ADVANCE(39);
1219 if (lookahead != 0 &&
1220 lookahead != '"' &&
1221 lookahead != '\\') ADVANCE(40);
1222 END_STATE();
1223 case 40:
1224 ACCEPT_TOKEN(aux_sym_string_literal_token1);
1225 if (lookahead != 0 &&
1226 lookahead != '"' &&
1227 lookahead != '\\') ADVANCE(40);
1228 END_STATE();
1229 case 41:
1230 ACCEPT_TOKEN(anon_sym_r_DQUOTE);
1231 END_STATE();
1232 case 42:
1233 ACCEPT_TOKEN(aux_sym_raw_string_literal_token1);
1234 if (lookahead == '\n') ADVANCE(44);
1235 if (lookahead == '"') ADVANCE(53);
1236 if (lookahead != 0) ADVANCE(42);
1237 END_STATE();
1238 case 43:
1239 ACCEPT_TOKEN(aux_sym_raw_string_literal_token1);
1240 if (lookahead == ';') ADVANCE(42);
1241 if (('\t' <= lookahead && lookahead <= '\r') ||
1242 lookahead == ' ') ADVANCE(43);
1243 if (lookahead != 0 &&
1244 lookahead != '"') ADVANCE(44);
1245 END_STATE();
1246 case 44:
1247 ACCEPT_TOKEN(aux_sym_raw_string_literal_token1);
1248 if (lookahead != 0 &&
1249 lookahead != '"') ADVANCE(44);
1250 END_STATE();
1251 case 45:
1252 ACCEPT_TOKEN(anon_sym_b_DQUOTE);
1253 END_STATE();
1254 case 46:
1255 ACCEPT_TOKEN(sym_escape_sequence);
1256 END_STATE();
1257 case 47:
1258 ACCEPT_TOKEN(anon_sym_POUND);
1259 END_STATE();
1260 case 48:
1261 ACCEPT_TOKEN(sym_flow_in);
1262 END_STATE();
1263 case 49:
1264 ACCEPT_TOKEN(sym_flow_out);
1265 END_STATE();
1266 case 50:
1267 ACCEPT_TOKEN(sym_identifier);
1268 if (lookahead == '"') ADVANCE(45);
1269 if (('0' <= lookahead && lookahead <= '9') ||
1270 ('A' <= lookahead && lookahead <= 'Z') ||
1271 lookahead == '_' ||
1272 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
1273 END_STATE();
1274 case 51:
1275 ACCEPT_TOKEN(sym_identifier);
1276 if (lookahead == '"') ADVANCE(41);
1277 if (('0' <= lookahead && lookahead <= '9') ||
1278 ('A' <= lookahead && lookahead <= 'Z') ||
1279 lookahead == '_' ||
1280 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
1281 END_STATE();
1282 case 52:
1283 ACCEPT_TOKEN(sym_identifier);
1284 if (('0' <= lookahead && lookahead <= '9') ||
1285 ('A' <= lookahead && lookahead <= 'Z') ||
1286 lookahead == '_' ||
1287 ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
1288 END_STATE();
1289 case 53:
1290 ACCEPT_TOKEN(sym_comment);
1291 if (lookahead != 0 &&
1292 lookahead != '\n') ADVANCE(53);
1293 END_STATE();
1294 default:
1295 return false;
1296 }
1297}
1298
1299static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
1300 START_LEXER();
1301 eof = lexer->eof(lexer);
1302 switch (state) {
1303 case 0:
1304 ADVANCE_MAP(
1305 'a', 1,
1306 'b', 2,
1307 'c', 3,
1308 'd', 4,
1309 'e', 5,
1310 'f', 6,
1311 'g', 7,
1312 'i', 8,
1313 'l', 9,
1314 'm', 10,
1315 'n', 11,
1316 'o', 12,
1317 'p', 13,
1318 'r', 14,
1319 's', 15,
1320 'w', 16,
1321 'x', 17,
1322 );
1323 if (('\t' <= lookahead && lookahead <= '\r') ||
1324 lookahead == ' ') SKIP(0);
1325 END_STATE();
1326 case 1:
1327 if (lookahead == 'd') ADVANCE(18);
1328 if (lookahead == 'l') ADVANCE(19);
1329 if (lookahead == 'n') ADVANCE(20);
1330 if (lookahead == 's') ADVANCE(21);
1331 END_STATE();
1332 case 2:
1333 if (lookahead == 'r') ADVANCE(22);
1334 END_STATE();
1335 case 3:
1336 if (lookahead == 'h') ADVANCE(23);
1337 if (lookahead == 'l') ADVANCE(24);
1338 if (lookahead == 'm') ADVANCE(25);
1339 if (lookahead == 'o') ADVANCE(26);
1340 END_STATE();
1341 case 4:
1342 if (lookahead == 'e') ADVANCE(27);
1343 END_STATE();
1344 case 5:
1345 if (lookahead == 'q') ADVANCE(28);
1346 if (lookahead == 'x') ADVANCE(29);
1347 END_STATE();
1348 case 6:
1349 if (lookahead == 'r') ADVANCE(30);
1350 END_STATE();
1351 case 7:
1352 if (lookahead == 'a') ADVANCE(31);
1353 if (lookahead == 't') ADVANCE(32);
1354 END_STATE();
1355 case 8:
1356 if (lookahead == 'n') ADVANCE(33);
1357 END_STATE();
1358 case 9:
1359 if (lookahead == 'o') ADVANCE(34);
1360 if (lookahead == 't') ADVANCE(35);
1361 END_STATE();
1362 case 10:
1363 if (lookahead == 'e') ADVANCE(36);
1364 END_STATE();
1365 case 11:
1366 if (lookahead == 'o') ADVANCE(37);
1367 END_STATE();
1368 case 12:
1369 if (lookahead == 'r') ADVANCE(38);
1370 END_STATE();
1371 case 13:
1372 if (lookahead == 'a') ADVANCE(39);
1373 END_STATE();
1374 case 14:
1375 if (lookahead == 'd') ADVANCE(40);
1376 if (lookahead == 'e') ADVANCE(41);
1377 END_STATE();
1378 case 15:
1379 if (lookahead == 'e') ADVANCE(42);
1380 if (lookahead == 'h') ADVANCE(43);
1381 if (lookahead == 'u') ADVANCE(44);
1382 if (lookahead == 'w') ADVANCE(45);
1383 END_STATE();
1384 case 16:
1385 if (lookahead == 'r') ADVANCE(46);
1386 END_STATE();
1387 case 17:
1388 if (lookahead == 'o') ADVANCE(47);
1389 END_STATE();
1390 case 18:
1391 if (lookahead == 'd') ADVANCE(48);
1392 END_STATE();
1393 case 19:
1394 if (lookahead == 'l') ADVANCE(49);
1395 END_STATE();
1396 case 20:
1397 if (lookahead == 'd') ADVANCE(50);
1398 END_STATE();
1399 case 21:
1400 if (lookahead == 'h') ADVANCE(51);
1401 END_STATE();
1402 case 22:
1403 if (lookahead == 'e') ADVANCE(52);
1404 if (lookahead == 'g') ADVANCE(53);
1405 if (lookahead == 'o') ADVANCE(54);
1406 if (lookahead == 't') ADVANCE(55);
1407 END_STATE();
1408 case 23:
1409 if (lookahead == 'a') ADVANCE(56);
1410 END_STATE();
1411 case 24:
1412 if (lookahead == 'e') ADVANCE(57);
1413 END_STATE();
1414 case 25:
1415 if (lookahead == 'p') ADVANCE(58);
1416 END_STATE();
1417 case 26:
1418 if (lookahead == 'n') ADVANCE(59);
1419 END_STATE();
1420 case 27:
1421 if (lookahead == 'c') ADVANCE(60);
1422 END_STATE();
1423 case 28:
1424 ACCEPT_TOKEN(anon_sym_eq);
1425 END_STATE();
1426 case 29:
1427 if (lookahead == 'e') ADVANCE(61);
1428 if (lookahead == 't') ADVANCE(62);
1429 END_STATE();
1430 case 30:
1431 if (lookahead == 'e') ADVANCE(63);
1432 END_STATE();
1433 case 31:
1434 if (lookahead == 't') ADVANCE(64);
1435 END_STATE();
1436 case 32:
1437 ACCEPT_TOKEN(anon_sym_gt);
1438 if (lookahead == 'e') ADVANCE(65);
1439 END_STATE();
1440 case 33:
1441 if (lookahead == 'c') ADVANCE(66);
1442 END_STATE();
1443 case 34:
1444 if (lookahead == 'a') ADVANCE(67);
1445 END_STATE();
1446 case 35:
1447 ACCEPT_TOKEN(anon_sym_lt);
1448 if (lookahead == 'e') ADVANCE(68);
1449 END_STATE();
1450 case 36:
1451 if (lookahead == 'r') ADVANCE(69);
1452 END_STATE();
1453 case 37:
1454 if (lookahead == 't') ADVANCE(70);
1455 END_STATE();
1456 case 38:
1457 ACCEPT_TOKEN(anon_sym_or);
1458 END_STATE();
1459 case 39:
1460 if (lookahead == 's') ADVANCE(71);
1461 END_STATE();
1462 case 40:
1463 if (lookahead == '_') ADVANCE(72);
1464 END_STATE();
1465 case 41:
1466 if (lookahead == 'a') ADVANCE(73);
1467 END_STATE();
1468 case 42:
1469 if (lookahead == 'l') ADVANCE(74);
1470 END_STATE();
1471 case 43:
1472 if (lookahead == 'i') ADVANCE(75);
1473 END_STATE();
1474 case 44:
1475 if (lookahead == 'b') ADVANCE(76);
1476 END_STATE();
1477 case 45:
1478 if (lookahead == 'e') ADVANCE(77);
1479 if (lookahead == 'g') ADVANCE(78);
1480 if (lookahead == 'o') ADVANCE(79);
1481 if (lookahead == 't') ADVANCE(80);
1482 END_STATE();
1483 case 46:
1484 if (lookahead == 'i') ADVANCE(81);
1485 END_STATE();
1486 case 47:
1487 if (lookahead == 'r') ADVANCE(82);
1488 END_STATE();
1489 case 48:
1490 ACCEPT_TOKEN(anon_sym_add);
1491 END_STATE();
1492 case 49:
1493 if (lookahead == 'o') ADVANCE(83);
1494 END_STATE();
1495 case 50:
1496 ACCEPT_TOKEN(anon_sym_and);
1497 END_STATE();
1498 case 51:
1499 if (lookahead == 'i') ADVANCE(84);
1500 END_STATE();
1501 case 52:
1502 if (lookahead == 'q') ADVANCE(85);
1503 END_STATE();
1504 case 53:
1505 if (lookahead == 'e') ADVANCE(86);
1506 if (lookahead == 't') ADVANCE(87);
1507 END_STATE();
1508 case 54:
1509 if (lookahead == 'f') ADVANCE(88);
1510 END_STATE();
1511 case 55:
1512 if (lookahead == 'y') ADVANCE(89);
1513 END_STATE();
1514 case 56:
1515 if (lookahead == 'n') ADVANCE(90);
1516 END_STATE();
1517 case 57:
1518 if (lookahead == 'a') ADVANCE(91);
1519 END_STATE();
1520 case 58:
1521 if (lookahead == '_') ADVANCE(92);
1522 END_STATE();
1523 case 59:
1524 if (lookahead == 's') ADVANCE(93);
1525 END_STATE();
1526 case 60:
1527 ACCEPT_TOKEN(anon_sym_dec);
1528 END_STATE();
1529 case 61:
1530 if (lookahead == 'c') ADVANCE(94);
1531 END_STATE();
1532 case 62:
1533 if (lookahead == 'r') ADVANCE(95);
1534 END_STATE();
1535 case 63:
1536 if (lookahead == 'e') ADVANCE(96);
1537 END_STATE();
1538 case 64:
1539 if (lookahead == 'e') ADVANCE(97);
1540 END_STATE();
1541 case 65:
1542 ACCEPT_TOKEN(anon_sym_gte);
1543 END_STATE();
1544 case 66:
1545 ACCEPT_TOKEN(anon_sym_inc);
1546 END_STATE();
1547 case 67:
1548 if (lookahead == 'd') ADVANCE(98);
1549 END_STATE();
1550 case 68:
1551 ACCEPT_TOKEN(anon_sym_lte);
1552 END_STATE();
1553 case 69:
1554 if (lookahead == 'g') ADVANCE(99);
1555 END_STATE();
1556 case 70:
1557 ACCEPT_TOKEN(anon_sym_not);
1558 END_STATE();
1559 case 71:
1560 if (lookahead == 's') ADVANCE(100);
1561 END_STATE();
1562 case 72:
1563 if (lookahead == 'd') ADVANCE(101);
1564 if (lookahead == 'i') ADVANCE(102);
1565 END_STATE();
1566 case 73:
1567 if (lookahead == 'd') ADVANCE(103);
1568 END_STATE();
1569 case 74:
1570 ACCEPT_TOKEN(anon_sym_sel);
1571 END_STATE();
1572 case 75:
1573 if (lookahead == 'f') ADVANCE(104);
1574 END_STATE();
1575 case 76:
1576 ACCEPT_TOKEN(anon_sym_sub);
1577 END_STATE();
1578 case 77:
1579 if (lookahead == 'q') ADVANCE(105);
1580 END_STATE();
1581 case 78:
1582 if (lookahead == 'e') ADVANCE(106);
1583 if (lookahead == 't') ADVANCE(107);
1584 END_STATE();
1585 case 79:
1586 if (lookahead == 'f') ADVANCE(108);
1587 END_STATE();
1588 case 80:
1589 if (lookahead == 'y') ADVANCE(109);
1590 END_STATE();
1591 case 81:
1592 if (lookahead == 't') ADVANCE(110);
1593 END_STATE();
1594 case 82:
1595 ACCEPT_TOKEN(anon_sym_xor);
1596 END_STATE();
1597 case 83:
1598 if (lookahead == 'c') ADVANCE(111);
1599 END_STATE();
1600 case 84:
1601 if (lookahead == 'f') ADVANCE(112);
1602 END_STATE();
1603 case 85:
1604 ACCEPT_TOKEN(anon_sym_breq);
1605 END_STATE();
1606 case 86:
1607 ACCEPT_TOKEN(anon_sym_brge);
1608 END_STATE();
1609 case 87:
1610 ACCEPT_TOKEN(anon_sym_brgt);
1611 END_STATE();
1612 case 88:
1613 ACCEPT_TOKEN(anon_sym_brof);
1614 END_STATE();
1615 case 89:
1616 ACCEPT_TOKEN(anon_sym_brty);
1617 END_STATE();
1618 case 90:
1619 if (lookahead == 'g') ADVANCE(113);
1620 END_STATE();
1621 case 91:
1622 if (lookahead == 'r') ADVANCE(114);
1623 END_STATE();
1624 case 92:
1625 if (lookahead == 's') ADVANCE(115);
1626 END_STATE();
1627 case 93:
1628 if (lookahead == 't') ADVANCE(116);
1629 END_STATE();
1630 case 94:
1631 ACCEPT_TOKEN(anon_sym_exec);
1632 END_STATE();
1633 case 95:
1634 if (lookahead == 'a') ADVANCE(117);
1635 END_STATE();
1636 case 96:
1637 ACCEPT_TOKEN(anon_sym_free);
1638 if (lookahead == '_') ADVANCE(118);
1639 END_STATE();
1640 case 97:
1641 ACCEPT_TOKEN(anon_sym_gate);
1642 END_STATE();
1643 case 98:
1644 if (lookahead == '_') ADVANCE(119);
1645 END_STATE();
1646 case 99:
1647 if (lookahead == 'e') ADVANCE(120);
1648 END_STATE();
1649 case 100:
1650 ACCEPT_TOKEN(anon_sym_pass);
1651 END_STATE();
1652 case 101:
1653 if (lookahead == 'e') ADVANCE(121);
1654 END_STATE();
1655 case 102:
1656 if (lookahead == 'n') ADVANCE(122);
1657 END_STATE();
1658 case 103:
1659 ACCEPT_TOKEN(anon_sym_read);
1660 END_STATE();
1661 case 104:
1662 if (lookahead == 't') ADVANCE(123);
1663 END_STATE();
1664 case 105:
1665 ACCEPT_TOKEN(anon_sym_sweq);
1666 END_STATE();
1667 case 106:
1668 ACCEPT_TOKEN(anon_sym_swge);
1669 END_STATE();
1670 case 107:
1671 ACCEPT_TOKEN(anon_sym_swgt);
1672 END_STATE();
1673 case 108:
1674 ACCEPT_TOKEN(anon_sym_swof);
1675 END_STATE();
1676 case 109:
1677 ACCEPT_TOKEN(anon_sym_swty);
1678 END_STATE();
1679 case 110:
1680 if (lookahead == 'e') ADVANCE(124);
1681 END_STATE();
1682 case 111:
1683 ACCEPT_TOKEN(anon_sym_alloc);
1684 END_STATE();
1685 case 112:
1686 if (lookahead == 't') ADVANCE(125);
1687 END_STATE();
1688 case 113:
1689 if (lookahead == 'e') ADVANCE(126);
1690 END_STATE();
1691 case 114:
1692 ACCEPT_TOKEN(anon_sym_clear);
1693 END_STATE();
1694 case 115:
1695 if (lookahead == 'w') ADVANCE(127);
1696 END_STATE();
1697 case 116:
1698 ACCEPT_TOKEN(anon_sym_const);
1699 END_STATE();
1700 case 117:
1701 if (lookahead == 'c') ADVANCE(128);
1702 END_STATE();
1703 case 118:
1704 if (lookahead == 'c') ADVANCE(129);
1705 END_STATE();
1706 case 119:
1707 if (lookahead == 'i') ADVANCE(130);
1708 END_STATE();
1709 case 120:
1710 ACCEPT_TOKEN(anon_sym_merge);
1711 END_STATE();
1712 case 121:
1713 if (lookahead == 'c') ADVANCE(131);
1714 END_STATE();
1715 case 122:
1716 if (lookahead == 'c') ADVANCE(132);
1717 END_STATE();
1718 case 123:
1719 if (lookahead == 'l') ADVANCE(133);
1720 if (lookahead == 'r') ADVANCE(134);
1721 END_STATE();
1722 case 124:
1723 ACCEPT_TOKEN(anon_sym_write);
1724 END_STATE();
1725 case 125:
1726 if (lookahead == 'r') ADVANCE(135);
1727 END_STATE();
1728 case 126:
1729 if (lookahead == '_') ADVANCE(136);
1730 END_STATE();
1731 case 127:
1732 ACCEPT_TOKEN(anon_sym_cmp_sw);
1733 END_STATE();
1734 case 128:
1735 if (lookahead == 't') ADVANCE(137);
1736 END_STATE();
1737 case 129:
1738 if (lookahead == 't') ADVANCE(138);
1739 END_STATE();
1740 case 130:
1741 if (lookahead == 'n') ADVANCE(139);
1742 END_STATE();
1743 case 131:
1744 ACCEPT_TOKEN(anon_sym_rd_dec);
1745 END_STATE();
1746 case 132:
1747 ACCEPT_TOKEN(anon_sym_rd_inc);
1748 END_STATE();
1749 case 133:
1750 ACCEPT_TOKEN(anon_sym_shiftl);
1751 END_STATE();
1752 case 134:
1753 ACCEPT_TOKEN(anon_sym_shiftr);
1754 END_STATE();
1755 case 135:
1756 ACCEPT_TOKEN(anon_sym_ashiftr);
1757 END_STATE();
1758 case 136:
1759 if (lookahead == 't') ADVANCE(140);
1760 END_STATE();
1761 case 137:
1762 if (lookahead == '_') ADVANCE(141);
1763 END_STATE();
1764 case 138:
1765 if (lookahead == 'x') ADVANCE(142);
1766 END_STATE();
1767 case 139:
1768 if (lookahead == 's') ADVANCE(143);
1769 END_STATE();
1770 case 140:
1771 if (lookahead == 'a') ADVANCE(144);
1772 END_STATE();
1773 case 141:
1774 if (lookahead == 't') ADVANCE(145);
1775 END_STATE();
1776 case 142:
1777 ACCEPT_TOKEN(anon_sym_free_ctx);
1778 END_STATE();
1779 case 143:
1780 if (lookahead == 't') ADVANCE(146);
1781 END_STATE();
1782 case 144:
1783 if (lookahead == 'g') ADVANCE(147);
1784 END_STATE();
1785 case 145:
1786 if (lookahead == 'a') ADVANCE(148);
1787 END_STATE();
1788 case 146:
1789 ACCEPT_TOKEN(anon_sym_load_inst);
1790 END_STATE();
1791 case 147:
1792 ACCEPT_TOKEN(anon_sym_change_tag);
1793 END_STATE();
1794 case 148:
1795 if (lookahead == 'g') ADVANCE(149);
1796 END_STATE();
1797 case 149:
1798 ACCEPT_TOKEN(anon_sym_extract_tag);
1799 END_STATE();
1800 default:
1801 return false;
1802 }
1803}
1804
1805static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
1806 [0] = {.lex_state = 0},
1807 [1] = {.lex_state = 16},
1808 [2] = {.lex_state = 16},
1809 [3] = {.lex_state = 16},
1810 [4] = {.lex_state = 16},
1811 [5] = {.lex_state = 16},
1812 [6] = {.lex_state = 0},
1813 [7] = {.lex_state = 0},
1814 [8] = {.lex_state = 0},
1815 [9] = {.lex_state = 0},
1816 [10] = {.lex_state = 16},
1817 [11] = {.lex_state = 16},
1818 [12] = {.lex_state = 0},
1819 [13] = {.lex_state = 0},
1820 [14] = {.lex_state = 0},
1821 [15] = {.lex_state = 0},
1822 [16] = {.lex_state = 0},
1823 [17] = {.lex_state = 0},
1824 [18] = {.lex_state = 16},
1825 [19] = {.lex_state = 16},
1826 [20] = {.lex_state = 16},
1827 [21] = {.lex_state = 16},
1828 [22] = {.lex_state = 16},
1829 [23] = {.lex_state = 16},
1830 [24] = {.lex_state = 16},
1831 [25] = {.lex_state = 16},
1832 [26] = {.lex_state = 16},
1833 [27] = {.lex_state = 16},
1834 [28] = {.lex_state = 16},
1835 [29] = {.lex_state = 16},
1836 [30] = {.lex_state = 16},
1837 [31] = {.lex_state = 16},
1838 [32] = {.lex_state = 16},
1839 [33] = {.lex_state = 16},
1840 [34] = {.lex_state = 16},
1841 [35] = {.lex_state = 16},
1842 [36] = {.lex_state = 16},
1843 [37] = {.lex_state = 16},
1844 [38] = {.lex_state = 16},
1845 [39] = {.lex_state = 16},
1846 [40] = {.lex_state = 16},
1847 [41] = {.lex_state = 16},
1848 [42] = {.lex_state = 16},
1849 [43] = {.lex_state = 16},
1850 [44] = {.lex_state = 16},
1851 [45] = {.lex_state = 16},
1852 [46] = {.lex_state = 16},
1853 [47] = {.lex_state = 16},
1854 [48] = {.lex_state = 16},
1855 [49] = {.lex_state = 16},
1856 [50] = {.lex_state = 16},
1857 [51] = {.lex_state = 16},
1858 [52] = {.lex_state = 16},
1859 [53] = {.lex_state = 16},
1860 [54] = {.lex_state = 16},
1861 [55] = {.lex_state = 16},
1862 [56] = {.lex_state = 1},
1863 [57] = {.lex_state = 1},
1864 [58] = {.lex_state = 1},
1865 [59] = {.lex_state = 1},
1866 [60] = {.lex_state = 0},
1867 [61] = {.lex_state = 0},
1868 [62] = {.lex_state = 1},
1869 [63] = {.lex_state = 1},
1870 [64] = {.lex_state = 1},
1871 [65] = {.lex_state = 1},
1872 [66] = {.lex_state = 1},
1873 [67] = {.lex_state = 2},
1874 [68] = {.lex_state = 2},
1875 [69] = {.lex_state = 2},
1876 [70] = {.lex_state = 2},
1877 [71] = {.lex_state = 16},
1878 [72] = {.lex_state = 2},
1879 [73] = {.lex_state = 0},
1880 [74] = {.lex_state = 0},
1881 [75] = {.lex_state = 0},
1882 [76] = {.lex_state = 16},
1883 [77] = {.lex_state = 16},
1884 [78] = {.lex_state = 3},
1885 [79] = {.lex_state = 0},
1886 [80] = {.lex_state = 16},
1887 [81] = {.lex_state = 0},
1888 [82] = {.lex_state = 0},
1889 [83] = {.lex_state = 16},
1890 [84] = {.lex_state = 43},
1891 [85] = {.lex_state = 0},
1892 [86] = {.lex_state = 0},
1893 [87] = {.lex_state = 0},
1894 [88] = {.lex_state = 16},
1895 [89] = {.lex_state = 16},
1896 [90] = {.lex_state = 16},
1897 [91] = {.lex_state = 0},
1898};
1899
1900static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1901 [STATE(0)] = {
1902 [ts_builtin_sym_end] = ACTIONS(1),
1903 [sym_identifier] = ACTIONS(1),
1904 [anon_sym_LBRACE] = ACTIONS(1),
1905 [anon_sym_RBRACE] = ACTIONS(1),
1906 [anon_sym_COMMA] = ACTIONS(1),
1907 [anon_sym_EQ] = ACTIONS(1),
1908 [anon_sym_ATsystem] = ACTIONS(1),
1909 [anon_sym_AT] = ACTIONS(1),
1910 [anon_sym_AMP] = ACTIONS(1),
1911 [anon_sym_DOLLAR] = ACTIONS(1),
1912 [anon_sym_PIPE] = ACTIONS(1),
1913 [anon_sym_COLON] = ACTIONS(1),
1914 [sym_hex_literal] = ACTIONS(1),
1915 [sym_dec_literal] = ACTIONS(1),
1916 [anon_sym_SQUOTE] = ACTIONS(1),
1917 [anon_sym_DQUOTE] = ACTIONS(1),
1918 [anon_sym_r_DQUOTE] = ACTIONS(1),
1919 [anon_sym_b_DQUOTE] = ACTIONS(1),
1920 [sym_escape_sequence] = ACTIONS(1),
1921 [anon_sym_POUND] = ACTIONS(1),
1922 [anon_sym_add] = ACTIONS(1),
1923 [anon_sym_sub] = ACTIONS(1),
1924 [anon_sym_inc] = ACTIONS(1),
1925 [anon_sym_dec] = ACTIONS(1),
1926 [anon_sym_shiftl] = ACTIONS(1),
1927 [anon_sym_shiftr] = ACTIONS(1),
1928 [anon_sym_ashiftr] = ACTIONS(1),
1929 [anon_sym_and] = ACTIONS(1),
1930 [anon_sym_or] = ACTIONS(1),
1931 [anon_sym_xor] = ACTIONS(1),
1932 [anon_sym_not] = ACTIONS(1),
1933 [anon_sym_eq] = ACTIONS(1),
1934 [anon_sym_lt] = ACTIONS(1),
1935 [anon_sym_lte] = ACTIONS(1),
1936 [anon_sym_gt] = ACTIONS(1),
1937 [anon_sym_gte] = ACTIONS(1),
1938 [anon_sym_breq] = ACTIONS(1),
1939 [anon_sym_brgt] = ACTIONS(1),
1940 [anon_sym_brge] = ACTIONS(1),
1941 [anon_sym_brof] = ACTIONS(1),
1942 [anon_sym_brty] = ACTIONS(1),
1943 [anon_sym_sweq] = ACTIONS(1),
1944 [anon_sym_swgt] = ACTIONS(1),
1945 [anon_sym_swge] = ACTIONS(1),
1946 [anon_sym_swof] = ACTIONS(1),
1947 [anon_sym_swty] = ACTIONS(1),
1948 [anon_sym_gate] = ACTIONS(1),
1949 [anon_sym_sel] = ACTIONS(1),
1950 [anon_sym_merge] = ACTIONS(1),
1951 [anon_sym_pass] = ACTIONS(1),
1952 [anon_sym_const] = ACTIONS(1),
1953 [anon_sym_free_ctx] = ACTIONS(1),
1954 [anon_sym_change_tag] = ACTIONS(1),
1955 [anon_sym_extract_tag] = ACTIONS(1),
1956 [anon_sym_read] = ACTIONS(1),
1957 [anon_sym_write] = ACTIONS(1),
1958 [anon_sym_clear] = ACTIONS(1),
1959 [anon_sym_alloc] = ACTIONS(1),
1960 [anon_sym_exec] = ACTIONS(1),
1961 [anon_sym_free] = ACTIONS(1),
1962 [anon_sym_rd_inc] = ACTIONS(1),
1963 [anon_sym_rd_dec] = ACTIONS(1),
1964 [anon_sym_cmp_sw] = ACTIONS(1),
1965 [anon_sym_load_inst] = ACTIONS(1),
1966 [sym_flow_in] = ACTIONS(1),
1967 [sym_flow_out] = ACTIONS(1),
1968 [sym_comment] = ACTIONS(3),
1969 },
1970 [STATE(1)] = {
1971 [sym_program] = STATE(81),
1972 [sym__statement] = STATE(3),
1973 [sym_func_def] = STATE(3),
1974 [sym_inst_def] = STATE(3),
1975 [sym_strong_edge] = STATE(3),
1976 [sym_weak_edge] = STATE(3),
1977 [sym_plain_edge] = STATE(3),
1978 [sym_data_def] = STATE(3),
1979 [sym_pragma] = STATE(3),
1980 [sym_location_dir] = STATE(3),
1981 [sym_ref_list] = STATE(54),
1982 [sym_qualified_ref] = STATE(22),
1983 [sym_node_ref] = STATE(10),
1984 [sym_label_ref] = STATE(10),
1985 [sym_func_ref] = STATE(11),
1986 [sym_opcode] = STATE(56),
1987 [aux_sym_program_repeat1] = STATE(3),
1988 [ts_builtin_sym_end] = ACTIONS(5),
1989 [anon_sym_ATsystem] = ACTIONS(7),
1990 [anon_sym_AT] = ACTIONS(9),
1991 [anon_sym_AMP] = ACTIONS(11),
1992 [anon_sym_DOLLAR] = ACTIONS(13),
1993 [anon_sym_add] = ACTIONS(15),
1994 [anon_sym_sub] = ACTIONS(15),
1995 [anon_sym_inc] = ACTIONS(15),
1996 [anon_sym_dec] = ACTIONS(15),
1997 [anon_sym_shiftl] = ACTIONS(15),
1998 [anon_sym_shiftr] = ACTIONS(15),
1999 [anon_sym_ashiftr] = ACTIONS(15),
2000 [anon_sym_and] = ACTIONS(15),
2001 [anon_sym_or] = ACTIONS(15),
2002 [anon_sym_xor] = ACTIONS(15),
2003 [anon_sym_not] = ACTIONS(15),
2004 [anon_sym_eq] = ACTIONS(15),
2005 [anon_sym_lt] = ACTIONS(17),
2006 [anon_sym_lte] = ACTIONS(15),
2007 [anon_sym_gt] = ACTIONS(17),
2008 [anon_sym_gte] = ACTIONS(15),
2009 [anon_sym_breq] = ACTIONS(15),
2010 [anon_sym_brgt] = ACTIONS(15),
2011 [anon_sym_brge] = ACTIONS(15),
2012 [anon_sym_brof] = ACTIONS(15),
2013 [anon_sym_brty] = ACTIONS(15),
2014 [anon_sym_sweq] = ACTIONS(15),
2015 [anon_sym_swgt] = ACTIONS(15),
2016 [anon_sym_swge] = ACTIONS(15),
2017 [anon_sym_swof] = ACTIONS(15),
2018 [anon_sym_swty] = ACTIONS(15),
2019 [anon_sym_gate] = ACTIONS(15),
2020 [anon_sym_sel] = ACTIONS(15),
2021 [anon_sym_merge] = ACTIONS(15),
2022 [anon_sym_pass] = ACTIONS(15),
2023 [anon_sym_const] = ACTIONS(15),
2024 [anon_sym_free_ctx] = ACTIONS(15),
2025 [anon_sym_change_tag] = ACTIONS(15),
2026 [anon_sym_extract_tag] = ACTIONS(15),
2027 [anon_sym_read] = ACTIONS(15),
2028 [anon_sym_write] = ACTIONS(15),
2029 [anon_sym_clear] = ACTIONS(15),
2030 [anon_sym_alloc] = ACTIONS(15),
2031 [anon_sym_exec] = ACTIONS(15),
2032 [anon_sym_free] = ACTIONS(17),
2033 [anon_sym_rd_inc] = ACTIONS(15),
2034 [anon_sym_rd_dec] = ACTIONS(15),
2035 [anon_sym_cmp_sw] = ACTIONS(15),
2036 [anon_sym_load_inst] = ACTIONS(15),
2037 [sym_comment] = ACTIONS(3),
2038 },
2039 [STATE(2)] = {
2040 [sym__statement] = STATE(2),
2041 [sym_func_def] = STATE(2),
2042 [sym_inst_def] = STATE(2),
2043 [sym_strong_edge] = STATE(2),
2044 [sym_weak_edge] = STATE(2),
2045 [sym_plain_edge] = STATE(2),
2046 [sym_data_def] = STATE(2),
2047 [sym_pragma] = STATE(2),
2048 [sym_location_dir] = STATE(2),
2049 [sym_ref_list] = STATE(54),
2050 [sym_qualified_ref] = STATE(22),
2051 [sym_node_ref] = STATE(10),
2052 [sym_label_ref] = STATE(10),
2053 [sym_func_ref] = STATE(11),
2054 [sym_opcode] = STATE(56),
2055 [aux_sym_program_repeat1] = STATE(2),
2056 [ts_builtin_sym_end] = ACTIONS(19),
2057 [anon_sym_RBRACE] = ACTIONS(19),
2058 [anon_sym_ATsystem] = ACTIONS(21),
2059 [anon_sym_AT] = ACTIONS(24),
2060 [anon_sym_AMP] = ACTIONS(27),
2061 [anon_sym_DOLLAR] = ACTIONS(30),
2062 [anon_sym_add] = ACTIONS(33),
2063 [anon_sym_sub] = ACTIONS(33),
2064 [anon_sym_inc] = ACTIONS(33),
2065 [anon_sym_dec] = ACTIONS(33),
2066 [anon_sym_shiftl] = ACTIONS(33),
2067 [anon_sym_shiftr] = ACTIONS(33),
2068 [anon_sym_ashiftr] = ACTIONS(33),
2069 [anon_sym_and] = ACTIONS(33),
2070 [anon_sym_or] = ACTIONS(33),
2071 [anon_sym_xor] = ACTIONS(33),
2072 [anon_sym_not] = ACTIONS(33),
2073 [anon_sym_eq] = ACTIONS(33),
2074 [anon_sym_lt] = ACTIONS(36),
2075 [anon_sym_lte] = ACTIONS(33),
2076 [anon_sym_gt] = ACTIONS(36),
2077 [anon_sym_gte] = ACTIONS(33),
2078 [anon_sym_breq] = ACTIONS(33),
2079 [anon_sym_brgt] = ACTIONS(33),
2080 [anon_sym_brge] = ACTIONS(33),
2081 [anon_sym_brof] = ACTIONS(33),
2082 [anon_sym_brty] = ACTIONS(33),
2083 [anon_sym_sweq] = ACTIONS(33),
2084 [anon_sym_swgt] = ACTIONS(33),
2085 [anon_sym_swge] = ACTIONS(33),
2086 [anon_sym_swof] = ACTIONS(33),
2087 [anon_sym_swty] = ACTIONS(33),
2088 [anon_sym_gate] = ACTIONS(33),
2089 [anon_sym_sel] = ACTIONS(33),
2090 [anon_sym_merge] = ACTIONS(33),
2091 [anon_sym_pass] = ACTIONS(33),
2092 [anon_sym_const] = ACTIONS(33),
2093 [anon_sym_free_ctx] = ACTIONS(33),
2094 [anon_sym_change_tag] = ACTIONS(33),
2095 [anon_sym_extract_tag] = ACTIONS(33),
2096 [anon_sym_read] = ACTIONS(33),
2097 [anon_sym_write] = ACTIONS(33),
2098 [anon_sym_clear] = ACTIONS(33),
2099 [anon_sym_alloc] = ACTIONS(33),
2100 [anon_sym_exec] = ACTIONS(33),
2101 [anon_sym_free] = ACTIONS(36),
2102 [anon_sym_rd_inc] = ACTIONS(33),
2103 [anon_sym_rd_dec] = ACTIONS(33),
2104 [anon_sym_cmp_sw] = ACTIONS(33),
2105 [anon_sym_load_inst] = ACTIONS(33),
2106 [sym_comment] = ACTIONS(3),
2107 },
2108 [STATE(3)] = {
2109 [sym__statement] = STATE(2),
2110 [sym_func_def] = STATE(2),
2111 [sym_inst_def] = STATE(2),
2112 [sym_strong_edge] = STATE(2),
2113 [sym_weak_edge] = STATE(2),
2114 [sym_plain_edge] = STATE(2),
2115 [sym_data_def] = STATE(2),
2116 [sym_pragma] = STATE(2),
2117 [sym_location_dir] = STATE(2),
2118 [sym_ref_list] = STATE(54),
2119 [sym_qualified_ref] = STATE(22),
2120 [sym_node_ref] = STATE(10),
2121 [sym_label_ref] = STATE(10),
2122 [sym_func_ref] = STATE(11),
2123 [sym_opcode] = STATE(56),
2124 [aux_sym_program_repeat1] = STATE(2),
2125 [ts_builtin_sym_end] = ACTIONS(39),
2126 [anon_sym_ATsystem] = ACTIONS(7),
2127 [anon_sym_AT] = ACTIONS(9),
2128 [anon_sym_AMP] = ACTIONS(11),
2129 [anon_sym_DOLLAR] = ACTIONS(13),
2130 [anon_sym_add] = ACTIONS(15),
2131 [anon_sym_sub] = ACTIONS(15),
2132 [anon_sym_inc] = ACTIONS(15),
2133 [anon_sym_dec] = ACTIONS(15),
2134 [anon_sym_shiftl] = ACTIONS(15),
2135 [anon_sym_shiftr] = ACTIONS(15),
2136 [anon_sym_ashiftr] = ACTIONS(15),
2137 [anon_sym_and] = ACTIONS(15),
2138 [anon_sym_or] = ACTIONS(15),
2139 [anon_sym_xor] = ACTIONS(15),
2140 [anon_sym_not] = ACTIONS(15),
2141 [anon_sym_eq] = ACTIONS(15),
2142 [anon_sym_lt] = ACTIONS(17),
2143 [anon_sym_lte] = ACTIONS(15),
2144 [anon_sym_gt] = ACTIONS(17),
2145 [anon_sym_gte] = ACTIONS(15),
2146 [anon_sym_breq] = ACTIONS(15),
2147 [anon_sym_brgt] = ACTIONS(15),
2148 [anon_sym_brge] = ACTIONS(15),
2149 [anon_sym_brof] = ACTIONS(15),
2150 [anon_sym_brty] = ACTIONS(15),
2151 [anon_sym_sweq] = ACTIONS(15),
2152 [anon_sym_swgt] = ACTIONS(15),
2153 [anon_sym_swge] = ACTIONS(15),
2154 [anon_sym_swof] = ACTIONS(15),
2155 [anon_sym_swty] = ACTIONS(15),
2156 [anon_sym_gate] = ACTIONS(15),
2157 [anon_sym_sel] = ACTIONS(15),
2158 [anon_sym_merge] = ACTIONS(15),
2159 [anon_sym_pass] = ACTIONS(15),
2160 [anon_sym_const] = ACTIONS(15),
2161 [anon_sym_free_ctx] = ACTIONS(15),
2162 [anon_sym_change_tag] = ACTIONS(15),
2163 [anon_sym_extract_tag] = ACTIONS(15),
2164 [anon_sym_read] = ACTIONS(15),
2165 [anon_sym_write] = ACTIONS(15),
2166 [anon_sym_clear] = ACTIONS(15),
2167 [anon_sym_alloc] = ACTIONS(15),
2168 [anon_sym_exec] = ACTIONS(15),
2169 [anon_sym_free] = ACTIONS(17),
2170 [anon_sym_rd_inc] = ACTIONS(15),
2171 [anon_sym_rd_dec] = ACTIONS(15),
2172 [anon_sym_cmp_sw] = ACTIONS(15),
2173 [anon_sym_load_inst] = ACTIONS(15),
2174 [sym_comment] = ACTIONS(3),
2175 },
2176 [STATE(4)] = {
2177 [sym__statement] = STATE(2),
2178 [sym_func_def] = STATE(2),
2179 [sym_inst_def] = STATE(2),
2180 [sym_strong_edge] = STATE(2),
2181 [sym_weak_edge] = STATE(2),
2182 [sym_plain_edge] = STATE(2),
2183 [sym_data_def] = STATE(2),
2184 [sym_pragma] = STATE(2),
2185 [sym_location_dir] = STATE(2),
2186 [sym_ref_list] = STATE(54),
2187 [sym_qualified_ref] = STATE(22),
2188 [sym_node_ref] = STATE(10),
2189 [sym_label_ref] = STATE(10),
2190 [sym_func_ref] = STATE(11),
2191 [sym_opcode] = STATE(56),
2192 [aux_sym_program_repeat1] = STATE(2),
2193 [anon_sym_RBRACE] = ACTIONS(41),
2194 [anon_sym_ATsystem] = ACTIONS(7),
2195 [anon_sym_AT] = ACTIONS(9),
2196 [anon_sym_AMP] = ACTIONS(11),
2197 [anon_sym_DOLLAR] = ACTIONS(13),
2198 [anon_sym_add] = ACTIONS(15),
2199 [anon_sym_sub] = ACTIONS(15),
2200 [anon_sym_inc] = ACTIONS(15),
2201 [anon_sym_dec] = ACTIONS(15),
2202 [anon_sym_shiftl] = ACTIONS(15),
2203 [anon_sym_shiftr] = ACTIONS(15),
2204 [anon_sym_ashiftr] = ACTIONS(15),
2205 [anon_sym_and] = ACTIONS(15),
2206 [anon_sym_or] = ACTIONS(15),
2207 [anon_sym_xor] = ACTIONS(15),
2208 [anon_sym_not] = ACTIONS(15),
2209 [anon_sym_eq] = ACTIONS(15),
2210 [anon_sym_lt] = ACTIONS(17),
2211 [anon_sym_lte] = ACTIONS(15),
2212 [anon_sym_gt] = ACTIONS(17),
2213 [anon_sym_gte] = ACTIONS(15),
2214 [anon_sym_breq] = ACTIONS(15),
2215 [anon_sym_brgt] = ACTIONS(15),
2216 [anon_sym_brge] = ACTIONS(15),
2217 [anon_sym_brof] = ACTIONS(15),
2218 [anon_sym_brty] = ACTIONS(15),
2219 [anon_sym_sweq] = ACTIONS(15),
2220 [anon_sym_swgt] = ACTIONS(15),
2221 [anon_sym_swge] = ACTIONS(15),
2222 [anon_sym_swof] = ACTIONS(15),
2223 [anon_sym_swty] = ACTIONS(15),
2224 [anon_sym_gate] = ACTIONS(15),
2225 [anon_sym_sel] = ACTIONS(15),
2226 [anon_sym_merge] = ACTIONS(15),
2227 [anon_sym_pass] = ACTIONS(15),
2228 [anon_sym_const] = ACTIONS(15),
2229 [anon_sym_free_ctx] = ACTIONS(15),
2230 [anon_sym_change_tag] = ACTIONS(15),
2231 [anon_sym_extract_tag] = ACTIONS(15),
2232 [anon_sym_read] = ACTIONS(15),
2233 [anon_sym_write] = ACTIONS(15),
2234 [anon_sym_clear] = ACTIONS(15),
2235 [anon_sym_alloc] = ACTIONS(15),
2236 [anon_sym_exec] = ACTIONS(15),
2237 [anon_sym_free] = ACTIONS(17),
2238 [anon_sym_rd_inc] = ACTIONS(15),
2239 [anon_sym_rd_dec] = ACTIONS(15),
2240 [anon_sym_cmp_sw] = ACTIONS(15),
2241 [anon_sym_load_inst] = ACTIONS(15),
2242 [sym_comment] = ACTIONS(3),
2243 },
2244 [STATE(5)] = {
2245 [sym__statement] = STATE(4),
2246 [sym_func_def] = STATE(4),
2247 [sym_inst_def] = STATE(4),
2248 [sym_strong_edge] = STATE(4),
2249 [sym_weak_edge] = STATE(4),
2250 [sym_plain_edge] = STATE(4),
2251 [sym_data_def] = STATE(4),
2252 [sym_pragma] = STATE(4),
2253 [sym_location_dir] = STATE(4),
2254 [sym_ref_list] = STATE(54),
2255 [sym_qualified_ref] = STATE(22),
2256 [sym_node_ref] = STATE(10),
2257 [sym_label_ref] = STATE(10),
2258 [sym_func_ref] = STATE(11),
2259 [sym_opcode] = STATE(56),
2260 [aux_sym_program_repeat1] = STATE(4),
2261 [anon_sym_RBRACE] = ACTIONS(43),
2262 [anon_sym_ATsystem] = ACTIONS(7),
2263 [anon_sym_AT] = ACTIONS(9),
2264 [anon_sym_AMP] = ACTIONS(11),
2265 [anon_sym_DOLLAR] = ACTIONS(13),
2266 [anon_sym_add] = ACTIONS(15),
2267 [anon_sym_sub] = ACTIONS(15),
2268 [anon_sym_inc] = ACTIONS(15),
2269 [anon_sym_dec] = ACTIONS(15),
2270 [anon_sym_shiftl] = ACTIONS(15),
2271 [anon_sym_shiftr] = ACTIONS(15),
2272 [anon_sym_ashiftr] = ACTIONS(15),
2273 [anon_sym_and] = ACTIONS(15),
2274 [anon_sym_or] = ACTIONS(15),
2275 [anon_sym_xor] = ACTIONS(15),
2276 [anon_sym_not] = ACTIONS(15),
2277 [anon_sym_eq] = ACTIONS(15),
2278 [anon_sym_lt] = ACTIONS(17),
2279 [anon_sym_lte] = ACTIONS(15),
2280 [anon_sym_gt] = ACTIONS(17),
2281 [anon_sym_gte] = ACTIONS(15),
2282 [anon_sym_breq] = ACTIONS(15),
2283 [anon_sym_brgt] = ACTIONS(15),
2284 [anon_sym_brge] = ACTIONS(15),
2285 [anon_sym_brof] = ACTIONS(15),
2286 [anon_sym_brty] = ACTIONS(15),
2287 [anon_sym_sweq] = ACTIONS(15),
2288 [anon_sym_swgt] = ACTIONS(15),
2289 [anon_sym_swge] = ACTIONS(15),
2290 [anon_sym_swof] = ACTIONS(15),
2291 [anon_sym_swty] = ACTIONS(15),
2292 [anon_sym_gate] = ACTIONS(15),
2293 [anon_sym_sel] = ACTIONS(15),
2294 [anon_sym_merge] = ACTIONS(15),
2295 [anon_sym_pass] = ACTIONS(15),
2296 [anon_sym_const] = ACTIONS(15),
2297 [anon_sym_free_ctx] = ACTIONS(15),
2298 [anon_sym_change_tag] = ACTIONS(15),
2299 [anon_sym_extract_tag] = ACTIONS(15),
2300 [anon_sym_read] = ACTIONS(15),
2301 [anon_sym_write] = ACTIONS(15),
2302 [anon_sym_clear] = ACTIONS(15),
2303 [anon_sym_alloc] = ACTIONS(15),
2304 [anon_sym_exec] = ACTIONS(15),
2305 [anon_sym_free] = ACTIONS(17),
2306 [anon_sym_rd_inc] = ACTIONS(15),
2307 [anon_sym_rd_dec] = ACTIONS(15),
2308 [anon_sym_cmp_sw] = ACTIONS(15),
2309 [anon_sym_load_inst] = ACTIONS(15),
2310 [sym_comment] = ACTIONS(3),
2311 },
2312 [STATE(6)] = {
2313 [sym__value] = STATE(8),
2314 [sym_number_literal] = STATE(8),
2315 [sym_char_literal] = STATE(8),
2316 [sym_string_literal] = STATE(8),
2317 [sym_raw_string_literal] = STATE(8),
2318 [sym_byte_string_literal] = STATE(8),
2319 [aux_sym_macro_call_repeat1] = STATE(8),
2320 [ts_builtin_sym_end] = ACTIONS(45),
2321 [anon_sym_RBRACE] = ACTIONS(45),
2322 [anon_sym_ATsystem] = ACTIONS(45),
2323 [anon_sym_AT] = ACTIONS(47),
2324 [anon_sym_AMP] = ACTIONS(45),
2325 [anon_sym_DOLLAR] = ACTIONS(45),
2326 [sym_hex_literal] = ACTIONS(49),
2327 [sym_dec_literal] = ACTIONS(51),
2328 [anon_sym_SQUOTE] = ACTIONS(53),
2329 [anon_sym_DQUOTE] = ACTIONS(55),
2330 [anon_sym_r_DQUOTE] = ACTIONS(57),
2331 [anon_sym_b_DQUOTE] = ACTIONS(59),
2332 [anon_sym_add] = ACTIONS(45),
2333 [anon_sym_sub] = ACTIONS(45),
2334 [anon_sym_inc] = ACTIONS(45),
2335 [anon_sym_dec] = ACTIONS(45),
2336 [anon_sym_shiftl] = ACTIONS(45),
2337 [anon_sym_shiftr] = ACTIONS(45),
2338 [anon_sym_ashiftr] = ACTIONS(45),
2339 [anon_sym_and] = ACTIONS(45),
2340 [anon_sym_or] = ACTIONS(45),
2341 [anon_sym_xor] = ACTIONS(45),
2342 [anon_sym_not] = ACTIONS(45),
2343 [anon_sym_eq] = ACTIONS(45),
2344 [anon_sym_lt] = ACTIONS(47),
2345 [anon_sym_lte] = ACTIONS(45),
2346 [anon_sym_gt] = ACTIONS(47),
2347 [anon_sym_gte] = ACTIONS(45),
2348 [anon_sym_breq] = ACTIONS(45),
2349 [anon_sym_brgt] = ACTIONS(45),
2350 [anon_sym_brge] = ACTIONS(45),
2351 [anon_sym_brof] = ACTIONS(45),
2352 [anon_sym_brty] = ACTIONS(45),
2353 [anon_sym_sweq] = ACTIONS(45),
2354 [anon_sym_swgt] = ACTIONS(45),
2355 [anon_sym_swge] = ACTIONS(45),
2356 [anon_sym_swof] = ACTIONS(45),
2357 [anon_sym_swty] = ACTIONS(45),
2358 [anon_sym_gate] = ACTIONS(45),
2359 [anon_sym_sel] = ACTIONS(45),
2360 [anon_sym_merge] = ACTIONS(45),
2361 [anon_sym_pass] = ACTIONS(45),
2362 [anon_sym_const] = ACTIONS(45),
2363 [anon_sym_free_ctx] = ACTIONS(45),
2364 [anon_sym_change_tag] = ACTIONS(45),
2365 [anon_sym_extract_tag] = ACTIONS(45),
2366 [anon_sym_read] = ACTIONS(45),
2367 [anon_sym_write] = ACTIONS(45),
2368 [anon_sym_clear] = ACTIONS(45),
2369 [anon_sym_alloc] = ACTIONS(45),
2370 [anon_sym_exec] = ACTIONS(45),
2371 [anon_sym_free] = ACTIONS(47),
2372 [anon_sym_rd_inc] = ACTIONS(45),
2373 [anon_sym_rd_dec] = ACTIONS(45),
2374 [anon_sym_cmp_sw] = ACTIONS(45),
2375 [anon_sym_load_inst] = ACTIONS(45),
2376 [sym_comment] = ACTIONS(3),
2377 },
2378 [STATE(7)] = {
2379 [sym__value] = STATE(6),
2380 [sym_number_literal] = STATE(6),
2381 [sym_char_literal] = STATE(6),
2382 [sym_string_literal] = STATE(6),
2383 [sym_raw_string_literal] = STATE(6),
2384 [sym_byte_string_literal] = STATE(6),
2385 [aux_sym_macro_call_repeat1] = STATE(6),
2386 [ts_builtin_sym_end] = ACTIONS(61),
2387 [anon_sym_RBRACE] = ACTIONS(61),
2388 [anon_sym_ATsystem] = ACTIONS(61),
2389 [anon_sym_AT] = ACTIONS(63),
2390 [anon_sym_AMP] = ACTIONS(61),
2391 [anon_sym_DOLLAR] = ACTIONS(61),
2392 [sym_hex_literal] = ACTIONS(49),
2393 [sym_dec_literal] = ACTIONS(51),
2394 [anon_sym_SQUOTE] = ACTIONS(53),
2395 [anon_sym_DQUOTE] = ACTIONS(55),
2396 [anon_sym_r_DQUOTE] = ACTIONS(57),
2397 [anon_sym_b_DQUOTE] = ACTIONS(59),
2398 [anon_sym_add] = ACTIONS(61),
2399 [anon_sym_sub] = ACTIONS(61),
2400 [anon_sym_inc] = ACTIONS(61),
2401 [anon_sym_dec] = ACTIONS(61),
2402 [anon_sym_shiftl] = ACTIONS(61),
2403 [anon_sym_shiftr] = ACTIONS(61),
2404 [anon_sym_ashiftr] = ACTIONS(61),
2405 [anon_sym_and] = ACTIONS(61),
2406 [anon_sym_or] = ACTIONS(61),
2407 [anon_sym_xor] = ACTIONS(61),
2408 [anon_sym_not] = ACTIONS(61),
2409 [anon_sym_eq] = ACTIONS(61),
2410 [anon_sym_lt] = ACTIONS(63),
2411 [anon_sym_lte] = ACTIONS(61),
2412 [anon_sym_gt] = ACTIONS(63),
2413 [anon_sym_gte] = ACTIONS(61),
2414 [anon_sym_breq] = ACTIONS(61),
2415 [anon_sym_brgt] = ACTIONS(61),
2416 [anon_sym_brge] = ACTIONS(61),
2417 [anon_sym_brof] = ACTIONS(61),
2418 [anon_sym_brty] = ACTIONS(61),
2419 [anon_sym_sweq] = ACTIONS(61),
2420 [anon_sym_swgt] = ACTIONS(61),
2421 [anon_sym_swge] = ACTIONS(61),
2422 [anon_sym_swof] = ACTIONS(61),
2423 [anon_sym_swty] = ACTIONS(61),
2424 [anon_sym_gate] = ACTIONS(61),
2425 [anon_sym_sel] = ACTIONS(61),
2426 [anon_sym_merge] = ACTIONS(61),
2427 [anon_sym_pass] = ACTIONS(61),
2428 [anon_sym_const] = ACTIONS(61),
2429 [anon_sym_free_ctx] = ACTIONS(61),
2430 [anon_sym_change_tag] = ACTIONS(61),
2431 [anon_sym_extract_tag] = ACTIONS(61),
2432 [anon_sym_read] = ACTIONS(61),
2433 [anon_sym_write] = ACTIONS(61),
2434 [anon_sym_clear] = ACTIONS(61),
2435 [anon_sym_alloc] = ACTIONS(61),
2436 [anon_sym_exec] = ACTIONS(61),
2437 [anon_sym_free] = ACTIONS(63),
2438 [anon_sym_rd_inc] = ACTIONS(61),
2439 [anon_sym_rd_dec] = ACTIONS(61),
2440 [anon_sym_cmp_sw] = ACTIONS(61),
2441 [anon_sym_load_inst] = ACTIONS(61),
2442 [sym_comment] = ACTIONS(3),
2443 },
2444 [STATE(8)] = {
2445 [sym__value] = STATE(8),
2446 [sym_number_literal] = STATE(8),
2447 [sym_char_literal] = STATE(8),
2448 [sym_string_literal] = STATE(8),
2449 [sym_raw_string_literal] = STATE(8),
2450 [sym_byte_string_literal] = STATE(8),
2451 [aux_sym_macro_call_repeat1] = STATE(8),
2452 [ts_builtin_sym_end] = ACTIONS(65),
2453 [anon_sym_RBRACE] = ACTIONS(65),
2454 [anon_sym_ATsystem] = ACTIONS(65),
2455 [anon_sym_AT] = ACTIONS(67),
2456 [anon_sym_AMP] = ACTIONS(65),
2457 [anon_sym_DOLLAR] = ACTIONS(65),
2458 [sym_hex_literal] = ACTIONS(69),
2459 [sym_dec_literal] = ACTIONS(72),
2460 [anon_sym_SQUOTE] = ACTIONS(75),
2461 [anon_sym_DQUOTE] = ACTIONS(78),
2462 [anon_sym_r_DQUOTE] = ACTIONS(81),
2463 [anon_sym_b_DQUOTE] = ACTIONS(84),
2464 [anon_sym_add] = ACTIONS(65),
2465 [anon_sym_sub] = ACTIONS(65),
2466 [anon_sym_inc] = ACTIONS(65),
2467 [anon_sym_dec] = ACTIONS(65),
2468 [anon_sym_shiftl] = ACTIONS(65),
2469 [anon_sym_shiftr] = ACTIONS(65),
2470 [anon_sym_ashiftr] = ACTIONS(65),
2471 [anon_sym_and] = ACTIONS(65),
2472 [anon_sym_or] = ACTIONS(65),
2473 [anon_sym_xor] = ACTIONS(65),
2474 [anon_sym_not] = ACTIONS(65),
2475 [anon_sym_eq] = ACTIONS(65),
2476 [anon_sym_lt] = ACTIONS(67),
2477 [anon_sym_lte] = ACTIONS(65),
2478 [anon_sym_gt] = ACTIONS(67),
2479 [anon_sym_gte] = ACTIONS(65),
2480 [anon_sym_breq] = ACTIONS(65),
2481 [anon_sym_brgt] = ACTIONS(65),
2482 [anon_sym_brge] = ACTIONS(65),
2483 [anon_sym_brof] = ACTIONS(65),
2484 [anon_sym_brty] = ACTIONS(65),
2485 [anon_sym_sweq] = ACTIONS(65),
2486 [anon_sym_swgt] = ACTIONS(65),
2487 [anon_sym_swge] = ACTIONS(65),
2488 [anon_sym_swof] = ACTIONS(65),
2489 [anon_sym_swty] = ACTIONS(65),
2490 [anon_sym_gate] = ACTIONS(65),
2491 [anon_sym_sel] = ACTIONS(65),
2492 [anon_sym_merge] = ACTIONS(65),
2493 [anon_sym_pass] = ACTIONS(65),
2494 [anon_sym_const] = ACTIONS(65),
2495 [anon_sym_free_ctx] = ACTIONS(65),
2496 [anon_sym_change_tag] = ACTIONS(65),
2497 [anon_sym_extract_tag] = ACTIONS(65),
2498 [anon_sym_read] = ACTIONS(65),
2499 [anon_sym_write] = ACTIONS(65),
2500 [anon_sym_clear] = ACTIONS(65),
2501 [anon_sym_alloc] = ACTIONS(65),
2502 [anon_sym_exec] = ACTIONS(65),
2503 [anon_sym_free] = ACTIONS(67),
2504 [anon_sym_rd_inc] = ACTIONS(65),
2505 [anon_sym_rd_dec] = ACTIONS(65),
2506 [anon_sym_cmp_sw] = ACTIONS(65),
2507 [anon_sym_load_inst] = ACTIONS(65),
2508 [sym_comment] = ACTIONS(3),
2509 },
2510 [STATE(9)] = {
2511 [ts_builtin_sym_end] = ACTIONS(87),
2512 [anon_sym_RBRACE] = ACTIONS(87),
2513 [anon_sym_COMMA] = ACTIONS(87),
2514 [anon_sym_EQ] = ACTIONS(87),
2515 [anon_sym_ATsystem] = ACTIONS(87),
2516 [anon_sym_AT] = ACTIONS(89),
2517 [anon_sym_AMP] = ACTIONS(87),
2518 [anon_sym_DOLLAR] = ACTIONS(87),
2519 [sym_hex_literal] = ACTIONS(87),
2520 [sym_dec_literal] = ACTIONS(89),
2521 [anon_sym_SQUOTE] = ACTIONS(87),
2522 [anon_sym_DQUOTE] = ACTIONS(87),
2523 [anon_sym_r_DQUOTE] = ACTIONS(87),
2524 [anon_sym_b_DQUOTE] = ACTIONS(87),
2525 [anon_sym_add] = ACTIONS(87),
2526 [anon_sym_sub] = ACTIONS(87),
2527 [anon_sym_inc] = ACTIONS(87),
2528 [anon_sym_dec] = ACTIONS(87),
2529 [anon_sym_shiftl] = ACTIONS(87),
2530 [anon_sym_shiftr] = ACTIONS(87),
2531 [anon_sym_ashiftr] = ACTIONS(87),
2532 [anon_sym_and] = ACTIONS(87),
2533 [anon_sym_or] = ACTIONS(87),
2534 [anon_sym_xor] = ACTIONS(87),
2535 [anon_sym_not] = ACTIONS(87),
2536 [anon_sym_eq] = ACTIONS(87),
2537 [anon_sym_lt] = ACTIONS(89),
2538 [anon_sym_lte] = ACTIONS(87),
2539 [anon_sym_gt] = ACTIONS(89),
2540 [anon_sym_gte] = ACTIONS(87),
2541 [anon_sym_breq] = ACTIONS(87),
2542 [anon_sym_brgt] = ACTIONS(87),
2543 [anon_sym_brge] = ACTIONS(87),
2544 [anon_sym_brof] = ACTIONS(87),
2545 [anon_sym_brty] = ACTIONS(87),
2546 [anon_sym_sweq] = ACTIONS(87),
2547 [anon_sym_swgt] = ACTIONS(87),
2548 [anon_sym_swge] = ACTIONS(87),
2549 [anon_sym_swof] = ACTIONS(87),
2550 [anon_sym_swty] = ACTIONS(87),
2551 [anon_sym_gate] = ACTIONS(87),
2552 [anon_sym_sel] = ACTIONS(87),
2553 [anon_sym_merge] = ACTIONS(87),
2554 [anon_sym_pass] = ACTIONS(87),
2555 [anon_sym_const] = ACTIONS(87),
2556 [anon_sym_free_ctx] = ACTIONS(87),
2557 [anon_sym_change_tag] = ACTIONS(87),
2558 [anon_sym_extract_tag] = ACTIONS(87),
2559 [anon_sym_read] = ACTIONS(87),
2560 [anon_sym_write] = ACTIONS(87),
2561 [anon_sym_clear] = ACTIONS(87),
2562 [anon_sym_alloc] = ACTIONS(87),
2563 [anon_sym_exec] = ACTIONS(87),
2564 [anon_sym_free] = ACTIONS(89),
2565 [anon_sym_rd_inc] = ACTIONS(87),
2566 [anon_sym_rd_dec] = ACTIONS(87),
2567 [anon_sym_cmp_sw] = ACTIONS(87),
2568 [anon_sym_load_inst] = ACTIONS(87),
2569 [sym_flow_in] = ACTIONS(87),
2570 [sym_flow_out] = ACTIONS(87),
2571 [sym_comment] = ACTIONS(3),
2572 },
2573 [STATE(10)] = {
2574 [sym_placement] = STATE(21),
2575 [sym_port] = STATE(24),
2576 [ts_builtin_sym_end] = ACTIONS(91),
2577 [anon_sym_RBRACE] = ACTIONS(91),
2578 [anon_sym_COMMA] = ACTIONS(91),
2579 [anon_sym_EQ] = ACTIONS(91),
2580 [anon_sym_ATsystem] = ACTIONS(91),
2581 [anon_sym_AT] = ACTIONS(93),
2582 [anon_sym_AMP] = ACTIONS(91),
2583 [anon_sym_DOLLAR] = ACTIONS(91),
2584 [anon_sym_PIPE] = ACTIONS(95),
2585 [anon_sym_COLON] = ACTIONS(97),
2586 [anon_sym_add] = ACTIONS(91),
2587 [anon_sym_sub] = ACTIONS(91),
2588 [anon_sym_inc] = ACTIONS(91),
2589 [anon_sym_dec] = ACTIONS(91),
2590 [anon_sym_shiftl] = ACTIONS(91),
2591 [anon_sym_shiftr] = ACTIONS(91),
2592 [anon_sym_ashiftr] = ACTIONS(91),
2593 [anon_sym_and] = ACTIONS(91),
2594 [anon_sym_or] = ACTIONS(91),
2595 [anon_sym_xor] = ACTIONS(91),
2596 [anon_sym_not] = ACTIONS(91),
2597 [anon_sym_eq] = ACTIONS(91),
2598 [anon_sym_lt] = ACTIONS(93),
2599 [anon_sym_lte] = ACTIONS(91),
2600 [anon_sym_gt] = ACTIONS(93),
2601 [anon_sym_gte] = ACTIONS(91),
2602 [anon_sym_breq] = ACTIONS(91),
2603 [anon_sym_brgt] = ACTIONS(91),
2604 [anon_sym_brge] = ACTIONS(91),
2605 [anon_sym_brof] = ACTIONS(91),
2606 [anon_sym_brty] = ACTIONS(91),
2607 [anon_sym_sweq] = ACTIONS(91),
2608 [anon_sym_swgt] = ACTIONS(91),
2609 [anon_sym_swge] = ACTIONS(91),
2610 [anon_sym_swof] = ACTIONS(91),
2611 [anon_sym_swty] = ACTIONS(91),
2612 [anon_sym_gate] = ACTIONS(91),
2613 [anon_sym_sel] = ACTIONS(91),
2614 [anon_sym_merge] = ACTIONS(91),
2615 [anon_sym_pass] = ACTIONS(91),
2616 [anon_sym_const] = ACTIONS(91),
2617 [anon_sym_free_ctx] = ACTIONS(91),
2618 [anon_sym_change_tag] = ACTIONS(91),
2619 [anon_sym_extract_tag] = ACTIONS(91),
2620 [anon_sym_read] = ACTIONS(91),
2621 [anon_sym_write] = ACTIONS(91),
2622 [anon_sym_clear] = ACTIONS(91),
2623 [anon_sym_alloc] = ACTIONS(91),
2624 [anon_sym_exec] = ACTIONS(91),
2625 [anon_sym_free] = ACTIONS(93),
2626 [anon_sym_rd_inc] = ACTIONS(91),
2627 [anon_sym_rd_dec] = ACTIONS(91),
2628 [anon_sym_cmp_sw] = ACTIONS(91),
2629 [anon_sym_load_inst] = ACTIONS(91),
2630 [sym_flow_in] = ACTIONS(91),
2631 [sym_flow_out] = ACTIONS(91),
2632 [sym_comment] = ACTIONS(3),
2633 },
2634 [STATE(11)] = {
2635 [sym_placement] = STATE(21),
2636 [sym_port] = STATE(24),
2637 [ts_builtin_sym_end] = ACTIONS(91),
2638 [anon_sym_RBRACE] = ACTIONS(91),
2639 [anon_sym_COMMA] = ACTIONS(91),
2640 [anon_sym_EQ] = ACTIONS(91),
2641 [anon_sym_ATsystem] = ACTIONS(91),
2642 [anon_sym_AT] = ACTIONS(93),
2643 [anon_sym_AMP] = ACTIONS(91),
2644 [anon_sym_DOLLAR] = ACTIONS(91),
2645 [anon_sym_PIPE] = ACTIONS(95),
2646 [anon_sym_COLON] = ACTIONS(97),
2647 [anon_sym_add] = ACTIONS(91),
2648 [anon_sym_sub] = ACTIONS(91),
2649 [anon_sym_inc] = ACTIONS(91),
2650 [anon_sym_dec] = ACTIONS(91),
2651 [anon_sym_shiftl] = ACTIONS(91),
2652 [anon_sym_shiftr] = ACTIONS(91),
2653 [anon_sym_ashiftr] = ACTIONS(91),
2654 [anon_sym_and] = ACTIONS(91),
2655 [anon_sym_or] = ACTIONS(91),
2656 [anon_sym_xor] = ACTIONS(91),
2657 [anon_sym_not] = ACTIONS(91),
2658 [anon_sym_eq] = ACTIONS(91),
2659 [anon_sym_lt] = ACTIONS(93),
2660 [anon_sym_lte] = ACTIONS(91),
2661 [anon_sym_gt] = ACTIONS(93),
2662 [anon_sym_gte] = ACTIONS(91),
2663 [anon_sym_breq] = ACTIONS(91),
2664 [anon_sym_brgt] = ACTIONS(91),
2665 [anon_sym_brge] = ACTIONS(91),
2666 [anon_sym_brof] = ACTIONS(91),
2667 [anon_sym_brty] = ACTIONS(91),
2668 [anon_sym_sweq] = ACTIONS(91),
2669 [anon_sym_swgt] = ACTIONS(91),
2670 [anon_sym_swge] = ACTIONS(91),
2671 [anon_sym_swof] = ACTIONS(91),
2672 [anon_sym_swty] = ACTIONS(91),
2673 [anon_sym_gate] = ACTIONS(91),
2674 [anon_sym_sel] = ACTIONS(91),
2675 [anon_sym_merge] = ACTIONS(91),
2676 [anon_sym_pass] = ACTIONS(91),
2677 [anon_sym_const] = ACTIONS(91),
2678 [anon_sym_free_ctx] = ACTIONS(91),
2679 [anon_sym_change_tag] = ACTIONS(91),
2680 [anon_sym_extract_tag] = ACTIONS(91),
2681 [anon_sym_read] = ACTIONS(91),
2682 [anon_sym_write] = ACTIONS(91),
2683 [anon_sym_clear] = ACTIONS(91),
2684 [anon_sym_alloc] = ACTIONS(91),
2685 [anon_sym_exec] = ACTIONS(91),
2686 [anon_sym_free] = ACTIONS(93),
2687 [anon_sym_rd_inc] = ACTIONS(91),
2688 [anon_sym_rd_dec] = ACTIONS(91),
2689 [anon_sym_cmp_sw] = ACTIONS(91),
2690 [anon_sym_load_inst] = ACTIONS(91),
2691 [sym_flow_in] = ACTIONS(91),
2692 [sym_flow_out] = ACTIONS(99),
2693 [sym_comment] = ACTIONS(3),
2694 },
2695 [STATE(12)] = {
2696 [ts_builtin_sym_end] = ACTIONS(101),
2697 [anon_sym_RBRACE] = ACTIONS(101),
2698 [anon_sym_COMMA] = ACTIONS(101),
2699 [anon_sym_ATsystem] = ACTIONS(101),
2700 [anon_sym_AT] = ACTIONS(103),
2701 [anon_sym_AMP] = ACTIONS(101),
2702 [anon_sym_DOLLAR] = ACTIONS(101),
2703 [sym_hex_literal] = ACTIONS(101),
2704 [sym_dec_literal] = ACTIONS(103),
2705 [anon_sym_SQUOTE] = ACTIONS(101),
2706 [anon_sym_DQUOTE] = ACTIONS(101),
2707 [anon_sym_r_DQUOTE] = ACTIONS(101),
2708 [anon_sym_b_DQUOTE] = ACTIONS(101),
2709 [anon_sym_add] = ACTIONS(101),
2710 [anon_sym_sub] = ACTIONS(101),
2711 [anon_sym_inc] = ACTIONS(101),
2712 [anon_sym_dec] = ACTIONS(101),
2713 [anon_sym_shiftl] = ACTIONS(101),
2714 [anon_sym_shiftr] = ACTIONS(101),
2715 [anon_sym_ashiftr] = ACTIONS(101),
2716 [anon_sym_and] = ACTIONS(101),
2717 [anon_sym_or] = ACTIONS(101),
2718 [anon_sym_xor] = ACTIONS(101),
2719 [anon_sym_not] = ACTIONS(101),
2720 [anon_sym_eq] = ACTIONS(101),
2721 [anon_sym_lt] = ACTIONS(103),
2722 [anon_sym_lte] = ACTIONS(101),
2723 [anon_sym_gt] = ACTIONS(103),
2724 [anon_sym_gte] = ACTIONS(101),
2725 [anon_sym_breq] = ACTIONS(101),
2726 [anon_sym_brgt] = ACTIONS(101),
2727 [anon_sym_brge] = ACTIONS(101),
2728 [anon_sym_brof] = ACTIONS(101),
2729 [anon_sym_brty] = ACTIONS(101),
2730 [anon_sym_sweq] = ACTIONS(101),
2731 [anon_sym_swgt] = ACTIONS(101),
2732 [anon_sym_swge] = ACTIONS(101),
2733 [anon_sym_swof] = ACTIONS(101),
2734 [anon_sym_swty] = ACTIONS(101),
2735 [anon_sym_gate] = ACTIONS(101),
2736 [anon_sym_sel] = ACTIONS(101),
2737 [anon_sym_merge] = ACTIONS(101),
2738 [anon_sym_pass] = ACTIONS(101),
2739 [anon_sym_const] = ACTIONS(101),
2740 [anon_sym_free_ctx] = ACTIONS(101),
2741 [anon_sym_change_tag] = ACTIONS(101),
2742 [anon_sym_extract_tag] = ACTIONS(101),
2743 [anon_sym_read] = ACTIONS(101),
2744 [anon_sym_write] = ACTIONS(101),
2745 [anon_sym_clear] = ACTIONS(101),
2746 [anon_sym_alloc] = ACTIONS(101),
2747 [anon_sym_exec] = ACTIONS(101),
2748 [anon_sym_free] = ACTIONS(103),
2749 [anon_sym_rd_inc] = ACTIONS(101),
2750 [anon_sym_rd_dec] = ACTIONS(101),
2751 [anon_sym_cmp_sw] = ACTIONS(101),
2752 [anon_sym_load_inst] = ACTIONS(101),
2753 [sym_flow_out] = ACTIONS(101),
2754 [sym_comment] = ACTIONS(3),
2755 },
2756 [STATE(13)] = {
2757 [ts_builtin_sym_end] = ACTIONS(105),
2758 [anon_sym_RBRACE] = ACTIONS(105),
2759 [anon_sym_COMMA] = ACTIONS(105),
2760 [anon_sym_ATsystem] = ACTIONS(105),
2761 [anon_sym_AT] = ACTIONS(107),
2762 [anon_sym_AMP] = ACTIONS(105),
2763 [anon_sym_DOLLAR] = ACTIONS(105),
2764 [sym_hex_literal] = ACTIONS(105),
2765 [sym_dec_literal] = ACTIONS(107),
2766 [anon_sym_SQUOTE] = ACTIONS(105),
2767 [anon_sym_DQUOTE] = ACTIONS(105),
2768 [anon_sym_r_DQUOTE] = ACTIONS(105),
2769 [anon_sym_b_DQUOTE] = ACTIONS(105),
2770 [anon_sym_add] = ACTIONS(105),
2771 [anon_sym_sub] = ACTIONS(105),
2772 [anon_sym_inc] = ACTIONS(105),
2773 [anon_sym_dec] = ACTIONS(105),
2774 [anon_sym_shiftl] = ACTIONS(105),
2775 [anon_sym_shiftr] = ACTIONS(105),
2776 [anon_sym_ashiftr] = ACTIONS(105),
2777 [anon_sym_and] = ACTIONS(105),
2778 [anon_sym_or] = ACTIONS(105),
2779 [anon_sym_xor] = ACTIONS(105),
2780 [anon_sym_not] = ACTIONS(105),
2781 [anon_sym_eq] = ACTIONS(105),
2782 [anon_sym_lt] = ACTIONS(107),
2783 [anon_sym_lte] = ACTIONS(105),
2784 [anon_sym_gt] = ACTIONS(107),
2785 [anon_sym_gte] = ACTIONS(105),
2786 [anon_sym_breq] = ACTIONS(105),
2787 [anon_sym_brgt] = ACTIONS(105),
2788 [anon_sym_brge] = ACTIONS(105),
2789 [anon_sym_brof] = ACTIONS(105),
2790 [anon_sym_brty] = ACTIONS(105),
2791 [anon_sym_sweq] = ACTIONS(105),
2792 [anon_sym_swgt] = ACTIONS(105),
2793 [anon_sym_swge] = ACTIONS(105),
2794 [anon_sym_swof] = ACTIONS(105),
2795 [anon_sym_swty] = ACTIONS(105),
2796 [anon_sym_gate] = ACTIONS(105),
2797 [anon_sym_sel] = ACTIONS(105),
2798 [anon_sym_merge] = ACTIONS(105),
2799 [anon_sym_pass] = ACTIONS(105),
2800 [anon_sym_const] = ACTIONS(105),
2801 [anon_sym_free_ctx] = ACTIONS(105),
2802 [anon_sym_change_tag] = ACTIONS(105),
2803 [anon_sym_extract_tag] = ACTIONS(105),
2804 [anon_sym_read] = ACTIONS(105),
2805 [anon_sym_write] = ACTIONS(105),
2806 [anon_sym_clear] = ACTIONS(105),
2807 [anon_sym_alloc] = ACTIONS(105),
2808 [anon_sym_exec] = ACTIONS(105),
2809 [anon_sym_free] = ACTIONS(107),
2810 [anon_sym_rd_inc] = ACTIONS(105),
2811 [anon_sym_rd_dec] = ACTIONS(105),
2812 [anon_sym_cmp_sw] = ACTIONS(105),
2813 [anon_sym_load_inst] = ACTIONS(105),
2814 [sym_flow_out] = ACTIONS(105),
2815 [sym_comment] = ACTIONS(3),
2816 },
2817 [STATE(14)] = {
2818 [ts_builtin_sym_end] = ACTIONS(109),
2819 [anon_sym_RBRACE] = ACTIONS(109),
2820 [anon_sym_COMMA] = ACTIONS(109),
2821 [anon_sym_ATsystem] = ACTIONS(109),
2822 [anon_sym_AT] = ACTIONS(111),
2823 [anon_sym_AMP] = ACTIONS(109),
2824 [anon_sym_DOLLAR] = ACTIONS(109),
2825 [sym_hex_literal] = ACTIONS(109),
2826 [sym_dec_literal] = ACTIONS(111),
2827 [anon_sym_SQUOTE] = ACTIONS(109),
2828 [anon_sym_DQUOTE] = ACTIONS(109),
2829 [anon_sym_r_DQUOTE] = ACTIONS(109),
2830 [anon_sym_b_DQUOTE] = ACTIONS(109),
2831 [anon_sym_add] = ACTIONS(109),
2832 [anon_sym_sub] = ACTIONS(109),
2833 [anon_sym_inc] = ACTIONS(109),
2834 [anon_sym_dec] = ACTIONS(109),
2835 [anon_sym_shiftl] = ACTIONS(109),
2836 [anon_sym_shiftr] = ACTIONS(109),
2837 [anon_sym_ashiftr] = ACTIONS(109),
2838 [anon_sym_and] = ACTIONS(109),
2839 [anon_sym_or] = ACTIONS(109),
2840 [anon_sym_xor] = ACTIONS(109),
2841 [anon_sym_not] = ACTIONS(109),
2842 [anon_sym_eq] = ACTIONS(109),
2843 [anon_sym_lt] = ACTIONS(111),
2844 [anon_sym_lte] = ACTIONS(109),
2845 [anon_sym_gt] = ACTIONS(111),
2846 [anon_sym_gte] = ACTIONS(109),
2847 [anon_sym_breq] = ACTIONS(109),
2848 [anon_sym_brgt] = ACTIONS(109),
2849 [anon_sym_brge] = ACTIONS(109),
2850 [anon_sym_brof] = ACTIONS(109),
2851 [anon_sym_brty] = ACTIONS(109),
2852 [anon_sym_sweq] = ACTIONS(109),
2853 [anon_sym_swgt] = ACTIONS(109),
2854 [anon_sym_swge] = ACTIONS(109),
2855 [anon_sym_swof] = ACTIONS(109),
2856 [anon_sym_swty] = ACTIONS(109),
2857 [anon_sym_gate] = ACTIONS(109),
2858 [anon_sym_sel] = ACTIONS(109),
2859 [anon_sym_merge] = ACTIONS(109),
2860 [anon_sym_pass] = ACTIONS(109),
2861 [anon_sym_const] = ACTIONS(109),
2862 [anon_sym_free_ctx] = ACTIONS(109),
2863 [anon_sym_change_tag] = ACTIONS(109),
2864 [anon_sym_extract_tag] = ACTIONS(109),
2865 [anon_sym_read] = ACTIONS(109),
2866 [anon_sym_write] = ACTIONS(109),
2867 [anon_sym_clear] = ACTIONS(109),
2868 [anon_sym_alloc] = ACTIONS(109),
2869 [anon_sym_exec] = ACTIONS(109),
2870 [anon_sym_free] = ACTIONS(111),
2871 [anon_sym_rd_inc] = ACTIONS(109),
2872 [anon_sym_rd_dec] = ACTIONS(109),
2873 [anon_sym_cmp_sw] = ACTIONS(109),
2874 [anon_sym_load_inst] = ACTIONS(109),
2875 [sym_flow_out] = ACTIONS(109),
2876 [sym_comment] = ACTIONS(3),
2877 },
2878 [STATE(15)] = {
2879 [ts_builtin_sym_end] = ACTIONS(113),
2880 [anon_sym_RBRACE] = ACTIONS(113),
2881 [anon_sym_COMMA] = ACTIONS(113),
2882 [anon_sym_ATsystem] = ACTIONS(113),
2883 [anon_sym_AT] = ACTIONS(115),
2884 [anon_sym_AMP] = ACTIONS(113),
2885 [anon_sym_DOLLAR] = ACTIONS(113),
2886 [sym_hex_literal] = ACTIONS(113),
2887 [sym_dec_literal] = ACTIONS(115),
2888 [anon_sym_SQUOTE] = ACTIONS(113),
2889 [anon_sym_DQUOTE] = ACTIONS(113),
2890 [anon_sym_r_DQUOTE] = ACTIONS(113),
2891 [anon_sym_b_DQUOTE] = ACTIONS(113),
2892 [anon_sym_add] = ACTIONS(113),
2893 [anon_sym_sub] = ACTIONS(113),
2894 [anon_sym_inc] = ACTIONS(113),
2895 [anon_sym_dec] = ACTIONS(113),
2896 [anon_sym_shiftl] = ACTIONS(113),
2897 [anon_sym_shiftr] = ACTIONS(113),
2898 [anon_sym_ashiftr] = ACTIONS(113),
2899 [anon_sym_and] = ACTIONS(113),
2900 [anon_sym_or] = ACTIONS(113),
2901 [anon_sym_xor] = ACTIONS(113),
2902 [anon_sym_not] = ACTIONS(113),
2903 [anon_sym_eq] = ACTIONS(113),
2904 [anon_sym_lt] = ACTIONS(115),
2905 [anon_sym_lte] = ACTIONS(113),
2906 [anon_sym_gt] = ACTIONS(115),
2907 [anon_sym_gte] = ACTIONS(113),
2908 [anon_sym_breq] = ACTIONS(113),
2909 [anon_sym_brgt] = ACTIONS(113),
2910 [anon_sym_brge] = ACTIONS(113),
2911 [anon_sym_brof] = ACTIONS(113),
2912 [anon_sym_brty] = ACTIONS(113),
2913 [anon_sym_sweq] = ACTIONS(113),
2914 [anon_sym_swgt] = ACTIONS(113),
2915 [anon_sym_swge] = ACTIONS(113),
2916 [anon_sym_swof] = ACTIONS(113),
2917 [anon_sym_swty] = ACTIONS(113),
2918 [anon_sym_gate] = ACTIONS(113),
2919 [anon_sym_sel] = ACTIONS(113),
2920 [anon_sym_merge] = ACTIONS(113),
2921 [anon_sym_pass] = ACTIONS(113),
2922 [anon_sym_const] = ACTIONS(113),
2923 [anon_sym_free_ctx] = ACTIONS(113),
2924 [anon_sym_change_tag] = ACTIONS(113),
2925 [anon_sym_extract_tag] = ACTIONS(113),
2926 [anon_sym_read] = ACTIONS(113),
2927 [anon_sym_write] = ACTIONS(113),
2928 [anon_sym_clear] = ACTIONS(113),
2929 [anon_sym_alloc] = ACTIONS(113),
2930 [anon_sym_exec] = ACTIONS(113),
2931 [anon_sym_free] = ACTIONS(115),
2932 [anon_sym_rd_inc] = ACTIONS(113),
2933 [anon_sym_rd_dec] = ACTIONS(113),
2934 [anon_sym_cmp_sw] = ACTIONS(113),
2935 [anon_sym_load_inst] = ACTIONS(113),
2936 [sym_flow_out] = ACTIONS(113),
2937 [sym_comment] = ACTIONS(3),
2938 },
2939 [STATE(16)] = {
2940 [ts_builtin_sym_end] = ACTIONS(117),
2941 [anon_sym_RBRACE] = ACTIONS(117),
2942 [anon_sym_COMMA] = ACTIONS(117),
2943 [anon_sym_ATsystem] = ACTIONS(117),
2944 [anon_sym_AT] = ACTIONS(119),
2945 [anon_sym_AMP] = ACTIONS(117),
2946 [anon_sym_DOLLAR] = ACTIONS(117),
2947 [sym_hex_literal] = ACTIONS(117),
2948 [sym_dec_literal] = ACTIONS(119),
2949 [anon_sym_SQUOTE] = ACTIONS(117),
2950 [anon_sym_DQUOTE] = ACTIONS(117),
2951 [anon_sym_r_DQUOTE] = ACTIONS(117),
2952 [anon_sym_b_DQUOTE] = ACTIONS(117),
2953 [anon_sym_add] = ACTIONS(117),
2954 [anon_sym_sub] = ACTIONS(117),
2955 [anon_sym_inc] = ACTIONS(117),
2956 [anon_sym_dec] = ACTIONS(117),
2957 [anon_sym_shiftl] = ACTIONS(117),
2958 [anon_sym_shiftr] = ACTIONS(117),
2959 [anon_sym_ashiftr] = ACTIONS(117),
2960 [anon_sym_and] = ACTIONS(117),
2961 [anon_sym_or] = ACTIONS(117),
2962 [anon_sym_xor] = ACTIONS(117),
2963 [anon_sym_not] = ACTIONS(117),
2964 [anon_sym_eq] = ACTIONS(117),
2965 [anon_sym_lt] = ACTIONS(119),
2966 [anon_sym_lte] = ACTIONS(117),
2967 [anon_sym_gt] = ACTIONS(119),
2968 [anon_sym_gte] = ACTIONS(117),
2969 [anon_sym_breq] = ACTIONS(117),
2970 [anon_sym_brgt] = ACTIONS(117),
2971 [anon_sym_brge] = ACTIONS(117),
2972 [anon_sym_brof] = ACTIONS(117),
2973 [anon_sym_brty] = ACTIONS(117),
2974 [anon_sym_sweq] = ACTIONS(117),
2975 [anon_sym_swgt] = ACTIONS(117),
2976 [anon_sym_swge] = ACTIONS(117),
2977 [anon_sym_swof] = ACTIONS(117),
2978 [anon_sym_swty] = ACTIONS(117),
2979 [anon_sym_gate] = ACTIONS(117),
2980 [anon_sym_sel] = ACTIONS(117),
2981 [anon_sym_merge] = ACTIONS(117),
2982 [anon_sym_pass] = ACTIONS(117),
2983 [anon_sym_const] = ACTIONS(117),
2984 [anon_sym_free_ctx] = ACTIONS(117),
2985 [anon_sym_change_tag] = ACTIONS(117),
2986 [anon_sym_extract_tag] = ACTIONS(117),
2987 [anon_sym_read] = ACTIONS(117),
2988 [anon_sym_write] = ACTIONS(117),
2989 [anon_sym_clear] = ACTIONS(117),
2990 [anon_sym_alloc] = ACTIONS(117),
2991 [anon_sym_exec] = ACTIONS(117),
2992 [anon_sym_free] = ACTIONS(119),
2993 [anon_sym_rd_inc] = ACTIONS(117),
2994 [anon_sym_rd_dec] = ACTIONS(117),
2995 [anon_sym_cmp_sw] = ACTIONS(117),
2996 [anon_sym_load_inst] = ACTIONS(117),
2997 [sym_flow_out] = ACTIONS(117),
2998 [sym_comment] = ACTIONS(3),
2999 },
3000 [STATE(17)] = {
3001 [ts_builtin_sym_end] = ACTIONS(121),
3002 [anon_sym_RBRACE] = ACTIONS(121),
3003 [anon_sym_COMMA] = ACTIONS(121),
3004 [anon_sym_ATsystem] = ACTIONS(121),
3005 [anon_sym_AT] = ACTIONS(123),
3006 [anon_sym_AMP] = ACTIONS(121),
3007 [anon_sym_DOLLAR] = ACTIONS(121),
3008 [sym_hex_literal] = ACTIONS(121),
3009 [sym_dec_literal] = ACTIONS(123),
3010 [anon_sym_SQUOTE] = ACTIONS(121),
3011 [anon_sym_DQUOTE] = ACTIONS(121),
3012 [anon_sym_r_DQUOTE] = ACTIONS(121),
3013 [anon_sym_b_DQUOTE] = ACTIONS(121),
3014 [anon_sym_add] = ACTIONS(121),
3015 [anon_sym_sub] = ACTIONS(121),
3016 [anon_sym_inc] = ACTIONS(121),
3017 [anon_sym_dec] = ACTIONS(121),
3018 [anon_sym_shiftl] = ACTIONS(121),
3019 [anon_sym_shiftr] = ACTIONS(121),
3020 [anon_sym_ashiftr] = ACTIONS(121),
3021 [anon_sym_and] = ACTIONS(121),
3022 [anon_sym_or] = ACTIONS(121),
3023 [anon_sym_xor] = ACTIONS(121),
3024 [anon_sym_not] = ACTIONS(121),
3025 [anon_sym_eq] = ACTIONS(121),
3026 [anon_sym_lt] = ACTIONS(123),
3027 [anon_sym_lte] = ACTIONS(121),
3028 [anon_sym_gt] = ACTIONS(123),
3029 [anon_sym_gte] = ACTIONS(121),
3030 [anon_sym_breq] = ACTIONS(121),
3031 [anon_sym_brgt] = ACTIONS(121),
3032 [anon_sym_brge] = ACTIONS(121),
3033 [anon_sym_brof] = ACTIONS(121),
3034 [anon_sym_brty] = ACTIONS(121),
3035 [anon_sym_sweq] = ACTIONS(121),
3036 [anon_sym_swgt] = ACTIONS(121),
3037 [anon_sym_swge] = ACTIONS(121),
3038 [anon_sym_swof] = ACTIONS(121),
3039 [anon_sym_swty] = ACTIONS(121),
3040 [anon_sym_gate] = ACTIONS(121),
3041 [anon_sym_sel] = ACTIONS(121),
3042 [anon_sym_merge] = ACTIONS(121),
3043 [anon_sym_pass] = ACTIONS(121),
3044 [anon_sym_const] = ACTIONS(121),
3045 [anon_sym_free_ctx] = ACTIONS(121),
3046 [anon_sym_change_tag] = ACTIONS(121),
3047 [anon_sym_extract_tag] = ACTIONS(121),
3048 [anon_sym_read] = ACTIONS(121),
3049 [anon_sym_write] = ACTIONS(121),
3050 [anon_sym_clear] = ACTIONS(121),
3051 [anon_sym_alloc] = ACTIONS(121),
3052 [anon_sym_exec] = ACTIONS(121),
3053 [anon_sym_free] = ACTIONS(123),
3054 [anon_sym_rd_inc] = ACTIONS(121),
3055 [anon_sym_rd_dec] = ACTIONS(121),
3056 [anon_sym_cmp_sw] = ACTIONS(121),
3057 [anon_sym_load_inst] = ACTIONS(121),
3058 [sym_flow_out] = ACTIONS(121),
3059 [sym_comment] = ACTIONS(3),
3060 },
3061 [STATE(18)] = {
3062 [ts_builtin_sym_end] = ACTIONS(125),
3063 [anon_sym_RBRACE] = ACTIONS(125),
3064 [anon_sym_COMMA] = ACTIONS(125),
3065 [anon_sym_EQ] = ACTIONS(125),
3066 [anon_sym_ATsystem] = ACTIONS(125),
3067 [anon_sym_AT] = ACTIONS(127),
3068 [anon_sym_AMP] = ACTIONS(125),
3069 [anon_sym_DOLLAR] = ACTIONS(125),
3070 [anon_sym_PIPE] = ACTIONS(127),
3071 [anon_sym_COLON] = ACTIONS(125),
3072 [anon_sym_add] = ACTIONS(125),
3073 [anon_sym_sub] = ACTIONS(125),
3074 [anon_sym_inc] = ACTIONS(125),
3075 [anon_sym_dec] = ACTIONS(125),
3076 [anon_sym_shiftl] = ACTIONS(125),
3077 [anon_sym_shiftr] = ACTIONS(125),
3078 [anon_sym_ashiftr] = ACTIONS(125),
3079 [anon_sym_and] = ACTIONS(125),
3080 [anon_sym_or] = ACTIONS(125),
3081 [anon_sym_xor] = ACTIONS(125),
3082 [anon_sym_not] = ACTIONS(125),
3083 [anon_sym_eq] = ACTIONS(125),
3084 [anon_sym_lt] = ACTIONS(127),
3085 [anon_sym_lte] = ACTIONS(125),
3086 [anon_sym_gt] = ACTIONS(127),
3087 [anon_sym_gte] = ACTIONS(125),
3088 [anon_sym_breq] = ACTIONS(125),
3089 [anon_sym_brgt] = ACTIONS(125),
3090 [anon_sym_brge] = ACTIONS(125),
3091 [anon_sym_brof] = ACTIONS(125),
3092 [anon_sym_brty] = ACTIONS(125),
3093 [anon_sym_sweq] = ACTIONS(125),
3094 [anon_sym_swgt] = ACTIONS(125),
3095 [anon_sym_swge] = ACTIONS(125),
3096 [anon_sym_swof] = ACTIONS(125),
3097 [anon_sym_swty] = ACTIONS(125),
3098 [anon_sym_gate] = ACTIONS(125),
3099 [anon_sym_sel] = ACTIONS(125),
3100 [anon_sym_merge] = ACTIONS(125),
3101 [anon_sym_pass] = ACTIONS(125),
3102 [anon_sym_const] = ACTIONS(125),
3103 [anon_sym_free_ctx] = ACTIONS(125),
3104 [anon_sym_change_tag] = ACTIONS(125),
3105 [anon_sym_extract_tag] = ACTIONS(125),
3106 [anon_sym_read] = ACTIONS(125),
3107 [anon_sym_write] = ACTIONS(125),
3108 [anon_sym_clear] = ACTIONS(125),
3109 [anon_sym_alloc] = ACTIONS(125),
3110 [anon_sym_exec] = ACTIONS(125),
3111 [anon_sym_free] = ACTIONS(127),
3112 [anon_sym_rd_inc] = ACTIONS(125),
3113 [anon_sym_rd_dec] = ACTIONS(125),
3114 [anon_sym_cmp_sw] = ACTIONS(125),
3115 [anon_sym_load_inst] = ACTIONS(125),
3116 [sym_flow_in] = ACTIONS(125),
3117 [sym_flow_out] = ACTIONS(125),
3118 [sym_comment] = ACTIONS(3),
3119 },
3120 [STATE(19)] = {
3121 [ts_builtin_sym_end] = ACTIONS(129),
3122 [anon_sym_RBRACE] = ACTIONS(129),
3123 [anon_sym_COMMA] = ACTIONS(129),
3124 [anon_sym_EQ] = ACTIONS(129),
3125 [anon_sym_ATsystem] = ACTIONS(129),
3126 [anon_sym_AT] = ACTIONS(131),
3127 [anon_sym_AMP] = ACTIONS(129),
3128 [anon_sym_DOLLAR] = ACTIONS(129),
3129 [anon_sym_PIPE] = ACTIONS(131),
3130 [anon_sym_COLON] = ACTIONS(129),
3131 [anon_sym_add] = ACTIONS(129),
3132 [anon_sym_sub] = ACTIONS(129),
3133 [anon_sym_inc] = ACTIONS(129),
3134 [anon_sym_dec] = ACTIONS(129),
3135 [anon_sym_shiftl] = ACTIONS(129),
3136 [anon_sym_shiftr] = ACTIONS(129),
3137 [anon_sym_ashiftr] = ACTIONS(129),
3138 [anon_sym_and] = ACTIONS(129),
3139 [anon_sym_or] = ACTIONS(129),
3140 [anon_sym_xor] = ACTIONS(129),
3141 [anon_sym_not] = ACTIONS(129),
3142 [anon_sym_eq] = ACTIONS(129),
3143 [anon_sym_lt] = ACTIONS(131),
3144 [anon_sym_lte] = ACTIONS(129),
3145 [anon_sym_gt] = ACTIONS(131),
3146 [anon_sym_gte] = ACTIONS(129),
3147 [anon_sym_breq] = ACTIONS(129),
3148 [anon_sym_brgt] = ACTIONS(129),
3149 [anon_sym_brge] = ACTIONS(129),
3150 [anon_sym_brof] = ACTIONS(129),
3151 [anon_sym_brty] = ACTIONS(129),
3152 [anon_sym_sweq] = ACTIONS(129),
3153 [anon_sym_swgt] = ACTIONS(129),
3154 [anon_sym_swge] = ACTIONS(129),
3155 [anon_sym_swof] = ACTIONS(129),
3156 [anon_sym_swty] = ACTIONS(129),
3157 [anon_sym_gate] = ACTIONS(129),
3158 [anon_sym_sel] = ACTIONS(129),
3159 [anon_sym_merge] = ACTIONS(129),
3160 [anon_sym_pass] = ACTIONS(129),
3161 [anon_sym_const] = ACTIONS(129),
3162 [anon_sym_free_ctx] = ACTIONS(129),
3163 [anon_sym_change_tag] = ACTIONS(129),
3164 [anon_sym_extract_tag] = ACTIONS(129),
3165 [anon_sym_read] = ACTIONS(129),
3166 [anon_sym_write] = ACTIONS(129),
3167 [anon_sym_clear] = ACTIONS(129),
3168 [anon_sym_alloc] = ACTIONS(129),
3169 [anon_sym_exec] = ACTIONS(129),
3170 [anon_sym_free] = ACTIONS(131),
3171 [anon_sym_rd_inc] = ACTIONS(129),
3172 [anon_sym_rd_dec] = ACTIONS(129),
3173 [anon_sym_cmp_sw] = ACTIONS(129),
3174 [anon_sym_load_inst] = ACTIONS(129),
3175 [sym_flow_in] = ACTIONS(129),
3176 [sym_flow_out] = ACTIONS(129),
3177 [sym_comment] = ACTIONS(3),
3178 },
3179 [STATE(20)] = {
3180 [ts_builtin_sym_end] = ACTIONS(133),
3181 [anon_sym_RBRACE] = ACTIONS(133),
3182 [anon_sym_COMMA] = ACTIONS(133),
3183 [anon_sym_EQ] = ACTIONS(133),
3184 [anon_sym_ATsystem] = ACTIONS(133),
3185 [anon_sym_AT] = ACTIONS(135),
3186 [anon_sym_AMP] = ACTIONS(133),
3187 [anon_sym_DOLLAR] = ACTIONS(133),
3188 [anon_sym_PIPE] = ACTIONS(135),
3189 [anon_sym_COLON] = ACTIONS(133),
3190 [anon_sym_add] = ACTIONS(133),
3191 [anon_sym_sub] = ACTIONS(133),
3192 [anon_sym_inc] = ACTIONS(133),
3193 [anon_sym_dec] = ACTIONS(133),
3194 [anon_sym_shiftl] = ACTIONS(133),
3195 [anon_sym_shiftr] = ACTIONS(133),
3196 [anon_sym_ashiftr] = ACTIONS(133),
3197 [anon_sym_and] = ACTIONS(133),
3198 [anon_sym_or] = ACTIONS(133),
3199 [anon_sym_xor] = ACTIONS(133),
3200 [anon_sym_not] = ACTIONS(133),
3201 [anon_sym_eq] = ACTIONS(133),
3202 [anon_sym_lt] = ACTIONS(135),
3203 [anon_sym_lte] = ACTIONS(133),
3204 [anon_sym_gt] = ACTIONS(135),
3205 [anon_sym_gte] = ACTIONS(133),
3206 [anon_sym_breq] = ACTIONS(133),
3207 [anon_sym_brgt] = ACTIONS(133),
3208 [anon_sym_brge] = ACTIONS(133),
3209 [anon_sym_brof] = ACTIONS(133),
3210 [anon_sym_brty] = ACTIONS(133),
3211 [anon_sym_sweq] = ACTIONS(133),
3212 [anon_sym_swgt] = ACTIONS(133),
3213 [anon_sym_swge] = ACTIONS(133),
3214 [anon_sym_swof] = ACTIONS(133),
3215 [anon_sym_swty] = ACTIONS(133),
3216 [anon_sym_gate] = ACTIONS(133),
3217 [anon_sym_sel] = ACTIONS(133),
3218 [anon_sym_merge] = ACTIONS(133),
3219 [anon_sym_pass] = ACTIONS(133),
3220 [anon_sym_const] = ACTIONS(133),
3221 [anon_sym_free_ctx] = ACTIONS(133),
3222 [anon_sym_change_tag] = ACTIONS(133),
3223 [anon_sym_extract_tag] = ACTIONS(133),
3224 [anon_sym_read] = ACTIONS(133),
3225 [anon_sym_write] = ACTIONS(133),
3226 [anon_sym_clear] = ACTIONS(133),
3227 [anon_sym_alloc] = ACTIONS(133),
3228 [anon_sym_exec] = ACTIONS(133),
3229 [anon_sym_free] = ACTIONS(135),
3230 [anon_sym_rd_inc] = ACTIONS(133),
3231 [anon_sym_rd_dec] = ACTIONS(133),
3232 [anon_sym_cmp_sw] = ACTIONS(133),
3233 [anon_sym_load_inst] = ACTIONS(133),
3234 [sym_flow_in] = ACTIONS(133),
3235 [sym_flow_out] = ACTIONS(133),
3236 [sym_comment] = ACTIONS(3),
3237 },
3238 [STATE(21)] = {
3239 [sym_port] = STATE(25),
3240 [ts_builtin_sym_end] = ACTIONS(137),
3241 [anon_sym_RBRACE] = ACTIONS(137),
3242 [anon_sym_COMMA] = ACTIONS(137),
3243 [anon_sym_EQ] = ACTIONS(137),
3244 [anon_sym_ATsystem] = ACTIONS(137),
3245 [anon_sym_AT] = ACTIONS(139),
3246 [anon_sym_AMP] = ACTIONS(137),
3247 [anon_sym_DOLLAR] = ACTIONS(137),
3248 [anon_sym_COLON] = ACTIONS(97),
3249 [anon_sym_add] = ACTIONS(137),
3250 [anon_sym_sub] = ACTIONS(137),
3251 [anon_sym_inc] = ACTIONS(137),
3252 [anon_sym_dec] = ACTIONS(137),
3253 [anon_sym_shiftl] = ACTIONS(137),
3254 [anon_sym_shiftr] = ACTIONS(137),
3255 [anon_sym_ashiftr] = ACTIONS(137),
3256 [anon_sym_and] = ACTIONS(137),
3257 [anon_sym_or] = ACTIONS(137),
3258 [anon_sym_xor] = ACTIONS(137),
3259 [anon_sym_not] = ACTIONS(137),
3260 [anon_sym_eq] = ACTIONS(137),
3261 [anon_sym_lt] = ACTIONS(139),
3262 [anon_sym_lte] = ACTIONS(137),
3263 [anon_sym_gt] = ACTIONS(139),
3264 [anon_sym_gte] = ACTIONS(137),
3265 [anon_sym_breq] = ACTIONS(137),
3266 [anon_sym_brgt] = ACTIONS(137),
3267 [anon_sym_brge] = ACTIONS(137),
3268 [anon_sym_brof] = ACTIONS(137),
3269 [anon_sym_brty] = ACTIONS(137),
3270 [anon_sym_sweq] = ACTIONS(137),
3271 [anon_sym_swgt] = ACTIONS(137),
3272 [anon_sym_swge] = ACTIONS(137),
3273 [anon_sym_swof] = ACTIONS(137),
3274 [anon_sym_swty] = ACTIONS(137),
3275 [anon_sym_gate] = ACTIONS(137),
3276 [anon_sym_sel] = ACTIONS(137),
3277 [anon_sym_merge] = ACTIONS(137),
3278 [anon_sym_pass] = ACTIONS(137),
3279 [anon_sym_const] = ACTIONS(137),
3280 [anon_sym_free_ctx] = ACTIONS(137),
3281 [anon_sym_change_tag] = ACTIONS(137),
3282 [anon_sym_extract_tag] = ACTIONS(137),
3283 [anon_sym_read] = ACTIONS(137),
3284 [anon_sym_write] = ACTIONS(137),
3285 [anon_sym_clear] = ACTIONS(137),
3286 [anon_sym_alloc] = ACTIONS(137),
3287 [anon_sym_exec] = ACTIONS(137),
3288 [anon_sym_free] = ACTIONS(139),
3289 [anon_sym_rd_inc] = ACTIONS(137),
3290 [anon_sym_rd_dec] = ACTIONS(137),
3291 [anon_sym_cmp_sw] = ACTIONS(137),
3292 [anon_sym_load_inst] = ACTIONS(137),
3293 [sym_flow_in] = ACTIONS(137),
3294 [sym_flow_out] = ACTIONS(137),
3295 [sym_comment] = ACTIONS(3),
3296 },
3297 [STATE(22)] = {
3298 [aux_sym_ref_list_repeat1] = STATE(39),
3299 [ts_builtin_sym_end] = ACTIONS(141),
3300 [anon_sym_RBRACE] = ACTIONS(141),
3301 [anon_sym_COMMA] = ACTIONS(143),
3302 [anon_sym_EQ] = ACTIONS(145),
3303 [anon_sym_ATsystem] = ACTIONS(141),
3304 [anon_sym_AT] = ACTIONS(147),
3305 [anon_sym_AMP] = ACTIONS(141),
3306 [anon_sym_DOLLAR] = ACTIONS(141),
3307 [anon_sym_add] = ACTIONS(149),
3308 [anon_sym_sub] = ACTIONS(149),
3309 [anon_sym_inc] = ACTIONS(149),
3310 [anon_sym_dec] = ACTIONS(149),
3311 [anon_sym_shiftl] = ACTIONS(149),
3312 [anon_sym_shiftr] = ACTIONS(149),
3313 [anon_sym_ashiftr] = ACTIONS(149),
3314 [anon_sym_and] = ACTIONS(149),
3315 [anon_sym_or] = ACTIONS(149),
3316 [anon_sym_xor] = ACTIONS(149),
3317 [anon_sym_not] = ACTIONS(149),
3318 [anon_sym_eq] = ACTIONS(149),
3319 [anon_sym_lt] = ACTIONS(151),
3320 [anon_sym_lte] = ACTIONS(149),
3321 [anon_sym_gt] = ACTIONS(151),
3322 [anon_sym_gte] = ACTIONS(149),
3323 [anon_sym_breq] = ACTIONS(149),
3324 [anon_sym_brgt] = ACTIONS(149),
3325 [anon_sym_brge] = ACTIONS(149),
3326 [anon_sym_brof] = ACTIONS(149),
3327 [anon_sym_brty] = ACTIONS(149),
3328 [anon_sym_sweq] = ACTIONS(149),
3329 [anon_sym_swgt] = ACTIONS(149),
3330 [anon_sym_swge] = ACTIONS(149),
3331 [anon_sym_swof] = ACTIONS(149),
3332 [anon_sym_swty] = ACTIONS(149),
3333 [anon_sym_gate] = ACTIONS(149),
3334 [anon_sym_sel] = ACTIONS(149),
3335 [anon_sym_merge] = ACTIONS(149),
3336 [anon_sym_pass] = ACTIONS(149),
3337 [anon_sym_const] = ACTIONS(149),
3338 [anon_sym_free_ctx] = ACTIONS(149),
3339 [anon_sym_change_tag] = ACTIONS(149),
3340 [anon_sym_extract_tag] = ACTIONS(149),
3341 [anon_sym_read] = ACTIONS(149),
3342 [anon_sym_write] = ACTIONS(149),
3343 [anon_sym_clear] = ACTIONS(149),
3344 [anon_sym_alloc] = ACTIONS(149),
3345 [anon_sym_exec] = ACTIONS(149),
3346 [anon_sym_free] = ACTIONS(151),
3347 [anon_sym_rd_inc] = ACTIONS(149),
3348 [anon_sym_rd_dec] = ACTIONS(149),
3349 [anon_sym_cmp_sw] = ACTIONS(149),
3350 [anon_sym_load_inst] = ACTIONS(149),
3351 [sym_flow_in] = ACTIONS(153),
3352 [sym_flow_out] = ACTIONS(155),
3353 [sym_comment] = ACTIONS(3),
3354 },
3355 [STATE(23)] = {
3356 [ts_builtin_sym_end] = ACTIONS(157),
3357 [anon_sym_RBRACE] = ACTIONS(157),
3358 [anon_sym_COMMA] = ACTIONS(157),
3359 [anon_sym_EQ] = ACTIONS(157),
3360 [anon_sym_ATsystem] = ACTIONS(157),
3361 [anon_sym_AT] = ACTIONS(159),
3362 [anon_sym_AMP] = ACTIONS(157),
3363 [anon_sym_DOLLAR] = ACTIONS(157),
3364 [anon_sym_COLON] = ACTIONS(157),
3365 [anon_sym_add] = ACTIONS(157),
3366 [anon_sym_sub] = ACTIONS(157),
3367 [anon_sym_inc] = ACTIONS(157),
3368 [anon_sym_dec] = ACTIONS(157),
3369 [anon_sym_shiftl] = ACTIONS(157),
3370 [anon_sym_shiftr] = ACTIONS(157),
3371 [anon_sym_ashiftr] = ACTIONS(157),
3372 [anon_sym_and] = ACTIONS(157),
3373 [anon_sym_or] = ACTIONS(157),
3374 [anon_sym_xor] = ACTIONS(157),
3375 [anon_sym_not] = ACTIONS(157),
3376 [anon_sym_eq] = ACTIONS(157),
3377 [anon_sym_lt] = ACTIONS(159),
3378 [anon_sym_lte] = ACTIONS(157),
3379 [anon_sym_gt] = ACTIONS(159),
3380 [anon_sym_gte] = ACTIONS(157),
3381 [anon_sym_breq] = ACTIONS(157),
3382 [anon_sym_brgt] = ACTIONS(157),
3383 [anon_sym_brge] = ACTIONS(157),
3384 [anon_sym_brof] = ACTIONS(157),
3385 [anon_sym_brty] = ACTIONS(157),
3386 [anon_sym_sweq] = ACTIONS(157),
3387 [anon_sym_swgt] = ACTIONS(157),
3388 [anon_sym_swge] = ACTIONS(157),
3389 [anon_sym_swof] = ACTIONS(157),
3390 [anon_sym_swty] = ACTIONS(157),
3391 [anon_sym_gate] = ACTIONS(157),
3392 [anon_sym_sel] = ACTIONS(157),
3393 [anon_sym_merge] = ACTIONS(157),
3394 [anon_sym_pass] = ACTIONS(157),
3395 [anon_sym_const] = ACTIONS(157),
3396 [anon_sym_free_ctx] = ACTIONS(157),
3397 [anon_sym_change_tag] = ACTIONS(157),
3398 [anon_sym_extract_tag] = ACTIONS(157),
3399 [anon_sym_read] = ACTIONS(157),
3400 [anon_sym_write] = ACTIONS(157),
3401 [anon_sym_clear] = ACTIONS(157),
3402 [anon_sym_alloc] = ACTIONS(157),
3403 [anon_sym_exec] = ACTIONS(157),
3404 [anon_sym_free] = ACTIONS(159),
3405 [anon_sym_rd_inc] = ACTIONS(157),
3406 [anon_sym_rd_dec] = ACTIONS(157),
3407 [anon_sym_cmp_sw] = ACTIONS(157),
3408 [anon_sym_load_inst] = ACTIONS(157),
3409 [sym_flow_in] = ACTIONS(157),
3410 [sym_flow_out] = ACTIONS(157),
3411 [sym_comment] = ACTIONS(3),
3412 },
3413 [STATE(24)] = {
3414 [ts_builtin_sym_end] = ACTIONS(161),
3415 [anon_sym_RBRACE] = ACTIONS(161),
3416 [anon_sym_COMMA] = ACTIONS(161),
3417 [anon_sym_EQ] = ACTIONS(161),
3418 [anon_sym_ATsystem] = ACTIONS(161),
3419 [anon_sym_AT] = ACTIONS(163),
3420 [anon_sym_AMP] = ACTIONS(161),
3421 [anon_sym_DOLLAR] = ACTIONS(161),
3422 [anon_sym_add] = ACTIONS(161),
3423 [anon_sym_sub] = ACTIONS(161),
3424 [anon_sym_inc] = ACTIONS(161),
3425 [anon_sym_dec] = ACTIONS(161),
3426 [anon_sym_shiftl] = ACTIONS(161),
3427 [anon_sym_shiftr] = ACTIONS(161),
3428 [anon_sym_ashiftr] = ACTIONS(161),
3429 [anon_sym_and] = ACTIONS(161),
3430 [anon_sym_or] = ACTIONS(161),
3431 [anon_sym_xor] = ACTIONS(161),
3432 [anon_sym_not] = ACTIONS(161),
3433 [anon_sym_eq] = ACTIONS(161),
3434 [anon_sym_lt] = ACTIONS(163),
3435 [anon_sym_lte] = ACTIONS(161),
3436 [anon_sym_gt] = ACTIONS(163),
3437 [anon_sym_gte] = ACTIONS(161),
3438 [anon_sym_breq] = ACTIONS(161),
3439 [anon_sym_brgt] = ACTIONS(161),
3440 [anon_sym_brge] = ACTIONS(161),
3441 [anon_sym_brof] = ACTIONS(161),
3442 [anon_sym_brty] = ACTIONS(161),
3443 [anon_sym_sweq] = ACTIONS(161),
3444 [anon_sym_swgt] = ACTIONS(161),
3445 [anon_sym_swge] = ACTIONS(161),
3446 [anon_sym_swof] = ACTIONS(161),
3447 [anon_sym_swty] = ACTIONS(161),
3448 [anon_sym_gate] = ACTIONS(161),
3449 [anon_sym_sel] = ACTIONS(161),
3450 [anon_sym_merge] = ACTIONS(161),
3451 [anon_sym_pass] = ACTIONS(161),
3452 [anon_sym_const] = ACTIONS(161),
3453 [anon_sym_free_ctx] = ACTIONS(161),
3454 [anon_sym_change_tag] = ACTIONS(161),
3455 [anon_sym_extract_tag] = ACTIONS(161),
3456 [anon_sym_read] = ACTIONS(161),
3457 [anon_sym_write] = ACTIONS(161),
3458 [anon_sym_clear] = ACTIONS(161),
3459 [anon_sym_alloc] = ACTIONS(161),
3460 [anon_sym_exec] = ACTIONS(161),
3461 [anon_sym_free] = ACTIONS(163),
3462 [anon_sym_rd_inc] = ACTIONS(161),
3463 [anon_sym_rd_dec] = ACTIONS(161),
3464 [anon_sym_cmp_sw] = ACTIONS(161),
3465 [anon_sym_load_inst] = ACTIONS(161),
3466 [sym_flow_in] = ACTIONS(161),
3467 [sym_flow_out] = ACTIONS(161),
3468 [sym_comment] = ACTIONS(3),
3469 },
3470 [STATE(25)] = {
3471 [ts_builtin_sym_end] = ACTIONS(165),
3472 [anon_sym_RBRACE] = ACTIONS(165),
3473 [anon_sym_COMMA] = ACTIONS(165),
3474 [anon_sym_EQ] = ACTIONS(165),
3475 [anon_sym_ATsystem] = ACTIONS(165),
3476 [anon_sym_AT] = ACTIONS(167),
3477 [anon_sym_AMP] = ACTIONS(165),
3478 [anon_sym_DOLLAR] = ACTIONS(165),
3479 [anon_sym_add] = ACTIONS(165),
3480 [anon_sym_sub] = ACTIONS(165),
3481 [anon_sym_inc] = ACTIONS(165),
3482 [anon_sym_dec] = ACTIONS(165),
3483 [anon_sym_shiftl] = ACTIONS(165),
3484 [anon_sym_shiftr] = ACTIONS(165),
3485 [anon_sym_ashiftr] = ACTIONS(165),
3486 [anon_sym_and] = ACTIONS(165),
3487 [anon_sym_or] = ACTIONS(165),
3488 [anon_sym_xor] = ACTIONS(165),
3489 [anon_sym_not] = ACTIONS(165),
3490 [anon_sym_eq] = ACTIONS(165),
3491 [anon_sym_lt] = ACTIONS(167),
3492 [anon_sym_lte] = ACTIONS(165),
3493 [anon_sym_gt] = ACTIONS(167),
3494 [anon_sym_gte] = ACTIONS(165),
3495 [anon_sym_breq] = ACTIONS(165),
3496 [anon_sym_brgt] = ACTIONS(165),
3497 [anon_sym_brge] = ACTIONS(165),
3498 [anon_sym_brof] = ACTIONS(165),
3499 [anon_sym_brty] = ACTIONS(165),
3500 [anon_sym_sweq] = ACTIONS(165),
3501 [anon_sym_swgt] = ACTIONS(165),
3502 [anon_sym_swge] = ACTIONS(165),
3503 [anon_sym_swof] = ACTIONS(165),
3504 [anon_sym_swty] = ACTIONS(165),
3505 [anon_sym_gate] = ACTIONS(165),
3506 [anon_sym_sel] = ACTIONS(165),
3507 [anon_sym_merge] = ACTIONS(165),
3508 [anon_sym_pass] = ACTIONS(165),
3509 [anon_sym_const] = ACTIONS(165),
3510 [anon_sym_free_ctx] = ACTIONS(165),
3511 [anon_sym_change_tag] = ACTIONS(165),
3512 [anon_sym_extract_tag] = ACTIONS(165),
3513 [anon_sym_read] = ACTIONS(165),
3514 [anon_sym_write] = ACTIONS(165),
3515 [anon_sym_clear] = ACTIONS(165),
3516 [anon_sym_alloc] = ACTIONS(165),
3517 [anon_sym_exec] = ACTIONS(165),
3518 [anon_sym_free] = ACTIONS(167),
3519 [anon_sym_rd_inc] = ACTIONS(165),
3520 [anon_sym_rd_dec] = ACTIONS(165),
3521 [anon_sym_cmp_sw] = ACTIONS(165),
3522 [anon_sym_load_inst] = ACTIONS(165),
3523 [sym_flow_in] = ACTIONS(165),
3524 [sym_flow_out] = ACTIONS(165),
3525 [sym_comment] = ACTIONS(3),
3526 },
3527 [STATE(26)] = {
3528 [ts_builtin_sym_end] = ACTIONS(169),
3529 [anon_sym_RBRACE] = ACTIONS(169),
3530 [anon_sym_COMMA] = ACTIONS(169),
3531 [anon_sym_EQ] = ACTIONS(169),
3532 [anon_sym_ATsystem] = ACTIONS(169),
3533 [anon_sym_AT] = ACTIONS(171),
3534 [anon_sym_AMP] = ACTIONS(169),
3535 [anon_sym_DOLLAR] = ACTIONS(169),
3536 [anon_sym_add] = ACTIONS(169),
3537 [anon_sym_sub] = ACTIONS(169),
3538 [anon_sym_inc] = ACTIONS(169),
3539 [anon_sym_dec] = ACTIONS(169),
3540 [anon_sym_shiftl] = ACTIONS(169),
3541 [anon_sym_shiftr] = ACTIONS(169),
3542 [anon_sym_ashiftr] = ACTIONS(169),
3543 [anon_sym_and] = ACTIONS(169),
3544 [anon_sym_or] = ACTIONS(169),
3545 [anon_sym_xor] = ACTIONS(169),
3546 [anon_sym_not] = ACTIONS(169),
3547 [anon_sym_eq] = ACTIONS(169),
3548 [anon_sym_lt] = ACTIONS(171),
3549 [anon_sym_lte] = ACTIONS(169),
3550 [anon_sym_gt] = ACTIONS(171),
3551 [anon_sym_gte] = ACTIONS(169),
3552 [anon_sym_breq] = ACTIONS(169),
3553 [anon_sym_brgt] = ACTIONS(169),
3554 [anon_sym_brge] = ACTIONS(169),
3555 [anon_sym_brof] = ACTIONS(169),
3556 [anon_sym_brty] = ACTIONS(169),
3557 [anon_sym_sweq] = ACTIONS(169),
3558 [anon_sym_swgt] = ACTIONS(169),
3559 [anon_sym_swge] = ACTIONS(169),
3560 [anon_sym_swof] = ACTIONS(169),
3561 [anon_sym_swty] = ACTIONS(169),
3562 [anon_sym_gate] = ACTIONS(169),
3563 [anon_sym_sel] = ACTIONS(169),
3564 [anon_sym_merge] = ACTIONS(169),
3565 [anon_sym_pass] = ACTIONS(169),
3566 [anon_sym_const] = ACTIONS(169),
3567 [anon_sym_free_ctx] = ACTIONS(169),
3568 [anon_sym_change_tag] = ACTIONS(169),
3569 [anon_sym_extract_tag] = ACTIONS(169),
3570 [anon_sym_read] = ACTIONS(169),
3571 [anon_sym_write] = ACTIONS(169),
3572 [anon_sym_clear] = ACTIONS(169),
3573 [anon_sym_alloc] = ACTIONS(169),
3574 [anon_sym_exec] = ACTIONS(169),
3575 [anon_sym_free] = ACTIONS(171),
3576 [anon_sym_rd_inc] = ACTIONS(169),
3577 [anon_sym_rd_dec] = ACTIONS(169),
3578 [anon_sym_cmp_sw] = ACTIONS(169),
3579 [anon_sym_load_inst] = ACTIONS(169),
3580 [sym_flow_in] = ACTIONS(169),
3581 [sym_flow_out] = ACTIONS(169),
3582 [sym_comment] = ACTIONS(3),
3583 },
3584 [STATE(27)] = {
3585 [aux_sym_inst_def_repeat1] = STATE(27),
3586 [ts_builtin_sym_end] = ACTIONS(173),
3587 [anon_sym_RBRACE] = ACTIONS(173),
3588 [anon_sym_COMMA] = ACTIONS(175),
3589 [anon_sym_ATsystem] = ACTIONS(173),
3590 [anon_sym_AT] = ACTIONS(178),
3591 [anon_sym_AMP] = ACTIONS(173),
3592 [anon_sym_DOLLAR] = ACTIONS(173),
3593 [anon_sym_add] = ACTIONS(173),
3594 [anon_sym_sub] = ACTIONS(173),
3595 [anon_sym_inc] = ACTIONS(173),
3596 [anon_sym_dec] = ACTIONS(173),
3597 [anon_sym_shiftl] = ACTIONS(173),
3598 [anon_sym_shiftr] = ACTIONS(173),
3599 [anon_sym_ashiftr] = ACTIONS(173),
3600 [anon_sym_and] = ACTIONS(173),
3601 [anon_sym_or] = ACTIONS(173),
3602 [anon_sym_xor] = ACTIONS(173),
3603 [anon_sym_not] = ACTIONS(173),
3604 [anon_sym_eq] = ACTIONS(173),
3605 [anon_sym_lt] = ACTIONS(178),
3606 [anon_sym_lte] = ACTIONS(173),
3607 [anon_sym_gt] = ACTIONS(178),
3608 [anon_sym_gte] = ACTIONS(173),
3609 [anon_sym_breq] = ACTIONS(173),
3610 [anon_sym_brgt] = ACTIONS(173),
3611 [anon_sym_brge] = ACTIONS(173),
3612 [anon_sym_brof] = ACTIONS(173),
3613 [anon_sym_brty] = ACTIONS(173),
3614 [anon_sym_sweq] = ACTIONS(173),
3615 [anon_sym_swgt] = ACTIONS(173),
3616 [anon_sym_swge] = ACTIONS(173),
3617 [anon_sym_swof] = ACTIONS(173),
3618 [anon_sym_swty] = ACTIONS(173),
3619 [anon_sym_gate] = ACTIONS(173),
3620 [anon_sym_sel] = ACTIONS(173),
3621 [anon_sym_merge] = ACTIONS(173),
3622 [anon_sym_pass] = ACTIONS(173),
3623 [anon_sym_const] = ACTIONS(173),
3624 [anon_sym_free_ctx] = ACTIONS(173),
3625 [anon_sym_change_tag] = ACTIONS(173),
3626 [anon_sym_extract_tag] = ACTIONS(173),
3627 [anon_sym_read] = ACTIONS(173),
3628 [anon_sym_write] = ACTIONS(173),
3629 [anon_sym_clear] = ACTIONS(173),
3630 [anon_sym_alloc] = ACTIONS(173),
3631 [anon_sym_exec] = ACTIONS(173),
3632 [anon_sym_free] = ACTIONS(178),
3633 [anon_sym_rd_inc] = ACTIONS(173),
3634 [anon_sym_rd_dec] = ACTIONS(173),
3635 [anon_sym_cmp_sw] = ACTIONS(173),
3636 [anon_sym_load_inst] = ACTIONS(173),
3637 [sym_flow_out] = ACTIONS(173),
3638 [sym_comment] = ACTIONS(3),
3639 },
3640};
3641
3642static const uint16_t ts_small_parse_table[] = {
3643 [0] = 5,
3644 ACTIONS(3), 1,
3645 sym_comment,
3646 ACTIONS(143), 1,
3647 anon_sym_COMMA,
3648 STATE(39), 1,
3649 aux_sym_ref_list_repeat1,
3650 ACTIONS(151), 4,
3651 anon_sym_AT,
3652 anon_sym_lt,
3653 anon_sym_gt,
3654 anon_sym_free,
3655 ACTIONS(149), 46,
3656 ts_builtin_sym_end,
3657 anon_sym_RBRACE,
3658 anon_sym_ATsystem,
3659 anon_sym_AMP,
3660 anon_sym_DOLLAR,
3661 anon_sym_add,
3662 anon_sym_sub,
3663 anon_sym_inc,
3664 anon_sym_dec,
3665 anon_sym_shiftl,
3666 anon_sym_shiftr,
3667 anon_sym_ashiftr,
3668 anon_sym_and,
3669 anon_sym_or,
3670 anon_sym_xor,
3671 anon_sym_not,
3672 anon_sym_eq,
3673 anon_sym_lte,
3674 anon_sym_gte,
3675 anon_sym_breq,
3676 anon_sym_brgt,
3677 anon_sym_brge,
3678 anon_sym_brof,
3679 anon_sym_brty,
3680 anon_sym_sweq,
3681 anon_sym_swgt,
3682 anon_sym_swge,
3683 anon_sym_swof,
3684 anon_sym_swty,
3685 anon_sym_gate,
3686 anon_sym_sel,
3687 anon_sym_merge,
3688 anon_sym_pass,
3689 anon_sym_const,
3690 anon_sym_free_ctx,
3691 anon_sym_change_tag,
3692 anon_sym_extract_tag,
3693 anon_sym_read,
3694 anon_sym_write,
3695 anon_sym_clear,
3696 anon_sym_alloc,
3697 anon_sym_exec,
3698 anon_sym_rd_inc,
3699 anon_sym_rd_dec,
3700 anon_sym_cmp_sw,
3701 anon_sym_load_inst,
3702 [64] = 5,
3703 ACTIONS(3), 1,
3704 sym_comment,
3705 ACTIONS(182), 1,
3706 anon_sym_COMMA,
3707 STATE(29), 1,
3708 aux_sym_value_list_repeat1,
3709 ACTIONS(185), 4,
3710 anon_sym_AT,
3711 anon_sym_lt,
3712 anon_sym_gt,
3713 anon_sym_free,
3714 ACTIONS(180), 46,
3715 ts_builtin_sym_end,
3716 anon_sym_RBRACE,
3717 anon_sym_ATsystem,
3718 anon_sym_AMP,
3719 anon_sym_DOLLAR,
3720 anon_sym_add,
3721 anon_sym_sub,
3722 anon_sym_inc,
3723 anon_sym_dec,
3724 anon_sym_shiftl,
3725 anon_sym_shiftr,
3726 anon_sym_ashiftr,
3727 anon_sym_and,
3728 anon_sym_or,
3729 anon_sym_xor,
3730 anon_sym_not,
3731 anon_sym_eq,
3732 anon_sym_lte,
3733 anon_sym_gte,
3734 anon_sym_breq,
3735 anon_sym_brgt,
3736 anon_sym_brge,
3737 anon_sym_brof,
3738 anon_sym_brty,
3739 anon_sym_sweq,
3740 anon_sym_swgt,
3741 anon_sym_swge,
3742 anon_sym_swof,
3743 anon_sym_swty,
3744 anon_sym_gate,
3745 anon_sym_sel,
3746 anon_sym_merge,
3747 anon_sym_pass,
3748 anon_sym_const,
3749 anon_sym_free_ctx,
3750 anon_sym_change_tag,
3751 anon_sym_extract_tag,
3752 anon_sym_read,
3753 anon_sym_write,
3754 anon_sym_clear,
3755 anon_sym_alloc,
3756 anon_sym_exec,
3757 anon_sym_rd_inc,
3758 anon_sym_rd_dec,
3759 anon_sym_cmp_sw,
3760 anon_sym_load_inst,
3761 [128] = 5,
3762 ACTIONS(3), 1,
3763 sym_comment,
3764 ACTIONS(189), 1,
3765 anon_sym_COMMA,
3766 STATE(35), 1,
3767 aux_sym_pragma_repeat1,
3768 ACTIONS(191), 4,
3769 anon_sym_AT,
3770 anon_sym_lt,
3771 anon_sym_gt,
3772 anon_sym_free,
3773 ACTIONS(187), 46,
3774 ts_builtin_sym_end,
3775 anon_sym_RBRACE,
3776 anon_sym_ATsystem,
3777 anon_sym_AMP,
3778 anon_sym_DOLLAR,
3779 anon_sym_add,
3780 anon_sym_sub,
3781 anon_sym_inc,
3782 anon_sym_dec,
3783 anon_sym_shiftl,
3784 anon_sym_shiftr,
3785 anon_sym_ashiftr,
3786 anon_sym_and,
3787 anon_sym_or,
3788 anon_sym_xor,
3789 anon_sym_not,
3790 anon_sym_eq,
3791 anon_sym_lte,
3792 anon_sym_gte,
3793 anon_sym_breq,
3794 anon_sym_brgt,
3795 anon_sym_brge,
3796 anon_sym_brof,
3797 anon_sym_brty,
3798 anon_sym_sweq,
3799 anon_sym_swgt,
3800 anon_sym_swge,
3801 anon_sym_swof,
3802 anon_sym_swty,
3803 anon_sym_gate,
3804 anon_sym_sel,
3805 anon_sym_merge,
3806 anon_sym_pass,
3807 anon_sym_const,
3808 anon_sym_free_ctx,
3809 anon_sym_change_tag,
3810 anon_sym_extract_tag,
3811 anon_sym_read,
3812 anon_sym_write,
3813 anon_sym_clear,
3814 anon_sym_alloc,
3815 anon_sym_exec,
3816 anon_sym_rd_inc,
3817 anon_sym_rd_dec,
3818 anon_sym_cmp_sw,
3819 anon_sym_load_inst,
3820 [192] = 5,
3821 ACTIONS(3), 1,
3822 sym_comment,
3823 ACTIONS(195), 1,
3824 anon_sym_COMMA,
3825 STATE(31), 1,
3826 aux_sym_ref_list_repeat1,
3827 ACTIONS(198), 4,
3828 anon_sym_AT,
3829 anon_sym_lt,
3830 anon_sym_gt,
3831 anon_sym_free,
3832 ACTIONS(193), 46,
3833 ts_builtin_sym_end,
3834 anon_sym_RBRACE,
3835 anon_sym_ATsystem,
3836 anon_sym_AMP,
3837 anon_sym_DOLLAR,
3838 anon_sym_add,
3839 anon_sym_sub,
3840 anon_sym_inc,
3841 anon_sym_dec,
3842 anon_sym_shiftl,
3843 anon_sym_shiftr,
3844 anon_sym_ashiftr,
3845 anon_sym_and,
3846 anon_sym_or,
3847 anon_sym_xor,
3848 anon_sym_not,
3849 anon_sym_eq,
3850 anon_sym_lte,
3851 anon_sym_gte,
3852 anon_sym_breq,
3853 anon_sym_brgt,
3854 anon_sym_brge,
3855 anon_sym_brof,
3856 anon_sym_brty,
3857 anon_sym_sweq,
3858 anon_sym_swgt,
3859 anon_sym_swge,
3860 anon_sym_swof,
3861 anon_sym_swty,
3862 anon_sym_gate,
3863 anon_sym_sel,
3864 anon_sym_merge,
3865 anon_sym_pass,
3866 anon_sym_const,
3867 anon_sym_free_ctx,
3868 anon_sym_change_tag,
3869 anon_sym_extract_tag,
3870 anon_sym_read,
3871 anon_sym_write,
3872 anon_sym_clear,
3873 anon_sym_alloc,
3874 anon_sym_exec,
3875 anon_sym_rd_inc,
3876 anon_sym_rd_dec,
3877 anon_sym_cmp_sw,
3878 anon_sym_load_inst,
3879 [256] = 5,
3880 ACTIONS(3), 1,
3881 sym_comment,
3882 ACTIONS(202), 1,
3883 anon_sym_COMMA,
3884 STATE(37), 1,
3885 aux_sym_value_list_repeat1,
3886 ACTIONS(204), 4,
3887 anon_sym_AT,
3888 anon_sym_lt,
3889 anon_sym_gt,
3890 anon_sym_free,
3891 ACTIONS(200), 46,
3892 ts_builtin_sym_end,
3893 anon_sym_RBRACE,
3894 anon_sym_ATsystem,
3895 anon_sym_AMP,
3896 anon_sym_DOLLAR,
3897 anon_sym_add,
3898 anon_sym_sub,
3899 anon_sym_inc,
3900 anon_sym_dec,
3901 anon_sym_shiftl,
3902 anon_sym_shiftr,
3903 anon_sym_ashiftr,
3904 anon_sym_and,
3905 anon_sym_or,
3906 anon_sym_xor,
3907 anon_sym_not,
3908 anon_sym_eq,
3909 anon_sym_lte,
3910 anon_sym_gte,
3911 anon_sym_breq,
3912 anon_sym_brgt,
3913 anon_sym_brge,
3914 anon_sym_brof,
3915 anon_sym_brty,
3916 anon_sym_sweq,
3917 anon_sym_swgt,
3918 anon_sym_swge,
3919 anon_sym_swof,
3920 anon_sym_swty,
3921 anon_sym_gate,
3922 anon_sym_sel,
3923 anon_sym_merge,
3924 anon_sym_pass,
3925 anon_sym_const,
3926 anon_sym_free_ctx,
3927 anon_sym_change_tag,
3928 anon_sym_extract_tag,
3929 anon_sym_read,
3930 anon_sym_write,
3931 anon_sym_clear,
3932 anon_sym_alloc,
3933 anon_sym_exec,
3934 anon_sym_rd_inc,
3935 anon_sym_rd_dec,
3936 anon_sym_cmp_sw,
3937 anon_sym_load_inst,
3938 [320] = 5,
3939 ACTIONS(3), 1,
3940 sym_comment,
3941 ACTIONS(208), 1,
3942 anon_sym_COMMA,
3943 STATE(38), 1,
3944 aux_sym_inst_def_repeat1,
3945 ACTIONS(210), 4,
3946 anon_sym_AT,
3947 anon_sym_lt,
3948 anon_sym_gt,
3949 anon_sym_free,
3950 ACTIONS(206), 46,
3951 ts_builtin_sym_end,
3952 anon_sym_RBRACE,
3953 anon_sym_ATsystem,
3954 anon_sym_AMP,
3955 anon_sym_DOLLAR,
3956 anon_sym_add,
3957 anon_sym_sub,
3958 anon_sym_inc,
3959 anon_sym_dec,
3960 anon_sym_shiftl,
3961 anon_sym_shiftr,
3962 anon_sym_ashiftr,
3963 anon_sym_and,
3964 anon_sym_or,
3965 anon_sym_xor,
3966 anon_sym_not,
3967 anon_sym_eq,
3968 anon_sym_lte,
3969 anon_sym_gte,
3970 anon_sym_breq,
3971 anon_sym_brgt,
3972 anon_sym_brge,
3973 anon_sym_brof,
3974 anon_sym_brty,
3975 anon_sym_sweq,
3976 anon_sym_swgt,
3977 anon_sym_swge,
3978 anon_sym_swof,
3979 anon_sym_swty,
3980 anon_sym_gate,
3981 anon_sym_sel,
3982 anon_sym_merge,
3983 anon_sym_pass,
3984 anon_sym_const,
3985 anon_sym_free_ctx,
3986 anon_sym_change_tag,
3987 anon_sym_extract_tag,
3988 anon_sym_read,
3989 anon_sym_write,
3990 anon_sym_clear,
3991 anon_sym_alloc,
3992 anon_sym_exec,
3993 anon_sym_rd_inc,
3994 anon_sym_rd_dec,
3995 anon_sym_cmp_sw,
3996 anon_sym_load_inst,
3997 [384] = 5,
3998 ACTIONS(3), 1,
3999 sym_comment,
4000 ACTIONS(189), 1,
4001 anon_sym_COMMA,
4002 STATE(30), 1,
4003 aux_sym_pragma_repeat1,
4004 ACTIONS(214), 4,
4005 anon_sym_AT,
4006 anon_sym_lt,
4007 anon_sym_gt,
4008 anon_sym_free,
4009 ACTIONS(212), 46,
4010 ts_builtin_sym_end,
4011 anon_sym_RBRACE,
4012 anon_sym_ATsystem,
4013 anon_sym_AMP,
4014 anon_sym_DOLLAR,
4015 anon_sym_add,
4016 anon_sym_sub,
4017 anon_sym_inc,
4018 anon_sym_dec,
4019 anon_sym_shiftl,
4020 anon_sym_shiftr,
4021 anon_sym_ashiftr,
4022 anon_sym_and,
4023 anon_sym_or,
4024 anon_sym_xor,
4025 anon_sym_not,
4026 anon_sym_eq,
4027 anon_sym_lte,
4028 anon_sym_gte,
4029 anon_sym_breq,
4030 anon_sym_brgt,
4031 anon_sym_brge,
4032 anon_sym_brof,
4033 anon_sym_brty,
4034 anon_sym_sweq,
4035 anon_sym_swgt,
4036 anon_sym_swge,
4037 anon_sym_swof,
4038 anon_sym_swty,
4039 anon_sym_gate,
4040 anon_sym_sel,
4041 anon_sym_merge,
4042 anon_sym_pass,
4043 anon_sym_const,
4044 anon_sym_free_ctx,
4045 anon_sym_change_tag,
4046 anon_sym_extract_tag,
4047 anon_sym_read,
4048 anon_sym_write,
4049 anon_sym_clear,
4050 anon_sym_alloc,
4051 anon_sym_exec,
4052 anon_sym_rd_inc,
4053 anon_sym_rd_dec,
4054 anon_sym_cmp_sw,
4055 anon_sym_load_inst,
4056 [448] = 5,
4057 ACTIONS(3), 1,
4058 sym_comment,
4059 ACTIONS(218), 1,
4060 anon_sym_COMMA,
4061 STATE(35), 1,
4062 aux_sym_pragma_repeat1,
4063 ACTIONS(221), 4,
4064 anon_sym_AT,
4065 anon_sym_lt,
4066 anon_sym_gt,
4067 anon_sym_free,
4068 ACTIONS(216), 46,
4069 ts_builtin_sym_end,
4070 anon_sym_RBRACE,
4071 anon_sym_ATsystem,
4072 anon_sym_AMP,
4073 anon_sym_DOLLAR,
4074 anon_sym_add,
4075 anon_sym_sub,
4076 anon_sym_inc,
4077 anon_sym_dec,
4078 anon_sym_shiftl,
4079 anon_sym_shiftr,
4080 anon_sym_ashiftr,
4081 anon_sym_and,
4082 anon_sym_or,
4083 anon_sym_xor,
4084 anon_sym_not,
4085 anon_sym_eq,
4086 anon_sym_lte,
4087 anon_sym_gte,
4088 anon_sym_breq,
4089 anon_sym_brgt,
4090 anon_sym_brge,
4091 anon_sym_brof,
4092 anon_sym_brty,
4093 anon_sym_sweq,
4094 anon_sym_swgt,
4095 anon_sym_swge,
4096 anon_sym_swof,
4097 anon_sym_swty,
4098 anon_sym_gate,
4099 anon_sym_sel,
4100 anon_sym_merge,
4101 anon_sym_pass,
4102 anon_sym_const,
4103 anon_sym_free_ctx,
4104 anon_sym_change_tag,
4105 anon_sym_extract_tag,
4106 anon_sym_read,
4107 anon_sym_write,
4108 anon_sym_clear,
4109 anon_sym_alloc,
4110 anon_sym_exec,
4111 anon_sym_rd_inc,
4112 anon_sym_rd_dec,
4113 anon_sym_cmp_sw,
4114 anon_sym_load_inst,
4115 [512] = 5,
4116 ACTIONS(3), 1,
4117 sym_comment,
4118 ACTIONS(208), 1,
4119 anon_sym_COMMA,
4120 STATE(42), 1,
4121 aux_sym_inst_def_repeat1,
4122 ACTIONS(225), 4,
4123 anon_sym_AT,
4124 anon_sym_lt,
4125 anon_sym_gt,
4126 anon_sym_free,
4127 ACTIONS(223), 46,
4128 ts_builtin_sym_end,
4129 anon_sym_RBRACE,
4130 anon_sym_ATsystem,
4131 anon_sym_AMP,
4132 anon_sym_DOLLAR,
4133 anon_sym_add,
4134 anon_sym_sub,
4135 anon_sym_inc,
4136 anon_sym_dec,
4137 anon_sym_shiftl,
4138 anon_sym_shiftr,
4139 anon_sym_ashiftr,
4140 anon_sym_and,
4141 anon_sym_or,
4142 anon_sym_xor,
4143 anon_sym_not,
4144 anon_sym_eq,
4145 anon_sym_lte,
4146 anon_sym_gte,
4147 anon_sym_breq,
4148 anon_sym_brgt,
4149 anon_sym_brge,
4150 anon_sym_brof,
4151 anon_sym_brty,
4152 anon_sym_sweq,
4153 anon_sym_swgt,
4154 anon_sym_swge,
4155 anon_sym_swof,
4156 anon_sym_swty,
4157 anon_sym_gate,
4158 anon_sym_sel,
4159 anon_sym_merge,
4160 anon_sym_pass,
4161 anon_sym_const,
4162 anon_sym_free_ctx,
4163 anon_sym_change_tag,
4164 anon_sym_extract_tag,
4165 anon_sym_read,
4166 anon_sym_write,
4167 anon_sym_clear,
4168 anon_sym_alloc,
4169 anon_sym_exec,
4170 anon_sym_rd_inc,
4171 anon_sym_rd_dec,
4172 anon_sym_cmp_sw,
4173 anon_sym_load_inst,
4174 [576] = 5,
4175 ACTIONS(3), 1,
4176 sym_comment,
4177 ACTIONS(202), 1,
4178 anon_sym_COMMA,
4179 STATE(29), 1,
4180 aux_sym_value_list_repeat1,
4181 ACTIONS(229), 4,
4182 anon_sym_AT,
4183 anon_sym_lt,
4184 anon_sym_gt,
4185 anon_sym_free,
4186 ACTIONS(227), 46,
4187 ts_builtin_sym_end,
4188 anon_sym_RBRACE,
4189 anon_sym_ATsystem,
4190 anon_sym_AMP,
4191 anon_sym_DOLLAR,
4192 anon_sym_add,
4193 anon_sym_sub,
4194 anon_sym_inc,
4195 anon_sym_dec,
4196 anon_sym_shiftl,
4197 anon_sym_shiftr,
4198 anon_sym_ashiftr,
4199 anon_sym_and,
4200 anon_sym_or,
4201 anon_sym_xor,
4202 anon_sym_not,
4203 anon_sym_eq,
4204 anon_sym_lte,
4205 anon_sym_gte,
4206 anon_sym_breq,
4207 anon_sym_brgt,
4208 anon_sym_brge,
4209 anon_sym_brof,
4210 anon_sym_brty,
4211 anon_sym_sweq,
4212 anon_sym_swgt,
4213 anon_sym_swge,
4214 anon_sym_swof,
4215 anon_sym_swty,
4216 anon_sym_gate,
4217 anon_sym_sel,
4218 anon_sym_merge,
4219 anon_sym_pass,
4220 anon_sym_const,
4221 anon_sym_free_ctx,
4222 anon_sym_change_tag,
4223 anon_sym_extract_tag,
4224 anon_sym_read,
4225 anon_sym_write,
4226 anon_sym_clear,
4227 anon_sym_alloc,
4228 anon_sym_exec,
4229 anon_sym_rd_inc,
4230 anon_sym_rd_dec,
4231 anon_sym_cmp_sw,
4232 anon_sym_load_inst,
4233 [640] = 5,
4234 ACTIONS(3), 1,
4235 sym_comment,
4236 ACTIONS(208), 1,
4237 anon_sym_COMMA,
4238 STATE(27), 1,
4239 aux_sym_inst_def_repeat1,
4240 ACTIONS(233), 4,
4241 anon_sym_AT,
4242 anon_sym_lt,
4243 anon_sym_gt,
4244 anon_sym_free,
4245 ACTIONS(231), 46,
4246 ts_builtin_sym_end,
4247 anon_sym_RBRACE,
4248 anon_sym_ATsystem,
4249 anon_sym_AMP,
4250 anon_sym_DOLLAR,
4251 anon_sym_add,
4252 anon_sym_sub,
4253 anon_sym_inc,
4254 anon_sym_dec,
4255 anon_sym_shiftl,
4256 anon_sym_shiftr,
4257 anon_sym_ashiftr,
4258 anon_sym_and,
4259 anon_sym_or,
4260 anon_sym_xor,
4261 anon_sym_not,
4262 anon_sym_eq,
4263 anon_sym_lte,
4264 anon_sym_gte,
4265 anon_sym_breq,
4266 anon_sym_brgt,
4267 anon_sym_brge,
4268 anon_sym_brof,
4269 anon_sym_brty,
4270 anon_sym_sweq,
4271 anon_sym_swgt,
4272 anon_sym_swge,
4273 anon_sym_swof,
4274 anon_sym_swty,
4275 anon_sym_gate,
4276 anon_sym_sel,
4277 anon_sym_merge,
4278 anon_sym_pass,
4279 anon_sym_const,
4280 anon_sym_free_ctx,
4281 anon_sym_change_tag,
4282 anon_sym_extract_tag,
4283 anon_sym_read,
4284 anon_sym_write,
4285 anon_sym_clear,
4286 anon_sym_alloc,
4287 anon_sym_exec,
4288 anon_sym_rd_inc,
4289 anon_sym_rd_dec,
4290 anon_sym_cmp_sw,
4291 anon_sym_load_inst,
4292 [704] = 5,
4293 ACTIONS(3), 1,
4294 sym_comment,
4295 ACTIONS(143), 1,
4296 anon_sym_COMMA,
4297 STATE(31), 1,
4298 aux_sym_ref_list_repeat1,
4299 ACTIONS(237), 4,
4300 anon_sym_AT,
4301 anon_sym_lt,
4302 anon_sym_gt,
4303 anon_sym_free,
4304 ACTIONS(235), 46,
4305 ts_builtin_sym_end,
4306 anon_sym_RBRACE,
4307 anon_sym_ATsystem,
4308 anon_sym_AMP,
4309 anon_sym_DOLLAR,
4310 anon_sym_add,
4311 anon_sym_sub,
4312 anon_sym_inc,
4313 anon_sym_dec,
4314 anon_sym_shiftl,
4315 anon_sym_shiftr,
4316 anon_sym_ashiftr,
4317 anon_sym_and,
4318 anon_sym_or,
4319 anon_sym_xor,
4320 anon_sym_not,
4321 anon_sym_eq,
4322 anon_sym_lte,
4323 anon_sym_gte,
4324 anon_sym_breq,
4325 anon_sym_brgt,
4326 anon_sym_brge,
4327 anon_sym_brof,
4328 anon_sym_brty,
4329 anon_sym_sweq,
4330 anon_sym_swgt,
4331 anon_sym_swge,
4332 anon_sym_swof,
4333 anon_sym_swty,
4334 anon_sym_gate,
4335 anon_sym_sel,
4336 anon_sym_merge,
4337 anon_sym_pass,
4338 anon_sym_const,
4339 anon_sym_free_ctx,
4340 anon_sym_change_tag,
4341 anon_sym_extract_tag,
4342 anon_sym_read,
4343 anon_sym_write,
4344 anon_sym_clear,
4345 anon_sym_alloc,
4346 anon_sym_exec,
4347 anon_sym_rd_inc,
4348 anon_sym_rd_dec,
4349 anon_sym_cmp_sw,
4350 anon_sym_load_inst,
4351 [768] = 3,
4352 ACTIONS(3), 1,
4353 sym_comment,
4354 ACTIONS(241), 4,
4355 anon_sym_AT,
4356 anon_sym_lt,
4357 anon_sym_gt,
4358 anon_sym_free,
4359 ACTIONS(239), 48,
4360 ts_builtin_sym_end,
4361 anon_sym_RBRACE,
4362 anon_sym_COMMA,
4363 anon_sym_ATsystem,
4364 anon_sym_AMP,
4365 anon_sym_DOLLAR,
4366 anon_sym_add,
4367 anon_sym_sub,
4368 anon_sym_inc,
4369 anon_sym_dec,
4370 anon_sym_shiftl,
4371 anon_sym_shiftr,
4372 anon_sym_ashiftr,
4373 anon_sym_and,
4374 anon_sym_or,
4375 anon_sym_xor,
4376 anon_sym_not,
4377 anon_sym_eq,
4378 anon_sym_lte,
4379 anon_sym_gte,
4380 anon_sym_breq,
4381 anon_sym_brgt,
4382 anon_sym_brge,
4383 anon_sym_brof,
4384 anon_sym_brty,
4385 anon_sym_sweq,
4386 anon_sym_swgt,
4387 anon_sym_swge,
4388 anon_sym_swof,
4389 anon_sym_swty,
4390 anon_sym_gate,
4391 anon_sym_sel,
4392 anon_sym_merge,
4393 anon_sym_pass,
4394 anon_sym_const,
4395 anon_sym_free_ctx,
4396 anon_sym_change_tag,
4397 anon_sym_extract_tag,
4398 anon_sym_read,
4399 anon_sym_write,
4400 anon_sym_clear,
4401 anon_sym_alloc,
4402 anon_sym_exec,
4403 anon_sym_rd_inc,
4404 anon_sym_rd_dec,
4405 anon_sym_cmp_sw,
4406 anon_sym_load_inst,
4407 sym_flow_out,
4408 [828] = 3,
4409 ACTIONS(3), 1,
4410 sym_comment,
4411 ACTIONS(178), 4,
4412 anon_sym_AT,
4413 anon_sym_lt,
4414 anon_sym_gt,
4415 anon_sym_free,
4416 ACTIONS(173), 48,
4417 ts_builtin_sym_end,
4418 anon_sym_RBRACE,
4419 anon_sym_COMMA,
4420 anon_sym_ATsystem,
4421 anon_sym_AMP,
4422 anon_sym_DOLLAR,
4423 anon_sym_add,
4424 anon_sym_sub,
4425 anon_sym_inc,
4426 anon_sym_dec,
4427 anon_sym_shiftl,
4428 anon_sym_shiftr,
4429 anon_sym_ashiftr,
4430 anon_sym_and,
4431 anon_sym_or,
4432 anon_sym_xor,
4433 anon_sym_not,
4434 anon_sym_eq,
4435 anon_sym_lte,
4436 anon_sym_gte,
4437 anon_sym_breq,
4438 anon_sym_brgt,
4439 anon_sym_brge,
4440 anon_sym_brof,
4441 anon_sym_brty,
4442 anon_sym_sweq,
4443 anon_sym_swgt,
4444 anon_sym_swge,
4445 anon_sym_swof,
4446 anon_sym_swty,
4447 anon_sym_gate,
4448 anon_sym_sel,
4449 anon_sym_merge,
4450 anon_sym_pass,
4451 anon_sym_const,
4452 anon_sym_free_ctx,
4453 anon_sym_change_tag,
4454 anon_sym_extract_tag,
4455 anon_sym_read,
4456 anon_sym_write,
4457 anon_sym_clear,
4458 anon_sym_alloc,
4459 anon_sym_exec,
4460 anon_sym_rd_inc,
4461 anon_sym_rd_dec,
4462 anon_sym_cmp_sw,
4463 anon_sym_load_inst,
4464 sym_flow_out,
4465 [888] = 5,
4466 ACTIONS(3), 1,
4467 sym_comment,
4468 ACTIONS(208), 1,
4469 anon_sym_COMMA,
4470 STATE(27), 1,
4471 aux_sym_inst_def_repeat1,
4472 ACTIONS(245), 4,
4473 anon_sym_AT,
4474 anon_sym_lt,
4475 anon_sym_gt,
4476 anon_sym_free,
4477 ACTIONS(243), 46,
4478 ts_builtin_sym_end,
4479 anon_sym_RBRACE,
4480 anon_sym_ATsystem,
4481 anon_sym_AMP,
4482 anon_sym_DOLLAR,
4483 anon_sym_add,
4484 anon_sym_sub,
4485 anon_sym_inc,
4486 anon_sym_dec,
4487 anon_sym_shiftl,
4488 anon_sym_shiftr,
4489 anon_sym_ashiftr,
4490 anon_sym_and,
4491 anon_sym_or,
4492 anon_sym_xor,
4493 anon_sym_not,
4494 anon_sym_eq,
4495 anon_sym_lte,
4496 anon_sym_gte,
4497 anon_sym_breq,
4498 anon_sym_brgt,
4499 anon_sym_brge,
4500 anon_sym_brof,
4501 anon_sym_brty,
4502 anon_sym_sweq,
4503 anon_sym_swgt,
4504 anon_sym_swge,
4505 anon_sym_swof,
4506 anon_sym_swty,
4507 anon_sym_gate,
4508 anon_sym_sel,
4509 anon_sym_merge,
4510 anon_sym_pass,
4511 anon_sym_const,
4512 anon_sym_free_ctx,
4513 anon_sym_change_tag,
4514 anon_sym_extract_tag,
4515 anon_sym_read,
4516 anon_sym_write,
4517 anon_sym_clear,
4518 anon_sym_alloc,
4519 anon_sym_exec,
4520 anon_sym_rd_inc,
4521 anon_sym_rd_dec,
4522 anon_sym_cmp_sw,
4523 anon_sym_load_inst,
4524 [952] = 3,
4525 ACTIONS(3), 1,
4526 sym_comment,
4527 ACTIONS(198), 4,
4528 anon_sym_AT,
4529 anon_sym_lt,
4530 anon_sym_gt,
4531 anon_sym_free,
4532 ACTIONS(193), 47,
4533 ts_builtin_sym_end,
4534 anon_sym_RBRACE,
4535 anon_sym_COMMA,
4536 anon_sym_ATsystem,
4537 anon_sym_AMP,
4538 anon_sym_DOLLAR,
4539 anon_sym_add,
4540 anon_sym_sub,
4541 anon_sym_inc,
4542 anon_sym_dec,
4543 anon_sym_shiftl,
4544 anon_sym_shiftr,
4545 anon_sym_ashiftr,
4546 anon_sym_and,
4547 anon_sym_or,
4548 anon_sym_xor,
4549 anon_sym_not,
4550 anon_sym_eq,
4551 anon_sym_lte,
4552 anon_sym_gte,
4553 anon_sym_breq,
4554 anon_sym_brgt,
4555 anon_sym_brge,
4556 anon_sym_brof,
4557 anon_sym_brty,
4558 anon_sym_sweq,
4559 anon_sym_swgt,
4560 anon_sym_swge,
4561 anon_sym_swof,
4562 anon_sym_swty,
4563 anon_sym_gate,
4564 anon_sym_sel,
4565 anon_sym_merge,
4566 anon_sym_pass,
4567 anon_sym_const,
4568 anon_sym_free_ctx,
4569 anon_sym_change_tag,
4570 anon_sym_extract_tag,
4571 anon_sym_read,
4572 anon_sym_write,
4573 anon_sym_clear,
4574 anon_sym_alloc,
4575 anon_sym_exec,
4576 anon_sym_rd_inc,
4577 anon_sym_rd_dec,
4578 anon_sym_cmp_sw,
4579 anon_sym_load_inst,
4580 [1011] = 3,
4581 ACTIONS(3), 1,
4582 sym_comment,
4583 ACTIONS(249), 4,
4584 anon_sym_AT,
4585 anon_sym_lt,
4586 anon_sym_gt,
4587 anon_sym_free,
4588 ACTIONS(247), 47,
4589 ts_builtin_sym_end,
4590 anon_sym_RBRACE,
4591 anon_sym_COMMA,
4592 anon_sym_ATsystem,
4593 anon_sym_AMP,
4594 anon_sym_DOLLAR,
4595 anon_sym_add,
4596 anon_sym_sub,
4597 anon_sym_inc,
4598 anon_sym_dec,
4599 anon_sym_shiftl,
4600 anon_sym_shiftr,
4601 anon_sym_ashiftr,
4602 anon_sym_and,
4603 anon_sym_or,
4604 anon_sym_xor,
4605 anon_sym_not,
4606 anon_sym_eq,
4607 anon_sym_lte,
4608 anon_sym_gte,
4609 anon_sym_breq,
4610 anon_sym_brgt,
4611 anon_sym_brge,
4612 anon_sym_brof,
4613 anon_sym_brty,
4614 anon_sym_sweq,
4615 anon_sym_swgt,
4616 anon_sym_swge,
4617 anon_sym_swof,
4618 anon_sym_swty,
4619 anon_sym_gate,
4620 anon_sym_sel,
4621 anon_sym_merge,
4622 anon_sym_pass,
4623 anon_sym_const,
4624 anon_sym_free_ctx,
4625 anon_sym_change_tag,
4626 anon_sym_extract_tag,
4627 anon_sym_read,
4628 anon_sym_write,
4629 anon_sym_clear,
4630 anon_sym_alloc,
4631 anon_sym_exec,
4632 anon_sym_rd_inc,
4633 anon_sym_rd_dec,
4634 anon_sym_cmp_sw,
4635 anon_sym_load_inst,
4636 [1070] = 3,
4637 ACTIONS(3), 1,
4638 sym_comment,
4639 ACTIONS(221), 4,
4640 anon_sym_AT,
4641 anon_sym_lt,
4642 anon_sym_gt,
4643 anon_sym_free,
4644 ACTIONS(216), 47,
4645 ts_builtin_sym_end,
4646 anon_sym_RBRACE,
4647 anon_sym_COMMA,
4648 anon_sym_ATsystem,
4649 anon_sym_AMP,
4650 anon_sym_DOLLAR,
4651 anon_sym_add,
4652 anon_sym_sub,
4653 anon_sym_inc,
4654 anon_sym_dec,
4655 anon_sym_shiftl,
4656 anon_sym_shiftr,
4657 anon_sym_ashiftr,
4658 anon_sym_and,
4659 anon_sym_or,
4660 anon_sym_xor,
4661 anon_sym_not,
4662 anon_sym_eq,
4663 anon_sym_lte,
4664 anon_sym_gte,
4665 anon_sym_breq,
4666 anon_sym_brgt,
4667 anon_sym_brge,
4668 anon_sym_brof,
4669 anon_sym_brty,
4670 anon_sym_sweq,
4671 anon_sym_swgt,
4672 anon_sym_swge,
4673 anon_sym_swof,
4674 anon_sym_swty,
4675 anon_sym_gate,
4676 anon_sym_sel,
4677 anon_sym_merge,
4678 anon_sym_pass,
4679 anon_sym_const,
4680 anon_sym_free_ctx,
4681 anon_sym_change_tag,
4682 anon_sym_extract_tag,
4683 anon_sym_read,
4684 anon_sym_write,
4685 anon_sym_clear,
4686 anon_sym_alloc,
4687 anon_sym_exec,
4688 anon_sym_rd_inc,
4689 anon_sym_rd_dec,
4690 anon_sym_cmp_sw,
4691 anon_sym_load_inst,
4692 [1129] = 3,
4693 ACTIONS(3), 1,
4694 sym_comment,
4695 ACTIONS(253), 4,
4696 anon_sym_AT,
4697 anon_sym_lt,
4698 anon_sym_gt,
4699 anon_sym_free,
4700 ACTIONS(251), 47,
4701 ts_builtin_sym_end,
4702 anon_sym_RBRACE,
4703 anon_sym_COMMA,
4704 anon_sym_ATsystem,
4705 anon_sym_AMP,
4706 anon_sym_DOLLAR,
4707 anon_sym_add,
4708 anon_sym_sub,
4709 anon_sym_inc,
4710 anon_sym_dec,
4711 anon_sym_shiftl,
4712 anon_sym_shiftr,
4713 anon_sym_ashiftr,
4714 anon_sym_and,
4715 anon_sym_or,
4716 anon_sym_xor,
4717 anon_sym_not,
4718 anon_sym_eq,
4719 anon_sym_lte,
4720 anon_sym_gte,
4721 anon_sym_breq,
4722 anon_sym_brgt,
4723 anon_sym_brge,
4724 anon_sym_brof,
4725 anon_sym_brty,
4726 anon_sym_sweq,
4727 anon_sym_swgt,
4728 anon_sym_swge,
4729 anon_sym_swof,
4730 anon_sym_swty,
4731 anon_sym_gate,
4732 anon_sym_sel,
4733 anon_sym_merge,
4734 anon_sym_pass,
4735 anon_sym_const,
4736 anon_sym_free_ctx,
4737 anon_sym_change_tag,
4738 anon_sym_extract_tag,
4739 anon_sym_read,
4740 anon_sym_write,
4741 anon_sym_clear,
4742 anon_sym_alloc,
4743 anon_sym_exec,
4744 anon_sym_rd_inc,
4745 anon_sym_rd_dec,
4746 anon_sym_cmp_sw,
4747 anon_sym_load_inst,
4748 [1188] = 3,
4749 ACTIONS(3), 1,
4750 sym_comment,
4751 ACTIONS(185), 4,
4752 anon_sym_AT,
4753 anon_sym_lt,
4754 anon_sym_gt,
4755 anon_sym_free,
4756 ACTIONS(180), 47,
4757 ts_builtin_sym_end,
4758 anon_sym_RBRACE,
4759 anon_sym_COMMA,
4760 anon_sym_ATsystem,
4761 anon_sym_AMP,
4762 anon_sym_DOLLAR,
4763 anon_sym_add,
4764 anon_sym_sub,
4765 anon_sym_inc,
4766 anon_sym_dec,
4767 anon_sym_shiftl,
4768 anon_sym_shiftr,
4769 anon_sym_ashiftr,
4770 anon_sym_and,
4771 anon_sym_or,
4772 anon_sym_xor,
4773 anon_sym_not,
4774 anon_sym_eq,
4775 anon_sym_lte,
4776 anon_sym_gte,
4777 anon_sym_breq,
4778 anon_sym_brgt,
4779 anon_sym_brge,
4780 anon_sym_brof,
4781 anon_sym_brty,
4782 anon_sym_sweq,
4783 anon_sym_swgt,
4784 anon_sym_swge,
4785 anon_sym_swof,
4786 anon_sym_swty,
4787 anon_sym_gate,
4788 anon_sym_sel,
4789 anon_sym_merge,
4790 anon_sym_pass,
4791 anon_sym_const,
4792 anon_sym_free_ctx,
4793 anon_sym_change_tag,
4794 anon_sym_extract_tag,
4795 anon_sym_read,
4796 anon_sym_write,
4797 anon_sym_clear,
4798 anon_sym_alloc,
4799 anon_sym_exec,
4800 anon_sym_rd_inc,
4801 anon_sym_rd_dec,
4802 anon_sym_cmp_sw,
4803 anon_sym_load_inst,
4804 [1247] = 3,
4805 ACTIONS(3), 1,
4806 sym_comment,
4807 ACTIONS(257), 4,
4808 anon_sym_AT,
4809 anon_sym_lt,
4810 anon_sym_gt,
4811 anon_sym_free,
4812 ACTIONS(255), 46,
4813 ts_builtin_sym_end,
4814 anon_sym_RBRACE,
4815 anon_sym_ATsystem,
4816 anon_sym_AMP,
4817 anon_sym_DOLLAR,
4818 anon_sym_add,
4819 anon_sym_sub,
4820 anon_sym_inc,
4821 anon_sym_dec,
4822 anon_sym_shiftl,
4823 anon_sym_shiftr,
4824 anon_sym_ashiftr,
4825 anon_sym_and,
4826 anon_sym_or,
4827 anon_sym_xor,
4828 anon_sym_not,
4829 anon_sym_eq,
4830 anon_sym_lte,
4831 anon_sym_gte,
4832 anon_sym_breq,
4833 anon_sym_brgt,
4834 anon_sym_brge,
4835 anon_sym_brof,
4836 anon_sym_brty,
4837 anon_sym_sweq,
4838 anon_sym_swgt,
4839 anon_sym_swge,
4840 anon_sym_swof,
4841 anon_sym_swty,
4842 anon_sym_gate,
4843 anon_sym_sel,
4844 anon_sym_merge,
4845 anon_sym_pass,
4846 anon_sym_const,
4847 anon_sym_free_ctx,
4848 anon_sym_change_tag,
4849 anon_sym_extract_tag,
4850 anon_sym_read,
4851 anon_sym_write,
4852 anon_sym_clear,
4853 anon_sym_alloc,
4854 anon_sym_exec,
4855 anon_sym_rd_inc,
4856 anon_sym_rd_dec,
4857 anon_sym_cmp_sw,
4858 anon_sym_load_inst,
4859 [1305] = 3,
4860 ACTIONS(3), 1,
4861 sym_comment,
4862 ACTIONS(261), 4,
4863 anon_sym_AT,
4864 anon_sym_lt,
4865 anon_sym_gt,
4866 anon_sym_free,
4867 ACTIONS(259), 46,
4868 ts_builtin_sym_end,
4869 anon_sym_RBRACE,
4870 anon_sym_ATsystem,
4871 anon_sym_AMP,
4872 anon_sym_DOLLAR,
4873 anon_sym_add,
4874 anon_sym_sub,
4875 anon_sym_inc,
4876 anon_sym_dec,
4877 anon_sym_shiftl,
4878 anon_sym_shiftr,
4879 anon_sym_ashiftr,
4880 anon_sym_and,
4881 anon_sym_or,
4882 anon_sym_xor,
4883 anon_sym_not,
4884 anon_sym_eq,
4885 anon_sym_lte,
4886 anon_sym_gte,
4887 anon_sym_breq,
4888 anon_sym_brgt,
4889 anon_sym_brge,
4890 anon_sym_brof,
4891 anon_sym_brty,
4892 anon_sym_sweq,
4893 anon_sym_swgt,
4894 anon_sym_swge,
4895 anon_sym_swof,
4896 anon_sym_swty,
4897 anon_sym_gate,
4898 anon_sym_sel,
4899 anon_sym_merge,
4900 anon_sym_pass,
4901 anon_sym_const,
4902 anon_sym_free_ctx,
4903 anon_sym_change_tag,
4904 anon_sym_extract_tag,
4905 anon_sym_read,
4906 anon_sym_write,
4907 anon_sym_clear,
4908 anon_sym_alloc,
4909 anon_sym_exec,
4910 anon_sym_rd_inc,
4911 anon_sym_rd_dec,
4912 anon_sym_cmp_sw,
4913 anon_sym_load_inst,
4914 [1363] = 3,
4915 ACTIONS(3), 1,
4916 sym_comment,
4917 ACTIONS(265), 4,
4918 anon_sym_AT,
4919 anon_sym_lt,
4920 anon_sym_gt,
4921 anon_sym_free,
4922 ACTIONS(263), 46,
4923 ts_builtin_sym_end,
4924 anon_sym_RBRACE,
4925 anon_sym_ATsystem,
4926 anon_sym_AMP,
4927 anon_sym_DOLLAR,
4928 anon_sym_add,
4929 anon_sym_sub,
4930 anon_sym_inc,
4931 anon_sym_dec,
4932 anon_sym_shiftl,
4933 anon_sym_shiftr,
4934 anon_sym_ashiftr,
4935 anon_sym_and,
4936 anon_sym_or,
4937 anon_sym_xor,
4938 anon_sym_not,
4939 anon_sym_eq,
4940 anon_sym_lte,
4941 anon_sym_gte,
4942 anon_sym_breq,
4943 anon_sym_brgt,
4944 anon_sym_brge,
4945 anon_sym_brof,
4946 anon_sym_brty,
4947 anon_sym_sweq,
4948 anon_sym_swgt,
4949 anon_sym_swge,
4950 anon_sym_swof,
4951 anon_sym_swty,
4952 anon_sym_gate,
4953 anon_sym_sel,
4954 anon_sym_merge,
4955 anon_sym_pass,
4956 anon_sym_const,
4957 anon_sym_free_ctx,
4958 anon_sym_change_tag,
4959 anon_sym_extract_tag,
4960 anon_sym_read,
4961 anon_sym_write,
4962 anon_sym_clear,
4963 anon_sym_alloc,
4964 anon_sym_exec,
4965 anon_sym_rd_inc,
4966 anon_sym_rd_dec,
4967 anon_sym_cmp_sw,
4968 anon_sym_load_inst,
4969 [1421] = 3,
4970 ACTIONS(3), 1,
4971 sym_comment,
4972 ACTIONS(269), 4,
4973 anon_sym_AT,
4974 anon_sym_lt,
4975 anon_sym_gt,
4976 anon_sym_free,
4977 ACTIONS(267), 46,
4978 ts_builtin_sym_end,
4979 anon_sym_RBRACE,
4980 anon_sym_ATsystem,
4981 anon_sym_AMP,
4982 anon_sym_DOLLAR,
4983 anon_sym_add,
4984 anon_sym_sub,
4985 anon_sym_inc,
4986 anon_sym_dec,
4987 anon_sym_shiftl,
4988 anon_sym_shiftr,
4989 anon_sym_ashiftr,
4990 anon_sym_and,
4991 anon_sym_or,
4992 anon_sym_xor,
4993 anon_sym_not,
4994 anon_sym_eq,
4995 anon_sym_lte,
4996 anon_sym_gte,
4997 anon_sym_breq,
4998 anon_sym_brgt,
4999 anon_sym_brge,
5000 anon_sym_brof,
5001 anon_sym_brty,
5002 anon_sym_sweq,
5003 anon_sym_swgt,
5004 anon_sym_swge,
5005 anon_sym_swof,
5006 anon_sym_swty,
5007 anon_sym_gate,
5008 anon_sym_sel,
5009 anon_sym_merge,
5010 anon_sym_pass,
5011 anon_sym_const,
5012 anon_sym_free_ctx,
5013 anon_sym_change_tag,
5014 anon_sym_extract_tag,
5015 anon_sym_read,
5016 anon_sym_write,
5017 anon_sym_clear,
5018 anon_sym_alloc,
5019 anon_sym_exec,
5020 anon_sym_rd_inc,
5021 anon_sym_rd_dec,
5022 anon_sym_cmp_sw,
5023 anon_sym_load_inst,
5024 [1479] = 3,
5025 ACTIONS(3), 1,
5026 sym_comment,
5027 ACTIONS(273), 4,
5028 anon_sym_AT,
5029 anon_sym_lt,
5030 anon_sym_gt,
5031 anon_sym_free,
5032 ACTIONS(271), 46,
5033 ts_builtin_sym_end,
5034 anon_sym_RBRACE,
5035 anon_sym_ATsystem,
5036 anon_sym_AMP,
5037 anon_sym_DOLLAR,
5038 anon_sym_add,
5039 anon_sym_sub,
5040 anon_sym_inc,
5041 anon_sym_dec,
5042 anon_sym_shiftl,
5043 anon_sym_shiftr,
5044 anon_sym_ashiftr,
5045 anon_sym_and,
5046 anon_sym_or,
5047 anon_sym_xor,
5048 anon_sym_not,
5049 anon_sym_eq,
5050 anon_sym_lte,
5051 anon_sym_gte,
5052 anon_sym_breq,
5053 anon_sym_brgt,
5054 anon_sym_brge,
5055 anon_sym_brof,
5056 anon_sym_brty,
5057 anon_sym_sweq,
5058 anon_sym_swgt,
5059 anon_sym_swge,
5060 anon_sym_swof,
5061 anon_sym_swty,
5062 anon_sym_gate,
5063 anon_sym_sel,
5064 anon_sym_merge,
5065 anon_sym_pass,
5066 anon_sym_const,
5067 anon_sym_free_ctx,
5068 anon_sym_change_tag,
5069 anon_sym_extract_tag,
5070 anon_sym_read,
5071 anon_sym_write,
5072 anon_sym_clear,
5073 anon_sym_alloc,
5074 anon_sym_exec,
5075 anon_sym_rd_inc,
5076 anon_sym_rd_dec,
5077 anon_sym_cmp_sw,
5078 anon_sym_load_inst,
5079 [1537] = 3,
5080 ACTIONS(3), 1,
5081 sym_comment,
5082 ACTIONS(277), 4,
5083 anon_sym_AT,
5084 anon_sym_lt,
5085 anon_sym_gt,
5086 anon_sym_free,
5087 ACTIONS(275), 46,
5088 ts_builtin_sym_end,
5089 anon_sym_RBRACE,
5090 anon_sym_ATsystem,
5091 anon_sym_AMP,
5092 anon_sym_DOLLAR,
5093 anon_sym_add,
5094 anon_sym_sub,
5095 anon_sym_inc,
5096 anon_sym_dec,
5097 anon_sym_shiftl,
5098 anon_sym_shiftr,
5099 anon_sym_ashiftr,
5100 anon_sym_and,
5101 anon_sym_or,
5102 anon_sym_xor,
5103 anon_sym_not,
5104 anon_sym_eq,
5105 anon_sym_lte,
5106 anon_sym_gte,
5107 anon_sym_breq,
5108 anon_sym_brgt,
5109 anon_sym_brge,
5110 anon_sym_brof,
5111 anon_sym_brty,
5112 anon_sym_sweq,
5113 anon_sym_swgt,
5114 anon_sym_swge,
5115 anon_sym_swof,
5116 anon_sym_swty,
5117 anon_sym_gate,
5118 anon_sym_sel,
5119 anon_sym_merge,
5120 anon_sym_pass,
5121 anon_sym_const,
5122 anon_sym_free_ctx,
5123 anon_sym_change_tag,
5124 anon_sym_extract_tag,
5125 anon_sym_read,
5126 anon_sym_write,
5127 anon_sym_clear,
5128 anon_sym_alloc,
5129 anon_sym_exec,
5130 anon_sym_rd_inc,
5131 anon_sym_rd_dec,
5132 anon_sym_cmp_sw,
5133 anon_sym_load_inst,
5134 [1595] = 4,
5135 ACTIONS(3), 1,
5136 sym_comment,
5137 STATE(86), 1,
5138 sym_opcode,
5139 ACTIONS(17), 3,
5140 anon_sym_lt,
5141 anon_sym_gt,
5142 anon_sym_free,
5143 ACTIONS(15), 41,
5144 anon_sym_add,
5145 anon_sym_sub,
5146 anon_sym_inc,
5147 anon_sym_dec,
5148 anon_sym_shiftl,
5149 anon_sym_shiftr,
5150 anon_sym_ashiftr,
5151 anon_sym_and,
5152 anon_sym_or,
5153 anon_sym_xor,
5154 anon_sym_not,
5155 anon_sym_eq,
5156 anon_sym_lte,
5157 anon_sym_gte,
5158 anon_sym_breq,
5159 anon_sym_brgt,
5160 anon_sym_brge,
5161 anon_sym_brof,
5162 anon_sym_brty,
5163 anon_sym_sweq,
5164 anon_sym_swgt,
5165 anon_sym_swge,
5166 anon_sym_swof,
5167 anon_sym_swty,
5168 anon_sym_gate,
5169 anon_sym_sel,
5170 anon_sym_merge,
5171 anon_sym_pass,
5172 anon_sym_const,
5173 anon_sym_free_ctx,
5174 anon_sym_change_tag,
5175 anon_sym_extract_tag,
5176 anon_sym_read,
5177 anon_sym_write,
5178 anon_sym_clear,
5179 anon_sym_alloc,
5180 anon_sym_exec,
5181 anon_sym_rd_inc,
5182 anon_sym_rd_dec,
5183 anon_sym_cmp_sw,
5184 anon_sym_load_inst,
5185 [1650] = 4,
5186 ACTIONS(3), 1,
5187 sym_comment,
5188 STATE(33), 1,
5189 sym_opcode,
5190 ACTIONS(281), 3,
5191 anon_sym_lt,
5192 anon_sym_gt,
5193 anon_sym_free,
5194 ACTIONS(279), 41,
5195 anon_sym_add,
5196 anon_sym_sub,
5197 anon_sym_inc,
5198 anon_sym_dec,
5199 anon_sym_shiftl,
5200 anon_sym_shiftr,
5201 anon_sym_ashiftr,
5202 anon_sym_and,
5203 anon_sym_or,
5204 anon_sym_xor,
5205 anon_sym_not,
5206 anon_sym_eq,
5207 anon_sym_lte,
5208 anon_sym_gte,
5209 anon_sym_breq,
5210 anon_sym_brgt,
5211 anon_sym_brge,
5212 anon_sym_brof,
5213 anon_sym_brty,
5214 anon_sym_sweq,
5215 anon_sym_swgt,
5216 anon_sym_swge,
5217 anon_sym_swof,
5218 anon_sym_swty,
5219 anon_sym_gate,
5220 anon_sym_sel,
5221 anon_sym_merge,
5222 anon_sym_pass,
5223 anon_sym_const,
5224 anon_sym_free_ctx,
5225 anon_sym_change_tag,
5226 anon_sym_extract_tag,
5227 anon_sym_read,
5228 anon_sym_write,
5229 anon_sym_clear,
5230 anon_sym_alloc,
5231 anon_sym_exec,
5232 anon_sym_rd_inc,
5233 anon_sym_rd_dec,
5234 anon_sym_cmp_sw,
5235 anon_sym_load_inst,
5236 [1705] = 13,
5237 ACTIONS(3), 1,
5238 sym_comment,
5239 ACTIONS(11), 1,
5240 anon_sym_AMP,
5241 ACTIONS(13), 1,
5242 anon_sym_DOLLAR,
5243 ACTIONS(49), 1,
5244 sym_hex_literal,
5245 ACTIONS(51), 1,
5246 sym_dec_literal,
5247 ACTIONS(53), 1,
5248 anon_sym_SQUOTE,
5249 ACTIONS(55), 1,
5250 anon_sym_DQUOTE,
5251 ACTIONS(57), 1,
5252 anon_sym_r_DQUOTE,
5253 ACTIONS(59), 1,
5254 anon_sym_b_DQUOTE,
5255 ACTIONS(283), 1,
5256 sym_identifier,
5257 ACTIONS(285), 1,
5258 anon_sym_AT,
5259 STATE(10), 3,
5260 sym_node_ref,
5261 sym_label_ref,
5262 sym_func_ref,
5263 STATE(73), 10,
5264 sym_qualified_ref,
5265 sym__argument,
5266 sym_named_arg,
5267 sym__positional_arg,
5268 sym__value,
5269 sym_number_literal,
5270 sym_char_literal,
5271 sym_string_literal,
5272 sym_raw_string_literal,
5273 sym_byte_string_literal,
5274 [1756] = 13,
5275 ACTIONS(3), 1,
5276 sym_comment,
5277 ACTIONS(11), 1,
5278 anon_sym_AMP,
5279 ACTIONS(13), 1,
5280 anon_sym_DOLLAR,
5281 ACTIONS(49), 1,
5282 sym_hex_literal,
5283 ACTIONS(51), 1,
5284 sym_dec_literal,
5285 ACTIONS(53), 1,
5286 anon_sym_SQUOTE,
5287 ACTIONS(55), 1,
5288 anon_sym_DQUOTE,
5289 ACTIONS(57), 1,
5290 anon_sym_r_DQUOTE,
5291 ACTIONS(59), 1,
5292 anon_sym_b_DQUOTE,
5293 ACTIONS(283), 1,
5294 sym_identifier,
5295 ACTIONS(285), 1,
5296 anon_sym_AT,
5297 STATE(10), 3,
5298 sym_node_ref,
5299 sym_label_ref,
5300 sym_func_ref,
5301 STATE(41), 10,
5302 sym_qualified_ref,
5303 sym__argument,
5304 sym_named_arg,
5305 sym__positional_arg,
5306 sym__value,
5307 sym_number_literal,
5308 sym_char_literal,
5309 sym_string_literal,
5310 sym_raw_string_literal,
5311 sym_byte_string_literal,
5312 [1807] = 13,
5313 ACTIONS(3), 1,
5314 sym_comment,
5315 ACTIONS(11), 1,
5316 anon_sym_AMP,
5317 ACTIONS(13), 1,
5318 anon_sym_DOLLAR,
5319 ACTIONS(49), 1,
5320 sym_hex_literal,
5321 ACTIONS(51), 1,
5322 sym_dec_literal,
5323 ACTIONS(53), 1,
5324 anon_sym_SQUOTE,
5325 ACTIONS(55), 1,
5326 anon_sym_DQUOTE,
5327 ACTIONS(57), 1,
5328 anon_sym_r_DQUOTE,
5329 ACTIONS(59), 1,
5330 anon_sym_b_DQUOTE,
5331 ACTIONS(283), 1,
5332 sym_identifier,
5333 ACTIONS(285), 1,
5334 anon_sym_AT,
5335 STATE(10), 3,
5336 sym_node_ref,
5337 sym_label_ref,
5338 sym_func_ref,
5339 STATE(36), 10,
5340 sym_qualified_ref,
5341 sym__argument,
5342 sym_named_arg,
5343 sym__positional_arg,
5344 sym__value,
5345 sym_number_literal,
5346 sym_char_literal,
5347 sym_string_literal,
5348 sym_raw_string_literal,
5349 sym_byte_string_literal,
5350 [1858] = 12,
5351 ACTIONS(3), 1,
5352 sym_comment,
5353 ACTIONS(11), 1,
5354 anon_sym_AMP,
5355 ACTIONS(13), 1,
5356 anon_sym_DOLLAR,
5357 ACTIONS(49), 1,
5358 sym_hex_literal,
5359 ACTIONS(51), 1,
5360 sym_dec_literal,
5361 ACTIONS(53), 1,
5362 anon_sym_SQUOTE,
5363 ACTIONS(55), 1,
5364 anon_sym_DQUOTE,
5365 ACTIONS(57), 1,
5366 anon_sym_r_DQUOTE,
5367 ACTIONS(59), 1,
5368 anon_sym_b_DQUOTE,
5369 ACTIONS(285), 1,
5370 anon_sym_AT,
5371 STATE(10), 3,
5372 sym_node_ref,
5373 sym_label_ref,
5374 sym_func_ref,
5375 STATE(40), 8,
5376 sym_qualified_ref,
5377 sym__positional_arg,
5378 sym__value,
5379 sym_number_literal,
5380 sym_char_literal,
5381 sym_string_literal,
5382 sym_raw_string_literal,
5383 sym_byte_string_literal,
5384 [1904] = 10,
5385 ACTIONS(3), 1,
5386 sym_comment,
5387 ACTIONS(49), 1,
5388 sym_hex_literal,
5389 ACTIONS(51), 1,
5390 sym_dec_literal,
5391 ACTIONS(53), 1,
5392 anon_sym_SQUOTE,
5393 ACTIONS(55), 1,
5394 anon_sym_DQUOTE,
5395 ACTIONS(57), 1,
5396 anon_sym_r_DQUOTE,
5397 ACTIONS(59), 1,
5398 anon_sym_b_DQUOTE,
5399 ACTIONS(287), 1,
5400 anon_sym_POUND,
5401 STATE(50), 2,
5402 sym_value_list,
5403 sym_macro_call,
5404 STATE(32), 6,
5405 sym__value,
5406 sym_number_literal,
5407 sym_char_literal,
5408 sym_string_literal,
5409 sym_raw_string_literal,
5410 sym_byte_string_literal,
5411 [1941] = 8,
5412 ACTIONS(3), 1,
5413 sym_comment,
5414 ACTIONS(49), 1,
5415 sym_hex_literal,
5416 ACTIONS(51), 1,
5417 sym_dec_literal,
5418 ACTIONS(53), 1,
5419 anon_sym_SQUOTE,
5420 ACTIONS(55), 1,
5421 anon_sym_DQUOTE,
5422 ACTIONS(57), 1,
5423 anon_sym_r_DQUOTE,
5424 ACTIONS(59), 1,
5425 anon_sym_b_DQUOTE,
5426 STATE(47), 6,
5427 sym__value,
5428 sym_number_literal,
5429 sym_char_literal,
5430 sym_string_literal,
5431 sym_raw_string_literal,
5432 sym_byte_string_literal,
5433 [1971] = 3,
5434 ACTIONS(3), 1,
5435 sym_comment,
5436 ACTIONS(253), 2,
5437 sym_dec_literal,
5438 sym_identifier,
5439 ACTIONS(251), 9,
5440 anon_sym_AT,
5441 anon_sym_AMP,
5442 anon_sym_DOLLAR,
5443 sym_hex_literal,
5444 anon_sym_SQUOTE,
5445 anon_sym_DQUOTE,
5446 anon_sym_r_DQUOTE,
5447 anon_sym_b_DQUOTE,
5448 sym_flow_in,
5449 [1990] = 7,
5450 ACTIONS(3), 1,
5451 sym_comment,
5452 ACTIONS(11), 1,
5453 anon_sym_AMP,
5454 ACTIONS(13), 1,
5455 anon_sym_DOLLAR,
5456 ACTIONS(285), 1,
5457 anon_sym_AT,
5458 STATE(28), 1,
5459 sym_qualified_ref,
5460 STATE(52), 1,
5461 sym_ref_list,
5462 STATE(10), 3,
5463 sym_node_ref,
5464 sym_label_ref,
5465 sym_func_ref,
5466 [2014] = 7,
5467 ACTIONS(3), 1,
5468 sym_comment,
5469 ACTIONS(11), 1,
5470 anon_sym_AMP,
5471 ACTIONS(13), 1,
5472 anon_sym_DOLLAR,
5473 ACTIONS(285), 1,
5474 anon_sym_AT,
5475 STATE(28), 1,
5476 sym_qualified_ref,
5477 STATE(48), 1,
5478 sym_ref_list,
5479 STATE(10), 3,
5480 sym_node_ref,
5481 sym_label_ref,
5482 sym_func_ref,
5483 [2038] = 7,
5484 ACTIONS(3), 1,
5485 sym_comment,
5486 ACTIONS(11), 1,
5487 anon_sym_AMP,
5488 ACTIONS(13), 1,
5489 anon_sym_DOLLAR,
5490 ACTIONS(285), 1,
5491 anon_sym_AT,
5492 STATE(28), 1,
5493 sym_qualified_ref,
5494 STATE(49), 1,
5495 sym_ref_list,
5496 STATE(10), 3,
5497 sym_node_ref,
5498 sym_label_ref,
5499 sym_func_ref,
5500 [2062] = 6,
5501 ACTIONS(3), 1,
5502 sym_comment,
5503 ACTIONS(11), 1,
5504 anon_sym_AMP,
5505 ACTIONS(13), 1,
5506 anon_sym_DOLLAR,
5507 ACTIONS(285), 1,
5508 anon_sym_AT,
5509 STATE(43), 1,
5510 sym_qualified_ref,
5511 STATE(10), 3,
5512 sym_node_ref,
5513 sym_label_ref,
5514 sym_func_ref,
5515 [2083] = 4,
5516 ACTIONS(289), 1,
5517 anon_sym_DQUOTE,
5518 ACTIONS(294), 1,
5519 sym_comment,
5520 STATE(67), 1,
5521 aux_sym_string_literal_repeat1,
5522 ACTIONS(291), 2,
5523 aux_sym_string_literal_token1,
5524 sym_escape_sequence,
5525 [2097] = 4,
5526 ACTIONS(294), 1,
5527 sym_comment,
5528 ACTIONS(296), 1,
5529 anon_sym_DQUOTE,
5530 STATE(70), 1,
5531 aux_sym_string_literal_repeat1,
5532 ACTIONS(298), 2,
5533 aux_sym_string_literal_token1,
5534 sym_escape_sequence,
5535 [2111] = 4,
5536 ACTIONS(294), 1,
5537 sym_comment,
5538 ACTIONS(300), 1,
5539 anon_sym_DQUOTE,
5540 STATE(67), 1,
5541 aux_sym_string_literal_repeat1,
5542 ACTIONS(302), 2,
5543 aux_sym_string_literal_token1,
5544 sym_escape_sequence,
5545 [2125] = 4,
5546 ACTIONS(294), 1,
5547 sym_comment,
5548 ACTIONS(304), 1,
5549 anon_sym_DQUOTE,
5550 STATE(67), 1,
5551 aux_sym_string_literal_repeat1,
5552 ACTIONS(302), 2,
5553 aux_sym_string_literal_token1,
5554 sym_escape_sequence,
5555 [2139] = 5,
5556 ACTIONS(3), 1,
5557 sym_comment,
5558 ACTIONS(49), 1,
5559 sym_hex_literal,
5560 ACTIONS(51), 1,
5561 sym_dec_literal,
5562 ACTIONS(306), 1,
5563 sym_identifier,
5564 STATE(26), 1,
5565 sym_number_literal,
5566 [2155] = 4,
5567 ACTIONS(294), 1,
5568 sym_comment,
5569 ACTIONS(308), 1,
5570 anon_sym_DQUOTE,
5571 STATE(69), 1,
5572 aux_sym_string_literal_repeat1,
5573 ACTIONS(310), 2,
5574 aux_sym_string_literal_token1,
5575 sym_escape_sequence,
5576 [2169] = 4,
5577 ACTIONS(3), 1,
5578 sym_comment,
5579 ACTIONS(208), 1,
5580 anon_sym_COMMA,
5581 ACTIONS(312), 1,
5582 sym_flow_out,
5583 STATE(74), 1,
5584 aux_sym_inst_def_repeat1,
5585 [2182] = 4,
5586 ACTIONS(3), 1,
5587 sym_comment,
5588 ACTIONS(208), 1,
5589 anon_sym_COMMA,
5590 ACTIONS(314), 1,
5591 sym_flow_out,
5592 STATE(27), 1,
5593 aux_sym_inst_def_repeat1,
5594 [2195] = 4,
5595 ACTIONS(3), 1,
5596 sym_comment,
5597 ACTIONS(49), 1,
5598 sym_hex_literal,
5599 ACTIONS(51), 1,
5600 sym_dec_literal,
5601 STATE(44), 1,
5602 sym_number_literal,
5603 [2208] = 3,
5604 ACTIONS(3), 1,
5605 sym_comment,
5606 ACTIONS(316), 1,
5607 sym_identifier,
5608 STATE(45), 1,
5609 sym_system_param,
5610 [2218] = 3,
5611 ACTIONS(3), 1,
5612 sym_comment,
5613 ACTIONS(316), 1,
5614 sym_identifier,
5615 STATE(34), 1,
5616 sym_system_param,
5617 [2228] = 2,
5618 ACTIONS(294), 1,
5619 sym_comment,
5620 ACTIONS(318), 2,
5621 aux_sym_char_literal_token1,
5622 sym_escape_sequence,
5623 [2236] = 2,
5624 ACTIONS(3), 1,
5625 sym_comment,
5626 ACTIONS(320), 1,
5627 anon_sym_DQUOTE,
5628 [2243] = 2,
5629 ACTIONS(3), 1,
5630 sym_comment,
5631 ACTIONS(322), 1,
5632 sym_identifier,
5633 [2250] = 2,
5634 ACTIONS(3), 1,
5635 sym_comment,
5636 ACTIONS(324), 1,
5637 ts_builtin_sym_end,
5638 [2257] = 2,
5639 ACTIONS(3), 1,
5640 sym_comment,
5641 ACTIONS(326), 1,
5642 anon_sym_SQUOTE,
5643 [2264] = 2,
5644 ACTIONS(3), 1,
5645 sym_comment,
5646 ACTIONS(328), 1,
5647 sym_identifier,
5648 [2271] = 2,
5649 ACTIONS(294), 1,
5650 sym_comment,
5651 ACTIONS(330), 1,
5652 aux_sym_raw_string_literal_token1,
5653 [2278] = 2,
5654 ACTIONS(3), 1,
5655 sym_comment,
5656 ACTIONS(332), 1,
5657 anon_sym_LBRACE,
5658 [2285] = 2,
5659 ACTIONS(3), 1,
5660 sym_comment,
5661 ACTIONS(334), 1,
5662 sym_flow_in,
5663 [2292] = 2,
5664 ACTIONS(3), 1,
5665 sym_comment,
5666 ACTIONS(336), 1,
5667 anon_sym_EQ,
5668 [2299] = 2,
5669 ACTIONS(3), 1,
5670 sym_comment,
5671 ACTIONS(338), 1,
5672 sym_identifier,
5673 [2306] = 2,
5674 ACTIONS(3), 1,
5675 sym_comment,
5676 ACTIONS(340), 1,
5677 sym_identifier,
5678 [2313] = 2,
5679 ACTIONS(3), 1,
5680 sym_comment,
5681 ACTIONS(342), 1,
5682 sym_identifier,
5683 [2320] = 2,
5684 ACTIONS(3), 1,
5685 sym_comment,
5686 ACTIONS(344), 1,
5687 anon_sym_EQ,
5688};
5689
5690static const uint32_t ts_small_parse_table_map[] = {
5691 [SMALL_STATE(28)] = 0,
5692 [SMALL_STATE(29)] = 64,
5693 [SMALL_STATE(30)] = 128,
5694 [SMALL_STATE(31)] = 192,
5695 [SMALL_STATE(32)] = 256,
5696 [SMALL_STATE(33)] = 320,
5697 [SMALL_STATE(34)] = 384,
5698 [SMALL_STATE(35)] = 448,
5699 [SMALL_STATE(36)] = 512,
5700 [SMALL_STATE(37)] = 576,
5701 [SMALL_STATE(38)] = 640,
5702 [SMALL_STATE(39)] = 704,
5703 [SMALL_STATE(40)] = 768,
5704 [SMALL_STATE(41)] = 828,
5705 [SMALL_STATE(42)] = 888,
5706 [SMALL_STATE(43)] = 952,
5707 [SMALL_STATE(44)] = 1011,
5708 [SMALL_STATE(45)] = 1070,
5709 [SMALL_STATE(46)] = 1129,
5710 [SMALL_STATE(47)] = 1188,
5711 [SMALL_STATE(48)] = 1247,
5712 [SMALL_STATE(49)] = 1305,
5713 [SMALL_STATE(50)] = 1363,
5714 [SMALL_STATE(51)] = 1421,
5715 [SMALL_STATE(52)] = 1479,
5716 [SMALL_STATE(53)] = 1537,
5717 [SMALL_STATE(54)] = 1595,
5718 [SMALL_STATE(55)] = 1650,
5719 [SMALL_STATE(56)] = 1705,
5720 [SMALL_STATE(57)] = 1756,
5721 [SMALL_STATE(58)] = 1807,
5722 [SMALL_STATE(59)] = 1858,
5723 [SMALL_STATE(60)] = 1904,
5724 [SMALL_STATE(61)] = 1941,
5725 [SMALL_STATE(62)] = 1971,
5726 [SMALL_STATE(63)] = 1990,
5727 [SMALL_STATE(64)] = 2014,
5728 [SMALL_STATE(65)] = 2038,
5729 [SMALL_STATE(66)] = 2062,
5730 [SMALL_STATE(67)] = 2083,
5731 [SMALL_STATE(68)] = 2097,
5732 [SMALL_STATE(69)] = 2111,
5733 [SMALL_STATE(70)] = 2125,
5734 [SMALL_STATE(71)] = 2139,
5735 [SMALL_STATE(72)] = 2155,
5736 [SMALL_STATE(73)] = 2169,
5737 [SMALL_STATE(74)] = 2182,
5738 [SMALL_STATE(75)] = 2195,
5739 [SMALL_STATE(76)] = 2208,
5740 [SMALL_STATE(77)] = 2218,
5741 [SMALL_STATE(78)] = 2228,
5742 [SMALL_STATE(79)] = 2236,
5743 [SMALL_STATE(80)] = 2243,
5744 [SMALL_STATE(81)] = 2250,
5745 [SMALL_STATE(82)] = 2257,
5746 [SMALL_STATE(83)] = 2264,
5747 [SMALL_STATE(84)] = 2271,
5748 [SMALL_STATE(85)] = 2278,
5749 [SMALL_STATE(86)] = 2285,
5750 [SMALL_STATE(87)] = 2292,
5751 [SMALL_STATE(88)] = 2299,
5752 [SMALL_STATE(89)] = 2306,
5753 [SMALL_STATE(90)] = 2313,
5754 [SMALL_STATE(91)] = 2320,
5755};
5756
5757static const TSParseActionEntry ts_parse_actions[] = {
5758 [0] = {.entry = {.count = 0, .reusable = false}},
5759 [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
5760 [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(),
5761 [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_program, 0, 0, 0),
5762 [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
5763 [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90),
5764 [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
5765 [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
5766 [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
5767 [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62),
5768 [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0),
5769 [21] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(77),
5770 [24] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(90),
5771 [27] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(80),
5772 [30] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(83),
5773 [33] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(62),
5774 [36] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(62),
5775 [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_program, 1, 0, 0),
5776 [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
5777 [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
5778 [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_macro_call, 3, 0, 2),
5779 [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_macro_call, 3, 0, 2),
5780 [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
5781 [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
5782 [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
5783 [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
5784 [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
5785 [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
5786 [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_macro_call, 2, 0, 2),
5787 [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_macro_call, 2, 0, 2),
5788 [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0),
5789 [67] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0),
5790 [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0), SHIFT_REPEAT(9),
5791 [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0), SHIFT_REPEAT(9),
5792 [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0), SHIFT_REPEAT(78),
5793 [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0), SHIFT_REPEAT(72),
5794 [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0), SHIFT_REPEAT(84),
5795 [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_macro_call_repeat1, 2, 0, 0), SHIFT_REPEAT(68),
5796 [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_number_literal, 1, 0, 0),
5797 [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_number_literal, 1, 0, 0),
5798 [91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_ref, 1, 0, 1),
5799 [93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_ref, 1, 0, 1),
5800 [95] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88),
5801 [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
5802 [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
5803 [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2, 0, 0),
5804 [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2, 0, 0),
5805 [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_byte_string_literal, 2, 0, 0),
5806 [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_byte_string_literal, 2, 0, 0),
5807 [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_byte_string_literal, 3, 0, 0),
5808 [111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_byte_string_literal, 3, 0, 0),
5809 [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_char_literal, 3, 0, 0),
5810 [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_char_literal, 3, 0, 0),
5811 [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3, 0, 0),
5812 [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3, 0, 0),
5813 [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_raw_string_literal, 3, 0, 0),
5814 [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_raw_string_literal, 3, 0, 0),
5815 [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_ref, 2, 0, 2),
5816 [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_ref, 2, 0, 2),
5817 [129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_ref, 2, 0, 2),
5818 [131] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_func_ref, 2, 0, 2),
5819 [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_ref, 2, 0, 2),
5820 [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_node_ref, 2, 0, 2),
5821 [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_ref, 2, 0, 3),
5822 [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_ref, 2, 0, 3),
5823 [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location_dir, 1, 0, 0),
5824 [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
5825 [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
5826 [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_location_dir, 1, 0, 0),
5827 [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ref_list, 1, 0, 0),
5828 [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ref_list, 1, 0, 0),
5829 [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
5830 [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
5831 [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_placement, 2, 0, 5),
5832 [159] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_placement, 2, 0, 5),
5833 [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_ref, 2, 0, 4),
5834 [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_ref, 2, 0, 4),
5835 [165] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_ref, 3, 0, 6),
5836 [167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_ref, 3, 0, 6),
5837 [169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_port, 2, 0, 5),
5838 [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_port, 2, 0, 5),
5839 [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_inst_def_repeat1, 2, 0, 0),
5840 [175] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_inst_def_repeat1, 2, 0, 0), SHIFT_REPEAT(57),
5841 [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_inst_def_repeat1, 2, 0, 0),
5842 [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_value_list_repeat1, 2, 0, 0),
5843 [182] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_value_list_repeat1, 2, 0, 0), SHIFT_REPEAT(61),
5844 [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_value_list_repeat1, 2, 0, 0),
5845 [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pragma, 3, 0, 0),
5846 [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
5847 [191] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pragma, 3, 0, 0),
5848 [193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_ref_list_repeat1, 2, 0, 0),
5849 [195] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_ref_list_repeat1, 2, 0, 0), SHIFT_REPEAT(66),
5850 [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_ref_list_repeat1, 2, 0, 0),
5851 [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value_list, 1, 0, 0),
5852 [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
5853 [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value_list, 1, 0, 0),
5854 [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inst_def, 3, 0, 0),
5855 [208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
5856 [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_inst_def, 3, 0, 0),
5857 [212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pragma, 2, 0, 0),
5858 [214] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pragma, 2, 0, 0),
5859 [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_pragma_repeat1, 2, 0, 0),
5860 [218] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pragma_repeat1, 2, 0, 0), SHIFT_REPEAT(76),
5861 [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_pragma_repeat1, 2, 0, 0),
5862 [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_weak_edge, 4, 0, 0),
5863 [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_weak_edge, 4, 0, 0),
5864 [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value_list, 2, 0, 0),
5865 [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value_list, 2, 0, 0),
5866 [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inst_def, 4, 0, 0),
5867 [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_inst_def, 4, 0, 0),
5868 [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ref_list, 2, 0, 0),
5869 [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ref_list, 2, 0, 0),
5870 [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_arg, 3, 0, 8),
5871 [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_named_arg, 3, 0, 8),
5872 [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_weak_edge, 5, 0, 0),
5873 [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_weak_edge, 5, 0, 0),
5874 [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_system_param, 3, 0, 7),
5875 [249] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_system_param, 3, 0, 7),
5876 [251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_opcode, 1, 0, 0),
5877 [253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_opcode, 1, 0, 0),
5878 [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_strong_edge, 4, 0, 0),
5879 [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_strong_edge, 4, 0, 0),
5880 [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_plain_edge, 3, 0, 0),
5881 [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_plain_edge, 3, 0, 0),
5882 [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_data_def, 3, 0, 0),
5883 [265] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_data_def, 3, 0, 0),
5884 [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_def, 4, 0, 0),
5885 [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_func_def, 4, 0, 0),
5886 [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_strong_edge, 5, 0, 0),
5887 [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_strong_edge, 5, 0, 0),
5888 [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_def, 5, 0, 0),
5889 [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_func_def, 5, 0, 0),
5890 [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
5891 [281] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46),
5892 [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91),
5893 [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
5894 [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
5895 [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2, 0, 0),
5896 [291] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2, 0, 0), SHIFT_REPEAT(67),
5897 [294] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(),
5898 [296] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13),
5899 [298] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
5900 [300] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
5901 [302] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67),
5902 [304] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
5903 [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
5904 [308] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12),
5905 [310] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
5906 [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64),
5907 [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
5908 [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
5909 [318] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82),
5910 [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
5911 [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
5912 [324] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
5913 [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
5914 [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
5915 [330] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79),
5916 [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
5917 [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
5918 [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
5919 [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
5920 [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
5921 [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
5922 [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
5923};
5924
5925#ifdef __cplusplus
5926extern "C" {
5927#endif
5928#ifdef TREE_SITTER_HIDE_SYMBOLS
5929#define TS_PUBLIC
5930#elif defined(_WIN32)
5931#define TS_PUBLIC __declspec(dllexport)
5932#else
5933#define TS_PUBLIC __attribute__((visibility("default")))
5934#endif
5935
5936TS_PUBLIC const TSLanguage *tree_sitter_dfasm(void) {
5937 static const TSLanguage language = {
5938 .abi_version = LANGUAGE_VERSION,
5939 .symbol_count = SYMBOL_COUNT,
5940 .alias_count = ALIAS_COUNT,
5941 .token_count = TOKEN_COUNT,
5942 .external_token_count = EXTERNAL_TOKEN_COUNT,
5943 .state_count = STATE_COUNT,
5944 .large_state_count = LARGE_STATE_COUNT,
5945 .production_id_count = PRODUCTION_ID_COUNT,
5946 .supertype_count = SUPERTYPE_COUNT,
5947 .field_count = FIELD_COUNT,
5948 .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
5949 .parse_table = &ts_parse_table[0][0],
5950 .small_parse_table = ts_small_parse_table,
5951 .small_parse_table_map = ts_small_parse_table_map,
5952 .parse_actions = ts_parse_actions,
5953 .symbol_names = ts_symbol_names,
5954 .field_names = ts_field_names,
5955 .field_map_slices = ts_field_map_slices,
5956 .field_map_entries = ts_field_map_entries,
5957 .symbol_metadata = ts_symbol_metadata,
5958 .public_symbol_map = ts_symbol_map,
5959 .alias_map = ts_non_terminal_alias_map,
5960 .alias_sequences = &ts_alias_sequences[0][0],
5961 .lex_modes = (const void*)ts_lex_modes,
5962 .lex_fn = ts_lex,
5963 .keyword_lex_fn = ts_lex_keywords,
5964 .keyword_capture_token = sym_identifier,
5965 .primary_state_ids = ts_primary_state_ids,
5966 .name = "dfasm",
5967 .max_reserved_word_set_size = 0,
5968 .metadata = {
5969 .major_version = 0,
5970 .minor_version = 1,
5971 .patch_version = 0,
5972 },
5973 };
5974 return &language;
5975}
5976#ifdef __cplusplus
5977}
5978#endif