diff --git a/corpus/while.txt b/corpus/while.txt new file mode 100644 index 0000000..669972c --- /dev/null +++ b/corpus/while.txt @@ -0,0 +1,52 @@ +================== +While Loop +================== + +while true { + (output "This is a bad idea...") +} + +--- + +(root + (item + (statement + (while + (expression + (value + (boolean))) + (statement + (expression + (tool_call + (output + (expression + (value + (string))))))))))) + +================== +While Assignment +================== + +foo = while true { + 42 +} + +--- + +(root + (item + (statement + (assignment + (identifier) + (statement + (while + (expression + (value + (boolean))) + (statement + (expression + (tool_call + (output + (expression + (value + (string))))))))))))) \ No newline at end of file diff --git a/grammar.js b/grammar.js index f325fba..f7f3672 100644 --- a/grammar.js +++ b/grammar.js @@ -22,6 +22,7 @@ module.exports = grammar({ $.select, $.loop, $.match, + $.while, ), yield: $ => seq( diff --git a/src/grammar.json b/src/grammar.json index 56631df..eb0ecc6 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -69,6 +69,10 @@ { "type": "SYMBOL", "name": "match" + }, + { + "type": "SYMBOL", + "name": "while" } ] }, diff --git a/src/node-types.json b/src/node-types.json index 56f2b5b..dad8766 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -382,6 +382,10 @@ "type": "select", "named": true }, + { + "type": "while", + "named": true + }, { "type": "yield", "named": true @@ -470,6 +474,25 @@ ] } }, + { + "type": "while", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "statement", + "named": true + } + ] + } + }, { "type": "yield", "named": true, diff --git a/src/parser.c b/src/parser.c index 0317dd0..60093f5 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,9 +6,9 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 205 +#define STATE_COUNT 360 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 86 +#define SYMBOL_COUNT 87 #define ALIAS_COUNT 0 #define TOKEN_COUNT 50 #define EXTERNAL_TOKEN_COUNT 0 @@ -87,21 +87,22 @@ enum { sym_insert = 68, sym_if_else = 69, sym_function_call = 70, - sym_loop = 71, - sym_match = 72, - sym_tool_call = 73, - sym__tool = 74, - sym_input = 75, - sym_output = 76, - aux_sym_root_repeat1 = 77, - aux_sym_yield_repeat1 = 78, - aux_sym_list_repeat1 = 79, - aux_sym_function_repeat1 = 80, - aux_sym_function_repeat2 = 81, - aux_sym_table_repeat1 = 82, - aux_sym_map_repeat1 = 83, - aux_sym_function_call_repeat1 = 84, - aux_sym_match_repeat1 = 85, + sym_while = 71, + sym_loop = 72, + sym_match = 73, + sym_tool_call = 74, + sym__tool = 75, + sym_input = 76, + sym_output = 77, + aux_sym_root_repeat1 = 78, + aux_sym_yield_repeat1 = 79, + aux_sym_list_repeat1 = 80, + aux_sym_function_repeat1 = 81, + aux_sym_function_repeat2 = 82, + aux_sym_table_repeat1 = 83, + aux_sym_map_repeat1 = 84, + aux_sym_function_call_repeat1 = 85, + aux_sym_match_repeat1 = 86, }; static const char * const ts_symbol_names[] = { @@ -176,6 +177,7 @@ static const char * const ts_symbol_names[] = { [sym_insert] = "insert", [sym_if_else] = "if_else", [sym_function_call] = "function_call", + [sym_while] = "while", [sym_loop] = "loop", [sym_match] = "match", [sym_tool_call] = "tool_call", @@ -265,6 +267,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_insert] = sym_insert, [sym_if_else] = sym_if_else, [sym_function_call] = sym_function_call, + [sym_while] = sym_while, [sym_loop] = sym_loop, [sym_match] = sym_match, [sym_tool_call] = sym_tool_call, @@ -567,6 +570,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_while] = { + .visible = true, + .named = true, + }, [sym_loop] = { .visible = true, .named = true, @@ -644,205 +651,360 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [3] = 3, [4] = 4, [5] = 5, - [6] = 6, - [7] = 7, - [8] = 6, + [6] = 5, + [7] = 5, + [8] = 8, [9] = 9, - [10] = 9, - [11] = 6, - [12] = 12, - [13] = 7, - [14] = 9, - [15] = 7, - [16] = 16, + [10] = 10, + [11] = 8, + [12] = 5, + [13] = 10, + [14] = 10, + [15] = 9, + [16] = 10, [17] = 17, - [18] = 18, - [19] = 16, - [20] = 20, - [21] = 21, - [22] = 22, - [23] = 17, - [24] = 18, - [25] = 18, - [26] = 17, - [27] = 16, + [18] = 17, + [19] = 17, + [20] = 8, + [21] = 9, + [22] = 9, + [23] = 23, + [24] = 24, + [25] = 23, + [26] = 24, + [27] = 24, [28] = 28, - [29] = 29, - [30] = 30, - [31] = 31, - [32] = 30, - [33] = 33, - [34] = 34, + [29] = 28, + [30] = 28, + [31] = 28, + [32] = 24, + [33] = 23, + [34] = 23, [35] = 35, [36] = 36, [37] = 37, [38] = 38, [39] = 39, - [40] = 40, - [41] = 41, + [40] = 37, + [41] = 38, [42] = 42, - [43] = 33, - [44] = 41, - [45] = 45, - [46] = 46, - [47] = 47, - [48] = 48, - [49] = 49, - [50] = 50, - [51] = 47, - [52] = 52, + [43] = 37, + [44] = 39, + [45] = 39, + [46] = 35, + [47] = 42, + [48] = 35, + [49] = 38, + [50] = 39, + [51] = 37, + [52] = 35, [53] = 53, - [54] = 45, + [54] = 54, [55] = 55, [56] = 56, [57] = 57, [58] = 58, [59] = 59, [60] = 60, - [61] = 58, + [61] = 53, [62] = 62, [63] = 63, - [64] = 62, - [65] = 65, + [64] = 64, + [65] = 55, [66] = 66, - [67] = 60, + [67] = 67, [68] = 68, [69] = 69, - [70] = 70, + [70] = 57, [71] = 71, - [72] = 72, + [72] = 56, [73] = 73, [74] = 74, - [75] = 75, + [75] = 60, [76] = 76, - [77] = 75, + [77] = 77, [78] = 78, [79] = 79, - [80] = 80, - [81] = 71, - [82] = 82, - [83] = 83, - [84] = 73, - [85] = 85, - [86] = 86, - [87] = 87, - [88] = 88, - [89] = 89, - [90] = 90, - [91] = 91, - [92] = 72, - [93] = 76, - [94] = 94, - [95] = 95, - [96] = 96, - [97] = 96, - [98] = 96, + [80] = 71, + [81] = 74, + [82] = 74, + [83] = 74, + [84] = 63, + [85] = 73, + [86] = 54, + [87] = 62, + [88] = 67, + [89] = 66, + [90] = 78, + [91] = 76, + [92] = 58, + [93] = 64, + [94] = 69, + [95] = 59, + [96] = 77, + [97] = 79, + [98] = 68, [99] = 99, - [100] = 100, + [100] = 99, [101] = 101, - [102] = 101, - [103] = 101, + [102] = 102, + [103] = 103, [104] = 104, [105] = 105, - [106] = 22, - [107] = 21, - [108] = 108, - [109] = 35, - [110] = 46, - [111] = 42, - [112] = 112, - [113] = 55, - [114] = 29, - [115] = 38, - [116] = 116, - [117] = 112, - [118] = 118, - [119] = 53, - [120] = 36, - [121] = 37, - [122] = 49, - [123] = 31, + [106] = 106, + [107] = 107, + [108] = 101, + [109] = 106, + [110] = 110, + [111] = 106, + [112] = 110, + [113] = 113, + [114] = 103, + [115] = 102, + [116] = 110, + [117] = 106, + [118] = 103, + [119] = 119, + [120] = 120, + [121] = 119, + [122] = 122, + [123] = 104, [124] = 124, [125] = 125, - [126] = 20, - [127] = 39, - [128] = 50, + [126] = 126, + [127] = 125, + [128] = 128, [129] = 129, [130] = 130, [131] = 131, [132] = 132, [133] = 133, [134] = 134, - [135] = 134, - [136] = 136, + [135] = 135, + [136] = 132, [137] = 137, - [138] = 138, + [138] = 135, [139] = 137, - [140] = 138, - [141] = 138, - [142] = 137, + [140] = 134, + [141] = 141, + [142] = 142, [143] = 143, [144] = 144, - [145] = 145, - [146] = 146, + [145] = 144, + [146] = 137, [147] = 147, - [148] = 148, - [149] = 149, - [150] = 150, - [151] = 146, - [152] = 147, - [153] = 149, - [154] = 150, - [155] = 155, - [156] = 149, - [157] = 145, - [158] = 146, - [159] = 145, - [160] = 160, - [161] = 147, - [162] = 150, - [163] = 163, - [164] = 164, - [165] = 38, - [166] = 35, - [167] = 167, - [168] = 20, - [169] = 164, - [170] = 31, - [171] = 37, - [172] = 36, - [173] = 173, - [174] = 29, - [175] = 173, - [176] = 39, - [177] = 164, - [178] = 46, - [179] = 42, - [180] = 173, + [148] = 143, + [149] = 142, + [150] = 132, + [151] = 141, + [152] = 144, + [153] = 153, + [154] = 147, + [155] = 144, + [156] = 126, + [157] = 137, + [158] = 128, + [159] = 124, + [160] = 129, + [161] = 143, + [162] = 141, + [163] = 130, + [164] = 120, + [165] = 122, + [166] = 147, + [167] = 131, + [168] = 142, + [169] = 135, + [170] = 134, + [171] = 171, + [172] = 172, + [173] = 57, + [174] = 56, + [175] = 175, + [176] = 175, + [177] = 175, + [178] = 175, + [179] = 179, + [180] = 64, [181] = 181, [182] = 182, - [183] = 183, - [184] = 184, - [185] = 185, - [186] = 186, + [183] = 181, + [184] = 182, + [185] = 66, + [186] = 58, [187] = 187, - [188] = 188, - [189] = 189, - [190] = 185, - [191] = 182, - [192] = 187, - [193] = 193, - [194] = 194, - [195] = 185, - [196] = 196, - [197] = 197, - [198] = 198, - [199] = 187, - [200] = 182, - [201] = 197, - [202] = 202, - [203] = 197, - [204] = 194, + [188] = 68, + [189] = 69, + [190] = 181, + [191] = 187, + [192] = 182, + [193] = 78, + [194] = 63, + [195] = 77, + [196] = 79, + [197] = 59, + [198] = 54, + [199] = 62, + [200] = 73, + [201] = 187, + [202] = 181, + [203] = 67, + [204] = 53, + [205] = 55, + [206] = 206, + [207] = 60, + [208] = 53, + [209] = 71, + [210] = 76, + [211] = 211, + [212] = 212, + [213] = 213, + [214] = 214, + [215] = 215, + [216] = 216, + [217] = 211, + [218] = 216, + [219] = 216, + [220] = 220, + [221] = 211, + [222] = 211, + [223] = 223, + [224] = 99, + [225] = 225, + [226] = 226, + [227] = 227, + [228] = 223, + [229] = 223, + [230] = 230, + [231] = 231, + [232] = 231, + [233] = 231, + [234] = 234, + [235] = 235, + [236] = 236, + [237] = 237, + [238] = 237, + [239] = 235, + [240] = 237, + [241] = 236, + [242] = 237, + [243] = 102, + [244] = 236, + [245] = 236, + [246] = 101, + [247] = 235, + [248] = 235, + [249] = 249, + [250] = 250, + [251] = 249, + [252] = 249, + [253] = 253, + [254] = 254, + [255] = 255, + [256] = 256, + [257] = 256, + [258] = 250, + [259] = 256, + [260] = 260, + [261] = 250, + [262] = 262, + [263] = 256, + [264] = 249, + [265] = 255, + [266] = 250, + [267] = 253, + [268] = 268, + [269] = 253, + [270] = 262, + [271] = 253, + [272] = 255, + [273] = 262, + [274] = 255, + [275] = 119, + [276] = 262, + [277] = 104, + [278] = 126, + [279] = 279, + [280] = 125, + [281] = 120, + [282] = 124, + [283] = 69, + [284] = 63, + [285] = 59, + [286] = 122, + [287] = 68, + [288] = 128, + [289] = 62, + [290] = 129, + [291] = 279, + [292] = 131, + [293] = 104, + [294] = 54, + [295] = 67, + [296] = 130, + [297] = 279, + [298] = 64, + [299] = 58, + [300] = 300, + [301] = 125, + [302] = 302, + [303] = 303, + [304] = 66, + [305] = 302, + [306] = 279, + [307] = 302, + [308] = 302, + [309] = 119, + [310] = 310, + [311] = 311, + [312] = 312, + [313] = 311, + [314] = 314, + [315] = 315, + [316] = 316, + [317] = 312, + [318] = 318, + [319] = 319, + [320] = 320, + [321] = 314, + [322] = 322, + [323] = 315, + [324] = 311, + [325] = 310, + [326] = 320, + [327] = 314, + [328] = 316, + [329] = 329, + [330] = 330, + [331] = 319, + [332] = 332, + [333] = 319, + [334] = 315, + [335] = 335, + [336] = 320, + [337] = 337, + [338] = 311, + [339] = 316, + [340] = 315, + [341] = 318, + [342] = 320, + [343] = 316, + [344] = 344, + [345] = 314, + [346] = 335, + [347] = 310, + [348] = 330, + [349] = 330, + [350] = 329, + [351] = 329, + [352] = 318, + [353] = 335, + [354] = 310, + [355] = 318, + [356] = 344, + [357] = 312, + [358] = 344, + [359] = 344, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -850,329 +1012,451 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(15); - if (lookahead == '!') ADVANCE(5); - if (lookahead == '"') ADVANCE(2); - if (lookahead == '#') ADVANCE(16); - if (lookahead == '%') ADVANCE(45); - if (lookahead == '&') ADVANCE(3); - if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(55); - if (lookahead == ')') ADVANCE(56); - if (lookahead == '*') ADVANCE(43); - if (lookahead == '+') ADVANCE(40); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(42); - if (lookahead == '/') ADVANCE(44); - if (lookahead == '<') ADVANCE(32); - if (lookahead == '=') ADVANCE(38); - if (lookahead == '>') ADVANCE(33); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); - if (lookahead == 't') ADVANCE(22); - if (lookahead == '{') ADVANCE(34); - if (lookahead == '|') ADVANCE(24); - if (lookahead == '}') ADVANCE(35); + if (eof) ADVANCE(21); + if (lookahead == '!') ADVANCE(6); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(22); + if (lookahead == '%') ADVANCE(55); + if (lookahead == '&') ADVANCE(4); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(67); + if (lookahead == ')') ADVANCE(68); + if (lookahead == '*') ADVANCE(53); + if (lookahead == '+') ADVANCE(49); + if (lookahead == ',') ADVANCE(39); + if (lookahead == '-') ADVANCE(51); + if (lookahead == '/') ADVANCE(54); + if (lookahead == '<') ADVANCE(41); + if (lookahead == '=') ADVANCE(47); + if (lookahead == '>') ADVANCE(42); + if (lookahead == '[') ADVANCE(38); + if (lookahead == ']') ADVANCE(40); + if (lookahead == '`') ADVANCE(9); + if (lookahead == 'e') ADVANCE(30); + if (lookahead == 't') ADVANCE(29); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '|') ADVANCE(33); + if (lookahead == '}') ADVANCE(44); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(25); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(34); END_STATE(); case 1: - if (lookahead == '!') ADVANCE(5); - if (lookahead == '%') ADVANCE(45); - if (lookahead == '&') ADVANCE(3); - if (lookahead == ')') ADVANCE(56); - if (lookahead == '*') ADVANCE(43); - if (lookahead == '+') ADVANCE(39); - if (lookahead == '-') ADVANCE(41); - if (lookahead == '/') ADVANCE(44); - if (lookahead == '=') ADVANCE(6); - if (lookahead == 't') ADVANCE(10); - if (lookahead == '|') ADVANCE(12); + if (lookahead == '!') ADVANCE(6); + if (lookahead == '%') ADVANCE(55); + if (lookahead == '&') ADVANCE(4); + if (lookahead == ')') ADVANCE(68); + if (lookahead == '*') ADVANCE(53); + if (lookahead == '+') ADVANCE(48); + if (lookahead == '-') ADVANCE(52); + if (lookahead == '/') ADVANCE(54); + if (lookahead == '=') ADVANCE(7); + if (lookahead == 'e') ADVANCE(13); + if (lookahead == 't') ADVANCE(12); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '|') ADVANCE(16); + if (lookahead == '}') ADVANCE(44); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(1) END_STATE(); case 2: - if (lookahead == '"') ADVANCE(28); - if (lookahead != 0) ADVANCE(2); + if (lookahead == '!') ADVANCE(6); + if (lookahead == '%') ADVANCE(55); + if (lookahead == '&') ADVANCE(4); + if (lookahead == '*') ADVANCE(53); + if (lookahead == '+') ADVANCE(49); + if (lookahead == '-') ADVANCE(50); + if (lookahead == '/') ADVANCE(54); + if (lookahead == '=') ADVANCE(46); + if (lookahead == 'e') ADVANCE(13); + if (lookahead == '|') ADVANCE(16); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(2) END_STATE(); case 3: - if (lookahead == '&') ADVANCE(48); + if (lookahead == '"') ADVANCE(37); + if (lookahead != 0) ADVANCE(3); END_STATE(); case 4: - if (lookahead == '\'') ADVANCE(28); - if (lookahead != 0) ADVANCE(4); + if (lookahead == '&') ADVANCE(58); END_STATE(); case 5: - if (lookahead == '=') ADVANCE(47); + if (lookahead == '\'') ADVANCE(37); + if (lookahead != 0) ADVANCE(5); END_STATE(); case 6: - if (lookahead == '=') ADVANCE(46); - if (lookahead == '>') ADVANCE(57); + if (lookahead == '=') ADVANCE(57); END_STATE(); case 7: - if (lookahead == '>') ADVANCE(19); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '=') ADVANCE(56); + if (lookahead == '>') ADVANCE(69); END_STATE(); case 8: - if (lookahead == '`') ADVANCE(28); - if (lookahead != 0) ADVANCE(8); + if (lookahead == '>') ADVANCE(25); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(11); + if (lookahead == '`') ADVANCE(37); + if (lookahead != 0) ADVANCE(9); END_STATE(); case 10: - if (lookahead == 'h') ADVANCE(9); + if (lookahead == 'e') ADVANCE(14); END_STATE(); case 11: - if (lookahead == 'n') ADVANCE(53); + if (lookahead == 'e') ADVANCE(65); END_STATE(); case 12: - if (lookahead == '|') ADVANCE(49); + if (lookahead == 'h') ADVANCE(10); END_STATE(); case 13: - if (eof) ADVANCE(15); - if (lookahead == '!') ADVANCE(5); - if (lookahead == '"') ADVANCE(2); - if (lookahead == '#') ADVANCE(16); - if (lookahead == '%') ADVANCE(45); - if (lookahead == '&') ADVANCE(3); - if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(55); - if (lookahead == ')') ADVANCE(56); - if (lookahead == '*') ADVANCE(43); - if (lookahead == '+') ADVANCE(40); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(42); - if (lookahead == '/') ADVANCE(44); - if (lookahead == '=') ADVANCE(37); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); - if (lookahead == '{') ADVANCE(34); - if (lookahead == '|') ADVANCE(24); - if (lookahead == '}') ADVANCE(35); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(13) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(25); + if (lookahead == 'l') ADVANCE(15); END_STATE(); case 14: - if (eof) ADVANCE(15); - if (lookahead == '"') ADVANCE(2); - if (lookahead == '#') ADVANCE(16); - if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(55); - if (lookahead == ')') ADVANCE(56); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(7); - if (lookahead == '=') ADVANCE(36); - if (lookahead == '>') ADVANCE(33); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); - if (lookahead == '{') ADVANCE(34); - if (lookahead == '}') ADVANCE(35); + if (lookahead == 'n') ADVANCE(63); + END_STATE(); + case 15: + if (lookahead == 's') ADVANCE(11); + END_STATE(); + case 16: + if (lookahead == '|') ADVANCE(59); + END_STATE(); + case 17: + if (eof) ADVANCE(21); + if (lookahead == '!') ADVANCE(6); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(22); + if (lookahead == '%') ADVANCE(55); + if (lookahead == '&') ADVANCE(4); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(67); + if (lookahead == ')') ADVANCE(68); + if (lookahead == '*') ADVANCE(53); + if (lookahead == '+') ADVANCE(49); + if (lookahead == ',') ADVANCE(39); + if (lookahead == '-') ADVANCE(51); + if (lookahead == '/') ADVANCE(54); + if (lookahead == '=') ADVANCE(46); + if (lookahead == '[') ADVANCE(38); + if (lookahead == ']') ADVANCE(40); + if (lookahead == '`') ADVANCE(9); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '|') ADVANCE(33); + if (lookahead == '}') ADVANCE(44); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(14) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + lookahead == ' ') SKIP(17) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= '|')) ADVANCE(25); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(34); END_STATE(); - case 15: + case 18: + if (eof) ADVANCE(21); + if (lookahead == '!') ADVANCE(6); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(22); + if (lookahead == '%') ADVANCE(55); + if (lookahead == '&') ADVANCE(4); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(67); + if (lookahead == '*') ADVANCE(53); + if (lookahead == '+') ADVANCE(49); + if (lookahead == '-') ADVANCE(51); + if (lookahead == '/') ADVANCE(54); + if (lookahead == '=') ADVANCE(46); + if (lookahead == '[') ADVANCE(38); + if (lookahead == '`') ADVANCE(9); + if (lookahead == 'e') ADVANCE(30); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '|') ADVANCE(33); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(18) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(34); + END_STATE(); + case 19: + if (eof) ADVANCE(21); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(22); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(67); + if (lookahead == ')') ADVANCE(68); + if (lookahead == ',') ADVANCE(39); + if (lookahead == '-') ADVANCE(8); + if (lookahead == '=') ADVANCE(45); + if (lookahead == '>') ADVANCE(42); + if (lookahead == '[') ADVANCE(38); + if (lookahead == ']') ADVANCE(40); + if (lookahead == '`') ADVANCE(9); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(19) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= '|')) ADVANCE(34); + END_STATE(); + case 20: + if (eof) ADVANCE(21); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(22); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(67); + if (lookahead == '-') ADVANCE(8); + if (lookahead == '[') ADVANCE(38); + if (lookahead == '`') ADVANCE(9); + if (lookahead == 'e') ADVANCE(30); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(20) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= '|')) ADVANCE(34); + END_STATE(); + case 21: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 16: + case 22: ACCEPT_TOKEN(anon_sym_POUND); END_STATE(); - case 17: + case 23: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead == '\t' || lookahead == '\r' || - lookahead == ' ') ADVANCE(17); + lookahead == ' ') ADVANCE(23); if (lookahead != 0 && - lookahead != '\n') ADVANCE(18); - END_STATE(); - case 18: - ACCEPT_TOKEN(aux_sym_comment_token1); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(18); - END_STATE(); - case 19: - ACCEPT_TOKEN(anon_sym_DASH_GT); - END_STATE(); - case 20: - ACCEPT_TOKEN(sym_identifier); - END_STATE(); - case 21: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'e') ADVANCE(23); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(25); - END_STATE(); - case 22: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'h') ADVANCE(21); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(25); - END_STATE(); - case 23: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'n') ADVANCE(54); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(25); + lookahead != '\n') ADVANCE(24); END_STATE(); case 24: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == '|') ADVANCE(50); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(25); + ACCEPT_TOKEN(aux_sym_comment_token1); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(24); END_STATE(); case 25: - ACCEPT_TOKEN(sym_identifier); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(25); + ACCEPT_TOKEN(anon_sym_DASH_GT); END_STATE(); case 26: - ACCEPT_TOKEN(sym_integer); - if (lookahead == '.') ADVANCE(27); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + ACCEPT_TOKEN(sym_identifier); END_STATE(); case 27: - ACCEPT_TOKEN(sym_float); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(27); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(31); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 28: - ACCEPT_TOKEN(sym_string); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(66); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 29: - ACCEPT_TOKEN(anon_sym_LBRACK); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(27); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 30: - ACCEPT_TOKEN(anon_sym_COMMA); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(32); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 31: - ACCEPT_TOKEN(anon_sym_RBRACK); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(64); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 32: - ACCEPT_TOKEN(anon_sym_LT); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(28); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 33: - ACCEPT_TOKEN(anon_sym_GT); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '|') ADVANCE(60); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(34); END_STATE(); case 34: - ACCEPT_TOKEN(anon_sym_LBRACE); + ACCEPT_TOKEN(sym_identifier); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); END_STATE(); case 35: - ACCEPT_TOKEN(anon_sym_RBRACE); + ACCEPT_TOKEN(sym_integer); + if (lookahead == '.') ADVANCE(36); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); END_STATE(); case 36: - ACCEPT_TOKEN(anon_sym_EQ); + ACCEPT_TOKEN(sym_float); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(36); END_STATE(); case 37: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(46); + ACCEPT_TOKEN(sym_string); END_STATE(); case 38: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(46); - if (lookahead == '>') ADVANCE(57); + ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); case 39: - ACCEPT_TOKEN(anon_sym_PLUS); + ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); case 40: - ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '=') ADVANCE(51); + ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); case 41: - ACCEPT_TOKEN(anon_sym_DASH); + ACCEPT_TOKEN(anon_sym_LT); END_STATE(); case 42: - ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(52); - if (lookahead == '>') ADVANCE(19); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + ACCEPT_TOKEN(anon_sym_GT); END_STATE(); case 43: - ACCEPT_TOKEN(anon_sym_STAR); + ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); case 44: - ACCEPT_TOKEN(anon_sym_SLASH); + ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); case 45: - ACCEPT_TOKEN(anon_sym_PERCENT); + ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); case 46: - ACCEPT_TOKEN(anon_sym_EQ_EQ); + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(56); END_STATE(); case 47: - ACCEPT_TOKEN(anon_sym_BANG_EQ); + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(56); + if (lookahead == '>') ADVANCE(69); END_STATE(); case 48: - ACCEPT_TOKEN(anon_sym_AMP_AMP); + ACCEPT_TOKEN(anon_sym_PLUS); END_STATE(); case 49: - ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '=') ADVANCE(61); END_STATE(); case 50: - ACCEPT_TOKEN(anon_sym_PIPE_PIPE); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(25); + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '=') ADVANCE(62); + if (lookahead == '>') ADVANCE(25); END_STATE(); case 51: - ACCEPT_TOKEN(anon_sym_PLUS_EQ); + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '=') ADVANCE(62); + if (lookahead == '>') ADVANCE(25); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); END_STATE(); case 52: - ACCEPT_TOKEN(anon_sym_DASH_EQ); + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '>') ADVANCE(25); END_STATE(); case 53: - ACCEPT_TOKEN(anon_sym_then); + ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); case 54: - ACCEPT_TOKEN(anon_sym_then); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); + ACCEPT_TOKEN(anon_sym_SLASH); + END_STATE(); + case 55: + ACCEPT_TOKEN(anon_sym_PERCENT); + END_STATE(); + case 56: + ACCEPT_TOKEN(anon_sym_EQ_EQ); + END_STATE(); + case 57: + ACCEPT_TOKEN(anon_sym_BANG_EQ); + END_STATE(); + case 58: + ACCEPT_TOKEN(anon_sym_AMP_AMP); + END_STATE(); + case 59: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + END_STATE(); + case 60: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(25); + lookahead == '|') ADVANCE(34); END_STATE(); - case 55: + case 61: + ACCEPT_TOKEN(anon_sym_PLUS_EQ); + END_STATE(); + case 62: + ACCEPT_TOKEN(anon_sym_DASH_EQ); + END_STATE(); + case 63: + ACCEPT_TOKEN(anon_sym_then); + END_STATE(); + case 64: + ACCEPT_TOKEN(anon_sym_then); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); + END_STATE(); + case 65: + ACCEPT_TOKEN(anon_sym_else); + END_STATE(); + case 66: + ACCEPT_TOKEN(anon_sym_else); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(34); + END_STATE(); + case 67: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); - case 56: + case 68: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); - case 57: + case 69: ACCEPT_TOKEN(anon_sym_EQ_GT); END_STATE(); default: @@ -1187,272 +1471,259 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { case 0: if (lookahead == 'b') ADVANCE(1); if (lookahead == 'c') ADVANCE(2); - if (lookahead == 'e') ADVANCE(3); - if (lookahead == 'f') ADVANCE(4); - if (lookahead == 'i') ADVANCE(5); - if (lookahead == 'l') ADVANCE(6); - if (lookahead == 'm') ADVANCE(7); - if (lookahead == 'o') ADVANCE(8); - if (lookahead == 'r') ADVANCE(9); - if (lookahead == 's') ADVANCE(10); - if (lookahead == 't') ADVANCE(11); - if (lookahead == 'w') ADVANCE(12); + if (lookahead == 'f') ADVANCE(3); + if (lookahead == 'i') ADVANCE(4); + if (lookahead == 'l') ADVANCE(5); + if (lookahead == 'm') ADVANCE(6); + if (lookahead == 'o') ADVANCE(7); + if (lookahead == 'r') ADVANCE(8); + if (lookahead == 's') ADVANCE(9); + if (lookahead == 't') ADVANCE(10); + if (lookahead == 'w') ADVANCE(11); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'r') ADVANCE(13); + if (lookahead == 'r') ADVANCE(12); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(14); + if (lookahead == 'a') ADVANCE(13); END_STATE(); case 3: - if (lookahead == 'l') ADVANCE(15); + if (lookahead == 'a') ADVANCE(14); + if (lookahead == 'r') ADVANCE(15); + if (lookahead == 'u') ADVANCE(16); END_STATE(); case 4: - if (lookahead == 'a') ADVANCE(16); - if (lookahead == 'r') ADVANCE(17); - if (lookahead == 'u') ADVANCE(18); + if (lookahead == 'f') ADVANCE(17); + if (lookahead == 'n') ADVANCE(18); END_STATE(); case 5: - if (lookahead == 'f') ADVANCE(19); - if (lookahead == 'n') ADVANCE(20); + if (lookahead == 'o') ADVANCE(19); END_STATE(); case 6: - if (lookahead == 'o') ADVANCE(21); + if (lookahead == 'a') ADVANCE(20); END_STATE(); case 7: - if (lookahead == 'a') ADVANCE(22); + if (lookahead == 'u') ADVANCE(21); END_STATE(); case 8: - if (lookahead == 'u') ADVANCE(23); + if (lookahead == 'e') ADVANCE(22); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(24); + if (lookahead == 'e') ADVANCE(23); END_STATE(); case 10: - if (lookahead == 'e') ADVANCE(25); + if (lookahead == 'a') ADVANCE(24); + if (lookahead == 'r') ADVANCE(25); END_STATE(); case 11: - if (lookahead == 'a') ADVANCE(26); - if (lookahead == 'r') ADVANCE(27); + if (lookahead == 'h') ADVANCE(26); END_STATE(); case 12: - if (lookahead == 'h') ADVANCE(28); + if (lookahead == 'e') ADVANCE(27); END_STATE(); case 13: - if (lookahead == 'e') ADVANCE(29); + if (lookahead == 't') ADVANCE(28); END_STATE(); case 14: - if (lookahead == 't') ADVANCE(30); + if (lookahead == 'l') ADVANCE(29); END_STATE(); case 15: - if (lookahead == 's') ADVANCE(31); + if (lookahead == 'o') ADVANCE(30); END_STATE(); case 16: - if (lookahead == 'l') ADVANCE(32); + if (lookahead == 'n') ADVANCE(31); END_STATE(); case 17: - if (lookahead == 'o') ADVANCE(33); - END_STATE(); - case 18: - if (lookahead == 'n') ADVANCE(34); - END_STATE(); - case 19: ACCEPT_TOKEN(anon_sym_if); END_STATE(); + case 18: + if (lookahead == 'p') ADVANCE(32); + if (lookahead == 's') ADVANCE(33); + if (lookahead == 't') ADVANCE(34); + END_STATE(); + case 19: + if (lookahead == 'o') ADVANCE(35); + END_STATE(); case 20: - if (lookahead == 'p') ADVANCE(35); - if (lookahead == 's') ADVANCE(36); - if (lookahead == 't') ADVANCE(37); + if (lookahead == 't') ADVANCE(36); END_STATE(); case 21: - if (lookahead == 'o') ADVANCE(38); + if (lookahead == 't') ADVANCE(37); END_STATE(); case 22: - if (lookahead == 't') ADVANCE(39); + if (lookahead == 'a') ADVANCE(38); END_STATE(); case 23: - if (lookahead == 't') ADVANCE(40); + if (lookahead == 'l') ADVANCE(39); END_STATE(); case 24: - if (lookahead == 'a') ADVANCE(41); + if (lookahead == 'b') ADVANCE(40); END_STATE(); case 25: - if (lookahead == 'l') ADVANCE(42); + if (lookahead == 'u') ADVANCE(41); END_STATE(); case 26: - if (lookahead == 'b') ADVANCE(43); + if (lookahead == 'e') ADVANCE(42); + if (lookahead == 'i') ADVANCE(43); END_STATE(); case 27: - if (lookahead == 'u') ADVANCE(44); + if (lookahead == 'a') ADVANCE(44); END_STATE(); case 28: - if (lookahead == 'e') ADVANCE(45); - if (lookahead == 'i') ADVANCE(46); + if (lookahead == 'c') ADVANCE(45); END_STATE(); case 29: - if (lookahead == 'a') ADVANCE(47); + if (lookahead == 's') ADVANCE(46); END_STATE(); case 30: - if (lookahead == 'c') ADVANCE(48); + if (lookahead == 'm') ADVANCE(47); END_STATE(); case 31: - if (lookahead == 'e') ADVANCE(49); + if (lookahead == 'c') ADVANCE(48); END_STATE(); case 32: - if (lookahead == 's') ADVANCE(50); + if (lookahead == 'u') ADVANCE(49); END_STATE(); case 33: - if (lookahead == 'm') ADVANCE(51); + if (lookahead == 'e') ADVANCE(50); END_STATE(); case 34: - if (lookahead == 'c') ADVANCE(52); + if (lookahead == 'o') ADVANCE(51); END_STATE(); case 35: - if (lookahead == 'u') ADVANCE(53); + if (lookahead == 'p') ADVANCE(52); END_STATE(); case 36: - if (lookahead == 'e') ADVANCE(54); + if (lookahead == 'c') ADVANCE(53); END_STATE(); case 37: - if (lookahead == 'o') ADVANCE(55); + if (lookahead == 'p') ADVANCE(54); END_STATE(); case 38: - if (lookahead == 'p') ADVANCE(56); + if (lookahead == 'd') ADVANCE(55); END_STATE(); case 39: - if (lookahead == 'c') ADVANCE(57); + if (lookahead == 'e') ADVANCE(56); END_STATE(); case 40: - if (lookahead == 'p') ADVANCE(58); + if (lookahead == 'l') ADVANCE(57); END_STATE(); case 41: - if (lookahead == 'd') ADVANCE(59); + if (lookahead == 'e') ADVANCE(58); END_STATE(); case 42: - if (lookahead == 'e') ADVANCE(60); + if (lookahead == 'r') ADVANCE(59); END_STATE(); case 43: - if (lookahead == 'l') ADVANCE(61); + if (lookahead == 'l') ADVANCE(60); END_STATE(); case 44: - if (lookahead == 'e') ADVANCE(62); + if (lookahead == 'k') ADVANCE(61); END_STATE(); case 45: - if (lookahead == 'r') ADVANCE(63); + if (lookahead == 'h') ADVANCE(62); END_STATE(); case 46: - if (lookahead == 'l') ADVANCE(64); + if (lookahead == 'e') ADVANCE(63); END_STATE(); case 47: - if (lookahead == 'k') ADVANCE(65); - END_STATE(); - case 48: - if (lookahead == 'h') ADVANCE(66); - END_STATE(); - case 49: - ACCEPT_TOKEN(anon_sym_else); - END_STATE(); - case 50: - if (lookahead == 'e') ADVANCE(67); - END_STATE(); - case 51: ACCEPT_TOKEN(anon_sym_from); END_STATE(); - case 52: - if (lookahead == 't') ADVANCE(68); + case 48: + if (lookahead == 't') ADVANCE(64); END_STATE(); - case 53: - if (lookahead == 't') ADVANCE(69); + case 49: + if (lookahead == 't') ADVANCE(65); END_STATE(); - case 54: - if (lookahead == 'r') ADVANCE(70); + case 50: + if (lookahead == 'r') ADVANCE(66); END_STATE(); - case 55: + case 51: ACCEPT_TOKEN(anon_sym_into); END_STATE(); - case 56: + case 52: ACCEPT_TOKEN(anon_sym_loop); END_STATE(); - case 57: - if (lookahead == 'h') ADVANCE(71); + case 53: + if (lookahead == 'h') ADVANCE(67); END_STATE(); - case 58: - if (lookahead == 'u') ADVANCE(72); + case 54: + if (lookahead == 'u') ADVANCE(68); END_STATE(); - case 59: + case 55: ACCEPT_TOKEN(anon_sym_read); END_STATE(); - case 60: - if (lookahead == 'c') ADVANCE(73); + case 56: + if (lookahead == 'c') ADVANCE(69); END_STATE(); - case 61: - if (lookahead == 'e') ADVANCE(74); + case 57: + if (lookahead == 'e') ADVANCE(70); END_STATE(); - case 62: + case 58: ACCEPT_TOKEN(anon_sym_true); END_STATE(); - case 63: - if (lookahead == 'e') ADVANCE(75); + case 59: + if (lookahead == 'e') ADVANCE(71); END_STATE(); - case 64: - if (lookahead == 'e') ADVANCE(76); + case 60: + if (lookahead == 'e') ADVANCE(72); END_STATE(); - case 65: + case 61: ACCEPT_TOKEN(anon_sym_break); END_STATE(); - case 66: + case 62: ACCEPT_TOKEN(anon_sym_catch); END_STATE(); - case 67: + case 63: ACCEPT_TOKEN(anon_sym_false); END_STATE(); - case 68: - if (lookahead == 'i') ADVANCE(77); + case 64: + if (lookahead == 'i') ADVANCE(73); END_STATE(); - case 69: + case 65: ACCEPT_TOKEN(anon_sym_input); END_STATE(); - case 70: - if (lookahead == 't') ADVANCE(78); + case 66: + if (lookahead == 't') ADVANCE(74); END_STATE(); - case 71: + case 67: ACCEPT_TOKEN(anon_sym_match); END_STATE(); - case 72: - if (lookahead == 't') ADVANCE(79); + case 68: + if (lookahead == 't') ADVANCE(75); END_STATE(); - case 73: - if (lookahead == 't') ADVANCE(80); + case 69: + if (lookahead == 't') ADVANCE(76); END_STATE(); - case 74: + case 70: ACCEPT_TOKEN(anon_sym_table); END_STATE(); - case 75: + case 71: ACCEPT_TOKEN(anon_sym_where); END_STATE(); - case 76: + case 72: ACCEPT_TOKEN(anon_sym_while); END_STATE(); - case 77: - if (lookahead == 'o') ADVANCE(81); + case 73: + if (lookahead == 'o') ADVANCE(77); END_STATE(); - case 78: + case 74: ACCEPT_TOKEN(anon_sym_insert); END_STATE(); - case 79: + case 75: ACCEPT_TOKEN(anon_sym_output); END_STATE(); - case 80: + case 76: ACCEPT_TOKEN(anon_sym_select); END_STATE(); - case 81: - if (lookahead == 'n') ADVANCE(82); + case 77: + if (lookahead == 'n') ADVANCE(78); END_STATE(); - case 82: + case 78: ACCEPT_TOKEN(anon_sym_function); END_STATE(); default: @@ -1462,210 +1733,365 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 14}, - [2] = {.lex_state = 14}, - [3] = {.lex_state = 14}, - [4] = {.lex_state = 14}, - [5] = {.lex_state = 14}, - [6] = {.lex_state = 14}, - [7] = {.lex_state = 14}, - [8] = {.lex_state = 14}, - [9] = {.lex_state = 14}, - [10] = {.lex_state = 14}, - [11] = {.lex_state = 14}, - [12] = {.lex_state = 14}, - [13] = {.lex_state = 14}, - [14] = {.lex_state = 14}, - [15] = {.lex_state = 14}, - [16] = {.lex_state = 14}, - [17] = {.lex_state = 14}, - [18] = {.lex_state = 14}, - [19] = {.lex_state = 14}, - [20] = {.lex_state = 13}, - [21] = {.lex_state = 13}, - [22] = {.lex_state = 13}, - [23] = {.lex_state = 14}, - [24] = {.lex_state = 14}, - [25] = {.lex_state = 14}, - [26] = {.lex_state = 14}, - [27] = {.lex_state = 14}, - [28] = {.lex_state = 13}, - [29] = {.lex_state = 13}, - [30] = {.lex_state = 14}, - [31] = {.lex_state = 13}, - [32] = {.lex_state = 14}, - [33] = {.lex_state = 14}, - [34] = {.lex_state = 14}, - [35] = {.lex_state = 13}, - [36] = {.lex_state = 13}, - [37] = {.lex_state = 13}, - [38] = {.lex_state = 13}, - [39] = {.lex_state = 13}, - [40] = {.lex_state = 14}, - [41] = {.lex_state = 14}, - [42] = {.lex_state = 13}, - [43] = {.lex_state = 14}, - [44] = {.lex_state = 14}, - [45] = {.lex_state = 13}, - [46] = {.lex_state = 13}, - [47] = {.lex_state = 13}, - [48] = {.lex_state = 13}, - [49] = {.lex_state = 13}, - [50] = {.lex_state = 13}, - [51] = {.lex_state = 13}, - [52] = {.lex_state = 13}, - [53] = {.lex_state = 13}, - [54] = {.lex_state = 13}, - [55] = {.lex_state = 13}, - [56] = {.lex_state = 13}, - [57] = {.lex_state = 13}, - [58] = {.lex_state = 14}, - [59] = {.lex_state = 14}, - [60] = {.lex_state = 14}, - [61] = {.lex_state = 14}, - [62] = {.lex_state = 14}, - [63] = {.lex_state = 14}, - [64] = {.lex_state = 14}, - [65] = {.lex_state = 14}, - [66] = {.lex_state = 13}, - [67] = {.lex_state = 14}, - [68] = {.lex_state = 14}, - [69] = {.lex_state = 14}, - [70] = {.lex_state = 14}, - [71] = {.lex_state = 14}, - [72] = {.lex_state = 14}, - [73] = {.lex_state = 14}, - [74] = {.lex_state = 14}, - [75] = {.lex_state = 14}, - [76] = {.lex_state = 14}, - [77] = {.lex_state = 14}, - [78] = {.lex_state = 14}, - [79] = {.lex_state = 14}, - [80] = {.lex_state = 14}, - [81] = {.lex_state = 14}, - [82] = {.lex_state = 14}, - [83] = {.lex_state = 14}, - [84] = {.lex_state = 14}, - [85] = {.lex_state = 14}, - [86] = {.lex_state = 14}, - [87] = {.lex_state = 14}, - [88] = {.lex_state = 14}, - [89] = {.lex_state = 14}, - [90] = {.lex_state = 14}, - [91] = {.lex_state = 14}, - [92] = {.lex_state = 14}, - [93] = {.lex_state = 14}, - [94] = {.lex_state = 14}, - [95] = {.lex_state = 14}, - [96] = {.lex_state = 14}, - [97] = {.lex_state = 14}, - [98] = {.lex_state = 14}, - [99] = {.lex_state = 14}, - [100] = {.lex_state = 14}, - [101] = {.lex_state = 14}, - [102] = {.lex_state = 14}, - [103] = {.lex_state = 14}, - [104] = {.lex_state = 14}, - [105] = {.lex_state = 14}, - [106] = {.lex_state = 1}, - [107] = {.lex_state = 1}, - [108] = {.lex_state = 1}, - [109] = {.lex_state = 1}, - [110] = {.lex_state = 1}, - [111] = {.lex_state = 1}, - [112] = {.lex_state = 1}, - [113] = {.lex_state = 1}, - [114] = {.lex_state = 1}, - [115] = {.lex_state = 1}, - [116] = {.lex_state = 14}, - [117] = {.lex_state = 1}, - [118] = {.lex_state = 1}, - [119] = {.lex_state = 1}, - [120] = {.lex_state = 1}, - [121] = {.lex_state = 1}, - [122] = {.lex_state = 1}, - [123] = {.lex_state = 1}, - [124] = {.lex_state = 1}, - [125] = {.lex_state = 14}, - [126] = {.lex_state = 1}, - [127] = {.lex_state = 1}, - [128] = {.lex_state = 1}, - [129] = {.lex_state = 1}, - [130] = {.lex_state = 14}, - [131] = {.lex_state = 14}, - [132] = {.lex_state = 14}, - [133] = {.lex_state = 14}, - [134] = {.lex_state = 14}, - [135] = {.lex_state = 14}, - [136] = {.lex_state = 14}, - [137] = {.lex_state = 0}, - [138] = {.lex_state = 0}, - [139] = {.lex_state = 0}, - [140] = {.lex_state = 0}, - [141] = {.lex_state = 0}, - [142] = {.lex_state = 0}, - [143] = {.lex_state = 14}, - [144] = {.lex_state = 14}, - [145] = {.lex_state = 14}, - [146] = {.lex_state = 14}, - [147] = {.lex_state = 14}, - [148] = {.lex_state = 0}, - [149] = {.lex_state = 14}, - [150] = {.lex_state = 14}, - [151] = {.lex_state = 14}, - [152] = {.lex_state = 14}, - [153] = {.lex_state = 14}, - [154] = {.lex_state = 14}, - [155] = {.lex_state = 14}, - [156] = {.lex_state = 14}, - [157] = {.lex_state = 14}, - [158] = {.lex_state = 14}, - [159] = {.lex_state = 14}, - [160] = {.lex_state = 14}, - [161] = {.lex_state = 14}, - [162] = {.lex_state = 14}, - [163] = {.lex_state = 14}, - [164] = {.lex_state = 14}, - [165] = {.lex_state = 14}, - [166] = {.lex_state = 14}, - [167] = {.lex_state = 14}, - [168] = {.lex_state = 14}, - [169] = {.lex_state = 14}, - [170] = {.lex_state = 14}, - [171] = {.lex_state = 14}, - [172] = {.lex_state = 14}, - [173] = {.lex_state = 0}, - [174] = {.lex_state = 14}, - [175] = {.lex_state = 0}, - [176] = {.lex_state = 14}, - [177] = {.lex_state = 14}, - [178] = {.lex_state = 14}, - [179] = {.lex_state = 14}, - [180] = {.lex_state = 0}, - [181] = {.lex_state = 0}, - [182] = {.lex_state = 0}, - [183] = {.lex_state = 0}, - [184] = {.lex_state = 0}, - [185] = {.lex_state = 0}, - [186] = {.lex_state = 14}, - [187] = {.lex_state = 0}, - [188] = {.lex_state = 0}, - [189] = {.lex_state = 14}, - [190] = {.lex_state = 0}, - [191] = {.lex_state = 0}, - [192] = {.lex_state = 0}, - [193] = {.lex_state = 14}, - [194] = {.lex_state = 0}, - [195] = {.lex_state = 0}, - [196] = {.lex_state = 14}, - [197] = {.lex_state = 0}, - [198] = {.lex_state = 14}, - [199] = {.lex_state = 0}, - [200] = {.lex_state = 0}, - [201] = {.lex_state = 0}, - [202] = {.lex_state = 17}, - [203] = {.lex_state = 0}, - [204] = {.lex_state = 0}, + [1] = {.lex_state = 19}, + [2] = {.lex_state = 19}, + [3] = {.lex_state = 19}, + [4] = {.lex_state = 19}, + [5] = {.lex_state = 19}, + [6] = {.lex_state = 19}, + [7] = {.lex_state = 19}, + [8] = {.lex_state = 19}, + [9] = {.lex_state = 19}, + [10] = {.lex_state = 19}, + [11] = {.lex_state = 19}, + [12] = {.lex_state = 19}, + [13] = {.lex_state = 19}, + [14] = {.lex_state = 19}, + [15] = {.lex_state = 19}, + [16] = {.lex_state = 19}, + [17] = {.lex_state = 19}, + [18] = {.lex_state = 19}, + [19] = {.lex_state = 19}, + [20] = {.lex_state = 19}, + [21] = {.lex_state = 19}, + [22] = {.lex_state = 19}, + [23] = {.lex_state = 19}, + [24] = {.lex_state = 19}, + [25] = {.lex_state = 19}, + [26] = {.lex_state = 19}, + [27] = {.lex_state = 19}, + [28] = {.lex_state = 19}, + [29] = {.lex_state = 19}, + [30] = {.lex_state = 19}, + [31] = {.lex_state = 19}, + [32] = {.lex_state = 19}, + [33] = {.lex_state = 19}, + [34] = {.lex_state = 19}, + [35] = {.lex_state = 19}, + [36] = {.lex_state = 19}, + [37] = {.lex_state = 19}, + [38] = {.lex_state = 19}, + [39] = {.lex_state = 19}, + [40] = {.lex_state = 19}, + [41] = {.lex_state = 19}, + [42] = {.lex_state = 19}, + [43] = {.lex_state = 19}, + [44] = {.lex_state = 19}, + [45] = {.lex_state = 19}, + [46] = {.lex_state = 19}, + [47] = {.lex_state = 19}, + [48] = {.lex_state = 19}, + [49] = {.lex_state = 19}, + [50] = {.lex_state = 19}, + [51] = {.lex_state = 19}, + [52] = {.lex_state = 19}, + [53] = {.lex_state = 18}, + [54] = {.lex_state = 17}, + [55] = {.lex_state = 18}, + [56] = {.lex_state = 17}, + [57] = {.lex_state = 17}, + [58] = {.lex_state = 17}, + [59] = {.lex_state = 17}, + [60] = {.lex_state = 18}, + [61] = {.lex_state = 17}, + [62] = {.lex_state = 17}, + [63] = {.lex_state = 17}, + [64] = {.lex_state = 17}, + [65] = {.lex_state = 17}, + [66] = {.lex_state = 17}, + [67] = {.lex_state = 17}, + [68] = {.lex_state = 17}, + [69] = {.lex_state = 17}, + [70] = {.lex_state = 18}, + [71] = {.lex_state = 18}, + [72] = {.lex_state = 18}, + [73] = {.lex_state = 17}, + [74] = {.lex_state = 17}, + [75] = {.lex_state = 17}, + [76] = {.lex_state = 18}, + [77] = {.lex_state = 17}, + [78] = {.lex_state = 17}, + [79] = {.lex_state = 17}, + [80] = {.lex_state = 17}, + [81] = {.lex_state = 17}, + [82] = {.lex_state = 17}, + [83] = {.lex_state = 17}, + [84] = {.lex_state = 18}, + [85] = {.lex_state = 18}, + [86] = {.lex_state = 18}, + [87] = {.lex_state = 18}, + [88] = {.lex_state = 18}, + [89] = {.lex_state = 18}, + [90] = {.lex_state = 18}, + [91] = {.lex_state = 17}, + [92] = {.lex_state = 18}, + [93] = {.lex_state = 18}, + [94] = {.lex_state = 18}, + [95] = {.lex_state = 18}, + [96] = {.lex_state = 18}, + [97] = {.lex_state = 18}, + [98] = {.lex_state = 18}, + [99] = {.lex_state = 18}, + [100] = {.lex_state = 17}, + [101] = {.lex_state = 20}, + [102] = {.lex_state = 20}, + [103] = {.lex_state = 19}, + [104] = {.lex_state = 20}, + [105] = {.lex_state = 19}, + [106] = {.lex_state = 19}, + [107] = {.lex_state = 19}, + [108] = {.lex_state = 19}, + [109] = {.lex_state = 19}, + [110] = {.lex_state = 19}, + [111] = {.lex_state = 19}, + [112] = {.lex_state = 19}, + [113] = {.lex_state = 17}, + [114] = {.lex_state = 19}, + [115] = {.lex_state = 19}, + [116] = {.lex_state = 19}, + [117] = {.lex_state = 19}, + [118] = {.lex_state = 19}, + [119] = {.lex_state = 20}, + [120] = {.lex_state = 20}, + [121] = {.lex_state = 19}, + [122] = {.lex_state = 20}, + [123] = {.lex_state = 19}, + [124] = {.lex_state = 20}, + [125] = {.lex_state = 20}, + [126] = {.lex_state = 20}, + [127] = {.lex_state = 20}, + [128] = {.lex_state = 20}, + [129] = {.lex_state = 20}, + [130] = {.lex_state = 20}, + [131] = {.lex_state = 20}, + [132] = {.lex_state = 19}, + [133] = {.lex_state = 19}, + [134] = {.lex_state = 19}, + [135] = {.lex_state = 19}, + [136] = {.lex_state = 19}, + [137] = {.lex_state = 19}, + [138] = {.lex_state = 19}, + [139] = {.lex_state = 19}, + [140] = {.lex_state = 19}, + [141] = {.lex_state = 19}, + [142] = {.lex_state = 19}, + [143] = {.lex_state = 19}, + [144] = {.lex_state = 19}, + [145] = {.lex_state = 19}, + [146] = {.lex_state = 19}, + [147] = {.lex_state = 19}, + [148] = {.lex_state = 19}, + [149] = {.lex_state = 19}, + [150] = {.lex_state = 19}, + [151] = {.lex_state = 19}, + [152] = {.lex_state = 19}, + [153] = {.lex_state = 19}, + [154] = {.lex_state = 19}, + [155] = {.lex_state = 19}, + [156] = {.lex_state = 19}, + [157] = {.lex_state = 19}, + [158] = {.lex_state = 19}, + [159] = {.lex_state = 19}, + [160] = {.lex_state = 19}, + [161] = {.lex_state = 19}, + [162] = {.lex_state = 19}, + [163] = {.lex_state = 19}, + [164] = {.lex_state = 19}, + [165] = {.lex_state = 19}, + [166] = {.lex_state = 19}, + [167] = {.lex_state = 19}, + [168] = {.lex_state = 19}, + [169] = {.lex_state = 19}, + [170] = {.lex_state = 19}, + [171] = {.lex_state = 19}, + [172] = {.lex_state = 19}, + [173] = {.lex_state = 1}, + [174] = {.lex_state = 1}, + [175] = {.lex_state = 19}, + [176] = {.lex_state = 19}, + [177] = {.lex_state = 19}, + [178] = {.lex_state = 19}, + [179] = {.lex_state = 19}, + [180] = {.lex_state = 1}, + [181] = {.lex_state = 19}, + [182] = {.lex_state = 19}, + [183] = {.lex_state = 19}, + [184] = {.lex_state = 19}, + [185] = {.lex_state = 1}, + [186] = {.lex_state = 1}, + [187] = {.lex_state = 19}, + [188] = {.lex_state = 1}, + [189] = {.lex_state = 1}, + [190] = {.lex_state = 19}, + [191] = {.lex_state = 19}, + [192] = {.lex_state = 19}, + [193] = {.lex_state = 1}, + [194] = {.lex_state = 1}, + [195] = {.lex_state = 1}, + [196] = {.lex_state = 1}, + [197] = {.lex_state = 1}, + [198] = {.lex_state = 1}, + [199] = {.lex_state = 1}, + [200] = {.lex_state = 1}, + [201] = {.lex_state = 19}, + [202] = {.lex_state = 19}, + [203] = {.lex_state = 1}, + [204] = {.lex_state = 2}, + [205] = {.lex_state = 1}, + [206] = {.lex_state = 19}, + [207] = {.lex_state = 1}, + [208] = {.lex_state = 2}, + [209] = {.lex_state = 1}, + [210] = {.lex_state = 1}, + [211] = {.lex_state = 1}, + [212] = {.lex_state = 1}, + [213] = {.lex_state = 1}, + [214] = {.lex_state = 1}, + [215] = {.lex_state = 19}, + [216] = {.lex_state = 1}, + [217] = {.lex_state = 1}, + [218] = {.lex_state = 1}, + [219] = {.lex_state = 1}, + [220] = {.lex_state = 19}, + [221] = {.lex_state = 1}, + [222] = {.lex_state = 1}, + [223] = {.lex_state = 1}, + [224] = {.lex_state = 1}, + [225] = {.lex_state = 19}, + [226] = {.lex_state = 19}, + [227] = {.lex_state = 19}, + [228] = {.lex_state = 1}, + [229] = {.lex_state = 1}, + [230] = {.lex_state = 19}, + [231] = {.lex_state = 19}, + [232] = {.lex_state = 19}, + [233] = {.lex_state = 19}, + [234] = {.lex_state = 19}, + [235] = {.lex_state = 0}, + [236] = {.lex_state = 0}, + [237] = {.lex_state = 19}, + [238] = {.lex_state = 19}, + [239] = {.lex_state = 0}, + [240] = {.lex_state = 19}, + [241] = {.lex_state = 0}, + [242] = {.lex_state = 19}, + [243] = {.lex_state = 1}, + [244] = {.lex_state = 0}, + [245] = {.lex_state = 0}, + [246] = {.lex_state = 1}, + [247] = {.lex_state = 0}, + [248] = {.lex_state = 0}, + [249] = {.lex_state = 19}, + [250] = {.lex_state = 19}, + [251] = {.lex_state = 19}, + [252] = {.lex_state = 19}, + [253] = {.lex_state = 19}, + [254] = {.lex_state = 19}, + [255] = {.lex_state = 0}, + [256] = {.lex_state = 19}, + [257] = {.lex_state = 19}, + [258] = {.lex_state = 19}, + [259] = {.lex_state = 19}, + [260] = {.lex_state = 19}, + [261] = {.lex_state = 19}, + [262] = {.lex_state = 19}, + [263] = {.lex_state = 19}, + [264] = {.lex_state = 19}, + [265] = {.lex_state = 0}, + [266] = {.lex_state = 19}, + [267] = {.lex_state = 19}, + [268] = {.lex_state = 19}, + [269] = {.lex_state = 19}, + [270] = {.lex_state = 19}, + [271] = {.lex_state = 19}, + [272] = {.lex_state = 0}, + [273] = {.lex_state = 19}, + [274] = {.lex_state = 0}, + [275] = {.lex_state = 20}, + [276] = {.lex_state = 19}, + [277] = {.lex_state = 20}, + [278] = {.lex_state = 1}, + [279] = {.lex_state = 0}, + [280] = {.lex_state = 1}, + [281] = {.lex_state = 1}, + [282] = {.lex_state = 1}, + [283] = {.lex_state = 19}, + [284] = {.lex_state = 19}, + [285] = {.lex_state = 19}, + [286] = {.lex_state = 1}, + [287] = {.lex_state = 19}, + [288] = {.lex_state = 1}, + [289] = {.lex_state = 19}, + [290] = {.lex_state = 1}, + [291] = {.lex_state = 0}, + [292] = {.lex_state = 1}, + [293] = {.lex_state = 19}, + [294] = {.lex_state = 19}, + [295] = {.lex_state = 19}, + [296] = {.lex_state = 1}, + [297] = {.lex_state = 0}, + [298] = {.lex_state = 19}, + [299] = {.lex_state = 19}, + [300] = {.lex_state = 19}, + [301] = {.lex_state = 1}, + [302] = {.lex_state = 19}, + [303] = {.lex_state = 19}, + [304] = {.lex_state = 19}, + [305] = {.lex_state = 19}, + [306] = {.lex_state = 0}, + [307] = {.lex_state = 19}, + [308] = {.lex_state = 19}, + [309] = {.lex_state = 19}, + [310] = {.lex_state = 19}, + [311] = {.lex_state = 0}, + [312] = {.lex_state = 0}, + [313] = {.lex_state = 0}, + [314] = {.lex_state = 19}, + [315] = {.lex_state = 0}, + [316] = {.lex_state = 19}, + [317] = {.lex_state = 0}, + [318] = {.lex_state = 19}, + [319] = {.lex_state = 0}, + [320] = {.lex_state = 0}, + [321] = {.lex_state = 19}, + [322] = {.lex_state = 19}, + [323] = {.lex_state = 0}, + [324] = {.lex_state = 0}, + [325] = {.lex_state = 19}, + [326] = {.lex_state = 0}, + [327] = {.lex_state = 19}, + [328] = {.lex_state = 19}, + [329] = {.lex_state = 0}, + [330] = {.lex_state = 0}, + [331] = {.lex_state = 0}, + [332] = {.lex_state = 0}, + [333] = {.lex_state = 0}, + [334] = {.lex_state = 0}, + [335] = {.lex_state = 0}, + [336] = {.lex_state = 0}, + [337] = {.lex_state = 23}, + [338] = {.lex_state = 0}, + [339] = {.lex_state = 19}, + [340] = {.lex_state = 0}, + [341] = {.lex_state = 19}, + [342] = {.lex_state = 0}, + [343] = {.lex_state = 19}, + [344] = {.lex_state = 0}, + [345] = {.lex_state = 19}, + [346] = {.lex_state = 0}, + [347] = {.lex_state = 19}, + [348] = {.lex_state = 0}, + [349] = {.lex_state = 0}, + [350] = {.lex_state = 0}, + [351] = {.lex_state = 0}, + [352] = {.lex_state = 19}, + [353] = {.lex_state = 0}, + [354] = {.lex_state = 19}, + [355] = {.lex_state = 19}, + [356] = {.lex_state = 0}, + [357] = {.lex_state = 0}, + [358] = {.lex_state = 0}, + [359] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1721,29 +2147,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_read] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(183), - [sym_item] = STATE(2), - [sym_comment] = STATE(95), - [sym_statement] = STATE(95), - [sym_yield] = STATE(78), - [sym_expression] = STATE(52), - [sym_value] = STATE(49), - [sym_boolean] = STATE(36), - [sym_list] = STATE(36), - [sym_function] = STATE(36), - [sym_table] = STATE(36), - [sym_map] = STATE(36), - [sym_math] = STATE(49), - [sym_logic] = STATE(49), - [sym_assignment] = STATE(78), - [sym_select] = STATE(78), - [sym_insert] = STATE(78), - [sym_if_else] = STATE(78), - [sym_function_call] = STATE(49), - [sym_loop] = STATE(78), - [sym_match] = STATE(78), - [sym_tool_call] = STATE(49), - [aux_sym_root_repeat1] = STATE(2), + [sym_root] = STATE(332), + [sym_item] = STATE(3), + [sym_comment] = STATE(172), + [sym_statement] = STATE(172), + [sym_yield] = STATE(160), + [sym_expression] = STATE(75), + [sym_value] = STATE(73), + [sym_boolean] = STATE(66), + [sym_list] = STATE(66), + [sym_function] = STATE(66), + [sym_table] = STATE(66), + [sym_map] = STATE(66), + [sym_math] = STATE(73), + [sym_logic] = STATE(73), + [sym_assignment] = STATE(160), + [sym_select] = STATE(160), + [sym_insert] = STATE(160), + [sym_if_else] = STATE(160), + [sym_function_call] = STATE(73), + [sym_while] = STATE(160), + [sym_loop] = STATE(160), + [sym_match] = STATE(160), + [sym_tool_call] = STATE(73), + [aux_sym_root_repeat1] = STATE(3), [sym_identifier] = ACTIONS(3), [anon_sym_POUND] = ACTIONS(5), [sym_integer] = ACTIONS(7), @@ -1759,76 +2186,14 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_insert] = ACTIONS(23), [anon_sym_if] = ACTIONS(25), [anon_sym_LPAREN] = ACTIONS(27), - [anon_sym_loop] = ACTIONS(29), - [anon_sym_match] = ACTIONS(31), + [anon_sym_while] = ACTIONS(29), + [anon_sym_loop] = ACTIONS(31), + [anon_sym_match] = ACTIONS(33), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(33), 1, - ts_builtin_sym_end, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_item, - aux_sym_root_repeat1, - STATE(95), 2, - sym_comment, - sym_statement, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [85] = 22, + [0] = 23, ACTIONS(35), 1, ts_builtin_sym_end, ACTIONS(37), 1, @@ -1854,10 +2219,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(73), 1, anon_sym_LPAREN, ACTIONS(76), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(79), 1, + anon_sym_loop, + ACTIONS(82), 1, anon_sym_match, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(46), 2, sym_float, @@ -1865,209 +2232,163 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(49), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(2), 2, sym_item, aux_sym_root_repeat1, - STATE(95), 2, + STATE(172), 2, sym_comment, sym_statement, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [170] = 21, - ACTIONS(82), 1, + [89] = 23, + ACTIONS(3), 1, sym_identifier, + ACTIONS(5), 1, + anon_sym_POUND, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, ACTIONS(85), 1, + ts_builtin_sym_end, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(2), 2, + sym_item, + aux_sym_root_repeat1, + STATE(172), 2, + sym_comment, + sym_statement, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [178] = 22, + ACTIONS(87), 1, + sym_identifier, + ACTIONS(90), 1, sym_integer, - ACTIONS(94), 1, + ACTIONS(99), 1, anon_sym_LBRACK, - ACTIONS(97), 1, + ACTIONS(102), 1, anon_sym_function, - ACTIONS(100), 1, - anon_sym_LBRACE, - ACTIONS(103), 1, - anon_sym_RBRACE, ACTIONS(105), 1, - anon_sym_table, + anon_sym_LBRACE, ACTIONS(108), 1, + anon_sym_RBRACE, + ACTIONS(110), 1, + anon_sym_table, + ACTIONS(113), 1, anon_sym_select, - ACTIONS(111), 1, + ACTIONS(116), 1, anon_sym_insert, - ACTIONS(114), 1, + ACTIONS(119), 1, anon_sym_if, - ACTIONS(117), 1, + ACTIONS(122), 1, anon_sym_LPAREN, - ACTIONS(120), 1, - anon_sym_loop, - ACTIONS(123), 1, - anon_sym_break, ACTIONS(125), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - ACTIONS(88), 2, - sym_float, - sym_string, - ACTIONS(91), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [251] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, + anon_sym_while, ACTIONS(128), 1, + anon_sym_loop, + ACTIONS(131), 1, anon_sym_break, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [329] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(133), 1, anon_sym_match, - ACTIONS(130), 1, - anon_sym_RBRACE, - STATE(52), 1, + STATE(75), 1, sym_expression, - ACTIONS(9), 2, + ACTIONS(93), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [407] = 20, + [263] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2089,128 +2410,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, - anon_sym_match, - ACTIONS(132), 1, - anon_sym_RBRACE, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [485] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(134), 1, - anon_sym_RBRACE, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [563] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(33), 1, anon_sym_match, ACTIONS(136), 1, anon_sym_RBRACE, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2221,27 +2428,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [641] = 20, + [345] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2263,12 +2471,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, ACTIONS(138), 1, anon_sym_RBRACE, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2279,27 +2489,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [719] = 20, + [427] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2321,12 +2532,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, ACTIONS(140), 1, anon_sym_RBRACE, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2337,27 +2550,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [797] = 20, + [509] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2379,12 +2593,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, ACTIONS(142), 1, anon_sym_break, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2392,30 +2608,31 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(5), 2, + STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [875] = 20, + [591] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2437,12 +2654,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, ACTIONS(144), 1, anon_sym_RBRACE, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2453,27 +2672,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [953] = 20, + [673] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2495,12 +2715,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, ACTIONS(146), 1, anon_sym_RBRACE, - STATE(52), 1, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2511,27 +2733,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [1031] = 20, + [755] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2553,12 +2776,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, ACTIONS(148), 1, - anon_sym_RBRACE, - STATE(52), 1, + anon_sym_break, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2569,27 +2794,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [1109] = 19, + [837] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2611,10 +2837,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, - STATE(52), 1, + ACTIONS(150), 1, + anon_sym_RBRACE, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2622,30 +2852,31 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(11), 2, + STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [1184] = 19, + [919] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2667,10 +2898,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, - STATE(52), 1, + ACTIONS(152), 1, + anon_sym_RBRACE, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2678,30 +2913,31 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [1259] = 19, + [1001] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2723,10 +2959,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, - STATE(52), 1, + ACTIONS(154), 1, + anon_sym_RBRACE, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2734,30 +2974,31 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(7), 2, + STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [1334] = 19, + [1083] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2779,10 +3020,197 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_loop, + anon_sym_while, ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, anon_sym_match, - STATE(52), 1, + ACTIONS(156), 1, + anon_sym_RBRACE, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1165] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(158), 1, + anon_sym_RBRACE, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1247] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(160), 1, + anon_sym_break, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(20), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1329] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(162), 1, + anon_sym_break, + STATE(75), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2793,28 +3221,2066 @@ static const uint16_t ts_small_parse_table[] = { STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(78), 7, + STATE(160), 8, sym_yield, sym_assignment, sym_select, sym_insert, sym_if_else, + sym_while, sym_loop, sym_match, - [1409] = 2, - ACTIONS(152), 17, + [1411] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(164), 1, + anon_sym_break, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(11), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1493] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(166), 1, + anon_sym_break, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1575] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(168), 1, + anon_sym_RBRACE, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1657] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + ACTIONS(170), 1, + anon_sym_RBRACE, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1739] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(16), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1818] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(21), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1897] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(10), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [1976] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(9), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2055] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(22), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2134] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(7), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2213] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(12), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2292] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(6), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2371] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(5), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2450] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(15), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2529] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2608] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(13), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2687] = 20, + ACTIONS(172), 1, + sym_identifier, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(188), 1, + anon_sym_select, + ACTIONS(190), 1, + anon_sym_insert, + ACTIONS(192), 1, + anon_sym_if, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(196), 1, + anon_sym_while, + ACTIONS(198), 1, + anon_sym_loop, + ACTIONS(200), 1, + anon_sym_match, + STATE(60), 1, + sym_expression, + STATE(125), 1, + sym_statement, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2765] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + STATE(215), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2843] = 20, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(218), 1, + anon_sym_select, + ACTIONS(220), 1, + anon_sym_insert, + ACTIONS(222), 1, + anon_sym_if, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(226), 1, + anon_sym_match, + STATE(158), 1, + sym_statement, + STATE(207), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2921] = 20, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(218), 1, + anon_sym_select, + ACTIONS(220), 1, + anon_sym_insert, + ACTIONS(222), 1, + anon_sym_if, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(226), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(350), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [2999] = 20, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(228), 1, + sym_identifier, + ACTIONS(230), 1, + anon_sym_select, + ACTIONS(232), 1, + anon_sym_insert, + ACTIONS(234), 1, + anon_sym_if, + ACTIONS(236), 1, + anon_sym_while, + ACTIONS(238), 1, + anon_sym_loop, + ACTIONS(240), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(282), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(290), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3077] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + STATE(158), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3155] = 20, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(218), 1, + anon_sym_select, + ACTIONS(220), 1, + anon_sym_insert, + ACTIONS(222), 1, + anon_sym_if, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(226), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(351), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3233] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + STATE(156), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3311] = 20, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(228), 1, + sym_identifier, + ACTIONS(230), 1, + anon_sym_select, + ACTIONS(232), 1, + anon_sym_insert, + ACTIONS(234), 1, + anon_sym_if, + ACTIONS(236), 1, + anon_sym_while, + ACTIONS(238), 1, + anon_sym_loop, + ACTIONS(240), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(288), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(290), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3389] = 20, + ACTIONS(172), 1, + sym_identifier, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(188), 1, + anon_sym_select, + ACTIONS(190), 1, + anon_sym_insert, + ACTIONS(192), 1, + anon_sym_if, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(196), 1, + anon_sym_while, + ACTIONS(198), 1, + anon_sym_loop, + ACTIONS(200), 1, + anon_sym_match, + STATE(60), 1, + sym_expression, + STATE(124), 1, + sym_statement, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3467] = 20, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(218), 1, + anon_sym_select, + ACTIONS(220), 1, + anon_sym_insert, + ACTIONS(222), 1, + anon_sym_if, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(226), 1, + anon_sym_match, + STATE(159), 1, + sym_statement, + STATE(207), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3545] = 20, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(228), 1, + sym_identifier, + ACTIONS(230), 1, + anon_sym_select, + ACTIONS(232), 1, + anon_sym_insert, + ACTIONS(234), 1, + anon_sym_if, + ACTIONS(236), 1, + anon_sym_while, + ACTIONS(238), 1, + anon_sym_loop, + ACTIONS(240), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(280), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(290), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3623] = 20, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(218), 1, + anon_sym_select, + ACTIONS(220), 1, + anon_sym_insert, + ACTIONS(222), 1, + anon_sym_if, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(226), 1, + anon_sym_match, + STATE(156), 1, + sym_statement, + STATE(207), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3701] = 20, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(228), 1, + sym_identifier, + ACTIONS(230), 1, + anon_sym_select, + ACTIONS(232), 1, + anon_sym_insert, + ACTIONS(234), 1, + anon_sym_if, + ACTIONS(236), 1, + anon_sym_while, + ACTIONS(238), 1, + anon_sym_loop, + ACTIONS(240), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(301), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(290), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3779] = 20, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(218), 1, + anon_sym_select, + ACTIONS(220), 1, + anon_sym_insert, + ACTIONS(222), 1, + anon_sym_if, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(226), 1, + anon_sym_match, + STATE(207), 1, + sym_expression, + STATE(329), 1, + sym_statement, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3857] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_loop, + ACTIONS(33), 1, + anon_sym_match, + STATE(75), 1, + sym_expression, + STATE(159), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(160), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [3935] = 20, + ACTIONS(172), 1, + sym_identifier, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(188), 1, + anon_sym_select, + ACTIONS(190), 1, + anon_sym_insert, + ACTIONS(192), 1, + anon_sym_if, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(196), 1, + anon_sym_while, + ACTIONS(198), 1, + anon_sym_loop, + ACTIONS(200), 1, + anon_sym_match, + STATE(60), 1, + sym_expression, + STATE(128), 1, + sym_statement, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [4013] = 20, + ACTIONS(172), 1, + sym_identifier, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(188), 1, + anon_sym_select, + ACTIONS(190), 1, + anon_sym_insert, + ACTIONS(192), 1, + anon_sym_if, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(196), 1, + anon_sym_while, + ACTIONS(198), 1, + anon_sym_loop, + ACTIONS(200), 1, + anon_sym_match, + STATE(60), 1, + sym_expression, + STATE(127), 1, + sym_statement, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 8, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_while, + sym_loop, + sym_match, + [4091] = 4, + ACTIONS(246), 1, + anon_sym_EQ, + ACTIONS(248), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(242), 15, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(244), 18, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4136] = 2, + ACTIONS(252), 17, sym_identifier, sym_integer, anon_sym_true, @@ -2827,12 +5293,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_insert, anon_sym_into, anon_sym_if, - anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - ACTIONS(150), 19, + ACTIONS(250), 19, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2852,1604 +5318,76 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_LPAREN, anon_sym_RPAREN, - [1450] = 4, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - ACTIONS(156), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(154), 18, - ts_builtin_sym_end, - anon_sym_POUND, + [4177] = 10, + ACTIONS(258), 1, anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [1495] = 8, - ACTIONS(164), 1, - anon_sym_DASH, - ACTIONS(168), 1, - anon_sym_PIPE_PIPE, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - ACTIONS(166), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(162), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(158), 11, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(160), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [1548] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1623] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(13), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1698] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(15), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1773] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(10), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1848] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1923] = 10, - ACTIONS(164), 1, - anon_sym_DASH, - ACTIONS(168), 1, - anon_sym_PIPE_PIPE, - ACTIONS(174), 1, - anon_sym_DASH_GT, - STATE(65), 1, - aux_sym_yield_repeat1, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - ACTIONS(166), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(162), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(170), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(172), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [1979] = 2, - ACTIONS(178), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(176), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2019] = 19, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(180), 1, - sym_identifier, - ACTIONS(182), 1, - anon_sym_if, - ACTIONS(184), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(71), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2093] = 2, - ACTIONS(188), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(186), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2133] = 19, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(180), 1, - sym_identifier, - ACTIONS(182), 1, - anon_sym_if, - ACTIONS(184), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(81), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2207] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(82), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2281] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(116), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2355] = 2, - ACTIONS(192), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(190), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2395] = 2, - ACTIONS(196), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(194), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2435] = 2, - ACTIONS(200), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(198), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2475] = 2, - ACTIONS(204), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(202), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2515] = 2, - ACTIONS(208), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(206), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2555] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(85), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2629] = 19, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(180), 1, - sym_identifier, - ACTIONS(182), 1, - anon_sym_if, - ACTIONS(184), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(74), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2703] = 2, - ACTIONS(212), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(210), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2743] = 19, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(180), 1, - sym_identifier, - ACTIONS(182), 1, - anon_sym_if, - ACTIONS(184), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(82), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2817] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(52), 1, - sym_expression, - STATE(74), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(78), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2891] = 4, - ACTIONS(218), 1, - anon_sym_EQ, - ACTIONS(220), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(214), 15, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(216), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2935] = 2, - ACTIONS(224), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(222), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2975] = 19, - ACTIONS(164), 1, - anon_sym_DASH, - ACTIONS(168), 1, - anon_sym_PIPE_PIPE, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(61), 1, - aux_sym_match_repeat1, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - STATE(118), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(166), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(162), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3048] = 8, - ACTIONS(164), 1, - anon_sym_DASH, - ACTIONS(168), 1, - anon_sym_PIPE_PIPE, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - ACTIONS(166), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(162), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(244), 9, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(246), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3099] = 2, - ACTIONS(216), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(214), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [3138] = 2, - ACTIONS(250), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(248), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [3177] = 19, - ACTIONS(164), 1, - anon_sym_DASH, - ACTIONS(168), 1, - anon_sym_PIPE_PIPE, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(58), 1, - aux_sym_match_repeat1, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - STATE(118), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(166), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(162), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3250] = 9, - ACTIONS(164), 1, - anon_sym_DASH, - ACTIONS(168), 1, - anon_sym_PIPE_PIPE, - ACTIONS(256), 1, - anon_sym_DASH_GT, - STATE(75), 1, - sym_logic_operator, - STATE(76), 1, - sym_math_operator, - ACTIONS(166), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(162), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(252), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(254), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3303] = 2, - ACTIONS(260), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(258), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [3342] = 4, ACTIONS(262), 1, - anon_sym_EQ, - ACTIONS(264), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(214), 15, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + STATE(101), 1, + aux_sym_yield_repeat1, + STATE(148), 1, + sym_logic_operator, + STATE(149), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(254), 8, ts_builtin_sym_end, anon_sym_POUND, - anon_sym_DASH_GT, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, anon_sym_LPAREN, - ACTIONS(216), 16, + ACTIONS(256), 15, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3385] = 2, - ACTIONS(268), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, anon_sym_select, anon_sym_insert, anon_sym_if, anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - ACTIONS(266), 18, + [4234] = 4, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + ACTIONS(270), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(268), 18, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -4468,34 +5406,37 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_LPAREN, anon_sym_RPAREN, - [3424] = 8, - ACTIONS(164), 1, + [4279] = 8, + ACTIONS(262), 1, anon_sym_DASH, - ACTIONS(168), 1, + ACTIONS(266), 1, anon_sym_PIPE_PIPE, - STATE(75), 1, + STATE(161), 1, sym_logic_operator, - STATE(76), 1, + STATE(168), 1, sym_math_operator, - ACTIONS(166), 3, + ACTIONS(264), 3, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(162), 4, + ACTIONS(260), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(270), 8, + ACTIONS(272), 11, ts_builtin_sym_end, anon_sym_POUND, + anon_sym_DASH_GT, sym_float, sym_string, anon_sym_LBRACK, + anon_sym_COMMA, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(272), 14, + anon_sym_RPAREN, + ACTIONS(274), 14, sym_identifier, sym_integer, anon_sym_true, @@ -4505,16 +5446,40 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, - anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [3474] = 4, - ACTIONS(216), 2, + [4332] = 2, + ACTIONS(278), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, anon_sym_DASH, anon_sym_PIPE_PIPE, - ACTIONS(214), 7, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(276), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -4522,357 +5487,1745 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(274), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(276), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3514] = 14, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - ACTIONS(278), 1, - anon_sym_catch, - STATE(63), 1, - aux_sym_match_repeat1, - STATE(118), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3567] = 4, - ACTIONS(280), 1, - anon_sym_DASH_GT, - STATE(59), 1, - aux_sym_yield_repeat1, - ACTIONS(244), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(246), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3600] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, anon_sym_RPAREN, - STATE(66), 1, - sym_expression, - STATE(68), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3653] = 14, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - ACTIONS(287), 1, - anon_sym_catch, - STATE(63), 1, - aux_sym_match_repeat1, - STATE(118), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3706] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(289), 1, - anon_sym_RPAREN, - STATE(60), 1, - aux_sym_function_call_repeat1, - STATE(66), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3759] = 14, - ACTIONS(291), 1, - sym_identifier, - ACTIONS(294), 1, - sym_integer, - ACTIONS(303), 1, - anon_sym_LBRACK, - ACTIONS(306), 1, - anon_sym_function, - ACTIONS(309), 1, - anon_sym_LBRACE, - ACTIONS(312), 1, - anon_sym_table, - ACTIONS(315), 1, - anon_sym_LPAREN, - ACTIONS(318), 1, - anon_sym_catch, - STATE(63), 1, - aux_sym_match_repeat1, - STATE(118), 1, - sym_expression, - ACTIONS(297), 2, - sym_float, - sym_string, - ACTIONS(300), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3812] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(320), 1, - anon_sym_RPAREN, - STATE(66), 1, - sym_expression, - STATE(67), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3865] = 4, - ACTIONS(174), 1, - anon_sym_DASH_GT, - STATE(59), 1, - aux_sym_yield_repeat1, - ACTIONS(322), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(324), 14, + [4372] = 2, + ACTIONS(282), 16, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3898] = 9, - ACTIONS(164), 1, anon_sym_DASH, - ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(280), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4412] = 9, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(288), 1, + anon_sym_DASH_GT, + STATE(148), 1, + sym_logic_operator, + STATE(149), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(284), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(286), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4466] = 4, + ACTIONS(290), 1, + anon_sym_EQ, + ACTIONS(292), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(242), 15, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(244), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4510] = 2, + ACTIONS(296), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(294), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4550] = 2, + ACTIONS(300), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(298), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4590] = 2, + ACTIONS(304), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(302), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4630] = 10, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(306), 1, + anon_sym_DASH_GT, + STATE(108), 1, + aux_sym_yield_repeat1, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(254), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(256), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4686] = 2, + ACTIONS(310), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(308), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4726] = 2, + ACTIONS(314), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(312), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4766] = 2, + ACTIONS(318), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(316), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4806] = 2, + ACTIONS(322), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(320), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [4846] = 8, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + STATE(148), 1, + sym_logic_operator, + STATE(149), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(272), 9, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(274), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4898] = 8, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + STATE(148), 1, + sym_logic_operator, + STATE(149), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(324), 9, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(326), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4950] = 4, + STATE(148), 1, + sym_logic_operator, + STATE(149), 1, + sym_math_operator, + ACTIONS(268), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(270), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4994] = 2, + ACTIONS(244), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(242), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [5033] = 19, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(328), 1, + sym_identifier, + STATE(117), 1, + aux_sym_match_repeat1, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [5106] = 9, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, anon_sym_PIPE_PIPE, ACTIONS(330), 1, - anon_sym_COMMA, - STATE(75), 1, + anon_sym_DASH_GT, + STATE(161), 1, sym_logic_operator, - STATE(76), 1, + STATE(168), 1, sym_math_operator, - ACTIONS(166), 3, + ACTIONS(264), 3, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(162), 4, + ACTIONS(260), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(326), 6, + ACTIONS(284), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(286), 14, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(328), 6, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5159] = 8, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + STATE(148), 1, + sym_logic_operator, + STATE(149), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(332), 8, + ts_builtin_sym_end, + anon_sym_POUND, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(334), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5210] = 2, + ACTIONS(338), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(336), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, anon_sym_LPAREN, anon_sym_RPAREN, - [3941] = 14, + [5249] = 2, + ACTIONS(342), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(340), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [5288] = 2, + ACTIONS(346), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(344), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [5327] = 8, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(324), 9, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(326), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5378] = 19, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(328), 1, + sym_identifier, + STATE(111), 1, + aux_sym_match_repeat1, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [5451] = 19, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(328), 1, + sym_identifier, + STATE(109), 1, + aux_sym_match_repeat1, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [5524] = 19, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(328), 1, + sym_identifier, + STATE(106), 1, + aux_sym_match_repeat1, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [5597] = 2, + ACTIONS(298), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(300), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5635] = 2, + ACTIONS(242), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(244), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5673] = 2, + ACTIONS(250), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(252), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5711] = 2, + ACTIONS(294), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(296), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5749] = 2, + ACTIONS(312), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(314), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5787] = 2, + ACTIONS(308), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(310), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5825] = 2, + ACTIONS(340), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(342), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5863] = 8, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(332), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(334), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5913] = 2, + ACTIONS(276), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(278), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5951] = 2, + ACTIONS(302), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(304), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [5989] = 2, + ACTIONS(320), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(322), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6027] = 2, + ACTIONS(280), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(282), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6065] = 2, + ACTIONS(336), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(338), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6103] = 2, + ACTIONS(344), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(346), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6141] = 2, + ACTIONS(316), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(318), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6179] = 4, + ACTIONS(244), 2, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + ACTIONS(242), 7, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(348), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(350), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6220] = 4, + ACTIONS(244), 2, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + ACTIONS(242), 7, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(348), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(350), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6260] = 4, + ACTIONS(258), 1, + anon_sym_DASH_GT, + STATE(102), 1, + aux_sym_yield_repeat1, + ACTIONS(352), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(354), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6294] = 4, + ACTIONS(356), 1, + anon_sym_DASH_GT, + STATE(102), 1, + aux_sym_yield_repeat1, + ACTIONS(324), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(326), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6328] = 14, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -4885,13 +7238,416 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(27), 1, anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(359), 1, sym_identifier, - ACTIONS(332), 1, + ACTIONS(361), 1, anon_sym_RPAREN, - STATE(66), 1, + STATE(112), 1, + aux_sym_function_call_repeat1, + STATE(113), 1, sym_expression, - STATE(68), 1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6381] = 3, + ACTIONS(367), 1, + anon_sym_where, + ACTIONS(363), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(365), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6412] = 14, + ACTIONS(369), 1, + sym_identifier, + ACTIONS(372), 1, + sym_integer, + ACTIONS(381), 1, + anon_sym_LBRACK, + ACTIONS(384), 1, + anon_sym_function, + ACTIONS(387), 1, + anon_sym_LBRACE, + ACTIONS(390), 1, + anon_sym_table, + ACTIONS(393), 1, + anon_sym_LPAREN, + ACTIONS(396), 1, + anon_sym_RPAREN, + STATE(105), 1, + aux_sym_function_call_repeat1, + STATE(113), 1, + sym_expression, + ACTIONS(375), 2, + sym_float, + sym_string, + ACTIONS(378), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6465] = 14, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + ACTIONS(398), 1, + anon_sym_catch, + STATE(107), 1, + aux_sym_match_repeat1, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6518] = 14, + ACTIONS(400), 1, + sym_identifier, + ACTIONS(403), 1, + sym_integer, + ACTIONS(412), 1, + anon_sym_LBRACK, + ACTIONS(415), 1, + anon_sym_function, + ACTIONS(418), 1, + anon_sym_LBRACE, + ACTIONS(421), 1, + anon_sym_table, + ACTIONS(424), 1, + anon_sym_LPAREN, + ACTIONS(427), 1, + anon_sym_catch, + STATE(107), 1, + aux_sym_match_repeat1, + STATE(212), 1, + sym_expression, + ACTIONS(406), 2, + sym_float, + sym_string, + ACTIONS(409), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6571] = 4, + ACTIONS(306), 1, + anon_sym_DASH_GT, + STATE(115), 1, + aux_sym_yield_repeat1, + ACTIONS(352), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(354), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6604] = 14, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + ACTIONS(429), 1, + anon_sym_catch, + STATE(107), 1, + aux_sym_match_repeat1, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6657] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + ACTIONS(431), 1, + anon_sym_RPAREN, + STATE(105), 1, + aux_sym_function_call_repeat1, + STATE(113), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6710] = 14, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + ACTIONS(433), 1, + anon_sym_catch, + STATE(107), 1, + aux_sym_match_repeat1, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6763] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + ACTIONS(435), 1, + anon_sym_RPAREN, + STATE(105), 1, + aux_sym_function_call_repeat1, + STATE(113), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [6816] = 9, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(266), 1, + anon_sym_PIPE_PIPE, + ACTIONS(441), 1, + anon_sym_COMMA, + STATE(161), 1, + sym_logic_operator, + STATE(168), 1, + sym_math_operator, + ACTIONS(264), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(437), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + ACTIONS(439), 6, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + [6859] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + ACTIONS(443), 1, + anon_sym_RPAREN, + STATE(113), 1, + sym_expression, + STATE(116), 1, aux_sym_function_call_repeat1, ACTIONS(9), 2, sym_float, @@ -4899,59 +7655,273 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [3994] = 14, - ACTIONS(334), 1, - sym_identifier, - ACTIONS(337), 1, - sym_integer, - ACTIONS(346), 1, - anon_sym_LBRACK, - ACTIONS(349), 1, - anon_sym_function, - ACTIONS(352), 1, - anon_sym_LBRACE, - ACTIONS(355), 1, - anon_sym_table, - ACTIONS(358), 1, - anon_sym_LPAREN, - ACTIONS(361), 1, - anon_sym_RPAREN, - STATE(66), 1, - sym_expression, - STATE(68), 1, - aux_sym_function_call_repeat1, - ACTIONS(340), 2, + [6912] = 4, + ACTIONS(445), 1, + anon_sym_DASH_GT, + STATE(115), 1, + aux_sym_yield_repeat1, + ACTIONS(324), 8, + ts_builtin_sym_end, + anon_sym_POUND, sym_float, sym_string, - ACTIONS(343), 2, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(326), 14, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(36), 5, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [6945] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + ACTIONS(448), 1, + anon_sym_RPAREN, + STATE(105), 1, + aux_sym_function_call_repeat1, + STATE(113), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4047] = 3, - ACTIONS(367), 1, + [6998] = 14, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + ACTIONS(450), 1, + anon_sym_catch, + STATE(107), 1, + aux_sym_match_repeat1, + STATE(212), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7051] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + ACTIONS(452), 1, + anon_sym_RPAREN, + STATE(110), 1, + aux_sym_function_call_repeat1, + STATE(113), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7104] = 3, + ACTIONS(458), 1, + anon_sym_where, + ACTIONS(454), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(456), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7135] = 2, + ACTIONS(460), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(462), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7163] = 3, + ACTIONS(464), 1, + anon_sym_where, + ACTIONS(454), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(456), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7193] = 2, + ACTIONS(466), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(468), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7221] = 3, + ACTIONS(470), 1, anon_sym_where, ACTIONS(363), 8, ts_builtin_sym_end, @@ -4972,15 +7942,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, - anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [4077] = 3, - ACTIONS(373), 1, - anon_sym_where, - ACTIONS(369), 8, + [7251] = 2, + ACTIONS(472), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4989,7 +7957,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(371), 14, + ACTIONS(474), 15, sym_identifier, sym_integer, anon_sym_true, @@ -5000,14 +7968,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_insert, anon_sym_if, anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [4107] = 3, - ACTIONS(379), 1, + [7279] = 3, + ACTIONS(480), 1, anon_sym_else, - ACTIONS(375), 8, + ACTIONS(476), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5016,7 +7985,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(377), 13, + ACTIONS(478), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5026,46 +7995,309 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [4136] = 12, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, + [7309] = 2, + ACTIONS(482), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, + anon_sym_RBRACE, anon_sym_LPAREN, - STATE(112), 1, + ACTIONS(484), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7337] = 2, + ACTIONS(476), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(478), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7365] = 2, + ACTIONS(486), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(488), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7393] = 2, + ACTIONS(284), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(286), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7421] = 2, + ACTIONS(490), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(492), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7449] = 2, + ACTIONS(494), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(496), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [7477] = 12, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(498), 1, + sym_identifier, + STATE(71), 1, sym_expression, - ACTIONS(230), 2, + ACTIONS(176), 2, sym_float, sym_string, - ACTIONS(232), 2, + ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, + STATE(85), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4183] = 12, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [7524] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(214), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7571] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(219), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7618] = 13, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(223), 1, + sym_expression, + STATE(224), 1, + sym_logic, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(200), 4, + sym_value, + sym_math, + sym_function_call, + sym_tool_call, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [7667] = 12, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5078,9 +8310,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(27), 1, anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(359), 1, sym_identifier, - STATE(51), 1, + STATE(80), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -5088,20 +8320,686 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4230] = 2, - ACTIONS(381), 8, + [7714] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(221), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7761] = 13, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(99), 1, + sym_logic, + STATE(229), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(200), 4, + sym_value, + sym_math, + sym_function_call, + sym_tool_call, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [7810] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(222), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7857] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(216), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7904] = 12, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(498), 1, + sym_identifier, + STATE(55), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [7951] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(174), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [7998] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(173), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8045] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + STATE(82), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8092] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + STATE(81), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8139] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(211), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8186] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(210), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8233] = 12, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(498), 1, + sym_identifier, + STATE(70), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [8280] = 12, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(498), 1, + sym_identifier, + STATE(72), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [8327] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(209), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8374] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(205), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8421] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + STATE(74), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8468] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(213), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8515] = 12, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_function, + ACTIONS(184), 1, + anon_sym_LBRACE, + ACTIONS(186), 1, + anon_sym_table, + ACTIONS(194), 1, + anon_sym_LPAREN, + ACTIONS(498), 1, + sym_identifier, + STATE(76), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(85), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(89), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [8562] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + STATE(83), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8609] = 2, + ACTIONS(482), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5110,7 +9008,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(383), 14, + ACTIONS(484), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5120,118 +9018,48 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, - anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [4257] = 12, - ACTIONS(7), 1, + [8636] = 12, + ACTIONS(204), 1, sym_integer, - ACTIONS(13), 1, + ACTIONS(210), 1, anon_sym_LBRACK, - ACTIONS(15), 1, + ACTIONS(212), 1, anon_sym_function, - ACTIONS(17), 1, + ACTIONS(214), 1, anon_sym_LBRACE, - ACTIONS(19), 1, + ACTIONS(216), 1, anon_sym_table, - ACTIONS(27), 1, + ACTIONS(224), 1, anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(328), 1, sym_identifier, - STATE(22), 1, + STATE(217), 1, sym_expression, - ACTIONS(9), 2, + ACTIONS(206), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(208), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(185), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(200), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4304] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4351] = 12, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(106), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4398] = 2, - ACTIONS(252), 8, + [8683] = 2, + ACTIONS(486), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5240,7 +9068,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(254), 14, + ACTIONS(488), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5250,12 +9078,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, - anon_sym_else, + anon_sym_while, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [4425] = 12, + [8710] = 2, + ACTIONS(472), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(474), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [8737] = 2, + ACTIONS(284), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(286), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [8764] = 12, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5268,7 +9146,212 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(27), 1, anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(359), 1, + sym_identifier, + STATE(57), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8811] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + STATE(65), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8858] = 2, + ACTIONS(490), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(492), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [8885] = 2, + ACTIONS(460), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(462), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [8912] = 2, + ACTIONS(466), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(468), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [8939] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + sym_identifier, + STATE(91), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [8986] = 2, + ACTIONS(494), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(496), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [9013] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, sym_identifier, STATE(56), 1, sym_expression, @@ -5278,64 +9361,99 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + STATE(73), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4472] = 12, - ACTIONS(7), 1, + [9060] = 13, + ACTIONS(204), 1, sym_integer, - ACTIONS(13), 1, + ACTIONS(210), 1, anon_sym_LBRACK, - ACTIONS(15), 1, + ACTIONS(212), 1, anon_sym_function, - ACTIONS(17), 1, + ACTIONS(214), 1, anon_sym_LBRACE, - ACTIONS(19), 1, + ACTIONS(216), 1, anon_sym_table, - ACTIONS(27), 1, + ACTIONS(224), 1, anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(328), 1, sym_identifier, - STATE(28), 1, + STATE(100), 1, + sym_logic, + STATE(228), 1, sym_expression, - ACTIONS(9), 2, + ACTIONS(206), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(208), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(200), 4, + sym_value, + sym_math, + sym_function_call, + sym_tool_call, + STATE(185), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(49), 5, + [9109] = 12, + ACTIONS(204), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_table, + ACTIONS(224), 1, + anon_sym_LPAREN, + ACTIONS(328), 1, + sym_identifier, + STATE(218), 1, + sym_expression, + ACTIONS(206), 2, + sym_float, + sym_string, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + STATE(185), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(200), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4519] = 2, - ACTIONS(375), 8, + [9156] = 2, + ACTIONS(500), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(377), 14, + ACTIONS(502), 12, sym_identifier, sym_integer, anon_sym_true, @@ -5345,1991 +9463,2632 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_match, + [9180] = 2, + ACTIONS(504), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(506), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_while, + anon_sym_loop, + anon_sym_match, + [9204] = 6, + ACTIONS(262), 1, + anon_sym_DASH, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(272), 7, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_then, anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4546] = 2, - ACTIONS(385), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9235] = 4, + ACTIONS(270), 1, + anon_sym_DASH, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(268), 15, + anon_sym_DASH_GT, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(387), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4573] = 12, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(108), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4620] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - STATE(47), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4667] = 2, - ACTIONS(389), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(391), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4694] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - STATE(48), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(49), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4741] = 2, - ACTIONS(393), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(395), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4768] = 12, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(124), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4815] = 2, - ACTIONS(397), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(399), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4842] = 2, - ACTIONS(401), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(403), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4869] = 13, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(57), 1, - sym_logic, - STATE(129), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(122), 4, - sym_value, - sym_math, - sym_function_call, - sym_tool_call, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4918] = 12, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(117), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4965] = 12, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - sym_integer, - ACTIONS(234), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_function, - ACTIONS(238), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, - anon_sym_table, - ACTIONS(242), 1, - anon_sym_LPAREN, - STATE(107), 1, - sym_expression, - ACTIONS(230), 2, - sym_float, - sym_string, - ACTIONS(232), 2, - anon_sym_true, - anon_sym_false, - STATE(120), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(122), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [5012] = 2, - ACTIONS(405), 7, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(407), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_loop, - anon_sym_match, - [5035] = 2, - ACTIONS(409), 7, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(411), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_loop, - anon_sym_match, - [5058] = 11, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9262] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(415), 1, + ACTIONS(510), 1, anon_sym_RBRACK, - ACTIONS(417), 1, + ACTIONS(512), 1, anon_sym_function, - ACTIONS(419), 1, + ACTIONS(514), 1, anon_sym_table, - STATE(99), 1, + STATE(179), 1, aux_sym_list_repeat1, - STATE(132), 1, + STATE(227), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(413), 2, + ACTIONS(508), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5098] = 11, + [9302] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(417), 1, + ACTIONS(512), 1, anon_sym_function, - ACTIONS(419), 1, + ACTIONS(514), 1, anon_sym_table, - ACTIONS(421), 1, + ACTIONS(516), 1, anon_sym_RBRACK, - STATE(99), 1, + STATE(179), 1, aux_sym_list_repeat1, - STATE(132), 1, + STATE(227), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(413), 2, + ACTIONS(508), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5138] = 11, + [9342] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(417), 1, + ACTIONS(512), 1, anon_sym_function, - ACTIONS(419), 1, + ACTIONS(514), 1, anon_sym_table, - ACTIONS(423), 1, + ACTIONS(518), 1, anon_sym_RBRACK, - STATE(99), 1, + STATE(179), 1, aux_sym_list_repeat1, - STATE(132), 1, + STATE(227), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(413), 2, + ACTIONS(508), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5178] = 11, - ACTIONS(425), 1, + [9382] = 11, + ACTIONS(7), 1, sym_integer, - ACTIONS(434), 1, + ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(437), 1, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + ACTIONS(520), 1, anon_sym_RBRACK, - ACTIONS(439), 1, - anon_sym_function, - ACTIONS(442), 1, - anon_sym_LBRACE, - ACTIONS(445), 1, - anon_sym_table, - STATE(99), 1, + STATE(179), 1, aux_sym_list_repeat1, - STATE(132), 1, - sym_value, - ACTIONS(428), 2, - sym_float, - sym_string, - ACTIONS(431), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5218] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - ACTIONS(448), 1, - anon_sym_RBRACE, - STATE(181), 1, + STATE(227), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(413), 2, + ACTIONS(508), 2, anon_sym_true, anon_sym_false, - STATE(36), 5, + STATE(66), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5255] = 10, - ACTIONS(7), 1, + [9422] = 11, + ACTIONS(522), 1, sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - STATE(98), 1, - aux_sym_list_repeat1, - STATE(132), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(413), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5292] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - STATE(96), 1, - aux_sym_list_repeat1, - STATE(132), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(413), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5329] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - STATE(97), 1, - aux_sym_list_repeat1, - STATE(132), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(413), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5366] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - ACTIONS(450), 1, - anon_sym_RBRACE, - STATE(188), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(413), 2, - anon_sym_true, - anon_sym_false, - STATE(36), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5403] = 9, - ACTIONS(452), 1, - sym_integer, - ACTIONS(458), 1, - anon_sym_LBRACK, - ACTIONS(460), 1, - anon_sym_function, - ACTIONS(462), 1, - anon_sym_LBRACE, - ACTIONS(464), 1, - anon_sym_table, - STATE(163), 1, - sym_value, - ACTIONS(454), 2, - sym_float, - sym_string, - ACTIONS(456), 2, - anon_sym_true, - anon_sym_false, - STATE(172), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5437] = 5, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(158), 3, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5462] = 3, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(154), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5483] = 5, - ACTIONS(466), 1, - anon_sym_RPAREN, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5506] = 1, - ACTIONS(190), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5521] = 1, - ACTIONS(222), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5536] = 1, - ACTIONS(210), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5551] = 5, - ACTIONS(468), 1, - anon_sym_then, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5574] = 1, - ACTIONS(266), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5589] = 1, - ACTIONS(176), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5604] = 1, - ACTIONS(202), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5619] = 2, - ACTIONS(472), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(470), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_catch, - [5636] = 5, - ACTIONS(474), 1, - anon_sym_then, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5659] = 5, - ACTIONS(476), 1, - anon_sym_EQ_GT, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5682] = 1, - ACTIONS(258), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5697] = 1, - ACTIONS(194), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5712] = 1, - ACTIONS(198), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5727] = 1, - ACTIONS(214), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5742] = 1, - ACTIONS(186), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5757] = 5, - ACTIONS(478), 1, - anon_sym_RPAREN, - STATE(77), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5780] = 2, - ACTIONS(361), 6, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(480), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [5797] = 1, - ACTIONS(150), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5812] = 1, - ACTIONS(206), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5827] = 1, - ACTIONS(248), 12, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5842] = 4, - STATE(75), 1, - sym_logic_operator, - STATE(93), 1, - sym_math_operator, - ACTIONS(166), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(162), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [5862] = 2, - ACTIONS(484), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(482), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [5878] = 2, - ACTIONS(488), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(486), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [5894] = 3, - ACTIONS(490), 1, - sym_integer, - ACTIONS(494), 1, - anon_sym_COMMA, - ACTIONS(492), 9, - sym_float, - sym_string, - anon_sym_true, - anon_sym_false, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_function, - anon_sym_LBRACE, - anon_sym_table, - [5912] = 2, - ACTIONS(496), 1, - sym_integer, - ACTIONS(437), 9, - sym_float, - sym_string, - anon_sym_true, - anon_sym_false, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_function, - anon_sym_LBRACE, - anon_sym_table, - [5927] = 4, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_input, - ACTIONS(502), 1, - anon_sym_output, - STATE(194), 3, - sym__tool, - sym_input, - sym_output, - [5942] = 4, - ACTIONS(500), 1, - anon_sym_input, - ACTIONS(502), 1, - anon_sym_output, - ACTIONS(504), 1, - sym_identifier, - STATE(204), 3, - sym__tool, - sym_input, - sym_output, - [5957] = 3, - ACTIONS(506), 1, - anon_sym_LBRACK, - ACTIONS(509), 2, - anon_sym_RBRACE, - anon_sym_into, - STATE(136), 2, - sym_list, - aux_sym_table_repeat1, - [5969] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(511), 1, - anon_sym_RBRACE, - STATE(140), 2, - sym_list, - aux_sym_table_repeat1, - [5980] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(513), 1, - anon_sym_RBRACE, - STATE(136), 2, - sym_list, - aux_sym_table_repeat1, - [5991] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(515), 1, - anon_sym_RBRACE, - STATE(138), 2, - sym_list, - aux_sym_table_repeat1, - [6002] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(517), 1, - anon_sym_RBRACE, - STATE(136), 2, - sym_list, - aux_sym_table_repeat1, - [6013] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(519), 1, - anon_sym_RBRACE, - STATE(136), 2, - sym_list, - aux_sym_table_repeat1, - [6024] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(521), 1, - anon_sym_RBRACE, - STATE(141), 2, - sym_list, - aux_sym_table_repeat1, - [6035] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(523), 1, - anon_sym_into, - STATE(136), 2, - sym_list, - aux_sym_table_repeat1, - [6046] = 2, - ACTIONS(527), 1, - anon_sym_COMMA, - ACTIONS(525), 2, - sym_identifier, - anon_sym_GT, - [6054] = 3, - ACTIONS(529), 1, - sym_identifier, ACTIONS(531), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6064] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(533), 1, - anon_sym_GT, - STATE(145), 1, - aux_sym_function_repeat1, - [6074] = 3, - ACTIONS(535), 1, - sym_identifier, - ACTIONS(537), 1, + anon_sym_LBRACK, + ACTIONS(534), 1, + anon_sym_RBRACK, + ACTIONS(536), 1, + anon_sym_function, + ACTIONS(539), 1, + anon_sym_LBRACE, + ACTIONS(542), 1, + anon_sym_table, + STATE(179), 1, + aux_sym_list_repeat1, + STATE(227), 1, + sym_value, + ACTIONS(525), 2, + sym_float, + sym_string, + ACTIONS(528), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9462] = 2, + ACTIONS(304), 1, + anon_sym_DASH, + ACTIONS(302), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, anon_sym_RBRACE, - STATE(155), 1, - aux_sym_map_repeat1, - [6084] = 2, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9483] = 10, + ACTIONS(7), 1, + sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, - STATE(143), 2, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + STATE(175), 1, + aux_sym_list_repeat1, + STATE(227), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, sym_list, - aux_sym_table_repeat1, - [6092] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(539), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6102] = 3, - ACTIONS(535), 1, - sym_identifier, - ACTIONS(541), 1, - anon_sym_RBRACE, - STATE(152), 1, - aux_sym_map_repeat1, - [6112] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(543), 1, - anon_sym_GT, - STATE(157), 1, - aux_sym_function_repeat1, - [6122] = 3, - ACTIONS(535), 1, - sym_identifier, + sym_function, + sym_table, + sym_map, + [9520] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, ACTIONS(545), 1, anon_sym_RBRACE, - STATE(155), 1, - aux_sym_map_repeat1, - [6132] = 3, - ACTIONS(529), 1, - sym_identifier, + STATE(335), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9557] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + STATE(176), 1, + aux_sym_list_repeat1, + STATE(227), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9594] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, ACTIONS(547), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6142] = 3, - ACTIONS(535), 1, - sym_identifier, + anon_sym_RBRACE, + STATE(353), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9631] = 2, + ACTIONS(310), 1, + anon_sym_DASH, + ACTIONS(308), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9652] = 2, + ACTIONS(278), 1, + anon_sym_DASH, + ACTIONS(276), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9673] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, ACTIONS(549), 1, anon_sym_RBRACE, - STATE(147), 1, - aux_sym_map_repeat1, - [6152] = 3, + STATE(348), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9710] = 2, + ACTIONS(318), 1, + anon_sym_DASH, + ACTIONS(316), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9731] = 2, + ACTIONS(322), 1, + anon_sym_DASH, + ACTIONS(320), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9752] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + STATE(177), 1, + aux_sym_list_repeat1, + STATE(227), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9789] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, ACTIONS(551), 1, - sym_identifier, - ACTIONS(554), 1, anon_sym_RBRACE, - STATE(155), 1, - aux_sym_map_repeat1, - [6162] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(556), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6172] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(558), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6182] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(560), 1, - anon_sym_GT, - STATE(159), 1, - aux_sym_function_repeat1, - [6192] = 3, - ACTIONS(529), 1, - sym_identifier, - ACTIONS(562), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6202] = 3, - ACTIONS(564), 1, - sym_identifier, - ACTIONS(567), 1, - anon_sym_GT, - STATE(160), 1, - aux_sym_function_repeat1, - [6212] = 3, - ACTIONS(535), 1, - sym_identifier, - ACTIONS(569), 1, - anon_sym_RBRACE, - STATE(155), 1, - aux_sym_map_repeat1, - [6222] = 3, - ACTIONS(535), 1, - sym_identifier, - ACTIONS(571), 1, - anon_sym_RBRACE, - STATE(161), 1, - aux_sym_map_repeat1, - [6232] = 1, - ACTIONS(573), 2, - sym_identifier, - anon_sym_RBRACE, - [6237] = 2, - ACTIONS(529), 1, - sym_identifier, - STATE(149), 1, - aux_sym_function_repeat1, - [6244] = 1, - ACTIONS(202), 2, - sym_identifier, - anon_sym_RBRACE, - [6249] = 1, - ACTIONS(190), 2, - sym_identifier, - anon_sym_RBRACE, - [6254] = 1, - ACTIONS(567), 2, - sym_identifier, - anon_sym_GT, - [6259] = 1, - ACTIONS(150), 2, - sym_identifier, - anon_sym_RBRACE, - [6264] = 2, - ACTIONS(529), 1, - sym_identifier, - STATE(153), 1, - aux_sym_function_repeat1, - [6271] = 1, - ACTIONS(186), 2, - sym_identifier, - anon_sym_RBRACE, - [6276] = 1, - ACTIONS(198), 2, - sym_identifier, - anon_sym_RBRACE, - [6281] = 1, - ACTIONS(194), 2, - sym_identifier, - anon_sym_RBRACE, - [6286] = 2, - ACTIONS(575), 1, - anon_sym_LT, - ACTIONS(577), 1, + STATE(349), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9826] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, anon_sym_LBRACE, - [6293] = 1, - ACTIONS(176), 2, - sym_identifier, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + ACTIONS(553), 1, anon_sym_RBRACE, - [6298] = 2, - ACTIONS(579), 1, - anon_sym_LT, - ACTIONS(581), 1, + STATE(346), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [9863] = 2, + ACTIONS(342), 1, + anon_sym_DASH, + ACTIONS(340), 15, + anon_sym_DASH_GT, anon_sym_LBRACE, - [6305] = 1, - ACTIONS(206), 2, - sym_identifier, anon_sym_RBRACE, - [6310] = 2, - ACTIONS(529), 1, - sym_identifier, - STATE(156), 1, - aux_sym_function_repeat1, - [6317] = 1, - ACTIONS(222), 2, - sym_identifier, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9884] = 2, + ACTIONS(300), 1, + anon_sym_DASH, + ACTIONS(298), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, anon_sym_RBRACE, - [6322] = 1, - ACTIONS(210), 2, - sym_identifier, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9905] = 2, + ACTIONS(338), 1, + anon_sym_DASH, + ACTIONS(336), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, anon_sym_RBRACE, - [6327] = 2, - ACTIONS(583), 1, - anon_sym_LT, - ACTIONS(585), 1, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9926] = 2, + ACTIONS(346), 1, + anon_sym_DASH, + ACTIONS(344), 15, + anon_sym_DASH_GT, anon_sym_LBRACE, - [6334] = 1, - ACTIONS(450), 1, anon_sym_RBRACE, - [6338] = 1, - ACTIONS(587), 1, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9947] = 2, + ACTIONS(282), 1, + anon_sym_DASH, + ACTIONS(280), 15, + anon_sym_DASH_GT, anon_sym_LBRACE, - [6342] = 1, - ACTIONS(589), 1, - ts_builtin_sym_end, - [6346] = 1, - ACTIONS(591), 1, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9968] = 2, + ACTIONS(252), 1, + anon_sym_DASH, + ACTIONS(250), 15, + anon_sym_DASH_GT, anon_sym_LBRACE, - [6350] = 1, - ACTIONS(593), 1, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [9989] = 2, + ACTIONS(296), 1, + anon_sym_DASH, + ACTIONS(294), 15, + anon_sym_DASH_GT, anon_sym_LBRACE, - [6354] = 1, - ACTIONS(595), 1, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [10010] = 2, + ACTIONS(244), 1, + anon_sym_DASH, + ACTIONS(242), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [10031] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + ACTIONS(555), 1, + anon_sym_RBRACE, + STATE(330), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [10068] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(512), 1, + anon_sym_function, + ACTIONS(514), 1, + anon_sym_table, + STATE(178), 1, + aux_sym_list_repeat1, + STATE(227), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(66), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [10105] = 2, + ACTIONS(314), 1, + anon_sym_DASH, + ACTIONS(312), 15, + anon_sym_DASH_GT, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_else, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [10126] = 4, + ACTIONS(557), 1, anon_sym_EQ, - [6358] = 1, - ACTIONS(597), 1, - anon_sym_LBRACE, - [6362] = 1, - ACTIONS(599), 1, + ACTIONS(244), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(559), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(242), 10, + anon_sym_DASH_GT, anon_sym_RBRACE, - [6366] = 1, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_else, + [10150] = 8, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(561), 1, + anon_sym_DASH_GT, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + STATE(246), 1, + aux_sym_yield_repeat1, + ACTIONS(254), 2, + anon_sym_RBRACE, + anon_sym_else, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [10182] = 9, + ACTIONS(563), 1, + sym_integer, + ACTIONS(569), 1, + anon_sym_LBRACK, + ACTIONS(571), 1, + anon_sym_function, + ACTIONS(573), 1, + anon_sym_LBRACE, + ACTIONS(575), 1, + anon_sym_table, + STATE(300), 1, + sym_value, + ACTIONS(565), 2, + sym_float, + sym_string, + ACTIONS(567), 2, + anon_sym_true, + anon_sym_false, + STATE(304), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [10216] = 7, + ACTIONS(262), 1, + anon_sym_DASH, + ACTIONS(577), 1, + anon_sym_DASH_GT, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(284), 2, + anon_sym_RBRACE, + anon_sym_else, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [10245] = 4, + ACTIONS(579), 1, + anon_sym_EQ, + ACTIONS(244), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(581), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(242), 9, + anon_sym_DASH_GT, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [10268] = 6, + ACTIONS(262), 1, + anon_sym_DASH, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(324), 3, + anon_sym_DASH_GT, + anon_sym_RBRACE, + anon_sym_else, + ACTIONS(260), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [10295] = 5, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(332), 2, + anon_sym_RBRACE, + anon_sym_else, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10319] = 5, + ACTIONS(583), 1, + anon_sym_then, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10342] = 5, + ACTIONS(585), 1, + anon_sym_EQ_GT, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10365] = 5, + ACTIONS(587), 1, + anon_sym_RPAREN, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10388] = 5, + ACTIONS(589), 1, + anon_sym_RPAREN, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10411] = 2, + ACTIONS(593), 5, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(591), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_catch, + [10428] = 5, + ACTIONS(595), 1, + anon_sym_LBRACE, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10451] = 5, + ACTIONS(597), 1, + anon_sym_then, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10474] = 5, + ACTIONS(599), 1, + anon_sym_LBRACE, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10497] = 5, ACTIONS(601), 1, - anon_sym_from, - [6370] = 1, - ACTIONS(603), 1, anon_sym_LBRACE, - [6374] = 1, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10520] = 2, + ACTIONS(396), 6, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(603), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [10537] = 5, ACTIONS(605), 1, - anon_sym_LBRACE, - [6378] = 1, + anon_sym_then, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10560] = 5, ACTIONS(607), 1, + anon_sym_then, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10583] = 4, + STATE(142), 1, + sym_math_operator, + STATE(143), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10603] = 2, + ACTIONS(348), 2, + anon_sym_RBRACE, + anon_sym_else, + ACTIONS(242), 9, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [10619] = 2, + ACTIONS(611), 5, + sym_float, + sym_string, + anon_sym_LBRACK, anon_sym_LBRACE, - [6382] = 1, - ACTIONS(609), 1, + anon_sym_LPAREN, + ACTIONS(609), 6, sym_identifier, - [6386] = 1, - ACTIONS(611), 1, - anon_sym_RPAREN, - [6390] = 1, - ACTIONS(613), 1, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [10635] = 2, + ACTIONS(615), 5, + sym_float, + sym_string, + anon_sym_LBRACK, anon_sym_LBRACE, - [6394] = 1, - ACTIONS(615), 1, + anon_sym_LPAREN, + ACTIONS(613), 6, sym_identifier, - [6398] = 1, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [10651] = 3, ACTIONS(617), 1, - anon_sym_LT, - [6402] = 1, - ACTIONS(619), 1, - sym_identifier, - [6406] = 1, + sym_integer, ACTIONS(621), 1, + anon_sym_COMMA, + ACTIONS(619), 9, + sym_float, + sym_string, + anon_sym_true, + anon_sym_false, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_function, anon_sym_LBRACE, - [6410] = 1, + anon_sym_table, + [10669] = 4, + STATE(142), 1, + sym_math_operator, + STATE(161), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10689] = 4, + STATE(142), 1, + sym_math_operator, + STATE(148), 1, + sym_logic_operator, + ACTIONS(264), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(260), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [10709] = 2, ACTIONS(623), 1, + sym_integer, + ACTIONS(534), 9, + sym_float, + sym_string, + anon_sym_true, + anon_sym_false, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_function, anon_sym_LBRACE, - [6414] = 1, + anon_sym_table, + [10724] = 4, ACTIONS(625), 1, - anon_sym_LT, - [6418] = 1, + sym_identifier, ACTIONS(627), 1, - aux_sym_comment_token1, - [6422] = 1, + anon_sym_input, ACTIONS(629), 1, - anon_sym_LT, - [6426] = 1, + anon_sym_output, + STATE(317), 3, + sym__tool, + sym_input, + sym_output, + [10739] = 4, + ACTIONS(627), 1, + anon_sym_input, + ACTIONS(629), 1, + anon_sym_output, ACTIONS(631), 1, + sym_identifier, + STATE(357), 3, + sym__tool, + sym_input, + sym_output, + [10754] = 4, + ACTIONS(627), 1, + anon_sym_input, + ACTIONS(629), 1, + anon_sym_output, + ACTIONS(633), 1, + sym_identifier, + STATE(312), 3, + sym__tool, + sym_input, + sym_output, + [10769] = 3, + ACTIONS(635), 1, + anon_sym_LBRACK, + ACTIONS(638), 2, + anon_sym_RBRACE, + anon_sym_into, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10781] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(640), 1, + anon_sym_RBRACE, + STATE(245), 2, + sym_list, + aux_sym_table_repeat1, + [10792] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(642), 1, + anon_sym_RBRACE, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10803] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(644), 1, + anon_sym_into, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10814] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(646), 1, + anon_sym_into, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10825] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(648), 1, + anon_sym_RBRACE, + STATE(236), 2, + sym_list, + aux_sym_table_repeat1, + [10836] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(650), 1, + anon_sym_into, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10847] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(652), 1, + anon_sym_RBRACE, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10858] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(654), 1, + anon_sym_into, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10869] = 3, + ACTIONS(656), 1, + anon_sym_DASH_GT, + STATE(243), 1, + aux_sym_yield_repeat1, + ACTIONS(324), 2, + anon_sym_RBRACE, + anon_sym_else, + [10880] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(659), 1, + anon_sym_RBRACE, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10891] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(661), 1, + anon_sym_RBRACE, + STATE(234), 2, + sym_list, + aux_sym_table_repeat1, + [10902] = 3, + ACTIONS(561), 1, + anon_sym_DASH_GT, + STATE(243), 1, + aux_sym_yield_repeat1, + ACTIONS(352), 2, + anon_sym_RBRACE, + anon_sym_else, + [10913] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(663), 1, + anon_sym_RBRACE, + STATE(244), 2, + sym_list, + aux_sym_table_repeat1, + [10924] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(665), 1, + anon_sym_RBRACE, + STATE(241), 2, + sym_list, + aux_sym_table_repeat1, + [10935] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(669), 1, + anon_sym_RBRACE, + STATE(271), 1, + aux_sym_map_repeat1, + [10945] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(673), 1, + anon_sym_GT, + STATE(257), 1, + aux_sym_function_repeat1, + [10955] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(675), 1, + anon_sym_RBRACE, + STATE(253), 1, + aux_sym_map_repeat1, + [10965] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(677), 1, + anon_sym_RBRACE, + STATE(267), 1, + aux_sym_map_repeat1, + [10975] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(679), 1, + anon_sym_RBRACE, + STATE(260), 1, + aux_sym_map_repeat1, + [10985] = 2, + ACTIONS(683), 1, + anon_sym_COMMA, + ACTIONS(681), 2, + sym_identifier, + anon_sym_GT, + [10993] = 2, + ACTIONS(13), 1, + anon_sym_LBRACK, + STATE(238), 2, + sym_list, + aux_sym_table_repeat1, + [11001] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(685), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11011] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(687), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11021] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(689), 1, + anon_sym_GT, + STATE(256), 1, + aux_sym_function_repeat1, + [11031] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(691), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11041] = 3, + ACTIONS(693), 1, + sym_identifier, + ACTIONS(696), 1, + anon_sym_RBRACE, + STATE(260), 1, + aux_sym_map_repeat1, + [11051] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(698), 1, + anon_sym_GT, + STATE(259), 1, + aux_sym_function_repeat1, + [11061] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(700), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11071] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(702), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11081] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(704), 1, + anon_sym_RBRACE, + STATE(269), 1, + aux_sym_map_repeat1, + [11091] = 2, + ACTIONS(13), 1, + anon_sym_LBRACK, + STATE(237), 2, + sym_list, + aux_sym_table_repeat1, + [11099] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(706), 1, + anon_sym_GT, + STATE(263), 1, + aux_sym_function_repeat1, + [11109] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(708), 1, + anon_sym_RBRACE, + STATE(260), 1, + aux_sym_map_repeat1, + [11119] = 3, + ACTIONS(710), 1, + sym_identifier, + ACTIONS(713), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11129] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(715), 1, + anon_sym_RBRACE, + STATE(260), 1, + aux_sym_map_repeat1, + [11139] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(717), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11149] = 3, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(719), 1, + anon_sym_RBRACE, + STATE(260), 1, + aux_sym_map_repeat1, + [11159] = 2, + ACTIONS(13), 1, + anon_sym_LBRACK, + STATE(242), 2, + sym_list, + aux_sym_table_repeat1, + [11167] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(721), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11177] = 2, + ACTIONS(13), 1, + anon_sym_LBRACK, + STATE(240), 2, + sym_list, + aux_sym_table_repeat1, + [11185] = 2, + ACTIONS(723), 1, + anon_sym_where, + ACTIONS(454), 2, + anon_sym_RBRACE, + anon_sym_else, + [11193] = 3, + ACTIONS(671), 1, + sym_identifier, + ACTIONS(725), 1, + anon_sym_GT, + STATE(268), 1, + aux_sym_function_repeat1, + [11203] = 2, + ACTIONS(727), 1, + anon_sym_where, + ACTIONS(363), 2, + anon_sym_RBRACE, + anon_sym_else, + [11211] = 1, + ACTIONS(482), 2, + anon_sym_RBRACE, + anon_sym_else, + [11216] = 2, + ACTIONS(729), 1, + anon_sym_LT, + ACTIONS(731), 1, + anon_sym_LBRACE, + [11223] = 2, + ACTIONS(476), 1, + anon_sym_RBRACE, + ACTIONS(733), 1, + anon_sym_else, + [11230] = 1, + ACTIONS(460), 2, + anon_sym_RBRACE, + anon_sym_else, + [11235] = 1, + ACTIONS(472), 2, + anon_sym_RBRACE, + anon_sym_else, + [11240] = 1, + ACTIONS(320), 2, + sym_identifier, + anon_sym_RBRACE, + [11245] = 1, + ACTIONS(298), 2, + sym_identifier, + anon_sym_RBRACE, + [11250] = 1, + ACTIONS(280), 2, + sym_identifier, + anon_sym_RBRACE, + [11255] = 1, + ACTIONS(466), 2, + anon_sym_RBRACE, + anon_sym_else, + [11260] = 1, + ACTIONS(316), 2, + sym_identifier, + anon_sym_RBRACE, + [11265] = 1, + ACTIONS(486), 2, + anon_sym_RBRACE, + anon_sym_else, + [11270] = 1, + ACTIONS(294), 2, + sym_identifier, + anon_sym_RBRACE, + [11275] = 1, + ACTIONS(284), 2, + anon_sym_RBRACE, + anon_sym_else, + [11280] = 2, + ACTIONS(735), 1, + anon_sym_LT, + ACTIONS(737), 1, + anon_sym_LBRACE, + [11287] = 1, + ACTIONS(494), 2, + anon_sym_RBRACE, + anon_sym_else, + [11292] = 2, + ACTIONS(363), 1, + anon_sym_RBRACE, + ACTIONS(727), 1, + anon_sym_where, + [11299] = 1, + ACTIONS(250), 2, + sym_identifier, + anon_sym_RBRACE, + [11304] = 1, + ACTIONS(312), 2, + sym_identifier, + anon_sym_RBRACE, + [11309] = 1, + ACTIONS(490), 2, + anon_sym_RBRACE, + anon_sym_else, + [11314] = 2, + ACTIONS(739), 1, + anon_sym_LT, + ACTIONS(741), 1, + anon_sym_LBRACE, + [11321] = 1, + ACTIONS(302), 2, + sym_identifier, + anon_sym_RBRACE, + [11326] = 1, + ACTIONS(276), 2, + sym_identifier, + anon_sym_RBRACE, + [11331] = 1, + ACTIONS(743), 2, + sym_identifier, + anon_sym_RBRACE, + [11336] = 1, + ACTIONS(476), 2, + anon_sym_RBRACE, + anon_sym_else, + [11341] = 2, + ACTIONS(671), 1, + sym_identifier, + STATE(262), 1, + aux_sym_function_repeat1, + [11348] = 1, + ACTIONS(713), 2, + sym_identifier, + anon_sym_GT, + [11353] = 1, + ACTIONS(308), 2, + sym_identifier, + anon_sym_RBRACE, + [11358] = 2, + ACTIONS(671), 1, + sym_identifier, + STATE(270), 1, + aux_sym_function_repeat1, + [11365] = 2, + ACTIONS(745), 1, + anon_sym_LT, + ACTIONS(747), 1, + anon_sym_LBRACE, + [11372] = 2, + ACTIONS(671), 1, + sym_identifier, + STATE(273), 1, + aux_sym_function_repeat1, + [11379] = 2, + ACTIONS(671), 1, + sym_identifier, + STATE(276), 1, + aux_sym_function_repeat1, + [11386] = 2, + ACTIONS(454), 1, + anon_sym_RBRACE, + ACTIONS(723), 1, + anon_sym_where, + [11393] = 1, + ACTIONS(749), 1, + sym_identifier, + [11397] = 1, + ACTIONS(751), 1, + anon_sym_LBRACE, + [11401] = 1, + ACTIONS(753), 1, anon_sym_RPAREN, + [11405] = 1, + ACTIONS(755), 1, + anon_sym_LBRACE, + [11409] = 1, + ACTIONS(757), 1, + anon_sym_from, + [11413] = 1, + ACTIONS(759), 1, + anon_sym_LBRACE, + [11417] = 1, + ACTIONS(761), 1, + sym_identifier, + [11421] = 1, + ACTIONS(763), 1, + anon_sym_RPAREN, + [11425] = 1, + ACTIONS(765), 1, + sym_identifier, + [11429] = 1, + ACTIONS(767), 1, + anon_sym_LBRACE, + [11433] = 1, + ACTIONS(769), 1, + anon_sym_LBRACE, + [11437] = 1, + ACTIONS(771), 1, + anon_sym_from, + [11441] = 1, + ACTIONS(773), 1, + anon_sym_EQ, + [11445] = 1, + ACTIONS(775), 1, + anon_sym_LBRACE, + [11449] = 1, + ACTIONS(777), 1, + anon_sym_LBRACE, + [11453] = 1, + ACTIONS(779), 1, + sym_identifier, + [11457] = 1, + ACTIONS(781), 1, + anon_sym_LBRACE, + [11461] = 1, + ACTIONS(783), 1, + anon_sym_from, + [11465] = 1, + ACTIONS(785), 1, + sym_identifier, + [11469] = 1, + ACTIONS(787), 1, + anon_sym_RBRACE, + [11473] = 1, + ACTIONS(545), 1, + anon_sym_RBRACE, + [11477] = 1, + ACTIONS(789), 1, + anon_sym_LBRACE, + [11481] = 1, + ACTIONS(791), 1, + ts_builtin_sym_end, + [11485] = 1, + ACTIONS(793), 1, + anon_sym_LBRACE, + [11489] = 1, + ACTIONS(795), 1, + anon_sym_LBRACE, + [11493] = 1, + ACTIONS(797), 1, + anon_sym_RBRACE, + [11497] = 1, + ACTIONS(799), 1, + anon_sym_LBRACE, + [11501] = 1, + ACTIONS(801), 1, + aux_sym_comment_token1, + [11505] = 1, + ACTIONS(803), 1, + anon_sym_LBRACE, + [11509] = 1, + ACTIONS(805), 1, + sym_identifier, + [11513] = 1, + ACTIONS(807), 1, + anon_sym_LBRACE, + [11517] = 1, + ACTIONS(809), 1, + sym_identifier, + [11521] = 1, + ACTIONS(811), 1, + anon_sym_LBRACE, + [11525] = 1, + ACTIONS(813), 1, + sym_identifier, + [11529] = 1, + ACTIONS(815), 1, + anon_sym_LT, + [11533] = 1, + ACTIONS(817), 1, + anon_sym_from, + [11537] = 1, + ACTIONS(819), 1, + anon_sym_RBRACE, + [11541] = 1, + ACTIONS(821), 1, + sym_identifier, + [11545] = 1, + ACTIONS(547), 1, + anon_sym_RBRACE, + [11549] = 1, + ACTIONS(553), 1, + anon_sym_RBRACE, + [11553] = 1, + ACTIONS(823), 1, + anon_sym_RBRACE, + [11557] = 1, + ACTIONS(825), 1, + anon_sym_RBRACE, + [11561] = 1, + ACTIONS(827), 1, + sym_identifier, + [11565] = 1, + ACTIONS(829), 1, + anon_sym_RBRACE, + [11569] = 1, + ACTIONS(831), 1, + sym_identifier, + [11573] = 1, + ACTIONS(833), 1, + sym_identifier, + [11577] = 1, + ACTIONS(835), 1, + anon_sym_LT, + [11581] = 1, + ACTIONS(837), 1, + anon_sym_RPAREN, + [11585] = 1, + ACTIONS(839), 1, + anon_sym_LT, + [11589] = 1, + ACTIONS(841), 1, + anon_sym_LT, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 85, - [SMALL_STATE(4)] = 170, - [SMALL_STATE(5)] = 251, - [SMALL_STATE(6)] = 329, - [SMALL_STATE(7)] = 407, - [SMALL_STATE(8)] = 485, - [SMALL_STATE(9)] = 563, - [SMALL_STATE(10)] = 641, - [SMALL_STATE(11)] = 719, - [SMALL_STATE(12)] = 797, - [SMALL_STATE(13)] = 875, - [SMALL_STATE(14)] = 953, - [SMALL_STATE(15)] = 1031, - [SMALL_STATE(16)] = 1109, - [SMALL_STATE(17)] = 1184, - [SMALL_STATE(18)] = 1259, - [SMALL_STATE(19)] = 1334, - [SMALL_STATE(20)] = 1409, - [SMALL_STATE(21)] = 1450, - [SMALL_STATE(22)] = 1495, - [SMALL_STATE(23)] = 1548, - [SMALL_STATE(24)] = 1623, - [SMALL_STATE(25)] = 1698, - [SMALL_STATE(26)] = 1773, - [SMALL_STATE(27)] = 1848, - [SMALL_STATE(28)] = 1923, - [SMALL_STATE(29)] = 1979, - [SMALL_STATE(30)] = 2019, - [SMALL_STATE(31)] = 2093, - [SMALL_STATE(32)] = 2133, - [SMALL_STATE(33)] = 2207, - [SMALL_STATE(34)] = 2281, - [SMALL_STATE(35)] = 2355, - [SMALL_STATE(36)] = 2395, - [SMALL_STATE(37)] = 2435, - [SMALL_STATE(38)] = 2475, - [SMALL_STATE(39)] = 2515, - [SMALL_STATE(40)] = 2555, - [SMALL_STATE(41)] = 2629, - [SMALL_STATE(42)] = 2703, - [SMALL_STATE(43)] = 2743, - [SMALL_STATE(44)] = 2817, - [SMALL_STATE(45)] = 2891, - [SMALL_STATE(46)] = 2935, - [SMALL_STATE(47)] = 2975, - [SMALL_STATE(48)] = 3048, - [SMALL_STATE(49)] = 3099, - [SMALL_STATE(50)] = 3138, - [SMALL_STATE(51)] = 3177, - [SMALL_STATE(52)] = 3250, - [SMALL_STATE(53)] = 3303, - [SMALL_STATE(54)] = 3342, - [SMALL_STATE(55)] = 3385, - [SMALL_STATE(56)] = 3424, - [SMALL_STATE(57)] = 3474, - [SMALL_STATE(58)] = 3514, - [SMALL_STATE(59)] = 3567, - [SMALL_STATE(60)] = 3600, - [SMALL_STATE(61)] = 3653, - [SMALL_STATE(62)] = 3706, - [SMALL_STATE(63)] = 3759, - [SMALL_STATE(64)] = 3812, - [SMALL_STATE(65)] = 3865, - [SMALL_STATE(66)] = 3898, - [SMALL_STATE(67)] = 3941, - [SMALL_STATE(68)] = 3994, - [SMALL_STATE(69)] = 4047, - [SMALL_STATE(70)] = 4077, - [SMALL_STATE(71)] = 4107, - [SMALL_STATE(72)] = 4136, - [SMALL_STATE(73)] = 4183, - [SMALL_STATE(74)] = 4230, - [SMALL_STATE(75)] = 4257, - [SMALL_STATE(76)] = 4304, - [SMALL_STATE(77)] = 4351, - [SMALL_STATE(78)] = 4398, - [SMALL_STATE(79)] = 4425, - [SMALL_STATE(80)] = 4472, - [SMALL_STATE(81)] = 4519, - [SMALL_STATE(82)] = 4546, - [SMALL_STATE(83)] = 4573, - [SMALL_STATE(84)] = 4620, - [SMALL_STATE(85)] = 4667, - [SMALL_STATE(86)] = 4694, - [SMALL_STATE(87)] = 4741, - [SMALL_STATE(88)] = 4768, - [SMALL_STATE(89)] = 4815, - [SMALL_STATE(90)] = 4842, - [SMALL_STATE(91)] = 4869, - [SMALL_STATE(92)] = 4918, - [SMALL_STATE(93)] = 4965, - [SMALL_STATE(94)] = 5012, - [SMALL_STATE(95)] = 5035, - [SMALL_STATE(96)] = 5058, - [SMALL_STATE(97)] = 5098, - [SMALL_STATE(98)] = 5138, - [SMALL_STATE(99)] = 5178, - [SMALL_STATE(100)] = 5218, - [SMALL_STATE(101)] = 5255, - [SMALL_STATE(102)] = 5292, - [SMALL_STATE(103)] = 5329, - [SMALL_STATE(104)] = 5366, - [SMALL_STATE(105)] = 5403, - [SMALL_STATE(106)] = 5437, - [SMALL_STATE(107)] = 5462, - [SMALL_STATE(108)] = 5483, - [SMALL_STATE(109)] = 5506, - [SMALL_STATE(110)] = 5521, - [SMALL_STATE(111)] = 5536, - [SMALL_STATE(112)] = 5551, - [SMALL_STATE(113)] = 5574, - [SMALL_STATE(114)] = 5589, - [SMALL_STATE(115)] = 5604, - [SMALL_STATE(116)] = 5619, - [SMALL_STATE(117)] = 5636, - [SMALL_STATE(118)] = 5659, - [SMALL_STATE(119)] = 5682, - [SMALL_STATE(120)] = 5697, - [SMALL_STATE(121)] = 5712, - [SMALL_STATE(122)] = 5727, - [SMALL_STATE(123)] = 5742, - [SMALL_STATE(124)] = 5757, - [SMALL_STATE(125)] = 5780, - [SMALL_STATE(126)] = 5797, - [SMALL_STATE(127)] = 5812, - [SMALL_STATE(128)] = 5827, - [SMALL_STATE(129)] = 5842, - [SMALL_STATE(130)] = 5862, - [SMALL_STATE(131)] = 5878, - [SMALL_STATE(132)] = 5894, - [SMALL_STATE(133)] = 5912, - [SMALL_STATE(134)] = 5927, - [SMALL_STATE(135)] = 5942, - [SMALL_STATE(136)] = 5957, - [SMALL_STATE(137)] = 5969, - [SMALL_STATE(138)] = 5980, - [SMALL_STATE(139)] = 5991, - [SMALL_STATE(140)] = 6002, - [SMALL_STATE(141)] = 6013, - [SMALL_STATE(142)] = 6024, - [SMALL_STATE(143)] = 6035, - [SMALL_STATE(144)] = 6046, - [SMALL_STATE(145)] = 6054, - [SMALL_STATE(146)] = 6064, - [SMALL_STATE(147)] = 6074, - [SMALL_STATE(148)] = 6084, - [SMALL_STATE(149)] = 6092, - [SMALL_STATE(150)] = 6102, - [SMALL_STATE(151)] = 6112, - [SMALL_STATE(152)] = 6122, - [SMALL_STATE(153)] = 6132, - [SMALL_STATE(154)] = 6142, - [SMALL_STATE(155)] = 6152, - [SMALL_STATE(156)] = 6162, - [SMALL_STATE(157)] = 6172, - [SMALL_STATE(158)] = 6182, - [SMALL_STATE(159)] = 6192, - [SMALL_STATE(160)] = 6202, - [SMALL_STATE(161)] = 6212, - [SMALL_STATE(162)] = 6222, - [SMALL_STATE(163)] = 6232, - [SMALL_STATE(164)] = 6237, - [SMALL_STATE(165)] = 6244, - [SMALL_STATE(166)] = 6249, - [SMALL_STATE(167)] = 6254, - [SMALL_STATE(168)] = 6259, - [SMALL_STATE(169)] = 6264, - [SMALL_STATE(170)] = 6271, - [SMALL_STATE(171)] = 6276, - [SMALL_STATE(172)] = 6281, - [SMALL_STATE(173)] = 6286, - [SMALL_STATE(174)] = 6293, - [SMALL_STATE(175)] = 6298, - [SMALL_STATE(176)] = 6305, - [SMALL_STATE(177)] = 6310, - [SMALL_STATE(178)] = 6317, - [SMALL_STATE(179)] = 6322, - [SMALL_STATE(180)] = 6327, - [SMALL_STATE(181)] = 6334, - [SMALL_STATE(182)] = 6338, - [SMALL_STATE(183)] = 6342, - [SMALL_STATE(184)] = 6346, - [SMALL_STATE(185)] = 6350, - [SMALL_STATE(186)] = 6354, - [SMALL_STATE(187)] = 6358, - [SMALL_STATE(188)] = 6362, - [SMALL_STATE(189)] = 6366, - [SMALL_STATE(190)] = 6370, - [SMALL_STATE(191)] = 6374, - [SMALL_STATE(192)] = 6378, - [SMALL_STATE(193)] = 6382, - [SMALL_STATE(194)] = 6386, - [SMALL_STATE(195)] = 6390, - [SMALL_STATE(196)] = 6394, - [SMALL_STATE(197)] = 6398, - [SMALL_STATE(198)] = 6402, - [SMALL_STATE(199)] = 6406, - [SMALL_STATE(200)] = 6410, - [SMALL_STATE(201)] = 6414, - [SMALL_STATE(202)] = 6418, - [SMALL_STATE(203)] = 6422, - [SMALL_STATE(204)] = 6426, + [SMALL_STATE(3)] = 89, + [SMALL_STATE(4)] = 178, + [SMALL_STATE(5)] = 263, + [SMALL_STATE(6)] = 345, + [SMALL_STATE(7)] = 427, + [SMALL_STATE(8)] = 509, + [SMALL_STATE(9)] = 591, + [SMALL_STATE(10)] = 673, + [SMALL_STATE(11)] = 755, + [SMALL_STATE(12)] = 837, + [SMALL_STATE(13)] = 919, + [SMALL_STATE(14)] = 1001, + [SMALL_STATE(15)] = 1083, + [SMALL_STATE(16)] = 1165, + [SMALL_STATE(17)] = 1247, + [SMALL_STATE(18)] = 1329, + [SMALL_STATE(19)] = 1411, + [SMALL_STATE(20)] = 1493, + [SMALL_STATE(21)] = 1575, + [SMALL_STATE(22)] = 1657, + [SMALL_STATE(23)] = 1739, + [SMALL_STATE(24)] = 1818, + [SMALL_STATE(25)] = 1897, + [SMALL_STATE(26)] = 1976, + [SMALL_STATE(27)] = 2055, + [SMALL_STATE(28)] = 2134, + [SMALL_STATE(29)] = 2213, + [SMALL_STATE(30)] = 2292, + [SMALL_STATE(31)] = 2371, + [SMALL_STATE(32)] = 2450, + [SMALL_STATE(33)] = 2529, + [SMALL_STATE(34)] = 2608, + [SMALL_STATE(35)] = 2687, + [SMALL_STATE(36)] = 2765, + [SMALL_STATE(37)] = 2843, + [SMALL_STATE(38)] = 2921, + [SMALL_STATE(39)] = 2999, + [SMALL_STATE(40)] = 3077, + [SMALL_STATE(41)] = 3155, + [SMALL_STATE(42)] = 3233, + [SMALL_STATE(43)] = 3311, + [SMALL_STATE(44)] = 3389, + [SMALL_STATE(45)] = 3467, + [SMALL_STATE(46)] = 3545, + [SMALL_STATE(47)] = 3623, + [SMALL_STATE(48)] = 3701, + [SMALL_STATE(49)] = 3779, + [SMALL_STATE(50)] = 3857, + [SMALL_STATE(51)] = 3935, + [SMALL_STATE(52)] = 4013, + [SMALL_STATE(53)] = 4091, + [SMALL_STATE(54)] = 4136, + [SMALL_STATE(55)] = 4177, + [SMALL_STATE(56)] = 4234, + [SMALL_STATE(57)] = 4279, + [SMALL_STATE(58)] = 4332, + [SMALL_STATE(59)] = 4372, + [SMALL_STATE(60)] = 4412, + [SMALL_STATE(61)] = 4466, + [SMALL_STATE(62)] = 4510, + [SMALL_STATE(63)] = 4550, + [SMALL_STATE(64)] = 4590, + [SMALL_STATE(65)] = 4630, + [SMALL_STATE(66)] = 4686, + [SMALL_STATE(67)] = 4726, + [SMALL_STATE(68)] = 4766, + [SMALL_STATE(69)] = 4806, + [SMALL_STATE(70)] = 4846, + [SMALL_STATE(71)] = 4898, + [SMALL_STATE(72)] = 4950, + [SMALL_STATE(73)] = 4994, + [SMALL_STATE(74)] = 5033, + [SMALL_STATE(75)] = 5106, + [SMALL_STATE(76)] = 5159, + [SMALL_STATE(77)] = 5210, + [SMALL_STATE(78)] = 5249, + [SMALL_STATE(79)] = 5288, + [SMALL_STATE(80)] = 5327, + [SMALL_STATE(81)] = 5378, + [SMALL_STATE(82)] = 5451, + [SMALL_STATE(83)] = 5524, + [SMALL_STATE(84)] = 5597, + [SMALL_STATE(85)] = 5635, + [SMALL_STATE(86)] = 5673, + [SMALL_STATE(87)] = 5711, + [SMALL_STATE(88)] = 5749, + [SMALL_STATE(89)] = 5787, + [SMALL_STATE(90)] = 5825, + [SMALL_STATE(91)] = 5863, + [SMALL_STATE(92)] = 5913, + [SMALL_STATE(93)] = 5951, + [SMALL_STATE(94)] = 5989, + [SMALL_STATE(95)] = 6027, + [SMALL_STATE(96)] = 6065, + [SMALL_STATE(97)] = 6103, + [SMALL_STATE(98)] = 6141, + [SMALL_STATE(99)] = 6179, + [SMALL_STATE(100)] = 6220, + [SMALL_STATE(101)] = 6260, + [SMALL_STATE(102)] = 6294, + [SMALL_STATE(103)] = 6328, + [SMALL_STATE(104)] = 6381, + [SMALL_STATE(105)] = 6412, + [SMALL_STATE(106)] = 6465, + [SMALL_STATE(107)] = 6518, + [SMALL_STATE(108)] = 6571, + [SMALL_STATE(109)] = 6604, + [SMALL_STATE(110)] = 6657, + [SMALL_STATE(111)] = 6710, + [SMALL_STATE(112)] = 6763, + [SMALL_STATE(113)] = 6816, + [SMALL_STATE(114)] = 6859, + [SMALL_STATE(115)] = 6912, + [SMALL_STATE(116)] = 6945, + [SMALL_STATE(117)] = 6998, + [SMALL_STATE(118)] = 7051, + [SMALL_STATE(119)] = 7104, + [SMALL_STATE(120)] = 7135, + [SMALL_STATE(121)] = 7163, + [SMALL_STATE(122)] = 7193, + [SMALL_STATE(123)] = 7221, + [SMALL_STATE(124)] = 7251, + [SMALL_STATE(125)] = 7279, + [SMALL_STATE(126)] = 7309, + [SMALL_STATE(127)] = 7337, + [SMALL_STATE(128)] = 7365, + [SMALL_STATE(129)] = 7393, + [SMALL_STATE(130)] = 7421, + [SMALL_STATE(131)] = 7449, + [SMALL_STATE(132)] = 7477, + [SMALL_STATE(133)] = 7524, + [SMALL_STATE(134)] = 7571, + [SMALL_STATE(135)] = 7618, + [SMALL_STATE(136)] = 7667, + [SMALL_STATE(137)] = 7714, + [SMALL_STATE(138)] = 7761, + [SMALL_STATE(139)] = 7810, + [SMALL_STATE(140)] = 7857, + [SMALL_STATE(141)] = 7904, + [SMALL_STATE(142)] = 7951, + [SMALL_STATE(143)] = 7998, + [SMALL_STATE(144)] = 8045, + [SMALL_STATE(145)] = 8092, + [SMALL_STATE(146)] = 8139, + [SMALL_STATE(147)] = 8186, + [SMALL_STATE(148)] = 8233, + [SMALL_STATE(149)] = 8280, + [SMALL_STATE(150)] = 8327, + [SMALL_STATE(151)] = 8374, + [SMALL_STATE(152)] = 8421, + [SMALL_STATE(153)] = 8468, + [SMALL_STATE(154)] = 8515, + [SMALL_STATE(155)] = 8562, + [SMALL_STATE(156)] = 8609, + [SMALL_STATE(157)] = 8636, + [SMALL_STATE(158)] = 8683, + [SMALL_STATE(159)] = 8710, + [SMALL_STATE(160)] = 8737, + [SMALL_STATE(161)] = 8764, + [SMALL_STATE(162)] = 8811, + [SMALL_STATE(163)] = 8858, + [SMALL_STATE(164)] = 8885, + [SMALL_STATE(165)] = 8912, + [SMALL_STATE(166)] = 8939, + [SMALL_STATE(167)] = 8986, + [SMALL_STATE(168)] = 9013, + [SMALL_STATE(169)] = 9060, + [SMALL_STATE(170)] = 9109, + [SMALL_STATE(171)] = 9156, + [SMALL_STATE(172)] = 9180, + [SMALL_STATE(173)] = 9204, + [SMALL_STATE(174)] = 9235, + [SMALL_STATE(175)] = 9262, + [SMALL_STATE(176)] = 9302, + [SMALL_STATE(177)] = 9342, + [SMALL_STATE(178)] = 9382, + [SMALL_STATE(179)] = 9422, + [SMALL_STATE(180)] = 9462, + [SMALL_STATE(181)] = 9483, + [SMALL_STATE(182)] = 9520, + [SMALL_STATE(183)] = 9557, + [SMALL_STATE(184)] = 9594, + [SMALL_STATE(185)] = 9631, + [SMALL_STATE(186)] = 9652, + [SMALL_STATE(187)] = 9673, + [SMALL_STATE(188)] = 9710, + [SMALL_STATE(189)] = 9731, + [SMALL_STATE(190)] = 9752, + [SMALL_STATE(191)] = 9789, + [SMALL_STATE(192)] = 9826, + [SMALL_STATE(193)] = 9863, + [SMALL_STATE(194)] = 9884, + [SMALL_STATE(195)] = 9905, + [SMALL_STATE(196)] = 9926, + [SMALL_STATE(197)] = 9947, + [SMALL_STATE(198)] = 9968, + [SMALL_STATE(199)] = 9989, + [SMALL_STATE(200)] = 10010, + [SMALL_STATE(201)] = 10031, + [SMALL_STATE(202)] = 10068, + [SMALL_STATE(203)] = 10105, + [SMALL_STATE(204)] = 10126, + [SMALL_STATE(205)] = 10150, + [SMALL_STATE(206)] = 10182, + [SMALL_STATE(207)] = 10216, + [SMALL_STATE(208)] = 10245, + [SMALL_STATE(209)] = 10268, + [SMALL_STATE(210)] = 10295, + [SMALL_STATE(211)] = 10319, + [SMALL_STATE(212)] = 10342, + [SMALL_STATE(213)] = 10365, + [SMALL_STATE(214)] = 10388, + [SMALL_STATE(215)] = 10411, + [SMALL_STATE(216)] = 10428, + [SMALL_STATE(217)] = 10451, + [SMALL_STATE(218)] = 10474, + [SMALL_STATE(219)] = 10497, + [SMALL_STATE(220)] = 10520, + [SMALL_STATE(221)] = 10537, + [SMALL_STATE(222)] = 10560, + [SMALL_STATE(223)] = 10583, + [SMALL_STATE(224)] = 10603, + [SMALL_STATE(225)] = 10619, + [SMALL_STATE(226)] = 10635, + [SMALL_STATE(227)] = 10651, + [SMALL_STATE(228)] = 10669, + [SMALL_STATE(229)] = 10689, + [SMALL_STATE(230)] = 10709, + [SMALL_STATE(231)] = 10724, + [SMALL_STATE(232)] = 10739, + [SMALL_STATE(233)] = 10754, + [SMALL_STATE(234)] = 10769, + [SMALL_STATE(235)] = 10781, + [SMALL_STATE(236)] = 10792, + [SMALL_STATE(237)] = 10803, + [SMALL_STATE(238)] = 10814, + [SMALL_STATE(239)] = 10825, + [SMALL_STATE(240)] = 10836, + [SMALL_STATE(241)] = 10847, + [SMALL_STATE(242)] = 10858, + [SMALL_STATE(243)] = 10869, + [SMALL_STATE(244)] = 10880, + [SMALL_STATE(245)] = 10891, + [SMALL_STATE(246)] = 10902, + [SMALL_STATE(247)] = 10913, + [SMALL_STATE(248)] = 10924, + [SMALL_STATE(249)] = 10935, + [SMALL_STATE(250)] = 10945, + [SMALL_STATE(251)] = 10955, + [SMALL_STATE(252)] = 10965, + [SMALL_STATE(253)] = 10975, + [SMALL_STATE(254)] = 10985, + [SMALL_STATE(255)] = 10993, + [SMALL_STATE(256)] = 11001, + [SMALL_STATE(257)] = 11011, + [SMALL_STATE(258)] = 11021, + [SMALL_STATE(259)] = 11031, + [SMALL_STATE(260)] = 11041, + [SMALL_STATE(261)] = 11051, + [SMALL_STATE(262)] = 11061, + [SMALL_STATE(263)] = 11071, + [SMALL_STATE(264)] = 11081, + [SMALL_STATE(265)] = 11091, + [SMALL_STATE(266)] = 11099, + [SMALL_STATE(267)] = 11109, + [SMALL_STATE(268)] = 11119, + [SMALL_STATE(269)] = 11129, + [SMALL_STATE(270)] = 11139, + [SMALL_STATE(271)] = 11149, + [SMALL_STATE(272)] = 11159, + [SMALL_STATE(273)] = 11167, + [SMALL_STATE(274)] = 11177, + [SMALL_STATE(275)] = 11185, + [SMALL_STATE(276)] = 11193, + [SMALL_STATE(277)] = 11203, + [SMALL_STATE(278)] = 11211, + [SMALL_STATE(279)] = 11216, + [SMALL_STATE(280)] = 11223, + [SMALL_STATE(281)] = 11230, + [SMALL_STATE(282)] = 11235, + [SMALL_STATE(283)] = 11240, + [SMALL_STATE(284)] = 11245, + [SMALL_STATE(285)] = 11250, + [SMALL_STATE(286)] = 11255, + [SMALL_STATE(287)] = 11260, + [SMALL_STATE(288)] = 11265, + [SMALL_STATE(289)] = 11270, + [SMALL_STATE(290)] = 11275, + [SMALL_STATE(291)] = 11280, + [SMALL_STATE(292)] = 11287, + [SMALL_STATE(293)] = 11292, + [SMALL_STATE(294)] = 11299, + [SMALL_STATE(295)] = 11304, + [SMALL_STATE(296)] = 11309, + [SMALL_STATE(297)] = 11314, + [SMALL_STATE(298)] = 11321, + [SMALL_STATE(299)] = 11326, + [SMALL_STATE(300)] = 11331, + [SMALL_STATE(301)] = 11336, + [SMALL_STATE(302)] = 11341, + [SMALL_STATE(303)] = 11348, + [SMALL_STATE(304)] = 11353, + [SMALL_STATE(305)] = 11358, + [SMALL_STATE(306)] = 11365, + [SMALL_STATE(307)] = 11372, + [SMALL_STATE(308)] = 11379, + [SMALL_STATE(309)] = 11386, + [SMALL_STATE(310)] = 11393, + [SMALL_STATE(311)] = 11397, + [SMALL_STATE(312)] = 11401, + [SMALL_STATE(313)] = 11405, + [SMALL_STATE(314)] = 11409, + [SMALL_STATE(315)] = 11413, + [SMALL_STATE(316)] = 11417, + [SMALL_STATE(317)] = 11421, + [SMALL_STATE(318)] = 11425, + [SMALL_STATE(319)] = 11429, + [SMALL_STATE(320)] = 11433, + [SMALL_STATE(321)] = 11437, + [SMALL_STATE(322)] = 11441, + [SMALL_STATE(323)] = 11445, + [SMALL_STATE(324)] = 11449, + [SMALL_STATE(325)] = 11453, + [SMALL_STATE(326)] = 11457, + [SMALL_STATE(327)] = 11461, + [SMALL_STATE(328)] = 11465, + [SMALL_STATE(329)] = 11469, + [SMALL_STATE(330)] = 11473, + [SMALL_STATE(331)] = 11477, + [SMALL_STATE(332)] = 11481, + [SMALL_STATE(333)] = 11485, + [SMALL_STATE(334)] = 11489, + [SMALL_STATE(335)] = 11493, + [SMALL_STATE(336)] = 11497, + [SMALL_STATE(337)] = 11501, + [SMALL_STATE(338)] = 11505, + [SMALL_STATE(339)] = 11509, + [SMALL_STATE(340)] = 11513, + [SMALL_STATE(341)] = 11517, + [SMALL_STATE(342)] = 11521, + [SMALL_STATE(343)] = 11525, + [SMALL_STATE(344)] = 11529, + [SMALL_STATE(345)] = 11533, + [SMALL_STATE(346)] = 11537, + [SMALL_STATE(347)] = 11541, + [SMALL_STATE(348)] = 11545, + [SMALL_STATE(349)] = 11549, + [SMALL_STATE(350)] = 11553, + [SMALL_STATE(351)] = 11557, + [SMALL_STATE(352)] = 11561, + [SMALL_STATE(353)] = 11565, + [SMALL_STATE(354)] = 11569, + [SMALL_STATE(355)] = 11573, + [SMALL_STATE(356)] = 11577, + [SMALL_STATE(357)] = 11581, + [SMALL_STATE(358)] = 11585, + [SMALL_STATE(359)] = 11589, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), - [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), - [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(344), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(339), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(274), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), + [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), - [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(202), - [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(36), - [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(36), - [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(37), - [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(101), - [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(173), - [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(154), - [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(197), - [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(148), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(92), - [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(134), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(184), - [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(73), - [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(54), - [85] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(36), - [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(36), - [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(37), - [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(101), - [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(173), - [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(154), - [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), - [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(197), - [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(193), - [111] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(148), - [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(92), - [117] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(134), - [120] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(184), - [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), - [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(73), - [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), - [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), - [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), - [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), - [172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), - [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), - [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), - [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), - [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), - [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [192] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), - [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), - [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), - [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), - [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), - [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), - [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), - [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), - [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), - [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), - [246] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), - [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [250] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool_call, 3), - [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool_call, 3), - [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), - [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), - [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), - [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), - [278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), - [280] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(86), - [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), - [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [291] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(122), - [294] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(120), - [297] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(120), - [300] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(121), - [303] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(103), - [306] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(180), - [309] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(150), - [312] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(201), - [315] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(135), - [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), - [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), - [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), - [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [334] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(49), - [337] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(36), - [340] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(36), - [343] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(37), - [346] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(101), - [349] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(173), - [352] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(154), - [355] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(197), - [358] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(134), - [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), + [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(61), + [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(337), + [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(66), + [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(66), + [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(67), + [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(181), + [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(306), + [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(264), + [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(344), + [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(339), + [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(274), + [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(137), + [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(233), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(140), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(333), + [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(145), + [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [87] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(61), + [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(66), + [93] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(66), + [96] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(67), + [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(181), + [102] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(306), + [105] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(264), + [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), + [110] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(344), + [113] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(339), + [116] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(274), + [119] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(137), + [122] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(233), + [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(140), + [128] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(333), + [131] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), + [133] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(145), + [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), + [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [148] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), + [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [160] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), + [162] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), + [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), + [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), + [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), + [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(359), + [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(316), + [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265), + [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170), + [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319), + [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), + [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), + [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), + [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), + [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), + [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(356), + [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), + [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), + [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), + [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), + [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204), + [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(328), + [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272), + [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), + [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), + [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(331), + [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), + [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), + [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), + [258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), + [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225), + [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(226), + [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [282] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [290] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [310] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), + [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), + [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), + [328] = {.entry = {.count = 1, .reusable = false}}, SHIFT(200), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool_call, 3), + [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool_call, 3), + [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [346] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), + [350] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), + [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), + [354] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), + [356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(132), + [359] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), - [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), - [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), - [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), - [373] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), - [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), - [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), - [379] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), - [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), - [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), - [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), - [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), - [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), - [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), - [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), - [399] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), - [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 4), - [403] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 4), - [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), - [407] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), - [409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [411] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [425] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(36), - [428] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(36), - [431] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(37), - [434] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(101), - [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(173), - [442] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(154), - [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(197), - [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [452] = {.entry = {.count = 1, .reusable = false}}, SHIFT(172), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), - [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), - [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_output, 2), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_input, 2), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), - [500] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), - [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), - [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), - [506] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(101), - [509] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), - [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), - [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), - [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), - [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [551] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(186), - [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [564] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(144), - [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [573] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), - [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [589] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), + [369] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(73), + [372] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(66), + [375] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(66), + [378] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(67), + [381] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(181), + [384] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(306), + [387] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(264), + [390] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(344), + [393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(233), + [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), + [398] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), + [400] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(200), + [403] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(185), + [406] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(185), + [409] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(203), + [412] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(190), + [415] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(279), + [418] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(252), + [421] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(356), + [424] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(231), + [427] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), + [429] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [433] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [437] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), + [439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), + [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(136), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [450] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), + [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), + [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), + [458] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), + [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), + [462] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), + [464] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), + [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 5), + [468] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 5), + [470] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), + [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), + [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), + [480] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), + [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), + [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), + [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 4), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 4), + [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), + [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [506] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [522] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(66), + [525] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(66), + [528] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(67), + [531] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(181), + [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [536] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(306), + [539] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(264), + [542] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(344), + [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [557] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [563] = {.entry = {.count = 1, .reusable = false}}, SHIFT(304), + [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), + [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [579] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [587] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_output, 2), + [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_input, 2), + [591] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [603] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [609] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [611] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [613] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [617] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [623] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [625] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), + [627] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), + [629] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), + [631] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [633] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), + [635] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(181), + [638] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), + [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), + [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), + [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), + [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), + [656] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(150), + [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), + [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), + [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), + [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [681] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342), + [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), + [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), + [693] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(322), + [696] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), + [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), + [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), + [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [710] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(254), + [713] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), + [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), + [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), + [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), + [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [743] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345), + [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341), + [773] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), + [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), + [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [783] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), + [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327), + [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [789] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [791] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [793] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [795] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [799] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [809] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), + [811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), + [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [817] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), + [819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), + [821] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [823] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), + [825] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [827] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [829] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [831] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [835] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), + [837] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [839] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), + [841] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), }; #ifdef __cplusplus