diff --git a/grammar.js b/grammar.js index 2059153..d30079c 100644 --- a/grammar.js +++ b/grammar.js @@ -187,7 +187,9 @@ module.exports = grammar({ 'assert_equal', 'output', 'read', - 'write', + 'random', + 'random_integer', + 'help', ), select: $ => prec.right(seq( diff --git a/src/grammar.json b/src/grammar.json index f32c0f4..8c29777 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -768,7 +768,15 @@ }, { "type": "STRING", - "value": "write" + "value": "random" + }, + { + "type": "STRING", + "value": "random_integer" + }, + { + "type": "STRING", + "value": "help" } ] }, diff --git a/src/node-types.json b/src/node-types.json index 8b895fd..2e43e1e 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -581,6 +581,10 @@ "type": "function", "named": false }, + { + "type": "help", + "named": false + }, { "type": "identifier", "named": true @@ -609,6 +613,14 @@ "type": "output", "named": false }, + { + "type": "random", + "named": false + }, + { + "type": "random_integer", + "named": false + }, { "type": "read", "named": false @@ -637,10 +649,6 @@ "type": "while", "named": false }, - { - "type": "write", - "named": false - }, { "type": "{", "named": false diff --git a/src/parser.c b/src/parser.c index c5bfb1a..c897749 100644 --- a/src/parser.c +++ b/src/parser.c @@ -8,9 +8,9 @@ #define LANGUAGE_VERSION 14 #define STATE_COUNT 219 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 84 +#define SYMBOL_COUNT 86 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 49 +#define TOKEN_COUNT 51 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 7 @@ -59,47 +59,49 @@ enum { anon_sym_assert_equal = 40, anon_sym_output = 41, anon_sym_read = 42, - anon_sym_write = 43, - anon_sym_select = 44, - anon_sym_from = 45, - anon_sym_where = 46, - anon_sym_insert = 47, - anon_sym_into = 48, - sym_root = 49, - sym_item = 50, - sym_statement = 51, - sym_comment = 52, - sym_expression = 53, - sym__expression_kind = 54, - sym_value = 55, - sym_boolean = 56, - sym_list = 57, - sym_function = 58, - sym_table = 59, - sym_map = 60, - sym_math = 61, - sym_math_operator = 62, - sym_logic = 63, - sym_logic_operator = 64, - sym_assignment = 65, - sym_assignment_operator = 66, - sym_if_else = 67, - sym_if = 68, - sym_else_if = 69, - sym_else = 70, - sym_function_call = 71, - sym_while = 72, - sym_tool = 73, - sym_select = 74, - sym_insert = 75, - aux_sym_root_repeat1 = 76, - aux_sym_item_repeat1 = 77, - aux_sym_list_repeat1 = 78, - aux_sym_function_repeat1 = 79, - aux_sym_table_repeat1 = 80, - aux_sym_map_repeat1 = 81, - aux_sym_if_else_repeat1 = 82, - aux_sym_insert_repeat1 = 83, + anon_sym_random = 43, + anon_sym_random_integer = 44, + anon_sym_help = 45, + anon_sym_select = 46, + anon_sym_from = 47, + anon_sym_where = 48, + anon_sym_insert = 49, + anon_sym_into = 50, + sym_root = 51, + sym_item = 52, + sym_statement = 53, + sym_comment = 54, + sym_expression = 55, + sym__expression_kind = 56, + sym_value = 57, + sym_boolean = 58, + sym_list = 59, + sym_function = 60, + sym_table = 61, + sym_map = 62, + sym_math = 63, + sym_math_operator = 64, + sym_logic = 65, + sym_logic_operator = 66, + sym_assignment = 67, + sym_assignment_operator = 68, + sym_if_else = 69, + sym_if = 70, + sym_else_if = 71, + sym_else = 72, + sym_function_call = 73, + sym_while = 74, + sym_tool = 75, + sym_select = 76, + sym_insert = 77, + aux_sym_root_repeat1 = 78, + aux_sym_item_repeat1 = 79, + aux_sym_list_repeat1 = 80, + aux_sym_function_repeat1 = 81, + aux_sym_table_repeat1 = 82, + aux_sym_map_repeat1 = 83, + aux_sym_if_else_repeat1 = 84, + aux_sym_insert_repeat1 = 85, }; static const char * const ts_symbol_names[] = { @@ -146,7 +148,9 @@ static const char * const ts_symbol_names[] = { [anon_sym_assert_equal] = "assert_equal", [anon_sym_output] = "output", [anon_sym_read] = "read", - [anon_sym_write] = "write", + [anon_sym_random] = "random", + [anon_sym_random_integer] = "random_integer", + [anon_sym_help] = "help", [anon_sym_select] = "select", [anon_sym_from] = "from", [anon_sym_where] = "where", @@ -233,7 +237,9 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_assert_equal] = anon_sym_assert_equal, [anon_sym_output] = anon_sym_output, [anon_sym_read] = anon_sym_read, - [anon_sym_write] = anon_sym_write, + [anon_sym_random] = anon_sym_random, + [anon_sym_random_integer] = anon_sym_random_integer, + [anon_sym_help] = anon_sym_help, [anon_sym_select] = anon_sym_select, [anon_sym_from] = anon_sym_from, [anon_sym_where] = anon_sym_where, @@ -449,7 +455,15 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_write] = { + [anon_sym_random] = { + .visible = true, + .named = false, + }, + [anon_sym_random_integer] = { + .visible = true, + .named = false, + }, + [anon_sym_help] = { .visible = true, .named = false, }, @@ -652,7 +666,7 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [25] = 25, [26] = 26, [27] = 27, - [28] = 23, + [28] = 25, [29] = 29, [30] = 30, [31] = 31, @@ -671,9 +685,9 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [44] = 44, [45] = 45, [46] = 46, - [47] = 47, - [48] = 47, - [49] = 47, + [47] = 46, + [48] = 46, + [49] = 49, [50] = 50, [51] = 51, [52] = 52, @@ -730,40 +744,40 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [103] = 21, [104] = 20, [105] = 42, - [106] = 39, + [106] = 38, [107] = 107, [108] = 108, [109] = 109, - [110] = 30, - [111] = 44, + [110] = 39, + [111] = 43, [112] = 31, [113] = 113, [114] = 32, - [115] = 38, - [116] = 33, + [115] = 37, + [116] = 30, [117] = 40, - [118] = 43, - [119] = 34, + [118] = 44, + [119] = 33, [120] = 41, [121] = 29, - [122] = 35, - [123] = 37, - [124] = 36, + [122] = 34, + [123] = 36, + [124] = 35, [125] = 22, [126] = 22, - [127] = 35, + [127] = 34, [128] = 41, [129] = 129, - [130] = 34, - [131] = 36, - [132] = 37, - [133] = 33, + [130] = 33, + [131] = 35, + [132] = 36, + [133] = 30, [134] = 32, - [135] = 30, + [135] = 39, [136] = 129, - [137] = 39, + [137] = 38, [138] = 42, - [139] = 38, + [139] = 37, [140] = 31, [141] = 29, [142] = 40, @@ -1223,249 +1237,290 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { case 0: if (lookahead == 'a') ADVANCE(1); if (lookahead == 'f') ADVANCE(2); - if (lookahead == 'i') ADVANCE(3); - if (lookahead == 'o') ADVANCE(4); - if (lookahead == 'r') ADVANCE(5); - if (lookahead == 's') ADVANCE(6); - if (lookahead == 't') ADVANCE(7); - if (lookahead == 'w') ADVANCE(8); + if (lookahead == 'h') ADVANCE(3); + if (lookahead == 'i') ADVANCE(4); + if (lookahead == 'o') ADVANCE(5); + if (lookahead == 'r') ADVANCE(6); + if (lookahead == 's') ADVANCE(7); + if (lookahead == 't') ADVANCE(8); + if (lookahead == 'w') ADVANCE(9); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 's') ADVANCE(9); + if (lookahead == 's') ADVANCE(10); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(10); - if (lookahead == 'o') ADVANCE(11); - if (lookahead == 'r') ADVANCE(12); - if (lookahead == 'u') ADVANCE(13); + if (lookahead == 'a') ADVANCE(11); + if (lookahead == 'o') ADVANCE(12); + if (lookahead == 'r') ADVANCE(13); + if (lookahead == 'u') ADVANCE(14); END_STATE(); case 3: - if (lookahead == 'f') ADVANCE(14); - if (lookahead == 'n') ADVANCE(15); + if (lookahead == 'e') ADVANCE(15); END_STATE(); case 4: - if (lookahead == 'u') ADVANCE(16); + if (lookahead == 'f') ADVANCE(16); + if (lookahead == 'n') ADVANCE(17); END_STATE(); case 5: - if (lookahead == 'e') ADVANCE(17); + if (lookahead == 'u') ADVANCE(18); END_STATE(); case 6: - if (lookahead == 'e') ADVANCE(18); + if (lookahead == 'a') ADVANCE(19); + if (lookahead == 'e') ADVANCE(20); END_STATE(); case 7: - if (lookahead == 'a') ADVANCE(19); - if (lookahead == 'r') ADVANCE(20); + if (lookahead == 'e') ADVANCE(21); END_STATE(); case 8: - if (lookahead == 'h') ADVANCE(21); - if (lookahead == 'r') ADVANCE(22); + if (lookahead == 'a') ADVANCE(22); + if (lookahead == 'r') ADVANCE(23); END_STATE(); case 9: - if (lookahead == 's') ADVANCE(23); + if (lookahead == 'h') ADVANCE(24); END_STATE(); case 10: - if (lookahead == 'l') ADVANCE(24); + if (lookahead == 's') ADVANCE(25); END_STATE(); case 11: - if (lookahead == 'r') ADVANCE(25); + if (lookahead == 'l') ADVANCE(26); END_STATE(); case 12: - if (lookahead == 'o') ADVANCE(26); + if (lookahead == 'r') ADVANCE(27); END_STATE(); case 13: - if (lookahead == 'n') ADVANCE(27); + if (lookahead == 'o') ADVANCE(28); END_STATE(); case 14: - ACCEPT_TOKEN(anon_sym_if); + if (lookahead == 'n') ADVANCE(29); END_STATE(); case 15: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == 's') ADVANCE(28); - if (lookahead == 't') ADVANCE(29); + if (lookahead == 'l') ADVANCE(30); END_STATE(); case 16: - if (lookahead == 't') ADVANCE(30); + ACCEPT_TOKEN(anon_sym_if); END_STATE(); case 17: - if (lookahead == 'a') ADVANCE(31); + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == 's') ADVANCE(31); + if (lookahead == 't') ADVANCE(32); END_STATE(); case 18: - if (lookahead == 'l') ADVANCE(32); + if (lookahead == 't') ADVANCE(33); END_STATE(); case 19: - if (lookahead == 'b') ADVANCE(33); + if (lookahead == 'n') ADVANCE(34); END_STATE(); case 20: - if (lookahead == 'u') ADVANCE(34); + if (lookahead == 'a') ADVANCE(35); END_STATE(); case 21: - if (lookahead == 'e') ADVANCE(35); - if (lookahead == 'i') ADVANCE(36); + if (lookahead == 'l') ADVANCE(36); END_STATE(); case 22: - if (lookahead == 'i') ADVANCE(37); + if (lookahead == 'b') ADVANCE(37); END_STATE(); case 23: - if (lookahead == 'e') ADVANCE(38); + if (lookahead == 'u') ADVANCE(38); END_STATE(); case 24: - if (lookahead == 's') ADVANCE(39); + if (lookahead == 'e') ADVANCE(39); + if (lookahead == 'i') ADVANCE(40); END_STATE(); case 25: - ACCEPT_TOKEN(anon_sym_for); + if (lookahead == 'e') ADVANCE(41); END_STATE(); case 26: - if (lookahead == 'm') ADVANCE(40); + if (lookahead == 's') ADVANCE(42); END_STATE(); case 27: - if (lookahead == 'c') ADVANCE(41); + ACCEPT_TOKEN(anon_sym_for); END_STATE(); case 28: - if (lookahead == 'e') ADVANCE(42); + if (lookahead == 'm') ADVANCE(43); END_STATE(); case 29: - if (lookahead == 'o') ADVANCE(43); + if (lookahead == 'c') ADVANCE(44); END_STATE(); case 30: - if (lookahead == 'p') ADVANCE(44); + if (lookahead == 'p') ADVANCE(45); END_STATE(); case 31: - if (lookahead == 'd') ADVANCE(45); - END_STATE(); - case 32: if (lookahead == 'e') ADVANCE(46); END_STATE(); + case 32: + if (lookahead == 'o') ADVANCE(47); + END_STATE(); case 33: - if (lookahead == 'l') ADVANCE(47); + if (lookahead == 'p') ADVANCE(48); END_STATE(); case 34: - if (lookahead == 'e') ADVANCE(48); + if (lookahead == 'd') ADVANCE(49); END_STATE(); case 35: - if (lookahead == 'r') ADVANCE(49); + if (lookahead == 'd') ADVANCE(50); END_STATE(); case 36: - if (lookahead == 'l') ADVANCE(50); + if (lookahead == 'e') ADVANCE(51); END_STATE(); case 37: - if (lookahead == 't') ADVANCE(51); + if (lookahead == 'l') ADVANCE(52); END_STATE(); case 38: - if (lookahead == 'r') ADVANCE(52); - END_STATE(); - case 39: if (lookahead == 'e') ADVANCE(53); END_STATE(); + case 39: + if (lookahead == 'r') ADVANCE(54); + END_STATE(); case 40: - ACCEPT_TOKEN(anon_sym_from); + if (lookahead == 'l') ADVANCE(55); END_STATE(); case 41: - if (lookahead == 't') ADVANCE(54); + if (lookahead == 'r') ADVANCE(56); END_STATE(); case 42: - if (lookahead == 'r') ADVANCE(55); + if (lookahead == 'e') ADVANCE(57); END_STATE(); case 43: - ACCEPT_TOKEN(anon_sym_into); + ACCEPT_TOKEN(anon_sym_from); END_STATE(); case 44: - if (lookahead == 'u') ADVANCE(56); + if (lookahead == 't') ADVANCE(58); END_STATE(); case 45: - ACCEPT_TOKEN(anon_sym_read); + ACCEPT_TOKEN(anon_sym_help); END_STATE(); case 46: - if (lookahead == 'c') ADVANCE(57); + if (lookahead == 'r') ADVANCE(59); END_STATE(); case 47: - if (lookahead == 'e') ADVANCE(58); + ACCEPT_TOKEN(anon_sym_into); END_STATE(); case 48: - ACCEPT_TOKEN(anon_sym_true); + if (lookahead == 'u') ADVANCE(60); END_STATE(); case 49: - if (lookahead == 'e') ADVANCE(59); + if (lookahead == 'o') ADVANCE(61); END_STATE(); case 50: - if (lookahead == 'e') ADVANCE(60); + ACCEPT_TOKEN(anon_sym_read); END_STATE(); case 51: - if (lookahead == 'e') ADVANCE(61); + if (lookahead == 'c') ADVANCE(62); END_STATE(); case 52: - if (lookahead == 't') ADVANCE(62); + if (lookahead == 'e') ADVANCE(63); END_STATE(); case 53: - ACCEPT_TOKEN(anon_sym_false); + ACCEPT_TOKEN(anon_sym_true); END_STATE(); case 54: - if (lookahead == 'i') ADVANCE(63); + if (lookahead == 'e') ADVANCE(64); END_STATE(); case 55: - if (lookahead == 't') ADVANCE(64); + if (lookahead == 'e') ADVANCE(65); END_STATE(); case 56: - if (lookahead == 't') ADVANCE(65); - END_STATE(); - case 57: if (lookahead == 't') ADVANCE(66); END_STATE(); + case 57: + ACCEPT_TOKEN(anon_sym_false); + END_STATE(); case 58: - ACCEPT_TOKEN(anon_sym_table); + if (lookahead == 'i') ADVANCE(67); END_STATE(); case 59: - ACCEPT_TOKEN(anon_sym_where); + if (lookahead == 't') ADVANCE(68); END_STATE(); case 60: - ACCEPT_TOKEN(anon_sym_while); + if (lookahead == 't') ADVANCE(69); END_STATE(); case 61: - ACCEPT_TOKEN(anon_sym_write); + if (lookahead == 'm') ADVANCE(70); END_STATE(); case 62: - ACCEPT_TOKEN(anon_sym_assert); - if (lookahead == '_') ADVANCE(67); + if (lookahead == 't') ADVANCE(71); END_STATE(); case 63: - if (lookahead == 'o') ADVANCE(68); + ACCEPT_TOKEN(anon_sym_table); END_STATE(); case 64: - ACCEPT_TOKEN(anon_sym_insert); + ACCEPT_TOKEN(anon_sym_where); END_STATE(); case 65: - ACCEPT_TOKEN(anon_sym_output); + ACCEPT_TOKEN(anon_sym_while); END_STATE(); case 66: - ACCEPT_TOKEN(anon_sym_select); + ACCEPT_TOKEN(anon_sym_assert); + if (lookahead == '_') ADVANCE(72); END_STATE(); case 67: - if (lookahead == 'e') ADVANCE(69); + if (lookahead == 'o') ADVANCE(73); END_STATE(); case 68: - if (lookahead == 'n') ADVANCE(70); + ACCEPT_TOKEN(anon_sym_insert); END_STATE(); case 69: - if (lookahead == 'q') ADVANCE(71); + ACCEPT_TOKEN(anon_sym_output); END_STATE(); case 70: - ACCEPT_TOKEN(anon_sym_function); + ACCEPT_TOKEN(anon_sym_random); + if (lookahead == '_') ADVANCE(74); END_STATE(); case 71: - if (lookahead == 'u') ADVANCE(72); + ACCEPT_TOKEN(anon_sym_select); END_STATE(); case 72: - if (lookahead == 'a') ADVANCE(73); + if (lookahead == 'e') ADVANCE(75); END_STATE(); case 73: - if (lookahead == 'l') ADVANCE(74); + if (lookahead == 'n') ADVANCE(76); END_STATE(); case 74: + if (lookahead == 'i') ADVANCE(77); + END_STATE(); + case 75: + if (lookahead == 'q') ADVANCE(78); + END_STATE(); + case 76: + ACCEPT_TOKEN(anon_sym_function); + END_STATE(); + case 77: + if (lookahead == 'n') ADVANCE(79); + END_STATE(); + case 78: + if (lookahead == 'u') ADVANCE(80); + END_STATE(); + case 79: + if (lookahead == 't') ADVANCE(81); + END_STATE(); + case 80: + if (lookahead == 'a') ADVANCE(82); + END_STATE(); + case 81: + if (lookahead == 'e') ADVANCE(83); + END_STATE(); + case 82: + if (lookahead == 'l') ADVANCE(84); + END_STATE(); + case 83: + if (lookahead == 'g') ADVANCE(85); + END_STATE(); + case 84: ACCEPT_TOKEN(anon_sym_assert_equal); END_STATE(); + case 85: + if (lookahead == 'e') ADVANCE(86); + END_STATE(); + case 86: + if (lookahead == 'r') ADVANCE(87); + END_STATE(); + case 87: + ACCEPT_TOKEN(anon_sym_random_integer); + END_STATE(); default: return false; } @@ -1518,10 +1573,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [43] = {.lex_state = 13}, [44] = {.lex_state = 13}, [45] = {.lex_state = 13}, - [46] = {.lex_state = 13}, + [46] = {.lex_state = 14}, [47] = {.lex_state = 14}, [48] = {.lex_state = 14}, - [49] = {.lex_state = 14}, + [49] = {.lex_state = 13}, [50] = {.lex_state = 13}, [51] = {.lex_state = 14}, [52] = {.lex_state = 14}, @@ -1738,7 +1793,9 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_assert_equal] = ACTIONS(1), [anon_sym_output] = ACTIONS(1), [anon_sym_read] = ACTIONS(1), - [anon_sym_write] = ACTIONS(1), + [anon_sym_random] = ACTIONS(1), + [anon_sym_random_integer] = ACTIONS(1), + [anon_sym_help] = ACTIONS(1), [anon_sym_select] = ACTIONS(1), [anon_sym_from] = ACTIONS(1), [anon_sym_where] = ACTIONS(1), @@ -1750,20 +1807,20 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_item] = STATE(2), [sym_statement] = STATE(19), [sym_comment] = STATE(99), - [sym_expression] = STATE(43), - [sym__expression_kind] = STATE(34), - [sym_value] = STATE(34), - [sym_boolean] = STATE(33), - [sym_list] = STATE(33), - [sym_function] = STATE(33), - [sym_table] = STATE(33), - [sym_map] = STATE(33), - [sym_math] = STATE(34), - [sym_logic] = STATE(34), + [sym_expression] = STATE(44), + [sym__expression_kind] = STATE(33), + [sym_value] = STATE(33), + [sym_boolean] = STATE(30), + [sym_list] = STATE(30), + [sym_function] = STATE(30), + [sym_table] = STATE(30), + [sym_map] = STATE(30), + [sym_math] = STATE(33), + [sym_logic] = STATE(33), [sym_assignment] = STATE(99), [sym_if_else] = STATE(99), [sym_if] = STATE(72), - [sym_function_call] = STATE(34), + [sym_function_call] = STATE(33), [sym_while] = STATE(99), [sym_select] = STATE(99), [sym_insert] = STATE(99), @@ -1816,7 +1873,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_insert, ACTIONS(31), 1, ts_builtin_sym_end, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -1832,13 +1889,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(19), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -1878,7 +1935,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(74), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -1894,13 +1951,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(19), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -1938,7 +1995,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(118), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -1954,13 +2011,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -1998,7 +2055,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2013,13 +2070,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2057,7 +2114,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2072,13 +2129,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2116,7 +2173,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2131,13 +2188,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2167,7 +2224,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(123), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(52), 1, aux_sym_list_repeat1, @@ -2182,13 +2239,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_DASH, anon_sym_PIPE_PIPE, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2229,7 +2286,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2244,13 +2301,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2288,7 +2345,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2303,13 +2360,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2347,7 +2404,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2362,13 +2419,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2398,7 +2455,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(129), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(59), 1, aux_sym_list_repeat1, @@ -2413,13 +2470,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_DASH, anon_sym_PIPE_PIPE, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2452,7 +2509,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(131), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(69), 1, aux_sym_list_repeat1, @@ -2467,13 +2524,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_DASH, anon_sym_PIPE_PIPE, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2514,7 +2571,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2529,13 +2586,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2573,7 +2630,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2588,13 +2645,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2632,7 +2689,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2647,13 +2704,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2693,7 +2750,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_insert, ACTIONS(133), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2706,13 +2763,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2750,7 +2807,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -2765,13 +2822,13 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2785,20 +2842,20 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, [1339] = 8, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, STATE(4), 2, sym_statement, aux_sym_item_repeat1, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -2981,10 +3038,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_insert, STATE(72), 1, sym_if, - STATE(101), 1, - sym_statement, STATE(118), 1, sym_expression, + STATE(213), 1, + sym_statement, ACTIONS(163), 2, sym_float, sym_string, @@ -3011,62 +3068,6 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, [1607] = 20, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(157), 1, - sym_identifier, - ACTIONS(159), 1, - anon_sym_LPAREN, - ACTIONS(161), 1, - sym_integer, - ACTIONS(167), 1, - anon_sym_LBRACK, - ACTIONS(169), 1, - anon_sym_function, - ACTIONS(171), 1, - anon_sym_LBRACE, - ACTIONS(173), 1, - anon_sym_table, - ACTIONS(175), 1, - anon_sym_select, - ACTIONS(177), 1, - anon_sym_insert, - STATE(72), 1, - sym_if, - STATE(118), 1, - sym_expression, - STATE(189), 1, - sym_statement, - ACTIONS(163), 2, - sym_float, - sym_string, - ACTIONS(165), 2, - anon_sym_true, - anon_sym_false, - STATE(116), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(119), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(99), 6, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_select, - sym_insert, - [1683] = 20, ACTIONS(5), 1, aux_sym_comment_token1, ACTIONS(23), 1, @@ -3122,6 +3123,62 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, + [1683] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(159), 1, + anon_sym_LPAREN, + ACTIONS(161), 1, + sym_integer, + ACTIONS(167), 1, + anon_sym_LBRACK, + ACTIONS(169), 1, + anon_sym_function, + ACTIONS(171), 1, + anon_sym_LBRACE, + ACTIONS(173), 1, + anon_sym_table, + ACTIONS(175), 1, + anon_sym_select, + ACTIONS(177), 1, + anon_sym_insert, + STATE(72), 1, + sym_if, + STATE(101), 1, + sym_statement, + STATE(118), 1, + sym_expression, + ACTIONS(163), 2, + sym_float, + sym_string, + ACTIONS(165), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(119), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, [1759] = 20, ACTIONS(5), 1, aux_sym_comment_token1, @@ -3151,7 +3208,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if, STATE(118), 1, sym_expression, - STATE(213), 1, + STATE(189), 1, sym_statement, ACTIONS(163), 2, sym_float, @@ -3244,7 +3301,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(43), 1, + STATE(44), 1, sym_expression, STATE(72), 1, sym_if, @@ -3256,13 +3313,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, @@ -3914,10 +3971,145 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [2644] = 9, + [2644] = 14, + ACTIONS(159), 1, + anon_sym_LPAREN, + ACTIONS(161), 1, + sym_integer, + ACTIONS(167), 1, + anon_sym_LBRACK, + ACTIONS(169), 1, + anon_sym_function, + ACTIONS(171), 1, + anon_sym_LBRACE, + ACTIONS(173), 1, + anon_sym_table, + ACTIONS(251), 1, + sym_identifier, + STATE(61), 1, + sym_tool, + STATE(129), 1, + sym_expression, + ACTIONS(163), 2, + sym_float, + sym_string, + ACTIONS(165), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(143), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(253), 7, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_output, + anon_sym_read, + anon_sym_random, + anon_sym_random_integer, + anon_sym_help, + [2703] = 14, + ACTIONS(159), 1, + anon_sym_LPAREN, + ACTIONS(161), 1, + sym_integer, + ACTIONS(167), 1, + anon_sym_LBRACK, + ACTIONS(169), 1, + anon_sym_function, + ACTIONS(171), 1, + anon_sym_LBRACE, + ACTIONS(173), 1, + anon_sym_table, + ACTIONS(255), 1, + sym_identifier, + STATE(64), 1, + sym_tool, + STATE(129), 1, + sym_expression, + ACTIONS(163), 2, + sym_float, + sym_string, + ACTIONS(165), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(146), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(253), 7, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_output, + anon_sym_read, + anon_sym_random, + anon_sym_random_integer, + anon_sym_help, + [2762] = 14, + ACTIONS(159), 1, + anon_sym_LPAREN, + ACTIONS(161), 1, + sym_integer, + ACTIONS(167), 1, + anon_sym_LBRACK, + ACTIONS(169), 1, + anon_sym_function, + ACTIONS(171), 1, + anon_sym_LBRACE, + ACTIONS(173), 1, + anon_sym_table, + ACTIONS(257), 1, + sym_identifier, + STATE(56), 1, + sym_tool, + STATE(129), 1, + sym_expression, + ACTIONS(163), 2, + sym_float, + sym_string, + ACTIONS(165), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(145), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + ACTIONS(253), 7, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_output, + anon_sym_read, + anon_sym_random, + anon_sym_random_integer, + anon_sym_help, + [2821] = 9, ACTIONS(145), 1, anon_sym_DASH, - ACTIONS(255), 1, + ACTIONS(263), 1, anon_sym_COMMA, STATE(77), 1, sym_logic_operator, @@ -3938,14 +4130,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(251), 6, + ACTIONS(259), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(253), 7, + ACTIONS(261), 7, anon_sym_LPAREN, anon_sym_RPAREN, sym_float, @@ -3953,136 +4145,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [2692] = 14, - ACTIONS(159), 1, - anon_sym_LPAREN, - ACTIONS(161), 1, - sym_integer, - ACTIONS(167), 1, - anon_sym_LBRACK, - ACTIONS(169), 1, - anon_sym_function, - ACTIONS(171), 1, - anon_sym_LBRACE, - ACTIONS(173), 1, - anon_sym_table, - ACTIONS(257), 1, - sym_identifier, - STATE(61), 1, - sym_tool, - STATE(129), 1, - sym_expression, - ACTIONS(163), 2, - sym_float, - sym_string, - ACTIONS(165), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(259), 5, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_output, - anon_sym_read, - anon_sym_write, - STATE(116), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(143), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - [2749] = 14, - ACTIONS(159), 1, - anon_sym_LPAREN, - ACTIONS(161), 1, - sym_integer, - ACTIONS(167), 1, - anon_sym_LBRACK, - ACTIONS(169), 1, - anon_sym_function, - ACTIONS(171), 1, - anon_sym_LBRACE, - ACTIONS(173), 1, - anon_sym_table, - ACTIONS(261), 1, - sym_identifier, - STATE(64), 1, - sym_tool, - STATE(129), 1, - sym_expression, - ACTIONS(163), 2, - sym_float, - sym_string, - ACTIONS(165), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(259), 5, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_output, - anon_sym_read, - anon_sym_write, - STATE(116), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(146), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - [2806] = 14, - ACTIONS(159), 1, - anon_sym_LPAREN, - ACTIONS(161), 1, - sym_integer, - ACTIONS(167), 1, - anon_sym_LBRACK, - ACTIONS(169), 1, - anon_sym_function, - ACTIONS(171), 1, - anon_sym_LBRACE, - ACTIONS(173), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - STATE(56), 1, - sym_tool, - STATE(129), 1, - sym_expression, - ACTIONS(163), 2, - sym_float, - sym_string, - ACTIONS(165), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(259), 5, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_output, - anon_sym_read, - anon_sym_write, - STATE(116), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(145), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - [2863] = 8, + [2869] = 8, ACTIONS(145), 1, anon_sym_DASH, STATE(77), 1, @@ -4118,7 +4181,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - [2907] = 14, + [2913] = 14, ACTIONS(269), 1, sym_identifier, ACTIONS(272), 1, @@ -4133,7 +4196,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(295), 1, anon_sym_table, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4146,19 +4209,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(283), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [2961] = 14, + [2967] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4175,7 +4238,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(298), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4185,19 +4248,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3014] = 14, + [3020] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4224,19 +4287,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3067] = 14, + [3073] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4253,7 +4316,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(302), 1, anon_sym_RBRACK, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(66), 1, aux_sym_list_repeat1, @@ -4263,19 +4326,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3120] = 14, + [3126] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4302,19 +4365,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3173] = 14, + [3179] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4331,7 +4394,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(123), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(52), 1, aux_sym_list_repeat1, @@ -4341,19 +4404,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3226] = 14, + [3232] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4380,19 +4443,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3279] = 14, + [3285] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4419,19 +4482,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3332] = 14, + [3338] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4448,7 +4511,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(310), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4458,19 +4521,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3385] = 14, + [3391] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4487,7 +4550,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(312), 1, anon_sym_RBRACK, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4497,19 +4560,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3438] = 14, + [3444] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4526,7 +4589,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(129), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(59), 1, aux_sym_list_repeat1, @@ -4536,19 +4599,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3491] = 14, + [3497] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4575,19 +4638,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3544] = 14, + [3550] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4604,7 +4667,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(316), 1, anon_sym_RBRACK, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(67), 1, aux_sym_list_repeat1, @@ -4614,19 +4677,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3597] = 14, + [3603] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4643,7 +4706,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(131), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(69), 1, aux_sym_list_repeat1, @@ -4653,19 +4716,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3650] = 14, + [3656] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4682,7 +4745,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(318), 1, anon_sym_RBRACK, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(60), 1, aux_sym_list_repeat1, @@ -4692,19 +4755,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3703] = 14, + [3709] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4721,7 +4784,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(320), 1, anon_sym_RBRACK, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4731,19 +4794,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3756] = 14, + [3762] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4760,7 +4823,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(322), 1, anon_sym_RBRACK, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4770,19 +4833,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3809] = 14, + [3815] = 14, ACTIONS(324), 1, sym_identifier, ACTIONS(327), 1, @@ -4809,19 +4872,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(336), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3862] = 14, + [3868] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4838,7 +4901,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(353), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(49), 1, sym_expression, STATE(51), 1, aux_sym_list_repeat1, @@ -4848,19 +4911,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3915] = 14, + [3921] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4887,19 +4950,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3968] = 6, + [3974] = 6, ACTIONS(361), 1, anon_sym_elseif, ACTIONS(363), 1, @@ -4929,7 +4992,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4004] = 6, + [4010] = 6, ACTIONS(361), 1, anon_sym_elseif, ACTIONS(363), 1, @@ -4959,7 +5022,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4040] = 13, + [4046] = 13, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -4995,7 +5058,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4089] = 12, + [4095] = 12, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5030,7 +5093,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4136] = 12, + [4142] = 12, ACTIONS(371), 1, sym_identifier, ACTIONS(373), 1, @@ -5065,7 +5128,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4183] = 12, + [4189] = 12, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5100,7 +5163,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4230] = 12, + [4236] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5123,19 +5186,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4277] = 13, + [4283] = 13, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5171,7 +5234,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4326] = 12, + [4332] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5186,7 +5249,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(121), 1, sym_identifier, - STATE(44), 1, + STATE(43), 1, sym_expression, ACTIONS(11), 2, sym_float, @@ -5194,19 +5257,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4373] = 12, + [4379] = 12, ACTIONS(371), 1, sym_identifier, ACTIONS(373), 1, @@ -5241,7 +5304,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4420] = 12, + [4426] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5264,19 +5327,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(33), 5, + STATE(30), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(34), 5, + STATE(33), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4467] = 4, + [4473] = 4, ACTIONS(393), 1, anon_sym_elseif, STATE(82), 2, @@ -5303,7 +5366,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4498] = 12, + [4504] = 12, ACTIONS(371), 1, sym_identifier, ACTIONS(373), 1, @@ -5338,7 +5401,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4545] = 12, + [4551] = 12, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5373,7 +5436,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4592] = 12, + [4598] = 12, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5408,7 +5471,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4639] = 12, + [4645] = 12, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5443,7 +5506,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4686] = 12, + [4692] = 12, ACTIONS(159), 1, anon_sym_LPAREN, ACTIONS(161), 1, @@ -5478,7 +5541,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4733] = 2, + [4739] = 2, ACTIONS(396), 9, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5501,7 +5564,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4758] = 2, + [4764] = 2, ACTIONS(400), 9, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5524,7 +5587,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4783] = 3, + [4789] = 3, ACTIONS(408), 1, anon_sym_where, ACTIONS(404), 8, @@ -5547,7 +5610,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4809] = 3, + [4815] = 3, ACTIONS(414), 1, anon_sym_where, ACTIONS(410), 8, @@ -5570,7 +5633,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4835] = 4, + [4841] = 4, STATE(74), 1, sym_logic_operator, STATE(85), 1, @@ -5593,7 +5656,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4862] = 6, + [4868] = 6, STATE(74), 1, sym_logic_operator, STATE(85), 1, @@ -5618,7 +5681,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4893] = 2, + [4899] = 2, ACTIONS(357), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5639,7 +5702,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4916] = 2, + [4922] = 2, ACTIONS(416), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5660,7 +5723,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4939] = 2, + [4945] = 2, ACTIONS(420), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5681,7 +5744,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4962] = 2, + [4968] = 2, ACTIONS(424), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5702,7 +5765,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4985] = 2, + [4991] = 2, ACTIONS(428), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5723,8 +5786,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [5008] = 2, - ACTIONS(239), 8, + [5014] = 2, + ACTIONS(243), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -5733,7 +5796,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(241), 10, + ACTIONS(245), 10, sym_identifier, sym_integer, anon_sym_true, @@ -5744,10 +5807,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [5031] = 5, + [5037] = 5, ACTIONS(179), 1, anon_sym_EQ, - STATE(23), 1, + STATE(25), 1, sym_assignment_operator, ACTIONS(181), 2, anon_sym_PLUS_EQ, @@ -5768,7 +5831,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5060] = 2, + [5066] = 2, ACTIONS(432), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5789,7 +5852,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [5083] = 7, + [5089] = 7, ACTIONS(436), 1, sym_identifier, ACTIONS(438), 1, @@ -5814,7 +5877,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5115] = 4, + [5121] = 4, STATE(80), 1, sym_logic_operator, STATE(83), 1, @@ -5836,7 +5899,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5141] = 7, + [5147] = 7, ACTIONS(137), 1, anon_sym_RBRACE, ACTIONS(139), 1, @@ -5861,7 +5924,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5173] = 2, + [5179] = 2, ACTIONS(237), 2, anon_sym_LT, anon_sym_GT, @@ -5880,11 +5943,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5194] = 2, - ACTIONS(225), 2, + [5200] = 2, + ACTIONS(221), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(223), 14, + ACTIONS(219), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5899,7 +5962,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5215] = 6, + [5221] = 6, ACTIONS(440), 1, anon_sym_LBRACE, STATE(74), 1, @@ -5922,7 +5985,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5244] = 6, + [5250] = 6, ACTIONS(442), 1, anon_sym_LBRACE, STATE(74), 1, @@ -5945,7 +6008,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5273] = 6, + [5279] = 6, ACTIONS(444), 1, anon_sym_LBRACE, STATE(74), 1, @@ -5968,11 +6031,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5302] = 2, - ACTIONS(189), 2, + [5308] = 2, + ACTIONS(225), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(187), 14, + ACTIONS(223), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5987,144 +6050,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5323] = 6, - ACTIONS(243), 1, - anon_sym_RBRACE, - STATE(74), 1, - sym_logic_operator, - STATE(85), 1, - sym_math_operator, - ACTIONS(141), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(143), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(147), 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, - [5352] = 2, - ACTIONS(193), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(191), 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, - [5373] = 2, - ACTIONS(448), 6, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - ACTIONS(446), 10, - 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, - [5394] = 2, - ACTIONS(197), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(195), 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, - [5415] = 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, - [5436] = 2, - ACTIONS(201), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(199), 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, - [5457] = 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, - [5478] = 6, + [5329] = 6, ACTIONS(239), 1, anon_sym_RBRACE, STATE(74), 1, @@ -6147,11 +6073,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5507] = 2, - ACTIONS(205), 2, + [5358] = 2, + ACTIONS(193), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(203), 14, + ACTIONS(191), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6166,11 +6092,30 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5528] = 2, - ACTIONS(233), 2, + [5379] = 2, + ACTIONS(448), 6, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(446), 10, + 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, + [5400] = 2, + ACTIONS(197), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(231), 14, + ACTIONS(195), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6185,45 +6130,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5549] = 2, - ACTIONS(185), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(183), 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, - [5570] = 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, - [5591] = 2, + [5421] = 2, ACTIONS(217), 2, anon_sym_LT, anon_sym_GT, @@ -6242,11 +6149,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5612] = 2, - ACTIONS(213), 2, + [5442] = 2, + ACTIONS(189), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(211), 14, + ACTIONS(187), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6261,11 +6168,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5633] = 2, - ACTIONS(155), 2, + [5463] = 2, + ACTIONS(229), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(153), 14, + ACTIONS(227), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6280,61 +6187,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5654] = 2, - ACTIONS(155), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(153), 11, + [5484] = 6, + ACTIONS(243), 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, - [5674] = 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, - [5694] = 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, - [5714] = 5, STATE(74), 1, sym_logic_operator, STATE(85), 1, @@ -6355,7 +6210,158 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5740] = 2, + [5513] = 2, + ACTIONS(201), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(199), 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, + [5534] = 2, + ACTIONS(233), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(231), 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, + [5555] = 2, + ACTIONS(185), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(183), 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, + [5576] = 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, + [5597] = 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, + [5618] = 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, + [5639] = 2, + ACTIONS(155), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(153), 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, + [5660] = 2, + ACTIONS(155), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(153), 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, + [5680] = 2, ACTIONS(205), 4, sym_identifier, anon_sym_LT, @@ -6373,13 +6379,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5760] = 2, - ACTIONS(213), 4, + [5700] = 2, + ACTIONS(233), 4, sym_identifier, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(211), 11, + ACTIONS(231), 11, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -6391,25 +6397,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5780] = 2, - ACTIONS(217), 4, - sym_identifier, + [5720] = 5, + STATE(74), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(141), 2, anon_sym_LT, anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(215), 11, - anon_sym_RBRACE, + ACTIONS(143), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + ACTIONS(147), 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, - [5800] = 2, + [5746] = 2, ACTIONS(201), 4, sym_identifier, anon_sym_LT, @@ -6427,13 +6436,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5820] = 2, - ACTIONS(197), 4, + [5766] = 2, + ACTIONS(209), 4, sym_identifier, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(195), 11, + ACTIONS(207), 11, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -6445,7 +6454,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5840] = 2, + [5786] = 2, + ACTIONS(213), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(211), 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, + [5806] = 2, ACTIONS(189), 4, sym_identifier, anon_sym_LT, @@ -6463,7 +6490,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5860] = 5, + [5826] = 2, + ACTIONS(197), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(195), 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, + [5846] = 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, + [5866] = 5, STATE(77), 1, sym_logic_operator, STATE(85), 1, @@ -6484,43 +6547,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5886] = 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, - [5906] = 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, - [5926] = 2, + [5892] = 2, ACTIONS(221), 4, sym_identifier, anon_sym_LT, @@ -6538,7 +6565,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5946] = 2, + [5912] = 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, + [5932] = 2, + ACTIONS(217), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(215), 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, + [5952] = 2, ACTIONS(193), 4, sym_identifier, anon_sym_LT, @@ -6556,7 +6619,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5966] = 2, + [5972] = 2, ACTIONS(185), 4, sym_identifier, anon_sym_LT, @@ -6574,7 +6637,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5986] = 2, + [5992] = 2, ACTIONS(229), 4, sym_identifier, anon_sym_LT, @@ -6592,13 +6655,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6006] = 3, + [6012] = 3, ACTIONS(450), 1, anon_sym_RPAREN, - ACTIONS(205), 2, + ACTIONS(201), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(203), 11, + ACTIONS(199), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6610,7 +6673,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6027] = 3, + [6033] = 3, ACTIONS(247), 1, anon_sym_RBRACE, ACTIONS(125), 2, @@ -6628,13 +6691,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6048] = 3, + [6054] = 3, ACTIONS(452), 1, anon_sym_RPAREN, - ACTIONS(205), 2, + ACTIONS(201), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(203), 11, + ACTIONS(199), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6646,13 +6709,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6069] = 3, + [6075] = 3, ACTIONS(454), 1, anon_sym_RPAREN, - ACTIONS(205), 2, + ACTIONS(201), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(203), 11, + ACTIONS(199), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6664,7 +6727,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6090] = 2, + [6096] = 2, ACTIONS(456), 6, sym_identifier, sym_integer, @@ -6680,7 +6743,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [6108] = 2, + [6114] = 2, ACTIONS(458), 6, sym_identifier, sym_integer, @@ -6695,7 +6758,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - [6125] = 2, + [6131] = 2, ACTIONS(464), 5, anon_sym_LPAREN, sym_float, @@ -6709,7 +6772,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_function, anon_sym_table, - [6141] = 2, + [6147] = 2, ACTIONS(468), 5, anon_sym_LPAREN, sym_float, @@ -6723,7 +6786,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_function, anon_sym_table, - [6157] = 3, + [6163] = 3, ACTIONS(470), 1, anon_sym_LBRACK, ACTIONS(473), 1, @@ -6731,7 +6794,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(151), 2, sym_list, aux_sym_insert_repeat1, - [6168] = 3, + [6174] = 3, ACTIONS(15), 1, anon_sym_LBRACK, ACTIONS(475), 1, @@ -6739,7 +6802,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(151), 2, sym_list, aux_sym_insert_repeat1, - [6179] = 3, + [6185] = 3, ACTIONS(15), 1, anon_sym_LBRACK, ACTIONS(477), 1, @@ -6747,293 +6810,293 @@ static const uint16_t ts_small_parse_table[] = { STATE(151), 2, sym_list, aux_sym_insert_repeat1, - [6190] = 3, + [6196] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(481), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6200] = 3, + [6206] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(483), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6210] = 3, + [6216] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(487), 1, anon_sym_RBRACE, STATE(167), 1, aux_sym_map_repeat1, - [6220] = 2, + [6226] = 2, ACTIONS(15), 1, anon_sym_LBRACK, STATE(152), 2, sym_list, aux_sym_insert_repeat1, - [6228] = 3, + [6234] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(489), 1, anon_sym_RBRACE, STATE(164), 1, aux_sym_map_repeat1, - [6238] = 3, + [6244] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(491), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6248] = 3, + [6254] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(493), 1, anon_sym_GT, STATE(155), 1, aux_sym_function_repeat1, - [6258] = 3, + [6264] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(495), 1, anon_sym_GT, STATE(159), 1, aux_sym_function_repeat1, - [6268] = 3, + [6274] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(497), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6278] = 3, + [6284] = 3, ACTIONS(499), 1, sym_identifier, ACTIONS(502), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6288] = 3, + [6294] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(504), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6298] = 3, + [6304] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(506), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6308] = 3, + [6314] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(508), 1, anon_sym_GT, STATE(162), 1, aux_sym_function_repeat1, - [6318] = 3, + [6324] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(510), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6328] = 3, + [6334] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(512), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6338] = 2, + [6344] = 2, ACTIONS(15), 1, anon_sym_LBRACK, STATE(153), 2, sym_list, aux_sym_insert_repeat1, - [6346] = 3, + [6352] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(514), 1, anon_sym_RBRACE, STATE(165), 1, aux_sym_map_repeat1, - [6356] = 3, + [6362] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(516), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6366] = 2, + [6372] = 2, ACTIONS(520), 1, anon_sym_COMMA, ACTIONS(518), 2, sym_identifier, anon_sym_GT, - [6374] = 3, + [6380] = 3, ACTIONS(522), 1, sym_identifier, ACTIONS(525), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6384] = 2, + [6390] = 2, ACTIONS(527), 1, anon_sym_LT, ACTIONS(529), 1, anon_sym_LBRACE, - [6391] = 2, + [6397] = 2, ACTIONS(531), 1, anon_sym_LT, ACTIONS(533), 1, anon_sym_LBRACE, - [6398] = 2, + [6404] = 2, ACTIONS(479), 1, sym_identifier, STATE(154), 1, aux_sym_function_repeat1, - [6405] = 2, + [6411] = 2, ACTIONS(535), 1, anon_sym_LT, ACTIONS(537), 1, anon_sym_LBRACE, - [6412] = 2, + [6418] = 2, ACTIONS(404), 1, anon_sym_RBRACE, ACTIONS(539), 1, anon_sym_where, - [6419] = 2, + [6425] = 2, ACTIONS(479), 1, sym_identifier, STATE(171), 1, aux_sym_function_repeat1, - [6426] = 2, + [6432] = 2, ACTIONS(479), 1, sym_identifier, STATE(168), 1, aux_sym_function_repeat1, - [6433] = 1, + [6439] = 1, ACTIONS(525), 2, sym_identifier, anon_sym_GT, - [6438] = 2, + [6444] = 2, ACTIONS(410), 1, anon_sym_RBRACE, ACTIONS(541), 1, anon_sym_where, - [6445] = 1, + [6451] = 1, ACTIONS(543), 1, sym_identifier, - [6449] = 1, + [6455] = 1, ACTIONS(545), 1, anon_sym_LBRACE, - [6453] = 1, + [6459] = 1, ACTIONS(547), 1, anon_sym_RBRACE, - [6457] = 1, + [6463] = 1, ACTIONS(549), 1, anon_sym_from, - [6461] = 1, + [6467] = 1, ACTIONS(551), 1, anon_sym_LBRACE, - [6465] = 1, + [6471] = 1, ACTIONS(553), 1, sym_identifier, - [6469] = 1, + [6475] = 1, ACTIONS(555), 1, anon_sym_RBRACE, - [6473] = 1, + [6479] = 1, ACTIONS(557), 1, anon_sym_LBRACE, - [6477] = 1, + [6483] = 1, ACTIONS(559), 1, sym_identifier, - [6481] = 1, + [6487] = 1, ACTIONS(561), 1, anon_sym_RBRACE, - [6485] = 1, + [6491] = 1, ACTIONS(563), 1, anon_sym_LT, - [6489] = 1, + [6495] = 1, ACTIONS(565), 1, anon_sym_RBRACE, - [6493] = 1, + [6499] = 1, ACTIONS(567), 1, anon_sym_RBRACE, - [6497] = 1, + [6503] = 1, ACTIONS(569), 1, anon_sym_LBRACE, - [6501] = 1, + [6507] = 1, ACTIONS(571), 1, anon_sym_LBRACE, - [6505] = 1, + [6511] = 1, ACTIONS(573), 1, anon_sym_LBRACE, - [6509] = 1, + [6515] = 1, ACTIONS(575), 1, anon_sym_from, - [6513] = 1, + [6519] = 1, ACTIONS(577), 1, anon_sym_RBRACE, - [6517] = 1, + [6523] = 1, ACTIONS(579), 1, ts_builtin_sym_end, - [6521] = 1, + [6527] = 1, ACTIONS(581), 1, sym_identifier, - [6525] = 1, + [6531] = 1, ACTIONS(583), 1, anon_sym_LBRACE, - [6529] = 1, + [6535] = 1, ACTIONS(585), 1, anon_sym_RBRACE, - [6533] = 1, + [6539] = 1, ACTIONS(587), 1, anon_sym_LBRACE, - [6537] = 1, + [6543] = 1, ACTIONS(589), 1, anon_sym_LBRACE, - [6541] = 1, + [6547] = 1, ACTIONS(591), 1, anon_sym_LBRACE, - [6545] = 1, + [6551] = 1, ACTIONS(593), 1, sym_identifier, - [6549] = 1, + [6555] = 1, ACTIONS(595), 1, anon_sym_RBRACE, - [6553] = 1, + [6559] = 1, ACTIONS(597), 1, anon_sym_RBRACE, - [6557] = 1, + [6563] = 1, ACTIONS(599), 1, anon_sym_RBRACE, - [6561] = 1, + [6567] = 1, ACTIONS(601), 1, anon_sym_RBRACE, - [6565] = 1, + [6571] = 1, ACTIONS(603), 1, anon_sym_RBRACE, - [6569] = 1, + [6575] = 1, ACTIONS(605), 1, anon_sym_EQ, - [6573] = 1, + [6579] = 1, ACTIONS(607), 1, anon_sym_RBRACE, - [6577] = 1, + [6583] = 1, ACTIONS(609), 1, anon_sym_LT, - [6581] = 1, + [6587] = 1, ACTIONS(611), 1, sym_identifier, - [6585] = 1, + [6591] = 1, ACTIONS(613), 1, anon_sym_LT, }; @@ -7084,178 +7147,178 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(44)] = 2554, [SMALL_STATE(45)] = 2604, [SMALL_STATE(46)] = 2644, - [SMALL_STATE(47)] = 2692, - [SMALL_STATE(48)] = 2749, - [SMALL_STATE(49)] = 2806, - [SMALL_STATE(50)] = 2863, - [SMALL_STATE(51)] = 2907, - [SMALL_STATE(52)] = 2961, - [SMALL_STATE(53)] = 3014, - [SMALL_STATE(54)] = 3067, - [SMALL_STATE(55)] = 3120, - [SMALL_STATE(56)] = 3173, - [SMALL_STATE(57)] = 3226, - [SMALL_STATE(58)] = 3279, - [SMALL_STATE(59)] = 3332, - [SMALL_STATE(60)] = 3385, - [SMALL_STATE(61)] = 3438, - [SMALL_STATE(62)] = 3491, - [SMALL_STATE(63)] = 3544, - [SMALL_STATE(64)] = 3597, - [SMALL_STATE(65)] = 3650, - [SMALL_STATE(66)] = 3703, - [SMALL_STATE(67)] = 3756, - [SMALL_STATE(68)] = 3809, - [SMALL_STATE(69)] = 3862, - [SMALL_STATE(70)] = 3915, - [SMALL_STATE(71)] = 3968, - [SMALL_STATE(72)] = 4004, - [SMALL_STATE(73)] = 4040, - [SMALL_STATE(74)] = 4089, - [SMALL_STATE(75)] = 4136, - [SMALL_STATE(76)] = 4183, - [SMALL_STATE(77)] = 4230, - [SMALL_STATE(78)] = 4277, - [SMALL_STATE(79)] = 4326, - [SMALL_STATE(80)] = 4373, - [SMALL_STATE(81)] = 4420, - [SMALL_STATE(82)] = 4467, - [SMALL_STATE(83)] = 4498, - [SMALL_STATE(84)] = 4545, - [SMALL_STATE(85)] = 4592, - [SMALL_STATE(86)] = 4639, - [SMALL_STATE(87)] = 4686, - [SMALL_STATE(88)] = 4733, - [SMALL_STATE(89)] = 4758, - [SMALL_STATE(90)] = 4783, - [SMALL_STATE(91)] = 4809, - [SMALL_STATE(92)] = 4835, - [SMALL_STATE(93)] = 4862, - [SMALL_STATE(94)] = 4893, - [SMALL_STATE(95)] = 4916, - [SMALL_STATE(96)] = 4939, - [SMALL_STATE(97)] = 4962, - [SMALL_STATE(98)] = 4985, - [SMALL_STATE(99)] = 5008, - [SMALL_STATE(100)] = 5031, - [SMALL_STATE(101)] = 5060, - [SMALL_STATE(102)] = 5083, - [SMALL_STATE(103)] = 5115, - [SMALL_STATE(104)] = 5141, - [SMALL_STATE(105)] = 5173, - [SMALL_STATE(106)] = 5194, - [SMALL_STATE(107)] = 5215, - [SMALL_STATE(108)] = 5244, - [SMALL_STATE(109)] = 5273, - [SMALL_STATE(110)] = 5302, - [SMALL_STATE(111)] = 5323, - [SMALL_STATE(112)] = 5352, - [SMALL_STATE(113)] = 5373, - [SMALL_STATE(114)] = 5394, - [SMALL_STATE(115)] = 5415, - [SMALL_STATE(116)] = 5436, - [SMALL_STATE(117)] = 5457, - [SMALL_STATE(118)] = 5478, - [SMALL_STATE(119)] = 5507, - [SMALL_STATE(120)] = 5528, - [SMALL_STATE(121)] = 5549, - [SMALL_STATE(122)] = 5570, - [SMALL_STATE(123)] = 5591, - [SMALL_STATE(124)] = 5612, - [SMALL_STATE(125)] = 5633, - [SMALL_STATE(126)] = 5654, - [SMALL_STATE(127)] = 5674, - [SMALL_STATE(128)] = 5694, - [SMALL_STATE(129)] = 5714, - [SMALL_STATE(130)] = 5740, - [SMALL_STATE(131)] = 5760, - [SMALL_STATE(132)] = 5780, - [SMALL_STATE(133)] = 5800, - [SMALL_STATE(134)] = 5820, - [SMALL_STATE(135)] = 5840, - [SMALL_STATE(136)] = 5860, - [SMALL_STATE(137)] = 5886, - [SMALL_STATE(138)] = 5906, - [SMALL_STATE(139)] = 5926, - [SMALL_STATE(140)] = 5946, - [SMALL_STATE(141)] = 5966, - [SMALL_STATE(142)] = 5986, - [SMALL_STATE(143)] = 6006, - [SMALL_STATE(144)] = 6027, - [SMALL_STATE(145)] = 6048, - [SMALL_STATE(146)] = 6069, - [SMALL_STATE(147)] = 6090, - [SMALL_STATE(148)] = 6108, - [SMALL_STATE(149)] = 6125, - [SMALL_STATE(150)] = 6141, - [SMALL_STATE(151)] = 6157, - [SMALL_STATE(152)] = 6168, - [SMALL_STATE(153)] = 6179, - [SMALL_STATE(154)] = 6190, - [SMALL_STATE(155)] = 6200, - [SMALL_STATE(156)] = 6210, - [SMALL_STATE(157)] = 6220, - [SMALL_STATE(158)] = 6228, - [SMALL_STATE(159)] = 6238, - [SMALL_STATE(160)] = 6248, - [SMALL_STATE(161)] = 6258, - [SMALL_STATE(162)] = 6268, - [SMALL_STATE(163)] = 6278, - [SMALL_STATE(164)] = 6288, - [SMALL_STATE(165)] = 6298, - [SMALL_STATE(166)] = 6308, - [SMALL_STATE(167)] = 6318, - [SMALL_STATE(168)] = 6328, - [SMALL_STATE(169)] = 6338, - [SMALL_STATE(170)] = 6346, - [SMALL_STATE(171)] = 6356, - [SMALL_STATE(172)] = 6366, - [SMALL_STATE(173)] = 6374, - [SMALL_STATE(174)] = 6384, - [SMALL_STATE(175)] = 6391, - [SMALL_STATE(176)] = 6398, - [SMALL_STATE(177)] = 6405, - [SMALL_STATE(178)] = 6412, - [SMALL_STATE(179)] = 6419, - [SMALL_STATE(180)] = 6426, - [SMALL_STATE(181)] = 6433, - [SMALL_STATE(182)] = 6438, - [SMALL_STATE(183)] = 6445, - [SMALL_STATE(184)] = 6449, - [SMALL_STATE(185)] = 6453, - [SMALL_STATE(186)] = 6457, - [SMALL_STATE(187)] = 6461, - [SMALL_STATE(188)] = 6465, - [SMALL_STATE(189)] = 6469, - [SMALL_STATE(190)] = 6473, - [SMALL_STATE(191)] = 6477, - [SMALL_STATE(192)] = 6481, - [SMALL_STATE(193)] = 6485, - [SMALL_STATE(194)] = 6489, - [SMALL_STATE(195)] = 6493, - [SMALL_STATE(196)] = 6497, - [SMALL_STATE(197)] = 6501, - [SMALL_STATE(198)] = 6505, - [SMALL_STATE(199)] = 6509, - [SMALL_STATE(200)] = 6513, - [SMALL_STATE(201)] = 6517, - [SMALL_STATE(202)] = 6521, - [SMALL_STATE(203)] = 6525, - [SMALL_STATE(204)] = 6529, - [SMALL_STATE(205)] = 6533, - [SMALL_STATE(206)] = 6537, - [SMALL_STATE(207)] = 6541, - [SMALL_STATE(208)] = 6545, - [SMALL_STATE(209)] = 6549, - [SMALL_STATE(210)] = 6553, - [SMALL_STATE(211)] = 6557, - [SMALL_STATE(212)] = 6561, - [SMALL_STATE(213)] = 6565, - [SMALL_STATE(214)] = 6569, - [SMALL_STATE(215)] = 6573, - [SMALL_STATE(216)] = 6577, - [SMALL_STATE(217)] = 6581, - [SMALL_STATE(218)] = 6585, + [SMALL_STATE(47)] = 2703, + [SMALL_STATE(48)] = 2762, + [SMALL_STATE(49)] = 2821, + [SMALL_STATE(50)] = 2869, + [SMALL_STATE(51)] = 2913, + [SMALL_STATE(52)] = 2967, + [SMALL_STATE(53)] = 3020, + [SMALL_STATE(54)] = 3073, + [SMALL_STATE(55)] = 3126, + [SMALL_STATE(56)] = 3179, + [SMALL_STATE(57)] = 3232, + [SMALL_STATE(58)] = 3285, + [SMALL_STATE(59)] = 3338, + [SMALL_STATE(60)] = 3391, + [SMALL_STATE(61)] = 3444, + [SMALL_STATE(62)] = 3497, + [SMALL_STATE(63)] = 3550, + [SMALL_STATE(64)] = 3603, + [SMALL_STATE(65)] = 3656, + [SMALL_STATE(66)] = 3709, + [SMALL_STATE(67)] = 3762, + [SMALL_STATE(68)] = 3815, + [SMALL_STATE(69)] = 3868, + [SMALL_STATE(70)] = 3921, + [SMALL_STATE(71)] = 3974, + [SMALL_STATE(72)] = 4010, + [SMALL_STATE(73)] = 4046, + [SMALL_STATE(74)] = 4095, + [SMALL_STATE(75)] = 4142, + [SMALL_STATE(76)] = 4189, + [SMALL_STATE(77)] = 4236, + [SMALL_STATE(78)] = 4283, + [SMALL_STATE(79)] = 4332, + [SMALL_STATE(80)] = 4379, + [SMALL_STATE(81)] = 4426, + [SMALL_STATE(82)] = 4473, + [SMALL_STATE(83)] = 4504, + [SMALL_STATE(84)] = 4551, + [SMALL_STATE(85)] = 4598, + [SMALL_STATE(86)] = 4645, + [SMALL_STATE(87)] = 4692, + [SMALL_STATE(88)] = 4739, + [SMALL_STATE(89)] = 4764, + [SMALL_STATE(90)] = 4789, + [SMALL_STATE(91)] = 4815, + [SMALL_STATE(92)] = 4841, + [SMALL_STATE(93)] = 4868, + [SMALL_STATE(94)] = 4899, + [SMALL_STATE(95)] = 4922, + [SMALL_STATE(96)] = 4945, + [SMALL_STATE(97)] = 4968, + [SMALL_STATE(98)] = 4991, + [SMALL_STATE(99)] = 5014, + [SMALL_STATE(100)] = 5037, + [SMALL_STATE(101)] = 5066, + [SMALL_STATE(102)] = 5089, + [SMALL_STATE(103)] = 5121, + [SMALL_STATE(104)] = 5147, + [SMALL_STATE(105)] = 5179, + [SMALL_STATE(106)] = 5200, + [SMALL_STATE(107)] = 5221, + [SMALL_STATE(108)] = 5250, + [SMALL_STATE(109)] = 5279, + [SMALL_STATE(110)] = 5308, + [SMALL_STATE(111)] = 5329, + [SMALL_STATE(112)] = 5358, + [SMALL_STATE(113)] = 5379, + [SMALL_STATE(114)] = 5400, + [SMALL_STATE(115)] = 5421, + [SMALL_STATE(116)] = 5442, + [SMALL_STATE(117)] = 5463, + [SMALL_STATE(118)] = 5484, + [SMALL_STATE(119)] = 5513, + [SMALL_STATE(120)] = 5534, + [SMALL_STATE(121)] = 5555, + [SMALL_STATE(122)] = 5576, + [SMALL_STATE(123)] = 5597, + [SMALL_STATE(124)] = 5618, + [SMALL_STATE(125)] = 5639, + [SMALL_STATE(126)] = 5660, + [SMALL_STATE(127)] = 5680, + [SMALL_STATE(128)] = 5700, + [SMALL_STATE(129)] = 5720, + [SMALL_STATE(130)] = 5746, + [SMALL_STATE(131)] = 5766, + [SMALL_STATE(132)] = 5786, + [SMALL_STATE(133)] = 5806, + [SMALL_STATE(134)] = 5826, + [SMALL_STATE(135)] = 5846, + [SMALL_STATE(136)] = 5866, + [SMALL_STATE(137)] = 5892, + [SMALL_STATE(138)] = 5912, + [SMALL_STATE(139)] = 5932, + [SMALL_STATE(140)] = 5952, + [SMALL_STATE(141)] = 5972, + [SMALL_STATE(142)] = 5992, + [SMALL_STATE(143)] = 6012, + [SMALL_STATE(144)] = 6033, + [SMALL_STATE(145)] = 6054, + [SMALL_STATE(146)] = 6075, + [SMALL_STATE(147)] = 6096, + [SMALL_STATE(148)] = 6114, + [SMALL_STATE(149)] = 6131, + [SMALL_STATE(150)] = 6147, + [SMALL_STATE(151)] = 6163, + [SMALL_STATE(152)] = 6174, + [SMALL_STATE(153)] = 6185, + [SMALL_STATE(154)] = 6196, + [SMALL_STATE(155)] = 6206, + [SMALL_STATE(156)] = 6216, + [SMALL_STATE(157)] = 6226, + [SMALL_STATE(158)] = 6234, + [SMALL_STATE(159)] = 6244, + [SMALL_STATE(160)] = 6254, + [SMALL_STATE(161)] = 6264, + [SMALL_STATE(162)] = 6274, + [SMALL_STATE(163)] = 6284, + [SMALL_STATE(164)] = 6294, + [SMALL_STATE(165)] = 6304, + [SMALL_STATE(166)] = 6314, + [SMALL_STATE(167)] = 6324, + [SMALL_STATE(168)] = 6334, + [SMALL_STATE(169)] = 6344, + [SMALL_STATE(170)] = 6352, + [SMALL_STATE(171)] = 6362, + [SMALL_STATE(172)] = 6372, + [SMALL_STATE(173)] = 6380, + [SMALL_STATE(174)] = 6390, + [SMALL_STATE(175)] = 6397, + [SMALL_STATE(176)] = 6404, + [SMALL_STATE(177)] = 6411, + [SMALL_STATE(178)] = 6418, + [SMALL_STATE(179)] = 6425, + [SMALL_STATE(180)] = 6432, + [SMALL_STATE(181)] = 6439, + [SMALL_STATE(182)] = 6444, + [SMALL_STATE(183)] = 6451, + [SMALL_STATE(184)] = 6455, + [SMALL_STATE(185)] = 6459, + [SMALL_STATE(186)] = 6463, + [SMALL_STATE(187)] = 6467, + [SMALL_STATE(188)] = 6471, + [SMALL_STATE(189)] = 6475, + [SMALL_STATE(190)] = 6479, + [SMALL_STATE(191)] = 6483, + [SMALL_STATE(192)] = 6487, + [SMALL_STATE(193)] = 6491, + [SMALL_STATE(194)] = 6495, + [SMALL_STATE(195)] = 6499, + [SMALL_STATE(196)] = 6503, + [SMALL_STATE(197)] = 6507, + [SMALL_STATE(198)] = 6511, + [SMALL_STATE(199)] = 6515, + [SMALL_STATE(200)] = 6519, + [SMALL_STATE(201)] = 6523, + [SMALL_STATE(202)] = 6527, + [SMALL_STATE(203)] = 6531, + [SMALL_STATE(204)] = 6535, + [SMALL_STATE(205)] = 6539, + [SMALL_STATE(206)] = 6543, + [SMALL_STATE(207)] = 6547, + [SMALL_STATE(208)] = 6551, + [SMALL_STATE(209)] = 6555, + [SMALL_STATE(210)] = 6559, + [SMALL_STATE(211)] = 6563, + [SMALL_STATE(212)] = 6567, + [SMALL_STATE(213)] = 6571, + [SMALL_STATE(214)] = 6575, + [SMALL_STATE(215)] = 6579, + [SMALL_STATE(216)] = 6583, + [SMALL_STATE(217)] = 6587, + [SMALL_STATE(218)] = 6591, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -7263,9 +7326,9 @@ static const TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(177), @@ -7279,9 +7342,9 @@ static const TSParseActionEntry ts_parse_actions[] = { [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), [35] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(27), [38] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(98), - [41] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(49), - [44] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(33), - [47] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(33), + [41] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(48), + [44] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(30), + [47] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(30), [50] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(40), [53] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), [56] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(177), @@ -7294,9 +7357,9 @@ static const TSParseActionEntry ts_parse_actions[] = { [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(27), [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(98), - [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(49), - [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(33), - [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(33), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(48), + [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(30), + [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(30), [94] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(40), [97] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(54), [100] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(177), @@ -7306,8 +7369,8 @@ static const TSParseActionEntry ts_parse_actions[] = { [112] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(86), [115] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(183), [118] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(169), - [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), [125] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), @@ -7325,7 +7388,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), [155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), [157] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), @@ -7339,61 +7402,61 @@ static const TSParseActionEntry ts_parse_actions[] = { [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), [183] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [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_function_call, 3), - [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), - [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), + [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), + [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), [249] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), - [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [257] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), - [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [261] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), - [263] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [251] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), + [253] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), + [255] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), + [257] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), [265] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 1), [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 1), - [269] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(34), - [272] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(49), + [269] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(33), + [272] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(48), [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [277] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(33), - [280] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(33), + [277] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(30), + [280] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(30), [283] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(40), [286] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(54), [289] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(177), [292] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(156), [295] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(193), - [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), @@ -7403,10 +7466,10 @@ static const TSParseActionEntry ts_parse_actions[] = { [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(34), - [327] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(49), - [330] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(33), - [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(33), + [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(33), + [327] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(48), + [330] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(30), + [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(30), [336] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(40), [339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(54), [342] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(177), @@ -7423,7 +7486,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), [369] = {.entry = {.count = 1, .reusable = false}}, SHIFT(119), [371] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), - [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), [375] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), [379] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), @@ -7456,13 +7519,13 @@ static const TSParseActionEntry ts_parse_actions[] = { [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), [436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 1), @@ -7479,7 +7542,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), - [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), @@ -7520,7 +7583,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), @@ -7535,7 +7598,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),