diff --git a/corpus/for.txt b/corpus/for.txt new file mode 100644 index 0000000..0c9d70f --- /dev/null +++ b/corpus/for.txt @@ -0,0 +1,92 @@ +================== +Simple For Loop +================== + +for i in [1, 2, 3] { + (output i) +} + +--- + +(root + (item + (statement + (for + (identifier) + (expression + (value + (list + (expression + (value + (integer))) + (expression + (value + (integer))) + (expression + (value + (integer)))))) + (item + (statement + (expression + (function_call + (tool) + (expression + (identifier)))))))))) + +================== +Complex For Loop +================== + +for list in list_of_lists { + for item in list { + (output item) + } + + if (length list) > 1 { + (output "List is long...") + } +} + +--- + +(root + (item + (statement + (for + (identifier) + (expression + (identifier)) + (item + (statement + (for + (identifier) + (expression + (identifier)) + (item + (statement + (expression + (function_call + (tool) + (expression + (identifier)))))))) + (statement + (if_else + (if + (expression + (logic + (expression + (function_call + (tool) + (expression + (identifier)))) + (logic_operator) + (expression + (value + (integer))))) + (statement + (expression + (function_call + (tool) + (expression + (value + (string)))))))))))))) diff --git a/grammar.js b/grammar.js index 83aa020..f779014 100644 --- a/grammar.js +++ b/grammar.js @@ -17,6 +17,7 @@ module.exports = grammar({ $.select, $.while, $.async, + $.for, ), comment: $ => seq(/[#]+.*/), @@ -242,6 +243,5 @@ module.exports = grammar({ repeat($.statement), '}' ), - } }); \ No newline at end of file diff --git a/src/grammar.json b/src/grammar.json index a33711f..b1c63d2 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -54,6 +54,10 @@ { "type": "SYMBOL", "name": "async" + }, + { + "type": "SYMBOL", + "name": "for" } ] }, diff --git a/src/node-types.json b/src/node-types.json index e61c0d0..b9bd932 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -117,6 +117,29 @@ ] } }, + { + "type": "for", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "item", + "named": true + } + ] + } + }, { "type": "function", "named": true, @@ -379,6 +402,10 @@ "type": "expression", "named": true }, + { + "type": "for", + "named": true + }, { "type": "if_else", "named": true diff --git a/src/parser.c b/src/parser.c index cf10a37..b3e0c24 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,9 +6,9 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 224 +#define STATE_COUNT 231 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 105 +#define SYMBOL_COUNT 106 #define ALIAS_COUNT 0 #define TOKEN_COUNT 69 #define EXTERNAL_TOKEN_COUNT 0 @@ -109,18 +109,19 @@ enum { sym_else = 90, sym_function_call = 91, sym_while = 92, - sym_tool = 93, - sym_select = 94, - sym_insert = 95, - sym_async = 96, - aux_sym_root_repeat1 = 97, - aux_sym_item_repeat1 = 98, - aux_sym_list_repeat1 = 99, - aux_sym_function_repeat1 = 100, - aux_sym_table_repeat1 = 101, - aux_sym_map_repeat1 = 102, - aux_sym_if_else_repeat1 = 103, - aux_sym_insert_repeat1 = 104, + sym_for = 93, + sym_tool = 94, + sym_select = 95, + sym_insert = 96, + sym_async = 97, + aux_sym_root_repeat1 = 98, + aux_sym_item_repeat1 = 99, + aux_sym_list_repeat1 = 100, + aux_sym_function_repeat1 = 101, + aux_sym_table_repeat1 = 102, + aux_sym_map_repeat1 = 103, + aux_sym_if_else_repeat1 = 104, + aux_sym_insert_repeat1 = 105, }; static const char * const ts_symbol_names[] = { @@ -217,6 +218,7 @@ static const char * const ts_symbol_names[] = { [sym_else] = "else", [sym_function_call] = "function_call", [sym_while] = "while", + [sym_for] = "for", [sym_tool] = "tool", [sym_select] = "select", [sym_insert] = "insert", @@ -325,6 +327,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_else] = sym_else, [sym_function_call] = sym_function_call, [sym_while] = sym_while, + [sym_for] = sym_for, [sym_tool] = sym_tool, [sym_select] = sym_select, [sym_insert] = sym_insert, @@ -712,6 +715,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_for] = { + .visible = true, + .named = true, + }, [sym_tool] = { .visible = true, .named = true, @@ -783,30 +790,30 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [9] = 9, [10] = 10, [11] = 11, - [12] = 11, - [13] = 9, - [14] = 10, - [15] = 15, - [16] = 10, - [17] = 11, - [18] = 15, + [12] = 8, + [13] = 11, + [14] = 14, + [15] = 10, + [16] = 16, + [17] = 17, + [18] = 9, [19] = 19, - [20] = 20, - [21] = 9, - [22] = 22, + [20] = 10, + [21] = 11, + [22] = 8, [23] = 23, [24] = 24, [25] = 25, - [26] = 23, - [27] = 27, + [26] = 26, + [27] = 26, [28] = 28, - [29] = 22, + [29] = 29, [30] = 30, - [31] = 23, + [31] = 31, [32] = 32, [33] = 33, - [34] = 34, - [35] = 35, + [34] = 30, + [35] = 30, [36] = 36, [37] = 37, [38] = 38, @@ -829,41 +836,41 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [55] = 55, [56] = 56, [57] = 57, - [58] = 58, + [58] = 57, [59] = 59, - [60] = 56, - [61] = 58, + [60] = 60, + [61] = 61, [62] = 62, - [63] = 54, - [64] = 57, - [65] = 65, - [66] = 59, + [63] = 63, + [64] = 62, + [65] = 59, + [66] = 66, [67] = 57, - [68] = 59, - [69] = 54, - [70] = 70, - [71] = 62, - [72] = 56, - [73] = 58, - [74] = 62, - [75] = 75, - [76] = 76, + [68] = 62, + [69] = 69, + [70] = 63, + [71] = 60, + [72] = 63, + [73] = 59, + [74] = 61, + [75] = 60, + [76] = 61, [77] = 77, [78] = 78, [79] = 79, [80] = 80, - [81] = 77, - [82] = 80, - [83] = 80, - [84] = 84, + [81] = 81, + [82] = 82, + [83] = 83, + [84] = 81, [85] = 85, - [86] = 86, - [87] = 76, - [88] = 84, - [89] = 77, - [90] = 90, - [91] = 91, - [92] = 92, + [86] = 77, + [87] = 85, + [88] = 88, + [89] = 89, + [90] = 83, + [91] = 83, + [92] = 81, [93] = 93, [94] = 94, [95] = 95, @@ -874,94 +881,94 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [100] = 100, [101] = 101, [102] = 102, - [103] = 24, - [104] = 33, - [105] = 25, - [106] = 24, - [107] = 25, - [108] = 108, - [109] = 109, - [110] = 40, - [111] = 36, - [112] = 44, - [113] = 113, - [114] = 43, - [115] = 48, + [103] = 103, + [104] = 104, + [105] = 105, + [106] = 106, + [107] = 32, + [108] = 28, + [109] = 29, + [110] = 29, + [111] = 111, + [112] = 28, + [113] = 44, + [114] = 36, + [115] = 115, [116] = 116, - [117] = 35, - [118] = 47, - [119] = 46, + [117] = 117, + [118] = 46, + [119] = 42, [120] = 49, - [121] = 45, + [121] = 41, [122] = 38, [123] = 123, - [124] = 34, - [125] = 37, - [126] = 41, - [127] = 42, - [128] = 39, - [129] = 32, - [130] = 43, - [131] = 36, - [132] = 32, - [133] = 41, - [134] = 38, - [135] = 35, - [136] = 42, - [137] = 137, - [138] = 44, - [139] = 137, - [140] = 39, - [141] = 40, - [142] = 47, - [143] = 46, - [144] = 45, - [145] = 34, - [146] = 37, - [147] = 147, - [148] = 50, - [149] = 147, - [150] = 147, + [124] = 45, + [125] = 47, + [126] = 40, + [127] = 48, + [128] = 50, + [129] = 43, + [130] = 31, + [131] = 33, + [132] = 37, + [133] = 39, + [134] = 45, + [135] = 39, + [136] = 136, + [137] = 31, + [138] = 47, + [139] = 43, + [140] = 33, + [141] = 37, + [142] = 44, + [143] = 136, + [144] = 48, + [145] = 38, + [146] = 41, + [147] = 36, + [148] = 42, + [149] = 46, + [150] = 40, [151] = 151, - [152] = 152, - [153] = 153, - [154] = 154, + [152] = 151, + [153] = 51, + [154] = 151, [155] = 155, [156] = 156, - [157] = 156, + [157] = 157, [158] = 158, [159] = 159, [160] = 160, - [161] = 161, + [161] = 160, [162] = 162, - [163] = 158, + [163] = 163, [164] = 164, [165] = 165, - [166] = 162, - [167] = 160, - [168] = 162, - [169] = 165, + [166] = 164, + [167] = 164, + [168] = 168, + [169] = 169, [170] = 170, - [171] = 165, - [172] = 158, - [173] = 160, - [174] = 164, - [175] = 159, - [176] = 164, - [177] = 177, - [178] = 93, - [179] = 179, - [180] = 179, + [171] = 170, + [172] = 168, + [173] = 173, + [174] = 165, + [175] = 163, + [176] = 168, + [177] = 163, + [178] = 170, + [179] = 173, + [180] = 165, [181] = 181, - [182] = 92, - [183] = 181, - [184] = 181, - [185] = 179, - [186] = 186, - [187] = 187, - [188] = 188, - [189] = 189, - [190] = 190, + [182] = 182, + [183] = 183, + [184] = 184, + [185] = 184, + [186] = 182, + [187] = 95, + [188] = 182, + [189] = 184, + [190] = 94, [191] = 191, [192] = 192, [193] = 193, @@ -970,31 +977,38 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [196] = 196, [197] = 197, [198] = 198, - [199] = 189, - [200] = 187, - [201] = 195, - [202] = 188, - [203] = 187, - [204] = 194, - [205] = 197, - [206] = 193, - [207] = 207, - [208] = 208, - [209] = 207, - [210] = 197, - [211] = 211, - [212] = 208, - [213] = 192, - [214] = 208, - [215] = 195, - [216] = 216, - [217] = 217, - [218] = 218, - [219] = 188, - [220] = 220, - [221] = 198, - [222] = 189, - [223] = 198, + [199] = 199, + [200] = 200, + [201] = 201, + [202] = 202, + [203] = 203, + [204] = 197, + [205] = 205, + [206] = 196, + [207] = 195, + [208] = 197, + [209] = 209, + [210] = 198, + [211] = 194, + [212] = 212, + [213] = 213, + [214] = 214, + [215] = 192, + [216] = 196, + [217] = 212, + [218] = 198, + [219] = 192, + [220] = 200, + [221] = 221, + [222] = 195, + [223] = 223, + [224] = 202, + [225] = 225, + [226] = 212, + [227] = 227, + [228] = 205, + [229] = 214, + [230] = 205, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1928,14 +1942,14 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [20] = {.lex_state = 14}, [21] = {.lex_state = 14}, [22] = {.lex_state = 14}, - [23] = {.lex_state = 13}, - [24] = {.lex_state = 13}, - [25] = {.lex_state = 13}, - [26] = {.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 = 14}, - [29] = {.lex_state = 14}, - [30] = {.lex_state = 14}, + [28] = {.lex_state = 13}, + [29] = {.lex_state = 13}, + [30] = {.lex_state = 13}, [31] = {.lex_state = 13}, [32] = {.lex_state = 13}, [33] = {.lex_state = 13}, @@ -1958,10 +1972,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [50] = {.lex_state = 13}, [51] = {.lex_state = 13}, [52] = {.lex_state = 13}, - [53] = {.lex_state = 14}, - [54] = {.lex_state = 14}, - [55] = {.lex_state = 15}, - [56] = {.lex_state = 14}, + [53] = {.lex_state = 13}, + [54] = {.lex_state = 15}, + [55] = {.lex_state = 14}, + [56] = {.lex_state = 15}, [57] = {.lex_state = 14}, [58] = {.lex_state = 14}, [59] = {.lex_state = 14}, @@ -1974,13 +1988,13 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [66] = {.lex_state = 14}, [67] = {.lex_state = 14}, [68] = {.lex_state = 14}, - [69] = {.lex_state = 14}, - [70] = {.lex_state = 15}, + [69] = {.lex_state = 15}, + [70] = {.lex_state = 14}, [71] = {.lex_state = 14}, [72] = {.lex_state = 14}, [73] = {.lex_state = 14}, [74] = {.lex_state = 14}, - [75] = {.lex_state = 15}, + [75] = {.lex_state = 14}, [76] = {.lex_state = 14}, [77] = {.lex_state = 14}, [78] = {.lex_state = 14}, @@ -1993,12 +2007,12 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [85] = {.lex_state = 14}, [86] = {.lex_state = 14}, [87] = {.lex_state = 14}, - [88] = {.lex_state = 14}, + [88] = {.lex_state = 15}, [89] = {.lex_state = 14}, - [90] = {.lex_state = 15}, - [91] = {.lex_state = 15}, + [90] = {.lex_state = 14}, + [91] = {.lex_state = 14}, [92] = {.lex_state = 14}, - [93] = {.lex_state = 14}, + [93] = {.lex_state = 15}, [94] = {.lex_state = 14}, [95] = {.lex_state = 14}, [96] = {.lex_state = 14}, @@ -2008,16 +2022,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [100] = {.lex_state = 14}, [101] = {.lex_state = 14}, [102] = {.lex_state = 14}, - [103] = {.lex_state = 1}, - [104] = {.lex_state = 1}, - [105] = {.lex_state = 1}, - [106] = {.lex_state = 2}, - [107] = {.lex_state = 2}, - [108] = {.lex_state = 2}, - [109] = {.lex_state = 14}, - [110] = {.lex_state = 1}, - [111] = {.lex_state = 1}, - [112] = {.lex_state = 1}, + [103] = {.lex_state = 14}, + [104] = {.lex_state = 14}, + [105] = {.lex_state = 14}, + [106] = {.lex_state = 14}, + [107] = {.lex_state = 1}, + [108] = {.lex_state = 1}, + [109] = {.lex_state = 1}, + [110] = {.lex_state = 2}, + [111] = {.lex_state = 2}, + [112] = {.lex_state = 2}, [113] = {.lex_state = 1}, [114] = {.lex_state = 1}, [115] = {.lex_state = 1}, @@ -2035,36 +2049,36 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [127] = {.lex_state = 1}, [128] = {.lex_state = 1}, [129] = {.lex_state = 1}, - [130] = {.lex_state = 2}, - [131] = {.lex_state = 2}, - [132] = {.lex_state = 2}, - [133] = {.lex_state = 2}, + [130] = {.lex_state = 1}, + [131] = {.lex_state = 1}, + [132] = {.lex_state = 1}, + [133] = {.lex_state = 1}, [134] = {.lex_state = 2}, [135] = {.lex_state = 2}, - [136] = {.lex_state = 2}, - [137] = {.lex_state = 1}, + [136] = {.lex_state = 1}, + [137] = {.lex_state = 2}, [138] = {.lex_state = 2}, - [139] = {.lex_state = 1}, + [139] = {.lex_state = 2}, [140] = {.lex_state = 2}, [141] = {.lex_state = 2}, [142] = {.lex_state = 2}, - [143] = {.lex_state = 2}, + [143] = {.lex_state = 1}, [144] = {.lex_state = 2}, [145] = {.lex_state = 2}, [146] = {.lex_state = 2}, - [147] = {.lex_state = 1}, - [148] = {.lex_state = 1}, - [149] = {.lex_state = 1}, - [150] = {.lex_state = 1}, - [151] = {.lex_state = 14}, - [152] = {.lex_state = 14}, - [153] = {.lex_state = 14}, - [154] = {.lex_state = 14}, + [147] = {.lex_state = 2}, + [148] = {.lex_state = 2}, + [149] = {.lex_state = 2}, + [150] = {.lex_state = 2}, + [151] = {.lex_state = 1}, + [152] = {.lex_state = 1}, + [153] = {.lex_state = 1}, + [154] = {.lex_state = 1}, [155] = {.lex_state = 14}, [156] = {.lex_state = 14}, [157] = {.lex_state = 14}, [158] = {.lex_state = 14}, - [159] = {.lex_state = 0}, + [159] = {.lex_state = 14}, [160] = {.lex_state = 14}, [161] = {.lex_state = 14}, [162] = {.lex_state = 14}, @@ -2078,57 +2092,64 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [170] = {.lex_state = 14}, [171] = {.lex_state = 14}, [172] = {.lex_state = 14}, - [173] = {.lex_state = 14}, + [173] = {.lex_state = 0}, [174] = {.lex_state = 14}, - [175] = {.lex_state = 0}, + [175] = {.lex_state = 14}, [176] = {.lex_state = 14}, [177] = {.lex_state = 14}, [178] = {.lex_state = 14}, - [179] = {.lex_state = 14}, + [179] = {.lex_state = 0}, [180] = {.lex_state = 14}, - [181] = {.lex_state = 0}, - [182] = {.lex_state = 14}, - [183] = {.lex_state = 0}, - [184] = {.lex_state = 0}, + [181] = {.lex_state = 14}, + [182] = {.lex_state = 0}, + [183] = {.lex_state = 14}, + [184] = {.lex_state = 14}, [185] = {.lex_state = 14}, - [186] = {.lex_state = 14}, - [187] = {.lex_state = 0}, + [186] = {.lex_state = 0}, + [187] = {.lex_state = 14}, [188] = {.lex_state = 0}, - [189] = {.lex_state = 0}, - [190] = {.lex_state = 0}, - [191] = {.lex_state = 0}, - [192] = {.lex_state = 14}, - [193] = {.lex_state = 14}, + [189] = {.lex_state = 14}, + [190] = {.lex_state = 14}, + [191] = {.lex_state = 14}, + [192] = {.lex_state = 0}, + [193] = {.lex_state = 0}, [194] = {.lex_state = 14}, [195] = {.lex_state = 0}, [196] = {.lex_state = 0}, [197] = {.lex_state = 0}, [198] = {.lex_state = 0}, [199] = {.lex_state = 0}, - [200] = {.lex_state = 0}, - [201] = {.lex_state = 0}, - [202] = {.lex_state = 0}, + [200] = {.lex_state = 14}, + [201] = {.lex_state = 14}, + [202] = {.lex_state = 14}, [203] = {.lex_state = 0}, - [204] = {.lex_state = 14}, + [204] = {.lex_state = 0}, [205] = {.lex_state = 0}, - [206] = {.lex_state = 14}, - [207] = {.lex_state = 14}, + [206] = {.lex_state = 0}, + [207] = {.lex_state = 0}, [208] = {.lex_state = 0}, - [209] = {.lex_state = 14}, + [209] = {.lex_state = 0}, [210] = {.lex_state = 0}, - [211] = {.lex_state = 0}, + [211] = {.lex_state = 14}, [212] = {.lex_state = 0}, - [213] = {.lex_state = 14}, - [214] = {.lex_state = 0}, + [213] = {.lex_state = 0}, + [214] = {.lex_state = 14}, [215] = {.lex_state = 0}, [216] = {.lex_state = 0}, [217] = {.lex_state = 0}, [218] = {.lex_state = 0}, [219] = {.lex_state = 0}, - [220] = {.lex_state = 0}, + [220] = {.lex_state = 14}, [221] = {.lex_state = 0}, [222] = {.lex_state = 0}, [223] = {.lex_state = 0}, + [224] = {.lex_state = 14}, + [225] = {.lex_state = 0}, + [226] = {.lex_state = 0}, + [227] = {.lex_state = 0}, + [228] = {.lex_state = 0}, + [229] = {.lex_state = 14}, + [230] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2204,30 +2225,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_async] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(211), + [sym_root] = STATE(223), [sym_item] = STATE(6), - [sym_statement] = STATE(15), - [sym_comment] = STATE(98), - [sym_expression] = STATE(49), - [sym__expression_kind] = STATE(45), - [sym_value] = STATE(45), - [sym_boolean] = STATE(47), - [sym_list] = STATE(47), - [sym_function] = STATE(47), - [sym_table] = STATE(47), - [sym_map] = STATE(47), - [sym_math] = STATE(45), - [sym_logic] = STATE(45), - [sym_assignment] = STATE(98), - [sym_if_else] = STATE(98), - [sym_if] = STATE(55), - [sym_function_call] = STATE(45), - [sym_while] = STATE(98), - [sym_select] = STATE(98), - [sym_insert] = STATE(98), - [sym_async] = STATE(98), + [sym_statement] = STATE(9), + [sym_comment] = STATE(103), + [sym_expression] = STATE(50), + [sym__expression_kind] = STATE(43), + [sym_value] = STATE(43), + [sym_boolean] = STATE(40), + [sym_list] = STATE(40), + [sym_function] = STATE(40), + [sym_table] = STATE(40), + [sym_map] = STATE(40), + [sym_math] = STATE(43), + [sym_logic] = STATE(43), + [sym_assignment] = STATE(103), + [sym_if_else] = STATE(103), + [sym_if] = STATE(56), + [sym_function_call] = STATE(43), + [sym_while] = STATE(103), + [sym_for] = STATE(103), + [sym_select] = STATE(103), + [sym_insert] = STATE(103), + [sym_async] = STATE(103), [aux_sym_root_repeat1] = STATE(6), - [aux_sym_item_repeat1] = STATE(15), + [aux_sym_item_repeat1] = STATE(9), [sym_identifier] = ACTIONS(3), [aux_sym_comment_token1] = ACTIONS(5), [anon_sym_LPAREN] = ACTIONS(7), @@ -2242,51 +2264,52 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_table] = ACTIONS(21), [anon_sym_if] = ACTIONS(23), [anon_sym_while] = ACTIONS(25), - [anon_sym_select] = ACTIONS(27), - [anon_sym_insert] = ACTIONS(29), - [anon_sym_async] = ACTIONS(31), + [anon_sym_for] = ACTIONS(27), + [anon_sym_select] = ACTIONS(29), + [anon_sym_insert] = ACTIONS(31), + [anon_sym_async] = ACTIONS(33), }, }; static const uint16_t ts_small_parse_table[] = { [0] = 14, - ACTIONS(33), 1, - sym_identifier, ACTIONS(35), 1, - anon_sym_LPAREN, + sym_identifier, ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, ACTIONS(45), 1, - anon_sym_function, + anon_sym_LBRACK, ACTIONS(47), 1, - anon_sym_LBRACE, + anon_sym_function, ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, anon_sym_table, - STATE(68), 1, + STATE(62), 1, sym_tool, - STATE(139), 1, + STATE(143), 1, sym_expression, - ACTIONS(39), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(147), 5, + STATE(152), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - ACTIONS(51), 24, + ACTIONS(53), 24, anon_sym_assert, anon_sym_assert_equal, anon_sym_output, @@ -2312,43 +2335,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_from_json, anon_sym_help, [76] = 14, - ACTIONS(35), 1, - anon_sym_LPAREN, ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, ACTIONS(45), 1, - anon_sym_function, + anon_sym_LBRACK, ACTIONS(47), 1, - anon_sym_LBRACE, + anon_sym_function, ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, anon_sym_table, - ACTIONS(53), 1, + ACTIONS(55), 1, sym_identifier, - STATE(59), 1, + STATE(68), 1, sym_tool, - STATE(139), 1, + STATE(143), 1, sym_expression, - ACTIONS(39), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(149), 5, + STATE(154), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - ACTIONS(51), 24, + ACTIONS(53), 24, anon_sym_assert, anon_sym_assert_equal, anon_sym_output, @@ -2374,43 +2397,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_from_json, anon_sym_help, [152] = 14, - ACTIONS(35), 1, - anon_sym_LPAREN, ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, ACTIONS(45), 1, - anon_sym_function, + anon_sym_LBRACK, ACTIONS(47), 1, - anon_sym_LBRACE, + anon_sym_function, ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, anon_sym_table, - ACTIONS(55), 1, + ACTIONS(57), 1, sym_identifier, - STATE(66), 1, + STATE(64), 1, sym_tool, - STATE(139), 1, + STATE(143), 1, sym_expression, - ACTIONS(39), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(150), 5, + STATE(151), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - ACTIONS(51), 24, + ACTIONS(53), 24, anon_sym_assert, anon_sym_assert_equal, anon_sym_output, @@ -2435,72 +2458,75 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_from_json, anon_sym_help, - [228] = 23, - ACTIONS(57), 1, - ts_builtin_sym_end, + [228] = 24, ACTIONS(59), 1, + ts_builtin_sym_end, + ACTIONS(61), 1, sym_identifier, - ACTIONS(62), 1, + ACTIONS(64), 1, aux_sym_comment_token1, - ACTIONS(65), 1, + ACTIONS(67), 1, anon_sym_LPAREN, - ACTIONS(68), 1, + ACTIONS(70), 1, sym_integer, - ACTIONS(77), 1, + ACTIONS(79), 1, anon_sym_LBRACK, - ACTIONS(80), 1, + ACTIONS(82), 1, anon_sym_function, - ACTIONS(83), 1, + ACTIONS(85), 1, anon_sym_LBRACE, - ACTIONS(86), 1, + ACTIONS(88), 1, anon_sym_table, - ACTIONS(89), 1, + ACTIONS(91), 1, anon_sym_if, - ACTIONS(92), 1, + ACTIONS(94), 1, anon_sym_while, - ACTIONS(95), 1, + ACTIONS(97), 1, + anon_sym_for, + ACTIONS(100), 1, anon_sym_select, - ACTIONS(98), 1, + ACTIONS(103), 1, anon_sym_insert, - ACTIONS(101), 1, + ACTIONS(106), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - ACTIONS(71), 2, + ACTIONS(73), 2, sym_float, sym_string, - ACTIONS(74), 2, + ACTIONS(76), 2, anon_sym_true, anon_sym_false, STATE(5), 2, sym_item, aux_sym_root_repeat1, - STATE(15), 2, + STATE(9), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [316] = 23, + [320] = 24, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2522,16 +2548,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - ACTIONS(104), 1, + ACTIONS(109), 1, ts_builtin_sym_end, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, ACTIONS(11), 2, sym_float, @@ -2542,93 +2570,97 @@ static const uint16_t ts_small_parse_table[] = { STATE(5), 2, sym_item, aux_sym_root_repeat1, - STATE(15), 2, + STATE(9), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [404] = 22, - ACTIONS(108), 1, + [412] = 23, + ACTIONS(113), 1, sym_identifier, - ACTIONS(111), 1, + ACTIONS(116), 1, aux_sym_comment_token1, - ACTIONS(114), 1, + ACTIONS(119), 1, anon_sym_LPAREN, - ACTIONS(117), 1, + ACTIONS(122), 1, sym_integer, - ACTIONS(126), 1, + ACTIONS(131), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(134), 1, anon_sym_function, - ACTIONS(132), 1, + ACTIONS(137), 1, anon_sym_LBRACE, - ACTIONS(135), 1, + ACTIONS(140), 1, anon_sym_table, - ACTIONS(138), 1, + ACTIONS(143), 1, anon_sym_if, - ACTIONS(141), 1, + ACTIONS(146), 1, anon_sym_while, - ACTIONS(144), 1, + ACTIONS(149), 1, + anon_sym_for, + ACTIONS(152), 1, anon_sym_select, - ACTIONS(147), 1, + ACTIONS(155), 1, anon_sym_insert, - ACTIONS(150), 1, + ACTIONS(158), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - ACTIONS(106), 2, + ACTIONS(111), 2, ts_builtin_sym_end, anon_sym_RBRACE, - ACTIONS(120), 2, + ACTIONS(125), 2, sym_float, sym_string, - ACTIONS(123), 2, + ACTIONS(128), 2, anon_sym_true, anon_sym_false, STATE(7), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [489] = 22, + [501] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2650,16 +2682,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(217), 1, + STATE(218), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2670,27 +2704,78 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [573] = 22, + [589] = 8, + STATE(50), 1, + sym_expression, + STATE(56), 1, + sym_if, + STATE(7), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(161), 7, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + ACTIONS(163), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [647] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2712,16 +2797,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(188), 1, + STATE(195), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2732,27 +2819,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [657] = 22, + [735] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2774,16 +2862,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(187), 1, + STATE(206), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2794,27 +2884,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [741] = 22, + [823] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2836,16 +2927,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(189), 1, + STATE(210), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2856,27 +2949,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [825] = 22, + [911] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2898,16 +2992,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(199), 1, + STATE(216), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2918,27 +3014,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [909] = 22, + [999] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2960,16 +3057,83 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + ACTIONS(165), 1, + anon_sym_RBRACE, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(202), 1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(19), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [1087] = 23, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_select, + ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, + anon_sym_async, + STATE(50), 1, + sym_expression, + STATE(56), 1, + sym_if, + STATE(207), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2980,27 +3144,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [993] = 22, + [1175] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -3022,14 +3187,81 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, + sym_if, + STATE(221), 1, + sym_item, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(18), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [1263] = 23, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_select, + ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, + anon_sym_async, + STATE(50), 1, + sym_expression, + STATE(56), 1, sym_if, STATE(203), 1, sym_item, @@ -3042,75 +3274,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [1077] = 8, - STATE(49), 1, - sym_expression, - STATE(55), 1, - sym_if, - STATE(7), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(45), 5, + STATE(43), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - ACTIONS(153), 7, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - STATE(98), 7, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - ACTIONS(155), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [1133] = 22, + [1351] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -3132,47 +3317,50 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + ACTIONS(161), 1, + anon_sym_RBRACE, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(200), 1, - sym_item, ACTIONS(11), 2, sym_float, sym_string, ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(7), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [1217] = 22, + [1439] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -3194,14 +3382,81 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + ACTIONS(167), 1, + anon_sym_RBRACE, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, + sym_if, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(7), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [1527] = 23, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_select, + ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, + anon_sym_async, + STATE(50), 1, + sym_expression, + STATE(56), 1, sym_if, STATE(222), 1, sym_item, @@ -3214,27 +3469,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [1301] = 22, + [1615] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -3256,202 +3512,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, - ACTIONS(31), 1, - anon_sym_async, - ACTIONS(153), 1, - anon_sym_RBRACE, - STATE(49), 1, - sym_expression, - STATE(55), 1, - sym_if, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(7), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [1385] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, anon_sym_select, - ACTIONS(29), 1, - anon_sym_insert, ACTIONS(31), 1, - anon_sym_async, - ACTIONS(157), 1, - anon_sym_RBRACE, - STATE(49), 1, - sym_expression, - STATE(55), 1, - sym_if, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(20), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [1469] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_select, - ACTIONS(29), 1, anon_sym_insert, - ACTIONS(31), 1, + ACTIONS(33), 1, anon_sym_async, - ACTIONS(159), 1, - anon_sym_RBRACE, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(7), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [1553] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_select, - ACTIONS(29), 1, - anon_sym_insert, - ACTIONS(31), 1, - anon_sym_async, - STATE(49), 1, - sym_expression, - STATE(55), 1, - sym_if, - STATE(219), 1, + STATE(196), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -3462,400 +3534,28 @@ static const uint16_t ts_small_parse_table[] = { STATE(18), 2, sym_statement, aux_sym_item_repeat1, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [1637] = 21, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_async, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(161), 1, - sym_identifier, - ACTIONS(163), 1, - anon_sym_select, - ACTIONS(165), 1, - anon_sym_insert, - STATE(55), 1, - sym_if, - STATE(96), 1, - sym_statement, - STATE(120), 1, - sym_expression, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(121), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [1717] = 16, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(169), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(54), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(171), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - ACTIONS(173), 9, - 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_GT_EQ, - anon_sym_LT_EQ, - [1787] = 8, - ACTIONS(183), 1, - anon_sym_DASH, - STATE(80), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(179), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(181), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 5, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(175), 11, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(177), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [1841] = 4, - STATE(80), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(189), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(187), 20, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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_GT_EQ, - anon_sym_LT_EQ, - [1887] = 16, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(191), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(63), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(171), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - ACTIONS(173), 9, - 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_GT_EQ, - anon_sym_LT_EQ, - [1957] = 21, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_async, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(161), 1, - sym_identifier, - ACTIONS(163), 1, - anon_sym_select, - ACTIONS(165), 1, - anon_sym_insert, - STATE(55), 1, - sym_if, - STATE(120), 1, - sym_expression, - STATE(218), 1, - sym_statement, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(121), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [2037] = 21, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_async, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(161), 1, - sym_identifier, - ACTIONS(163), 1, - anon_sym_select, - ACTIONS(165), 1, - anon_sym_insert, - STATE(55), 1, - sym_if, - STATE(120), 1, - sym_expression, - STATE(220), 1, - sym_statement, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(121), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(98), 7, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - sym_async, - [2117] = 21, + [1703] = 23, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -3877,103 +3577,240 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_while, ACTIONS(27), 1, - anon_sym_select, + anon_sym_for, ACTIONS(29), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, anon_sym_async, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(96), 1, - sym_statement, + STATE(198), 1, + sym_item, ACTIONS(11), 2, sym_float, sym_string, ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(18), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(98), 7, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [2197] = 21, + [1791] = 22, ACTIONS(5), 1, aux_sym_comment_token1, ACTIONS(23), 1, anon_sym_if, ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(33), 1, anon_sym_async, - ACTIONS(35), 1, - anon_sym_LPAREN, ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, ACTIONS(45), 1, - anon_sym_function, + anon_sym_LBRACK, ACTIONS(47), 1, - anon_sym_LBRACE, + anon_sym_function, ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, anon_sym_table, - ACTIONS(161), 1, + ACTIONS(169), 1, sym_identifier, - ACTIONS(163), 1, + ACTIONS(171), 1, anon_sym_select, - ACTIONS(165), 1, + ACTIONS(173), 1, anon_sym_insert, - STATE(55), 1, + STATE(56), 1, sym_if, - STATE(120), 1, + STATE(128), 1, sym_expression, - STATE(216), 1, + STATE(213), 1, sym_statement, - ACTIONS(39), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(121), 5, + STATE(129), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - STATE(98), 7, + STATE(103), 8, sym_comment, sym_assignment, sym_if_else, sym_while, + sym_for, sym_select, sym_insert, sym_async, - [2277] = 16, + [1875] = 22, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_async, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(169), 1, + sym_identifier, + ACTIONS(171), 1, + anon_sym_select, + ACTIONS(173), 1, + anon_sym_insert, + STATE(56), 1, + sym_if, + STATE(128), 1, + sym_expression, + STATE(199), 1, + sym_statement, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [1959] = 22, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_async, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(169), 1, + sym_identifier, + ACTIONS(171), 1, + anon_sym_select, + ACTIONS(173), 1, + anon_sym_insert, + STATE(56), 1, + sym_if, + STATE(128), 1, + sym_expression, + STATE(227), 1, + sym_statement, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [2043] = 22, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -3986,13 +3823,223 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_select, + ACTIONS(31), 1, + anon_sym_insert, + ACTIONS(33), 1, + anon_sym_async, + STATE(50), 1, + sym_expression, + STATE(56), 1, + sym_if, + STATE(105), 1, + sym_statement, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [2127] = 22, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_async, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(169), 1, + sym_identifier, + ACTIONS(171), 1, + anon_sym_select, + ACTIONS(173), 1, + anon_sym_insert, + STATE(56), 1, + sym_if, + STATE(105), 1, + sym_statement, + STATE(128), 1, + sym_expression, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(103), 8, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_async, + [2211] = 4, + STATE(81), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(177), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + ACTIONS(175), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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_GT_EQ, + anon_sym_LT_EQ, + [2258] = 8, + ACTIONS(187), 1, + anon_sym_DASH, + STATE(81), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(183), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(185), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(179), 11, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(181), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [2313] = 16, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, sym_identifier, ACTIONS(193), 1, anon_sym_RPAREN, - STATE(51), 1, + STATE(52), 1, sym_expression, - STATE(69), 1, + STATE(71), 1, aux_sym_list_repeat1, ACTIONS(11), 2, sym_float, @@ -4000,24 +4047,24 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - ACTIONS(171), 4, + ACTIONS(195), 4, anon_sym_LT, anon_sym_GT, anon_sym_DASH, anon_sym_PIPE_PIPE, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - ACTIONS(173), 9, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(197), 9, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -4027,8 +4074,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2347] = 2, - ACTIONS(197), 16, + [2383] = 2, + ACTIONS(201), 17, sym_identifier, sym_integer, anon_sym_true, @@ -4041,11 +4088,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_into, anon_sym_async, - ACTIONS(195), 20, + ACTIONS(199), 20, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -4066,32 +4114,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2388] = 5, - ACTIONS(199), 1, + [2425] = 5, + ACTIONS(203), 1, anon_sym_EQ, - STATE(29), 1, + STATE(26), 1, sym_assignment_operator, - ACTIONS(201), 2, + ACTIONS(205), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(171), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(173), 16, + ACTIONS(197), 16, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -4108,8 +4139,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2435] = 2, - ACTIONS(205), 16, + ACTIONS(195), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [2473] = 2, + ACTIONS(209), 17, sym_identifier, sym_integer, anon_sym_true, @@ -4122,48 +4171,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_into, anon_sym_async, - ACTIONS(203), 20, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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_GT_EQ, - anon_sym_LT_EQ, - [2476] = 2, - ACTIONS(209), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, ACTIONS(207), 20, ts_builtin_sym_end, aux_sym_comment_token1, @@ -4185,35 +4197,51 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2516] = 2, - ACTIONS(213), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(211), 20, - ts_builtin_sym_end, - aux_sym_comment_token1, + [2515] = 16, + ACTIONS(7), 1, anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(211), 1, anon_sym_RPAREN, + STATE(52), 1, + sym_expression, + STATE(75), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(195), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(197), 9, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -4223,8 +4251,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2556] = 2, - ACTIONS(217), 15, + [2585] = 16, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(213), 1, + anon_sym_RPAREN, + STATE(52), 1, + sym_expression, + STATE(60), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(195), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(197), 9, + 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_GT_EQ, + anon_sym_LT_EQ, + [2655] = 2, + ACTIONS(217), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4237,6 +4319,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4261,8 +4344,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2596] = 2, - ACTIONS(221), 15, + [2696] = 2, + ACTIONS(221), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4275,6 +4358,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4299,8 +4383,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2636] = 2, - ACTIONS(225), 15, + [2737] = 2, + ACTIONS(225), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4313,6 +4397,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4337,8 +4422,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2676] = 2, - ACTIONS(229), 15, + [2778] = 2, + ACTIONS(229), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4351,6 +4436,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4375,8 +4461,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2716] = 2, - ACTIONS(233), 15, + [2819] = 2, + ACTIONS(233), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4389,6 +4475,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4413,8 +4500,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2756] = 2, - ACTIONS(237), 15, + [2860] = 2, + ACTIONS(237), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4427,6 +4514,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4451,8 +4539,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2796] = 2, - ACTIONS(241), 15, + [2901] = 2, + ACTIONS(241), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4465,6 +4553,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4489,8 +4578,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2836] = 2, - ACTIONS(245), 15, + [2942] = 2, + ACTIONS(245), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4503,6 +4592,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4527,8 +4617,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2876] = 2, - ACTIONS(249), 15, + [2983] = 2, + ACTIONS(249), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4541,6 +4631,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4565,8 +4656,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2916] = 2, - ACTIONS(253), 15, + [3024] = 2, + ACTIONS(253), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4579,6 +4670,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4603,8 +4695,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2956] = 2, - ACTIONS(257), 15, + [3065] = 2, + ACTIONS(257), 16, sym_identifier, sym_integer, anon_sym_true, @@ -4617,6 +4709,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, @@ -4641,98 +4734,106 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2996] = 8, - ACTIONS(183), 1, - anon_sym_DASH, - STATE(80), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(179), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(181), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 5, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(259), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(261), 11, + [3106] = 2, + ACTIONS(261), 16, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, + anon_sym_LT, + anon_sym_GT, anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [3047] = 8, - ACTIONS(183), 1, - anon_sym_DASH, - STATE(80), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(179), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(181), 4, + ACTIONS(259), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, - ACTIONS(185), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(263), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(265), 11, + [3147] = 2, + ACTIONS(265), 16, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, + anon_sym_LT, + anon_sym_GT, anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [3098] = 4, - ACTIONS(171), 4, + ACTIONS(263), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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_GT_EQ, + anon_sym_LT_EQ, + [3188] = 8, + ACTIONS(187), 1, + anon_sym_DASH, + STATE(81), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(183), 3, anon_sym_LT, anon_sym_GT, - anon_sym_DASH, anon_sym_PIPE_PIPE, + ACTIONS(185), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, ACTIONS(267), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -4742,17 +4843,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(173), 9, - 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_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(269), 11, + ACTIONS(269), 12, sym_identifier, sym_integer, anon_sym_true, @@ -4761,174 +4852,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [3139] = 9, - ACTIONS(183), 1, + [3240] = 8, + ACTIONS(187), 1, anon_sym_DASH, - ACTIONS(275), 1, - anon_sym_COMMA, - STATE(80), 1, - sym_logic_operator, STATE(81), 1, sym_math_operator, - ACTIONS(179), 3, + STATE(90), 1, + sym_logic_operator, + ACTIONS(183), 3, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(181), 4, + ACTIONS(185), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(185), 5, + ACTIONS(189), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(271), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - ACTIONS(273), 7, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LBRACE, - [3187] = 8, - ACTIONS(183), 1, - anon_sym_DASH, - STATE(80), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(179), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(181), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 5, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(277), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - ACTIONS(279), 6, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - [3231] = 14, - ACTIONS(281), 1, - sym_identifier, - ACTIONS(284), 1, - anon_sym_LPAREN, - ACTIONS(289), 1, - sym_integer, - ACTIONS(298), 1, - anon_sym_LBRACK, - ACTIONS(301), 1, - anon_sym_function, - ACTIONS(304), 1, - anon_sym_LBRACE, - ACTIONS(307), 1, - anon_sym_table, - STATE(51), 1, - sym_expression, - STATE(53), 1, - aux_sym_list_repeat1, - ACTIONS(287), 2, - anon_sym_RPAREN, - anon_sym_RBRACK, - ACTIONS(292), 2, - sym_float, - sym_string, - ACTIONS(295), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3285] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(310), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(53), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3338] = 6, - ACTIONS(316), 1, - anon_sym_elseif, - ACTIONS(318), 1, - anon_sym_else, - STATE(95), 1, - sym_else, - STATE(70), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(312), 8, + ACTIONS(271), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -4937,7 +4887,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(314), 11, + ACTIONS(273), 12, sym_identifier, sym_integer, anon_sym_true, @@ -4946,244 +4896,228 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [3375] = 14, - ACTIONS(7), 1, + [3292] = 4, + ACTIONS(195), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + ACTIONS(275), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(320), 1, - anon_sym_RBRACK, - STATE(51), 1, - sym_expression, - STATE(57), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, sym_float, sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3428] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(322), 1, - anon_sym_RBRACK, - STATE(51), 1, - sym_expression, - STATE(53), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3481] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(324), 1, anon_sym_RBRACE, - STATE(52), 1, - sym_expression, - STATE(65), 1, - aux_sym_table_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, + ACTIONS(197), 9, + 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_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(277), 12, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3534] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [3334] = 9, + ACTIONS(187), 1, + anon_sym_DASH, + ACTIONS(283), 1, + anon_sym_COMMA, + STATE(81), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(183), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(185), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(279), 6, sym_identifier, - ACTIONS(169), 1, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + ACTIONS(281), 7, + anon_sym_LPAREN, anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(54), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, sym_float, sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3587] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(326), 1, anon_sym_RBRACK, - STATE(51), 1, - sym_expression, - STATE(67), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, + anon_sym_LBRACE, + [3382] = 8, + ACTIONS(187), 1, + anon_sym_DASH, + STATE(81), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(183), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(185), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(285), 6, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3640] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(328), 1, + ACTIONS(287), 6, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, anon_sym_RBRACE, + [3426] = 6, + ACTIONS(293), 1, + anon_sym_elseif, + ACTIONS(295), 1, + anon_sym_else, + STATE(102), 1, + sym_else, + STATE(69), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(289), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(291), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [3464] = 14, + ACTIONS(297), 1, + sym_identifier, + ACTIONS(300), 1, + anon_sym_LPAREN, + ACTIONS(305), 1, + sym_integer, + ACTIONS(314), 1, + anon_sym_LBRACK, + ACTIONS(317), 1, + anon_sym_function, + ACTIONS(320), 1, + anon_sym_LBRACE, + ACTIONS(323), 1, + anon_sym_table, STATE(52), 1, sym_expression, - STATE(65), 1, - aux_sym_table_repeat1, - ACTIONS(11), 2, + STATE(55), 1, + aux_sym_list_repeat1, + ACTIONS(303), 2, + anon_sym_RPAREN, + anon_sym_RBRACK, + ACTIONS(308), 2, sym_float, sym_string, - ACTIONS(13), 2, + ACTIONS(311), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [3693] = 14, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3518] = 6, + ACTIONS(293), 1, + anon_sym_elseif, + ACTIONS(295), 1, + anon_sym_else, + STATE(99), 1, + sym_else, + STATE(54), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(326), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(328), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [3556] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5196,13 +5130,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, ACTIONS(330), 1, anon_sym_RBRACE, - STATE(52), 1, + STATE(53), 1, sym_expression, - STATE(61), 1, + STATE(66), 1, aux_sym_table_repeat1, ACTIONS(11), 2, sym_float, @@ -5210,19 +5144,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [3746] = 14, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3609] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5235,33 +5169,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, ACTIONS(332), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, + anon_sym_RBRACE, STATE(53), 1, - aux_sym_list_repeat1, + sym_expression, + STATE(66), 1, + aux_sym_table_repeat1, ACTIONS(11), 2, sym_float, sym_string, ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [3799] = 14, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3662] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5274,276 +5208,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, ACTIONS(334), 1, - anon_sym_RBRACK, - STATE(51), 1, - sym_expression, - STATE(53), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3852] = 14, - ACTIONS(336), 1, - sym_identifier, - ACTIONS(339), 1, - anon_sym_LPAREN, - ACTIONS(342), 1, - sym_integer, - ACTIONS(351), 1, - anon_sym_LBRACK, - ACTIONS(354), 1, - anon_sym_function, - ACTIONS(357), 1, - anon_sym_LBRACE, - ACTIONS(360), 1, anon_sym_RBRACE, - ACTIONS(362), 1, - anon_sym_table, - STATE(52), 1, - sym_expression, - STATE(65), 1, - aux_sym_table_repeat1, - ACTIONS(345), 2, - sym_float, - sym_string, - ACTIONS(348), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3905] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(193), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(69), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3958] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(365), 1, - anon_sym_RBRACK, - STATE(51), 1, - sym_expression, STATE(53), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4011] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(191), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(63), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4064] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(367), 1, - anon_sym_RPAREN, - STATE(51), 1, - sym_expression, - STATE(53), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4117] = 6, - ACTIONS(316), 1, - anon_sym_elseif, - ACTIONS(318), 1, - anon_sym_else, - STATE(100), 1, - sym_else, - STATE(75), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(369), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(371), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [4154] = 14, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(167), 1, - sym_identifier, - ACTIONS(373), 1, - anon_sym_RBRACE, - STATE(52), 1, sym_expression, STATE(58), 1, aux_sym_table_repeat1, @@ -5553,19 +5222,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4207] = 14, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3715] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5578,13 +5247,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, - ACTIONS(375), 1, - anon_sym_RBRACK, - STATE(51), 1, + ACTIONS(336), 1, + anon_sym_RPAREN, + STATE(52), 1, sym_expression, - STATE(64), 1, + STATE(55), 1, aux_sym_list_repeat1, ACTIONS(11), 2, sym_float, @@ -5592,19 +5261,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4260] = 14, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3768] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5617,13 +5286,169 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, - ACTIONS(377), 1, - anon_sym_RBRACE, + ACTIONS(338), 1, + anon_sym_RBRACK, STATE(52), 1, sym_expression, - STATE(65), 1, + STATE(55), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3821] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(213), 1, + anon_sym_RPAREN, + STATE(52), 1, + sym_expression, + STATE(60), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3874] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(340), 1, + anon_sym_RBRACK, + STATE(52), 1, + sym_expression, + STATE(61), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3927] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(211), 1, + anon_sym_RPAREN, + STATE(52), 1, + sym_expression, + STATE(75), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [3980] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(342), 1, + anon_sym_RBRACE, + STATE(53), 1, + sym_expression, + STATE(67), 1, aux_sym_table_repeat1, ACTIONS(11), 2, sym_float, @@ -5631,19 +5456,58 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4313] = 14, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4033] = 14, + ACTIONS(344), 1, + sym_identifier, + ACTIONS(347), 1, + anon_sym_LPAREN, + ACTIONS(350), 1, + sym_integer, + ACTIONS(359), 1, + anon_sym_LBRACK, + ACTIONS(362), 1, + anon_sym_function, + ACTIONS(365), 1, + anon_sym_LBRACE, + ACTIONS(368), 1, + anon_sym_RBRACE, + ACTIONS(370), 1, + anon_sym_table, + STATE(53), 1, + sym_expression, + STATE(66), 1, + aux_sym_table_repeat1, + ACTIONS(353), 2, + sym_float, + sym_string, + ACTIONS(356), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4086] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5656,39 +5520,78 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, + ACTIONS(373), 1, + anon_sym_RBRACE, + STATE(53), 1, + sym_expression, + STATE(66), 1, + aux_sym_table_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4139] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(193), 1, + anon_sym_RPAREN, + STATE(52), 1, + sym_expression, + STATE(71), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4192] = 4, ACTIONS(379), 1, - anon_sym_RBRACE, - STATE(52), 1, - sym_expression, - STATE(73), 1, - aux_sym_table_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4366] = 4, - ACTIONS(385), 1, anon_sym_elseif, - STATE(75), 2, + STATE(69), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(381), 8, + ACTIONS(375), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -5697,7 +5600,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(383), 12, + ACTIONS(377), 13, sym_identifier, sym_integer, anon_sym_true, @@ -5707,151 +5610,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_else, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [4398] = 13, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(388), 1, - sym_identifier, - STATE(139), 1, - sym_expression, - STATE(148), 1, - sym_logic, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(121), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_function_call, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4447] = 12, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(388), 1, - sym_identifier, - STATE(105), 1, - sym_expression, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(121), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - [4494] = 12, - ACTIONS(390), 1, - sym_identifier, - ACTIONS(392), 1, - anon_sym_LPAREN, - ACTIONS(394), 1, - sym_integer, - ACTIONS(400), 1, - anon_sym_LBRACK, - ACTIONS(402), 1, - anon_sym_function, - ACTIONS(404), 1, - anon_sym_LBRACE, - ACTIONS(406), 1, - anon_sym_table, - STATE(108), 1, - sym_expression, - ACTIONS(396), 2, - sym_float, - sym_string, - ACTIONS(398), 2, - anon_sym_true, - anon_sym_false, - STATE(142), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(144), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - [4541] = 12, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(388), 1, - sym_identifier, - STATE(113), 1, - sym_expression, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(121), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - [4588] = 12, + [4225] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5864,29 +5627,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, - STATE(24), 1, + ACTIONS(382), 1, + anon_sym_RBRACK, + STATE(52), 1, sym_expression, + STATE(74), 1, + aux_sym_list_repeat1, ACTIONS(11), 2, sym_float, sym_string, ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4635] = 12, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4278] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5899,240 +5666,369 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, - STATE(25), 1, + ACTIONS(384), 1, + anon_sym_RPAREN, + STATE(52), 1, sym_expression, + STATE(55), 1, + aux_sym_list_repeat1, ACTIONS(11), 2, sym_float, sym_string, ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4682] = 12, - ACTIONS(35), 1, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4331] = 14, + ACTIONS(7), 1, anon_sym_LPAREN, - ACTIONS(37), 1, + ACTIONS(9), 1, sym_integer, - ACTIONS(43), 1, + ACTIONS(15), 1, anon_sym_LBRACK, - ACTIONS(45), 1, + ACTIONS(17), 1, anon_sym_function, - ACTIONS(47), 1, + ACTIONS(19), 1, anon_sym_LBRACE, - ACTIONS(49), 1, + ACTIONS(21), 1, anon_sym_table, - ACTIONS(388), 1, + ACTIONS(191), 1, sym_identifier, - STATE(103), 1, + ACTIONS(386), 1, + anon_sym_RBRACK, + STATE(52), 1, sym_expression, - ACTIONS(39), 2, + STATE(76), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(121), 5, + STATE(43), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4729] = 12, + [4384] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + ACTIONS(388), 1, + anon_sym_RBRACE, + STATE(53), 1, + sym_expression, + STATE(57), 1, + aux_sym_table_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4437] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, ACTIONS(390), 1, + anon_sym_RBRACK, + STATE(52), 1, + sym_expression, + STATE(55), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4490] = 14, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, sym_identifier, ACTIONS(392), 1, - anon_sym_LPAREN, - ACTIONS(394), 1, - sym_integer, - ACTIONS(400), 1, - anon_sym_LBRACK, - ACTIONS(402), 1, - anon_sym_function, - ACTIONS(404), 1, - anon_sym_LBRACE, - ACTIONS(406), 1, - anon_sym_table, - STATE(106), 1, + anon_sym_RPAREN, + STATE(52), 1, sym_expression, - ACTIONS(396), 2, + STATE(55), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, sym_float, sym_string, - ACTIONS(398), 2, + ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(142), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(144), 5, + STATE(43), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4776] = 12, - ACTIONS(35), 1, + [4543] = 14, + ACTIONS(7), 1, anon_sym_LPAREN, - ACTIONS(37), 1, + ACTIONS(9), 1, sym_integer, - ACTIONS(43), 1, + ACTIONS(15), 1, anon_sym_LBRACK, - ACTIONS(45), 1, + ACTIONS(17), 1, anon_sym_function, - ACTIONS(47), 1, + ACTIONS(19), 1, anon_sym_LBRACE, - ACTIONS(49), 1, + ACTIONS(21), 1, anon_sym_table, - ACTIONS(388), 1, + ACTIONS(191), 1, sym_identifier, - STATE(115), 1, + ACTIONS(394), 1, + anon_sym_RBRACK, + STATE(52), 1, sym_expression, - ACTIONS(39), 2, + STATE(55), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(121), 5, + STATE(43), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4823] = 12, - ACTIONS(35), 1, - anon_sym_LPAREN, + [4596] = 13, ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, ACTIONS(45), 1, - anon_sym_function, + anon_sym_LBRACK, ACTIONS(47), 1, - anon_sym_LBRACE, + anon_sym_function, ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, anon_sym_table, - ACTIONS(388), 1, + ACTIONS(396), 1, + sym_identifier, + STATE(143), 1, + sym_expression, + STATE(153), 1, + sym_logic, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(129), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_function_call, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4645] = 12, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, sym_identifier, STATE(123), 1, sym_expression, - ACTIONS(39), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(121), 5, + STATE(129), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4870] = 12, - ACTIONS(35), 1, + [4692] = 12, + ACTIONS(398), 1, + sym_identifier, + ACTIONS(400), 1, anon_sym_LPAREN, - ACTIONS(37), 1, + ACTIONS(402), 1, sym_integer, - ACTIONS(43), 1, + ACTIONS(408), 1, anon_sym_LBRACK, - ACTIONS(45), 1, + ACTIONS(410), 1, anon_sym_function, - ACTIONS(47), 1, + ACTIONS(412), 1, anon_sym_LBRACE, - ACTIONS(49), 1, + ACTIONS(414), 1, anon_sym_table, - ACTIONS(388), 1, + STATE(111), 1, + sym_expression, + ACTIONS(404), 2, + sym_float, + sym_string, + ACTIONS(406), 2, + anon_sym_true, + anon_sym_false, + STATE(139), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(150), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4739] = 12, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, sym_identifier, STATE(116), 1, sym_expression, - ACTIONS(39), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(41), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(118), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(121), 5, + STATE(129), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4917] = 13, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(37), 1, - sym_integer, - ACTIONS(43), 1, - anon_sym_LBRACK, - ACTIONS(45), 1, - anon_sym_function, - ACTIONS(47), 1, - anon_sym_LBRACE, - ACTIONS(49), 1, - anon_sym_table, - ACTIONS(388), 1, - sym_identifier, - STATE(50), 1, - sym_logic, - STATE(137), 1, - sym_expression, - ACTIONS(39), 2, - sym_float, - sym_string, - ACTIONS(41), 2, - anon_sym_true, - anon_sym_false, - STATE(121), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_function_call, - STATE(118), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4966] = 12, + [4786] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -6145,9 +6041,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(167), 1, + ACTIONS(191), 1, sym_identifier, - STATE(48), 1, + STATE(28), 1, sym_expression, ACTIONS(11), 2, sym_float, @@ -6155,55 +6051,231 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(45), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(47), 5, + STATE(40), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5013] = 12, - ACTIONS(390), 1, - sym_identifier, - ACTIONS(392), 1, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [4833] = 12, + ACTIONS(37), 1, anon_sym_LPAREN, - ACTIONS(394), 1, + ACTIONS(39), 1, sym_integer, - ACTIONS(400), 1, + ACTIONS(45), 1, anon_sym_LBRACK, - ACTIONS(402), 1, + ACTIONS(47), 1, anon_sym_function, - ACTIONS(404), 1, + ACTIONS(49), 1, anon_sym_LBRACE, - ACTIONS(406), 1, + ACTIONS(51), 1, anon_sym_table, - STATE(107), 1, + ACTIONS(396), 1, + sym_identifier, + STATE(117), 1, sym_expression, - ACTIONS(396), 2, + ACTIONS(41), 2, sym_float, sym_string, - ACTIONS(398), 2, + ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(142), 5, + STATE(126), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(144), 5, + STATE(129), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [5060] = 2, - ACTIONS(408), 9, + [4880] = 12, + ACTIONS(398), 1, + sym_identifier, + ACTIONS(400), 1, + anon_sym_LPAREN, + ACTIONS(402), 1, + sym_integer, + ACTIONS(408), 1, + anon_sym_LBRACK, + ACTIONS(410), 1, + anon_sym_function, + ACTIONS(412), 1, + anon_sym_LBRACE, + ACTIONS(414), 1, + anon_sym_table, + STATE(110), 1, + sym_expression, + ACTIONS(404), 2, + sym_float, + sym_string, + ACTIONS(406), 2, + anon_sym_true, + anon_sym_false, + STATE(139), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(150), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4927] = 12, + ACTIONS(398), 1, + sym_identifier, + ACTIONS(400), 1, + anon_sym_LPAREN, + ACTIONS(402), 1, + sym_integer, + ACTIONS(408), 1, + anon_sym_LBRACK, + ACTIONS(410), 1, + anon_sym_function, + ACTIONS(412), 1, + anon_sym_LBRACE, + ACTIONS(414), 1, + anon_sym_table, + STATE(112), 1, + sym_expression, + ACTIONS(404), 2, + sym_float, + sym_string, + ACTIONS(406), 2, + anon_sym_true, + anon_sym_false, + STATE(139), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(150), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4974] = 12, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, + sym_identifier, + STATE(120), 1, + sym_expression, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [5021] = 13, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, + sym_identifier, + STATE(51), 1, + sym_logic, + STATE(136), 1, + sym_expression, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(129), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_function_call, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [5070] = 12, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + STATE(49), 1, + sym_expression, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [5117] = 2, + ACTIONS(416), 9, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -6213,7 +6285,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_elseif, - ACTIONS(410), 12, + ACTIONS(418), 13, sym_identifier, sym_integer, anon_sym_true, @@ -6223,11 +6295,152 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_else, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5086] = 2, - ACTIONS(412), 9, + [5144] = 12, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, + sym_identifier, + STATE(115), 1, + sym_expression, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [5191] = 12, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(191), 1, + sym_identifier, + STATE(29), 1, + sym_expression, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(43), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [5238] = 12, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, + sym_identifier, + STATE(109), 1, + sym_expression, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [5285] = 12, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(39), 1, + sym_integer, + ACTIONS(45), 1, + anon_sym_LBRACK, + ACTIONS(47), 1, + anon_sym_function, + ACTIONS(49), 1, + anon_sym_LBRACE, + ACTIONS(51), 1, + anon_sym_table, + ACTIONS(396), 1, + sym_identifier, + STATE(108), 1, + sym_expression, + ACTIONS(41), 2, + sym_float, + sym_string, + ACTIONS(43), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(129), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + [5332] = 2, + ACTIONS(420), 9, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -6237,7 +6450,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_elseif, - ACTIONS(414), 12, + ACTIONS(422), 13, sym_identifier, sym_integer, anon_sym_true, @@ -6247,13 +6460,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_else, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5112] = 3, - ACTIONS(420), 1, + [5359] = 3, + ACTIONS(428), 1, anon_sym_where, - ACTIONS(416), 8, + ACTIONS(424), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -6262,7 +6476,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(418), 11, + ACTIONS(426), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6271,13 +6485,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5139] = 3, - ACTIONS(426), 1, + [5387] = 3, + ACTIONS(434), 1, anon_sym_where, - ACTIONS(422), 8, + ACTIONS(430), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -6286,7 +6501,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(424), 11, + ACTIONS(432), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6295,76 +6510,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5166] = 2, - ACTIONS(428), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(430), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [5190] = 2, - ACTIONS(369), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(371), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [5214] = 2, - ACTIONS(432), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(434), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [5238] = 2, + [5415] = 2, ACTIONS(436), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -6374,7 +6524,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(438), 11, + ACTIONS(438), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6383,32 +6533,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5262] = 2, - ACTIONS(263), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(265), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [5286] = 2, + [5440] = 2, ACTIONS(440), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -6418,7 +6547,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(442), 11, + ACTIONS(442), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6427,10 +6556,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5310] = 2, + [5465] = 2, ACTIONS(444), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -6440,7 +6570,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(446), 11, + ACTIONS(446), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6449,10 +6579,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5334] = 2, + [5490] = 2, + ACTIONS(289), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(291), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5515] = 2, ACTIONS(448), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -6462,7 +6616,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(450), 11, + ACTIONS(450), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6471,10 +6625,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5358] = 2, + [5540] = 2, ACTIONS(452), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -6484,7 +6639,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(454), 11, + ACTIONS(454), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6493,162 +6648,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5382] = 6, - STATE(77), 1, - sym_math_operator, - STATE(82), 1, - sym_logic_operator, - ACTIONS(179), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(175), 3, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5413] = 5, - ACTIONS(199), 1, - anon_sym_EQ, - STATE(22), 1, - sym_assignment_operator, - ACTIONS(201), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(171), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(173), 10, - 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, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5442] = 4, - STATE(77), 1, - sym_math_operator, - STATE(82), 1, - sym_logic_operator, - ACTIONS(189), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(187), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5469] = 7, - ACTIONS(175), 1, - anon_sym_RBRACE, - ACTIONS(177), 1, - sym_identifier, - STATE(83), 1, - sym_logic_operator, - STATE(89), 1, - sym_math_operator, - ACTIONS(179), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 5, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5501] = 4, - STATE(83), 1, - sym_logic_operator, - STATE(89), 1, - sym_math_operator, - ACTIONS(189), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(187), 11, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5527] = 7, - ACTIONS(456), 1, - sym_identifier, - ACTIONS(458), 1, - anon_sym_RBRACE, - STATE(83), 1, - sym_logic_operator, - STATE(89), 1, - sym_math_operator, - ACTIONS(179), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 5, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5559] = 2, - ACTIONS(462), 6, + [5565] = 2, + ACTIONS(456), 8, + ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - ACTIONS(460), 11, + anon_sym_RBRACE, + ACTIONS(458), 12, sym_identifier, sym_integer, anon_sym_true, @@ -6657,19 +6671,115 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_if, anon_sym_while, + anon_sym_for, anon_sym_select, anon_sym_insert, anon_sym_async, - [5581] = 2, - ACTIONS(229), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(227), 14, - anon_sym_RPAREN, + [5590] = 2, + ACTIONS(271), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, + ACTIONS(273), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5615] = 2, + ACTIONS(460), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(462), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5640] = 2, + ACTIONS(464), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(466), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5665] = 2, + ACTIONS(470), 6, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(468), 12, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5688] = 5, + ACTIONS(203), 1, + anon_sym_EQ, + STATE(27), 1, + sym_assignment_operator, + ACTIONS(205), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(195), 4, + anon_sym_LT, + anon_sym_GT, anon_sym_PLUS, anon_sym_DASH, + ACTIONS(197), 10, + anon_sym_RBRACE, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -6679,213 +6789,127 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5602] = 2, - ACTIONS(213), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(211), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5623] = 2, - ACTIONS(245), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5644] = 6, - ACTIONS(464), 1, - anon_sym_LBRACE, - STATE(77), 1, - sym_math_operator, - STATE(82), 1, + [5717] = 4, + STATE(91), 1, sym_logic_operator, - ACTIONS(179), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5673] = 2, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(239), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5694] = 6, - ACTIONS(259), 1, - anon_sym_RBRACE, - STATE(77), 1, + STATE(92), 1, sym_math_operator, - STATE(82), 1, - sym_logic_operator, - ACTIONS(179), 2, + ACTIONS(177), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(181), 5, + ACTIONS(175), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(185), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5723] = 6, - ACTIONS(466), 1, - anon_sym_LBRACE, - STATE(77), 1, + [5744] = 6, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, sym_math_operator, - STATE(82), 1, + ACTIONS(183), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(179), 3, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5775] = 7, + ACTIONS(179), 1, + anon_sym_RBRACE, + ACTIONS(181), 1, + sym_identifier, + STATE(83), 1, sym_logic_operator, - ACTIONS(179), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5752] = 2, - ACTIONS(209), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(207), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5773] = 2, - ACTIONS(257), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(255), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5794] = 2, - ACTIONS(253), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(251), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5815] = 6, - ACTIONS(263), 1, - anon_sym_RBRACE, - STATE(77), 1, + STATE(84), 1, sym_math_operator, - STATE(82), 1, - sym_logic_operator, - ACTIONS(179), 2, + ACTIONS(183), 3, anon_sym_LT, anon_sym_GT, - ACTIONS(181), 5, + anon_sym_PIPE_PIPE, + ACTIONS(185), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(185), 6, + ACTIONS(189), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5844] = 2, + [5807] = 7, + ACTIONS(472), 1, + sym_identifier, + ACTIONS(474), 1, + anon_sym_RBRACE, + STATE(83), 1, + sym_logic_operator, + STATE(84), 1, + sym_math_operator, + ACTIONS(183), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5839] = 4, + STATE(83), 1, + sym_logic_operator, + STATE(84), 1, + sym_math_operator, + ACTIONS(177), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(175), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [5865] = 2, ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, @@ -6904,68 +6928,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5865] = 2, - ACTIONS(221), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(219), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5886] = 6, - ACTIONS(468), 1, - anon_sym_LBRACE, - STATE(77), 1, - sym_math_operator, - STATE(82), 1, - sym_logic_operator, - ACTIONS(179), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5915] = 2, - ACTIONS(205), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(203), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [5936] = 2, + [5886] = 2, ACTIONS(217), 2, anon_sym_LT, anon_sym_GT, @@ -6984,11 +6947,80 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5957] = 2, - ACTIONS(233), 2, + [5907] = 6, + ACTIONS(476), 1, + anon_sym_LBRACE, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(231), 14, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5936] = 6, + ACTIONS(478), 1, + anon_sym_LBRACE, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5965] = 6, + ACTIONS(480), 1, + anon_sym_LBRACE, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5994] = 2, + ACTIONS(257), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(255), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7003,7 +7035,49 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5978] = 2, + [6015] = 2, + ACTIONS(241), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(239), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6036] = 6, + ACTIONS(267), 1, + anon_sym_RBRACE, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [6065] = 2, ACTIONS(237), 2, anon_sym_LT, anon_sym_GT, @@ -7022,7 +7096,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5999] = 2, + [6086] = 2, ACTIONS(225), 2, anon_sym_LT, anon_sym_GT, @@ -7041,11 +7115,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6020] = 2, - ACTIONS(197), 2, + [6107] = 6, + ACTIONS(482), 1, + anon_sym_LBRACE, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(195), 14, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [6136] = 2, + ACTIONS(253), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7060,13 +7157,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6041] = 2, - ACTIONS(241), 4, - sym_identifier, + [6157] = 2, + ACTIONS(261), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(239), 11, + ACTIONS(259), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7076,15 +7173,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6061] = 2, - ACTIONS(213), 4, - sym_identifier, + [6178] = 2, + ACTIONS(233), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(211), 11, + ACTIONS(231), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7094,15 +7192,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6081] = 2, - ACTIONS(197), 4, - sym_identifier, + [6199] = 2, + ACTIONS(265), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(195), 11, + ACTIONS(263), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7112,147 +7211,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [6101] = 2, - ACTIONS(233), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(231), 11, - anon_sym_RBRACE, - 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_GT_EQ, anon_sym_LT_EQ, - [6121] = 2, - ACTIONS(221), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(219), 11, + [6220] = 6, + ACTIONS(271), 1, anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [6141] = 2, - ACTIONS(209), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(207), 11, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [6161] = 2, - ACTIONS(237), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(235), 11, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [6181] = 5, - STATE(77), 1, - sym_math_operator, - STATE(80), 1, + STATE(91), 1, sym_logic_operator, - ACTIONS(179), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(181), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(185), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [6207] = 2, - ACTIONS(245), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(243), 11, - anon_sym_RBRACE, - 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_GT_EQ, - anon_sym_LT_EQ, - [6227] = 5, - STATE(77), 1, + STATE(92), 1, sym_math_operator, - STATE(82), 1, - sym_logic_operator, - ACTIONS(179), 2, + ACTIONS(183), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(181), 5, + ACTIONS(185), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(185), 6, + ACTIONS(189), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6253] = 2, - ACTIONS(225), 4, - sym_identifier, + [6249] = 2, + ACTIONS(245), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(223), 11, + ACTIONS(243), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7262,15 +7253,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6273] = 2, - ACTIONS(229), 4, - sym_identifier, + [6270] = 2, + ACTIONS(201), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(227), 11, + ACTIONS(199), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7280,15 +7272,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6293] = 2, - ACTIONS(257), 4, - sym_identifier, + [6291] = 2, + ACTIONS(209), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(255), 11, + ACTIONS(207), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7298,9 +7291,48 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6313] = 2, + [6312] = 2, + ACTIONS(221), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(219), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6333] = 2, + ACTIONS(229), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(227), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6354] = 2, ACTIONS(253), 4, sym_identifier, anon_sym_LT, @@ -7318,7 +7350,136 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6333] = 2, + [6374] = 2, + ACTIONS(229), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(227), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6394] = 5, + STATE(90), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [6420] = 2, + ACTIONS(201), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(199), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6440] = 2, + ACTIONS(261), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(259), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6460] = 2, + ACTIONS(245), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(243), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6480] = 2, + ACTIONS(209), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(207), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6500] = 2, + ACTIONS(221), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(219), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6520] = 2, ACTIONS(249), 4, sym_identifier, anon_sym_LT, @@ -7336,13 +7497,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6353] = 2, - ACTIONS(205), 4, + [6540] = 5, + STATE(91), 1, + sym_logic_operator, + STATE(92), 1, + sym_math_operator, + ACTIONS(183), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(189), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [6566] = 2, + ACTIONS(265), 4, sym_identifier, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(203), 11, + ACTIONS(263), 11, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -7354,7 +7536,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6373] = 2, + [6586] = 2, + ACTIONS(225), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(223), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6606] = 2, + ACTIONS(237), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(235), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6626] = 2, ACTIONS(217), 4, sym_identifier, anon_sym_LT, @@ -7372,31 +7590,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6393] = 3, - ACTIONS(470), 1, - anon_sym_RPAREN, - ACTIONS(249), 2, + [6646] = 2, + ACTIONS(241), 4, + sym_identifier, anon_sym_LT, anon_sym_GT, - ACTIONS(247), 11, - 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_GT_EQ, - anon_sym_LT_EQ, - [6414] = 3, - ACTIONS(267), 1, + ACTIONS(239), 11, anon_sym_RBRACE, - ACTIONS(171), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(173), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -7405,16 +7606,51 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6435] = 3, - ACTIONS(472), 1, + [6666] = 2, + ACTIONS(257), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(255), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6686] = 2, + ACTIONS(233), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(231), 11, + anon_sym_RBRACE, + 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_GT_EQ, + anon_sym_LT_EQ, + [6706] = 3, + ACTIONS(484), 1, anon_sym_RPAREN, - ACTIONS(249), 2, + ACTIONS(245), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(247), 11, + ACTIONS(243), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -7426,13 +7662,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6456] = 3, - ACTIONS(474), 1, + [6727] = 3, + ACTIONS(486), 1, anon_sym_RPAREN, - ACTIONS(249), 2, + ACTIONS(245), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(247), 11, + ACTIONS(243), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -7444,15 +7680,51 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6477] = 2, - ACTIONS(476), 6, + [6748] = 3, + ACTIONS(275), 1, + anon_sym_RBRACE, + ACTIONS(195), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(197), 11, + 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_GT_EQ, + anon_sym_LT_EQ, + [6769] = 3, + ACTIONS(488), 1, + anon_sym_RPAREN, + ACTIONS(245), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(243), 11, + 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_GT_EQ, + anon_sym_LT_EQ, + [6790] = 2, + ACTIONS(490), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(287), 7, + ACTIONS(303), 7, anon_sym_LPAREN, anon_sym_RPAREN, sym_float, @@ -7460,364 +7732,373 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [6495] = 2, - ACTIONS(478), 6, + [6808] = 2, + ACTIONS(492), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(480), 6, + ACTIONS(494), 6, anon_sym_LPAREN, anon_sym_RPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - [6512] = 2, - ACTIONS(484), 5, + [6825] = 2, + ACTIONS(498), 5, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - ACTIONS(482), 6, + ACTIONS(496), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - [6528] = 2, - ACTIONS(488), 5, + [6841] = 2, + ACTIONS(502), 5, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - ACTIONS(486), 6, + ACTIONS(500), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - [6544] = 3, - ACTIONS(490), 1, + [6857] = 3, + ACTIONS(504), 1, anon_sym_LBRACK, - ACTIONS(493), 1, + ACTIONS(507), 1, anon_sym_into, - STATE(155), 2, + STATE(159), 2, sym_list, aux_sym_insert_repeat1, - [6555] = 3, + [6868] = 3, ACTIONS(15), 1, anon_sym_LBRACK, - ACTIONS(495), 1, + ACTIONS(509), 1, anon_sym_into, - STATE(155), 2, + STATE(159), 2, sym_list, aux_sym_insert_repeat1, - [6566] = 3, + [6879] = 3, ACTIONS(15), 1, anon_sym_LBRACK, - ACTIONS(497), 1, + ACTIONS(511), 1, anon_sym_into, - STATE(155), 2, + STATE(159), 2, sym_list, aux_sym_insert_repeat1, - [6577] = 3, - ACTIONS(499), 1, - sym_identifier, - ACTIONS(501), 1, - anon_sym_GT, - STATE(161), 1, - aux_sym_function_repeat1, - [6587] = 2, - ACTIONS(15), 1, - anon_sym_LBRACK, - STATE(156), 2, - sym_list, - aux_sym_insert_repeat1, - [6595] = 3, - ACTIONS(499), 1, - sym_identifier, - ACTIONS(503), 1, - anon_sym_GT, - STATE(172), 1, - aux_sym_function_repeat1, - [6605] = 3, - ACTIONS(505), 1, - sym_identifier, - ACTIONS(508), 1, - anon_sym_GT, - STATE(161), 1, - aux_sym_function_repeat1, - [6615] = 3, - ACTIONS(499), 1, - sym_identifier, - ACTIONS(510), 1, - anon_sym_GT, - STATE(161), 1, - aux_sym_function_repeat1, - [6625] = 3, - ACTIONS(499), 1, - sym_identifier, - ACTIONS(512), 1, - anon_sym_GT, - STATE(161), 1, - aux_sym_function_repeat1, - [6635] = 3, - ACTIONS(514), 1, + [6890] = 3, + ACTIONS(513), 1, sym_identifier, ACTIONS(516), 1, - anon_sym_RBRACE, - STATE(169), 1, - aux_sym_map_repeat1, - [6645] = 3, - ACTIONS(514), 1, - sym_identifier, + anon_sym_GT, + STATE(162), 1, + aux_sym_function_repeat1, + [6900] = 3, ACTIONS(518), 1, - anon_sym_RBRACE, - STATE(170), 1, - aux_sym_map_repeat1, - [6655] = 3, - ACTIONS(499), 1, sym_identifier, ACTIONS(520), 1, anon_sym_GT, - STATE(161), 1, + STATE(162), 1, aux_sym_function_repeat1, - [6665] = 3, - ACTIONS(499), 1, + [6910] = 3, + ACTIONS(518), 1, sym_identifier, ACTIONS(522), 1, anon_sym_GT, - STATE(163), 1, + STATE(162), 1, aux_sym_function_repeat1, - [6675] = 3, - ACTIONS(499), 1, + [6920] = 3, + ACTIONS(518), 1, sym_identifier, ACTIONS(524), 1, anon_sym_GT, - STATE(161), 1, + STATE(163), 1, aux_sym_function_repeat1, - [6685] = 3, - ACTIONS(514), 1, + [6930] = 3, + ACTIONS(518), 1, sym_identifier, ACTIONS(526), 1, - anon_sym_RBRACE, - STATE(170), 1, - aux_sym_map_repeat1, - [6695] = 3, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(531), 1, - anon_sym_RBRACE, - STATE(170), 1, - aux_sym_map_repeat1, - [6705] = 3, - ACTIONS(514), 1, - sym_identifier, - ACTIONS(533), 1, - anon_sym_RBRACE, - STATE(170), 1, - aux_sym_map_repeat1, - [6715] = 3, - ACTIONS(499), 1, - sym_identifier, - ACTIONS(535), 1, anon_sym_GT, - STATE(161), 1, + STATE(162), 1, aux_sym_function_repeat1, - [6725] = 3, - ACTIONS(499), 1, + [6940] = 3, + ACTIONS(518), 1, + sym_identifier, + ACTIONS(528), 1, + anon_sym_GT, + STATE(162), 1, + aux_sym_function_repeat1, + [6950] = 3, + ACTIONS(530), 1, + sym_identifier, + ACTIONS(532), 1, + anon_sym_RBRACE, + STATE(169), 1, + aux_sym_map_repeat1, + [6960] = 3, + ACTIONS(534), 1, sym_identifier, ACTIONS(537), 1, - anon_sym_GT, - STATE(158), 1, - aux_sym_function_repeat1, - [6735] = 3, - ACTIONS(514), 1, + anon_sym_RBRACE, + STATE(169), 1, + aux_sym_map_repeat1, + [6970] = 3, + ACTIONS(530), 1, sym_identifier, ACTIONS(539), 1, anon_sym_RBRACE, - STATE(171), 1, + STATE(176), 1, aux_sym_map_repeat1, - [6745] = 2, - ACTIONS(15), 1, - anon_sym_LBRACK, - STATE(157), 2, - sym_list, - aux_sym_insert_repeat1, - [6753] = 3, - ACTIONS(514), 1, + [6980] = 3, + ACTIONS(530), 1, sym_identifier, ACTIONS(541), 1, anon_sym_RBRACE, - STATE(165), 1, + STATE(168), 1, aux_sym_map_repeat1, - [6763] = 2, + [6990] = 3, + ACTIONS(530), 1, + sym_identifier, + ACTIONS(543), 1, + anon_sym_RBRACE, + STATE(169), 1, + aux_sym_map_repeat1, + [7000] = 2, + ACTIONS(15), 1, + anon_sym_LBRACK, + STATE(161), 2, + sym_list, + aux_sym_insert_repeat1, + [7008] = 3, + ACTIONS(518), 1, + sym_identifier, ACTIONS(545), 1, + anon_sym_GT, + STATE(177), 1, + aux_sym_function_repeat1, + [7018] = 3, + ACTIONS(518), 1, + sym_identifier, + ACTIONS(547), 1, + anon_sym_GT, + STATE(162), 1, + aux_sym_function_repeat1, + [7028] = 3, + ACTIONS(530), 1, + sym_identifier, + ACTIONS(549), 1, + anon_sym_RBRACE, + STATE(169), 1, + aux_sym_map_repeat1, + [7038] = 3, + ACTIONS(518), 1, + sym_identifier, + ACTIONS(551), 1, + anon_sym_GT, + STATE(162), 1, + aux_sym_function_repeat1, + [7048] = 3, + ACTIONS(530), 1, + sym_identifier, + ACTIONS(553), 1, + anon_sym_RBRACE, + STATE(172), 1, + aux_sym_map_repeat1, + [7058] = 2, + ACTIONS(15), 1, + anon_sym_LBRACK, + STATE(160), 2, + sym_list, + aux_sym_insert_repeat1, + [7066] = 3, + ACTIONS(518), 1, + sym_identifier, + ACTIONS(555), 1, + anon_sym_GT, + STATE(175), 1, + aux_sym_function_repeat1, + [7076] = 2, + ACTIONS(559), 1, anon_sym_COMMA, - ACTIONS(543), 2, + ACTIONS(557), 2, sym_identifier, anon_sym_GT, - [6771] = 2, - ACTIONS(422), 1, - anon_sym_RBRACE, - ACTIONS(547), 1, - anon_sym_where, - [6778] = 2, - ACTIONS(499), 1, + [7084] = 2, + ACTIONS(561), 1, + anon_sym_LT, + ACTIONS(563), 1, + anon_sym_LBRACE, + [7091] = 1, + ACTIONS(516), 2, sym_identifier, - STATE(168), 1, - aux_sym_function_repeat1, - [6785] = 2, - ACTIONS(499), 1, + anon_sym_GT, + [7096] = 2, + ACTIONS(518), 1, sym_identifier, STATE(166), 1, aux_sym_function_repeat1, - [6792] = 2, - ACTIONS(549), 1, - anon_sym_LT, - ACTIONS(551), 1, - anon_sym_LBRACE, - [6799] = 2, - ACTIONS(416), 1, - anon_sym_RBRACE, - ACTIONS(553), 1, - anon_sym_where, - [6806] = 2, - ACTIONS(555), 1, - anon_sym_LT, - ACTIONS(557), 1, - anon_sym_LBRACE, - [6813] = 2, - ACTIONS(559), 1, - anon_sym_LT, - ACTIONS(561), 1, - anon_sym_LBRACE, - [6820] = 2, - ACTIONS(499), 1, + [7103] = 2, + ACTIONS(518), 1, sym_identifier, - STATE(162), 1, + STATE(167), 1, aux_sym_function_repeat1, - [6827] = 1, - ACTIONS(508), 2, - sym_identifier, - anon_sym_GT, - [6832] = 1, - ACTIONS(563), 1, - anon_sym_RBRACE, - [6836] = 1, + [7110] = 2, ACTIONS(565), 1, - anon_sym_RBRACE, - [6840] = 1, + anon_sym_LT, ACTIONS(567), 1, - anon_sym_RBRACE, - [6844] = 1, - ACTIONS(569), 1, - anon_sym_EQ, - [6848] = 1, - ACTIONS(571), 1, anon_sym_LBRACE, - [6852] = 1, + [7117] = 2, + ACTIONS(430), 1, + anon_sym_RBRACE, + ACTIONS(569), 1, + anon_sym_where, + [7124] = 2, + ACTIONS(571), 1, + anon_sym_LT, ACTIONS(573), 1, + anon_sym_LBRACE, + [7131] = 2, + ACTIONS(518), 1, sym_identifier, - [6856] = 1, + STATE(164), 1, + aux_sym_function_repeat1, + [7138] = 2, + ACTIONS(424), 1, + anon_sym_RBRACE, ACTIONS(575), 1, - sym_identifier, - [6860] = 1, + anon_sym_where, + [7145] = 1, ACTIONS(577), 1, - anon_sym_from, - [6864] = 1, + anon_sym_in, + [7149] = 1, ACTIONS(579), 1, anon_sym_LBRACE, - [6868] = 1, + [7153] = 1, ACTIONS(581), 1, anon_sym_LBRACE, - [6872] = 1, + [7157] = 1, ACTIONS(583), 1, - anon_sym_LBRACE, - [6876] = 1, + anon_sym_from, + [7161] = 1, ACTIONS(585), 1, - anon_sym_LT, - [6880] = 1, + anon_sym_RBRACE, + [7165] = 1, ACTIONS(587), 1, anon_sym_RBRACE, - [6884] = 1, + [7169] = 1, ACTIONS(589), 1, - anon_sym_RBRACE, - [6888] = 1, - ACTIONS(591), 1, anon_sym_LBRACE, - [6892] = 1, + [7173] = 1, + ACTIONS(591), 1, + anon_sym_RBRACE, + [7177] = 1, ACTIONS(593), 1, anon_sym_RBRACE, - [6896] = 1, + [7181] = 1, ACTIONS(595), 1, - anon_sym_RBRACE, - [6900] = 1, + sym_identifier, + [7185] = 1, ACTIONS(597), 1, - anon_sym_from, - [6904] = 1, + sym_identifier, + [7189] = 1, ACTIONS(599), 1, - anon_sym_LBRACE, - [6908] = 1, + sym_identifier, + [7193] = 1, ACTIONS(601), 1, - sym_identifier, - [6912] = 1, + anon_sym_RBRACE, + [7197] = 1, ACTIONS(603), 1, - sym_identifier, - [6916] = 1, + anon_sym_LBRACE, + [7201] = 1, ACTIONS(605), 1, - anon_sym_LBRACE, - [6920] = 1, + anon_sym_LT, + [7205] = 1, ACTIONS(607), 1, - sym_identifier, - [6924] = 1, + anon_sym_RBRACE, + [7209] = 1, ACTIONS(609), 1, - anon_sym_LBRACE, - [6928] = 1, + anon_sym_RBRACE, + [7213] = 1, ACTIONS(611), 1, - ts_builtin_sym_end, - [6932] = 1, + anon_sym_LBRACE, + [7217] = 1, ACTIONS(613), 1, anon_sym_LBRACE, - [6936] = 1, + [7221] = 1, ACTIONS(615), 1, - sym_identifier, - [6940] = 1, + anon_sym_RBRACE, + [7225] = 1, ACTIONS(617), 1, - anon_sym_LBRACE, - [6944] = 1, + anon_sym_from, + [7229] = 1, ACTIONS(619), 1, anon_sym_LBRACE, - [6948] = 1, + [7233] = 1, ACTIONS(621), 1, anon_sym_RBRACE, - [6952] = 1, + [7237] = 1, ACTIONS(623), 1, - anon_sym_RBRACE, - [6956] = 1, + sym_identifier, + [7241] = 1, ACTIONS(625), 1, - anon_sym_RBRACE, - [6960] = 1, + anon_sym_LBRACE, + [7245] = 1, ACTIONS(627), 1, anon_sym_RBRACE, - [6964] = 1, + [7249] = 1, ACTIONS(629), 1, - anon_sym_RBRACE, - [6968] = 1, + anon_sym_LBRACE, + [7253] = 1, ACTIONS(631), 1, - anon_sym_LT, - [6972] = 1, - ACTIONS(633), 1, anon_sym_RBRACE, - [6976] = 1, + [7257] = 1, + ACTIONS(633), 1, + anon_sym_LBRACE, + [7261] = 1, ACTIONS(635), 1, + sym_identifier, + [7265] = 1, + ACTIONS(637), 1, + anon_sym_RBRACE, + [7269] = 1, + ACTIONS(639), 1, + anon_sym_RBRACE, + [7273] = 1, + ACTIONS(641), 1, + ts_builtin_sym_end, + [7277] = 1, + ACTIONS(643), 1, + sym_identifier, + [7281] = 1, + ACTIONS(645), 1, + anon_sym_EQ, + [7285] = 1, + ACTIONS(647), 1, + anon_sym_LBRACE, + [7289] = 1, + ACTIONS(649), 1, + anon_sym_RBRACE, + [7293] = 1, + ACTIONS(651), 1, + anon_sym_LT, + [7297] = 1, + ACTIONS(653), 1, + sym_identifier, + [7301] = 1, + ACTIONS(655), 1, anon_sym_LT, }; @@ -7826,520 +8107,536 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(3)] = 76, [SMALL_STATE(4)] = 152, [SMALL_STATE(5)] = 228, - [SMALL_STATE(6)] = 316, - [SMALL_STATE(7)] = 404, - [SMALL_STATE(8)] = 489, - [SMALL_STATE(9)] = 573, - [SMALL_STATE(10)] = 657, - [SMALL_STATE(11)] = 741, - [SMALL_STATE(12)] = 825, - [SMALL_STATE(13)] = 909, - [SMALL_STATE(14)] = 993, - [SMALL_STATE(15)] = 1077, - [SMALL_STATE(16)] = 1133, - [SMALL_STATE(17)] = 1217, - [SMALL_STATE(18)] = 1301, - [SMALL_STATE(19)] = 1385, - [SMALL_STATE(20)] = 1469, - [SMALL_STATE(21)] = 1553, - [SMALL_STATE(22)] = 1637, - [SMALL_STATE(23)] = 1717, - [SMALL_STATE(24)] = 1787, - [SMALL_STATE(25)] = 1841, - [SMALL_STATE(26)] = 1887, - [SMALL_STATE(27)] = 1957, - [SMALL_STATE(28)] = 2037, - [SMALL_STATE(29)] = 2117, - [SMALL_STATE(30)] = 2197, - [SMALL_STATE(31)] = 2277, - [SMALL_STATE(32)] = 2347, - [SMALL_STATE(33)] = 2388, - [SMALL_STATE(34)] = 2435, - [SMALL_STATE(35)] = 2476, - [SMALL_STATE(36)] = 2516, - [SMALL_STATE(37)] = 2556, - [SMALL_STATE(38)] = 2596, - [SMALL_STATE(39)] = 2636, - [SMALL_STATE(40)] = 2676, - [SMALL_STATE(41)] = 2716, - [SMALL_STATE(42)] = 2756, - [SMALL_STATE(43)] = 2796, - [SMALL_STATE(44)] = 2836, - [SMALL_STATE(45)] = 2876, - [SMALL_STATE(46)] = 2916, - [SMALL_STATE(47)] = 2956, - [SMALL_STATE(48)] = 2996, - [SMALL_STATE(49)] = 3047, - [SMALL_STATE(50)] = 3098, - [SMALL_STATE(51)] = 3139, - [SMALL_STATE(52)] = 3187, - [SMALL_STATE(53)] = 3231, - [SMALL_STATE(54)] = 3285, - [SMALL_STATE(55)] = 3338, - [SMALL_STATE(56)] = 3375, - [SMALL_STATE(57)] = 3428, - [SMALL_STATE(58)] = 3481, - [SMALL_STATE(59)] = 3534, - [SMALL_STATE(60)] = 3587, - [SMALL_STATE(61)] = 3640, - [SMALL_STATE(62)] = 3693, - [SMALL_STATE(63)] = 3746, - [SMALL_STATE(64)] = 3799, - [SMALL_STATE(65)] = 3852, - [SMALL_STATE(66)] = 3905, - [SMALL_STATE(67)] = 3958, - [SMALL_STATE(68)] = 4011, - [SMALL_STATE(69)] = 4064, - [SMALL_STATE(70)] = 4117, - [SMALL_STATE(71)] = 4154, - [SMALL_STATE(72)] = 4207, - [SMALL_STATE(73)] = 4260, - [SMALL_STATE(74)] = 4313, - [SMALL_STATE(75)] = 4366, - [SMALL_STATE(76)] = 4398, - [SMALL_STATE(77)] = 4447, - [SMALL_STATE(78)] = 4494, - [SMALL_STATE(79)] = 4541, - [SMALL_STATE(80)] = 4588, - [SMALL_STATE(81)] = 4635, - [SMALL_STATE(82)] = 4682, - [SMALL_STATE(83)] = 4729, - [SMALL_STATE(84)] = 4776, - [SMALL_STATE(85)] = 4823, - [SMALL_STATE(86)] = 4870, - [SMALL_STATE(87)] = 4917, - [SMALL_STATE(88)] = 4966, - [SMALL_STATE(89)] = 5013, - [SMALL_STATE(90)] = 5060, - [SMALL_STATE(91)] = 5086, - [SMALL_STATE(92)] = 5112, - [SMALL_STATE(93)] = 5139, - [SMALL_STATE(94)] = 5166, - [SMALL_STATE(95)] = 5190, - [SMALL_STATE(96)] = 5214, - [SMALL_STATE(97)] = 5238, - [SMALL_STATE(98)] = 5262, - [SMALL_STATE(99)] = 5286, - [SMALL_STATE(100)] = 5310, - [SMALL_STATE(101)] = 5334, - [SMALL_STATE(102)] = 5358, - [SMALL_STATE(103)] = 5382, - [SMALL_STATE(104)] = 5413, - [SMALL_STATE(105)] = 5442, - [SMALL_STATE(106)] = 5469, - [SMALL_STATE(107)] = 5501, - [SMALL_STATE(108)] = 5527, - [SMALL_STATE(109)] = 5559, - [SMALL_STATE(110)] = 5581, - [SMALL_STATE(111)] = 5602, - [SMALL_STATE(112)] = 5623, - [SMALL_STATE(113)] = 5644, - [SMALL_STATE(114)] = 5673, - [SMALL_STATE(115)] = 5694, - [SMALL_STATE(116)] = 5723, - [SMALL_STATE(117)] = 5752, - [SMALL_STATE(118)] = 5773, - [SMALL_STATE(119)] = 5794, - [SMALL_STATE(120)] = 5815, - [SMALL_STATE(121)] = 5844, - [SMALL_STATE(122)] = 5865, - [SMALL_STATE(123)] = 5886, - [SMALL_STATE(124)] = 5915, - [SMALL_STATE(125)] = 5936, - [SMALL_STATE(126)] = 5957, - [SMALL_STATE(127)] = 5978, - [SMALL_STATE(128)] = 5999, - [SMALL_STATE(129)] = 6020, - [SMALL_STATE(130)] = 6041, - [SMALL_STATE(131)] = 6061, - [SMALL_STATE(132)] = 6081, - [SMALL_STATE(133)] = 6101, - [SMALL_STATE(134)] = 6121, - [SMALL_STATE(135)] = 6141, - [SMALL_STATE(136)] = 6161, - [SMALL_STATE(137)] = 6181, - [SMALL_STATE(138)] = 6207, - [SMALL_STATE(139)] = 6227, - [SMALL_STATE(140)] = 6253, - [SMALL_STATE(141)] = 6273, - [SMALL_STATE(142)] = 6293, - [SMALL_STATE(143)] = 6313, - [SMALL_STATE(144)] = 6333, - [SMALL_STATE(145)] = 6353, - [SMALL_STATE(146)] = 6373, - [SMALL_STATE(147)] = 6393, - [SMALL_STATE(148)] = 6414, - [SMALL_STATE(149)] = 6435, - [SMALL_STATE(150)] = 6456, - [SMALL_STATE(151)] = 6477, - [SMALL_STATE(152)] = 6495, - [SMALL_STATE(153)] = 6512, - [SMALL_STATE(154)] = 6528, - [SMALL_STATE(155)] = 6544, - [SMALL_STATE(156)] = 6555, - [SMALL_STATE(157)] = 6566, - [SMALL_STATE(158)] = 6577, - [SMALL_STATE(159)] = 6587, - [SMALL_STATE(160)] = 6595, - [SMALL_STATE(161)] = 6605, - [SMALL_STATE(162)] = 6615, - [SMALL_STATE(163)] = 6625, - [SMALL_STATE(164)] = 6635, - [SMALL_STATE(165)] = 6645, - [SMALL_STATE(166)] = 6655, - [SMALL_STATE(167)] = 6665, - [SMALL_STATE(168)] = 6675, - [SMALL_STATE(169)] = 6685, - [SMALL_STATE(170)] = 6695, - [SMALL_STATE(171)] = 6705, - [SMALL_STATE(172)] = 6715, - [SMALL_STATE(173)] = 6725, - [SMALL_STATE(174)] = 6735, - [SMALL_STATE(175)] = 6745, - [SMALL_STATE(176)] = 6753, - [SMALL_STATE(177)] = 6763, - [SMALL_STATE(178)] = 6771, - [SMALL_STATE(179)] = 6778, - [SMALL_STATE(180)] = 6785, - [SMALL_STATE(181)] = 6792, - [SMALL_STATE(182)] = 6799, - [SMALL_STATE(183)] = 6806, - [SMALL_STATE(184)] = 6813, - [SMALL_STATE(185)] = 6820, - [SMALL_STATE(186)] = 6827, - [SMALL_STATE(187)] = 6832, - [SMALL_STATE(188)] = 6836, - [SMALL_STATE(189)] = 6840, - [SMALL_STATE(190)] = 6844, - [SMALL_STATE(191)] = 6848, - [SMALL_STATE(192)] = 6852, - [SMALL_STATE(193)] = 6856, - [SMALL_STATE(194)] = 6860, - [SMALL_STATE(195)] = 6864, - [SMALL_STATE(196)] = 6868, - [SMALL_STATE(197)] = 6872, - [SMALL_STATE(198)] = 6876, - [SMALL_STATE(199)] = 6880, - [SMALL_STATE(200)] = 6884, - [SMALL_STATE(201)] = 6888, - [SMALL_STATE(202)] = 6892, - [SMALL_STATE(203)] = 6896, - [SMALL_STATE(204)] = 6900, - [SMALL_STATE(205)] = 6904, - [SMALL_STATE(206)] = 6908, - [SMALL_STATE(207)] = 6912, - [SMALL_STATE(208)] = 6916, - [SMALL_STATE(209)] = 6920, - [SMALL_STATE(210)] = 6924, - [SMALL_STATE(211)] = 6928, - [SMALL_STATE(212)] = 6932, - [SMALL_STATE(213)] = 6936, - [SMALL_STATE(214)] = 6940, - [SMALL_STATE(215)] = 6944, - [SMALL_STATE(216)] = 6948, - [SMALL_STATE(217)] = 6952, - [SMALL_STATE(218)] = 6956, - [SMALL_STATE(219)] = 6960, - [SMALL_STATE(220)] = 6964, - [SMALL_STATE(221)] = 6968, - [SMALL_STATE(222)] = 6972, - [SMALL_STATE(223)] = 6976, + [SMALL_STATE(6)] = 320, + [SMALL_STATE(7)] = 412, + [SMALL_STATE(8)] = 501, + [SMALL_STATE(9)] = 589, + [SMALL_STATE(10)] = 647, + [SMALL_STATE(11)] = 735, + [SMALL_STATE(12)] = 823, + [SMALL_STATE(13)] = 911, + [SMALL_STATE(14)] = 999, + [SMALL_STATE(15)] = 1087, + [SMALL_STATE(16)] = 1175, + [SMALL_STATE(17)] = 1263, + [SMALL_STATE(18)] = 1351, + [SMALL_STATE(19)] = 1439, + [SMALL_STATE(20)] = 1527, + [SMALL_STATE(21)] = 1615, + [SMALL_STATE(22)] = 1703, + [SMALL_STATE(23)] = 1791, + [SMALL_STATE(24)] = 1875, + [SMALL_STATE(25)] = 1959, + [SMALL_STATE(26)] = 2043, + [SMALL_STATE(27)] = 2127, + [SMALL_STATE(28)] = 2211, + [SMALL_STATE(29)] = 2258, + [SMALL_STATE(30)] = 2313, + [SMALL_STATE(31)] = 2383, + [SMALL_STATE(32)] = 2425, + [SMALL_STATE(33)] = 2473, + [SMALL_STATE(34)] = 2515, + [SMALL_STATE(35)] = 2585, + [SMALL_STATE(36)] = 2655, + [SMALL_STATE(37)] = 2696, + [SMALL_STATE(38)] = 2737, + [SMALL_STATE(39)] = 2778, + [SMALL_STATE(40)] = 2819, + [SMALL_STATE(41)] = 2860, + [SMALL_STATE(42)] = 2901, + [SMALL_STATE(43)] = 2942, + [SMALL_STATE(44)] = 2983, + [SMALL_STATE(45)] = 3024, + [SMALL_STATE(46)] = 3065, + [SMALL_STATE(47)] = 3106, + [SMALL_STATE(48)] = 3147, + [SMALL_STATE(49)] = 3188, + [SMALL_STATE(50)] = 3240, + [SMALL_STATE(51)] = 3292, + [SMALL_STATE(52)] = 3334, + [SMALL_STATE(53)] = 3382, + [SMALL_STATE(54)] = 3426, + [SMALL_STATE(55)] = 3464, + [SMALL_STATE(56)] = 3518, + [SMALL_STATE(57)] = 3556, + [SMALL_STATE(58)] = 3609, + [SMALL_STATE(59)] = 3662, + [SMALL_STATE(60)] = 3715, + [SMALL_STATE(61)] = 3768, + [SMALL_STATE(62)] = 3821, + [SMALL_STATE(63)] = 3874, + [SMALL_STATE(64)] = 3927, + [SMALL_STATE(65)] = 3980, + [SMALL_STATE(66)] = 4033, + [SMALL_STATE(67)] = 4086, + [SMALL_STATE(68)] = 4139, + [SMALL_STATE(69)] = 4192, + [SMALL_STATE(70)] = 4225, + [SMALL_STATE(71)] = 4278, + [SMALL_STATE(72)] = 4331, + [SMALL_STATE(73)] = 4384, + [SMALL_STATE(74)] = 4437, + [SMALL_STATE(75)] = 4490, + [SMALL_STATE(76)] = 4543, + [SMALL_STATE(77)] = 4596, + [SMALL_STATE(78)] = 4645, + [SMALL_STATE(79)] = 4692, + [SMALL_STATE(80)] = 4739, + [SMALL_STATE(81)] = 4786, + [SMALL_STATE(82)] = 4833, + [SMALL_STATE(83)] = 4880, + [SMALL_STATE(84)] = 4927, + [SMALL_STATE(85)] = 4974, + [SMALL_STATE(86)] = 5021, + [SMALL_STATE(87)] = 5070, + [SMALL_STATE(88)] = 5117, + [SMALL_STATE(89)] = 5144, + [SMALL_STATE(90)] = 5191, + [SMALL_STATE(91)] = 5238, + [SMALL_STATE(92)] = 5285, + [SMALL_STATE(93)] = 5332, + [SMALL_STATE(94)] = 5359, + [SMALL_STATE(95)] = 5387, + [SMALL_STATE(96)] = 5415, + [SMALL_STATE(97)] = 5440, + [SMALL_STATE(98)] = 5465, + [SMALL_STATE(99)] = 5490, + [SMALL_STATE(100)] = 5515, + [SMALL_STATE(101)] = 5540, + [SMALL_STATE(102)] = 5565, + [SMALL_STATE(103)] = 5590, + [SMALL_STATE(104)] = 5615, + [SMALL_STATE(105)] = 5640, + [SMALL_STATE(106)] = 5665, + [SMALL_STATE(107)] = 5688, + [SMALL_STATE(108)] = 5717, + [SMALL_STATE(109)] = 5744, + [SMALL_STATE(110)] = 5775, + [SMALL_STATE(111)] = 5807, + [SMALL_STATE(112)] = 5839, + [SMALL_STATE(113)] = 5865, + [SMALL_STATE(114)] = 5886, + [SMALL_STATE(115)] = 5907, + [SMALL_STATE(116)] = 5936, + [SMALL_STATE(117)] = 5965, + [SMALL_STATE(118)] = 5994, + [SMALL_STATE(119)] = 6015, + [SMALL_STATE(120)] = 6036, + [SMALL_STATE(121)] = 6065, + [SMALL_STATE(122)] = 6086, + [SMALL_STATE(123)] = 6107, + [SMALL_STATE(124)] = 6136, + [SMALL_STATE(125)] = 6157, + [SMALL_STATE(126)] = 6178, + [SMALL_STATE(127)] = 6199, + [SMALL_STATE(128)] = 6220, + [SMALL_STATE(129)] = 6249, + [SMALL_STATE(130)] = 6270, + [SMALL_STATE(131)] = 6291, + [SMALL_STATE(132)] = 6312, + [SMALL_STATE(133)] = 6333, + [SMALL_STATE(134)] = 6354, + [SMALL_STATE(135)] = 6374, + [SMALL_STATE(136)] = 6394, + [SMALL_STATE(137)] = 6420, + [SMALL_STATE(138)] = 6440, + [SMALL_STATE(139)] = 6460, + [SMALL_STATE(140)] = 6480, + [SMALL_STATE(141)] = 6500, + [SMALL_STATE(142)] = 6520, + [SMALL_STATE(143)] = 6540, + [SMALL_STATE(144)] = 6566, + [SMALL_STATE(145)] = 6586, + [SMALL_STATE(146)] = 6606, + [SMALL_STATE(147)] = 6626, + [SMALL_STATE(148)] = 6646, + [SMALL_STATE(149)] = 6666, + [SMALL_STATE(150)] = 6686, + [SMALL_STATE(151)] = 6706, + [SMALL_STATE(152)] = 6727, + [SMALL_STATE(153)] = 6748, + [SMALL_STATE(154)] = 6769, + [SMALL_STATE(155)] = 6790, + [SMALL_STATE(156)] = 6808, + [SMALL_STATE(157)] = 6825, + [SMALL_STATE(158)] = 6841, + [SMALL_STATE(159)] = 6857, + [SMALL_STATE(160)] = 6868, + [SMALL_STATE(161)] = 6879, + [SMALL_STATE(162)] = 6890, + [SMALL_STATE(163)] = 6900, + [SMALL_STATE(164)] = 6910, + [SMALL_STATE(165)] = 6920, + [SMALL_STATE(166)] = 6930, + [SMALL_STATE(167)] = 6940, + [SMALL_STATE(168)] = 6950, + [SMALL_STATE(169)] = 6960, + [SMALL_STATE(170)] = 6970, + [SMALL_STATE(171)] = 6980, + [SMALL_STATE(172)] = 6990, + [SMALL_STATE(173)] = 7000, + [SMALL_STATE(174)] = 7008, + [SMALL_STATE(175)] = 7018, + [SMALL_STATE(176)] = 7028, + [SMALL_STATE(177)] = 7038, + [SMALL_STATE(178)] = 7048, + [SMALL_STATE(179)] = 7058, + [SMALL_STATE(180)] = 7066, + [SMALL_STATE(181)] = 7076, + [SMALL_STATE(182)] = 7084, + [SMALL_STATE(183)] = 7091, + [SMALL_STATE(184)] = 7096, + [SMALL_STATE(185)] = 7103, + [SMALL_STATE(186)] = 7110, + [SMALL_STATE(187)] = 7117, + [SMALL_STATE(188)] = 7124, + [SMALL_STATE(189)] = 7131, + [SMALL_STATE(190)] = 7138, + [SMALL_STATE(191)] = 7145, + [SMALL_STATE(192)] = 7149, + [SMALL_STATE(193)] = 7153, + [SMALL_STATE(194)] = 7157, + [SMALL_STATE(195)] = 7161, + [SMALL_STATE(196)] = 7165, + [SMALL_STATE(197)] = 7169, + [SMALL_STATE(198)] = 7173, + [SMALL_STATE(199)] = 7177, + [SMALL_STATE(200)] = 7181, + [SMALL_STATE(201)] = 7185, + [SMALL_STATE(202)] = 7189, + [SMALL_STATE(203)] = 7193, + [SMALL_STATE(204)] = 7197, + [SMALL_STATE(205)] = 7201, + [SMALL_STATE(206)] = 7205, + [SMALL_STATE(207)] = 7209, + [SMALL_STATE(208)] = 7213, + [SMALL_STATE(209)] = 7217, + [SMALL_STATE(210)] = 7221, + [SMALL_STATE(211)] = 7225, + [SMALL_STATE(212)] = 7229, + [SMALL_STATE(213)] = 7233, + [SMALL_STATE(214)] = 7237, + [SMALL_STATE(215)] = 7241, + [SMALL_STATE(216)] = 7245, + [SMALL_STATE(217)] = 7249, + [SMALL_STATE(218)] = 7253, + [SMALL_STATE(219)] = 7257, + [SMALL_STATE(220)] = 7261, + [SMALL_STATE(221)] = 7265, + [SMALL_STATE(222)] = 7269, + [SMALL_STATE(223)] = 7273, + [SMALL_STATE(224)] = 7277, + [SMALL_STATE(225)] = 7281, + [SMALL_STATE(226)] = 7285, + [SMALL_STATE(227)] = 7289, + [SMALL_STATE(228)] = 7293, + [SMALL_STATE(229)] = 7297, + [SMALL_STATE(230)] = 7301, }; 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(33), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(198), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(159), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(119), - [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(221), - [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), - [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), - [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), - [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(33), - [62] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(102), - [65] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(3), - [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(47), - [71] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(47), - [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(46), - [77] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(56), - [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(181), - [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(174), - [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(198), - [89] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(86), - [92] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(85), - [95] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(192), - [98] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(159), - [101] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(196), - [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), - [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(33), - [111] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(102), - [114] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(3), - [117] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(47), - [120] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(47), - [123] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(46), - [126] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(56), - [129] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(181), - [132] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(174), - [135] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(198), - [138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(86), - [141] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(85), - [144] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(192), - [147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(159), - [150] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(196), - [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), - [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), - [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), - [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), - [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), - [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), - [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [179] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), - [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [183] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [199] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), - [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), - [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), - [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), - [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), - [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(205), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(200), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228), + [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156), + [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), + [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(32), + [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(101), + [67] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(3), + [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(40), + [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(40), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(48), + [79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(70), + [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(188), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(171), + [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(205), + [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(89), + [94] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(80), + [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(201), + [100] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(200), + [103] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(179), + [106] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(209), + [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [111] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), + [113] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(32), + [116] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(101), + [119] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(3), + [122] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(40), + [125] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(40), + [128] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(48), + [131] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(70), + [134] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(188), + [137] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(171), + [140] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(205), + [143] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(89), + [146] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(80), + [149] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(201), + [152] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(200), + [155] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(179), + [158] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(209), + [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107), + [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220), + [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173), + [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [183] = {.entry = {.count = 1, .reusable = false}}, SHIFT(158), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [187] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [195] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), + [197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), + [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), - [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [249] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), - [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), - [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [265] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), - [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), - [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 1), - [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 1), - [281] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(45), - [284] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(3), - [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [289] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(47), - [292] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(47), - [295] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(46), - [298] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(56), - [301] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(181), - [304] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(174), - [307] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(198), - [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [318] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [336] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(45), - [339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(3), - [342] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(47), - [345] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(47), - [348] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(46), - [351] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(56), - [354] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(181), - [357] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(174), - [360] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), - [362] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(198), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), - [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [385] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(79), - [388] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), - [390] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), - [392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [394] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), - [396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [398] = {.entry = {.count = 1, .reusable = false}}, SHIFT(143), - [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [402] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), - [404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [406] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223), - [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 5), - [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 5), - [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 5), - [414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 5), - [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), - [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), - [420] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), - [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), - [424] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), - [426] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), - [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 4), - [430] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 4), - [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 4), - [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 4), - [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 3), - [442] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 3), - [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [249] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [265] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), + [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), + [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), + [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 1), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 1), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [291] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [295] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), + [297] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(43), + [300] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(3), + [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [305] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(40), + [308] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(40), + [311] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(48), + [314] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(70), + [317] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(188), + [320] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(171), + [323] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(205), + [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [328] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [344] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(43), + [347] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(3), + [350] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(40), + [353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(40), + [356] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(48), + [359] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(70), + [362] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(188), + [365] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(171), + [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), + [370] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(205), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [379] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(78), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129), + [398] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [402] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), + [404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [406] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), + [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [410] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [414] = {.entry = {.count = 1, .reusable = false}}, SHIFT(230), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 5), + [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 5), + [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 5), + [422] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 5), + [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), + [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [428] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), + [432] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), + [434] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 3), + [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 3), + [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 7), + [442] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 7), + [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 4), + [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 4), [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 5), [450] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 5), [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 1), [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 1), - [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), - [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), - [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 1), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 1), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [490] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_repeat1, 2), SHIFT_REPEAT(56), - [493] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_insert_repeat1, 2), - [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), - [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), - [503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), - [505] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(177), - [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), - [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), - [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [528] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(190), - [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [611] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 4), + [462] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 4), + [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [468] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), + [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 1), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 1), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [500] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [504] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_repeat1, 2), SHIFT_REPEAT(70), + [507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_insert_repeat1, 2), + [509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [513] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(181), + [516] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), + [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [534] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(225), + [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [641] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), }; #ifdef __cplusplus