From b47907ee26b42990e5170ba9521de5ae66d596ef Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 13 Oct 2023 15:29:17 -0400 Subject: [PATCH] Add more tools --- grammar.js | 23 + src/grammar.json | 68 + src/node-types.json | 68 + src/parser.c | 6198 +++++++++++++++++++++++-------------------- 4 files changed, 3465 insertions(+), 2892 deletions(-) diff --git a/grammar.js b/grammar.js index d30079c..f9117d9 100644 --- a/grammar.js +++ b/grammar.js @@ -186,9 +186,32 @@ module.exports = grammar({ 'assert', 'assert_equal', 'output', + 'read', + 'write', + + 'raw', + 'sh', + 'bash', + 'fish', + 'zsh', + 'random', + 'random_boolean', + 'random_float', + 'random_string', 'random_integer', + + 'count', + 'sort', + 'transform', + 'filter', + + 'to_csv', + 'from_csv', + 'to_json', + 'from_json', + 'help', ), diff --git a/src/grammar.json b/src/grammar.json index 8c29777..108e691 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -766,14 +766,82 @@ "type": "STRING", "value": "read" }, + { + "type": "STRING", + "value": "write" + }, + { + "type": "STRING", + "value": "raw" + }, + { + "type": "STRING", + "value": "sh" + }, + { + "type": "STRING", + "value": "bash" + }, + { + "type": "STRING", + "value": "fish" + }, + { + "type": "STRING", + "value": "zsh" + }, { "type": "STRING", "value": "random" }, + { + "type": "STRING", + "value": "random_boolean" + }, + { + "type": "STRING", + "value": "random_float" + }, + { + "type": "STRING", + "value": "random_string" + }, { "type": "STRING", "value": "random_integer" }, + { + "type": "STRING", + "value": "count" + }, + { + "type": "STRING", + "value": "sort" + }, + { + "type": "STRING", + "value": "transform" + }, + { + "type": "STRING", + "value": "filter" + }, + { + "type": "STRING", + "value": "to_csv" + }, + { + "type": "STRING", + "value": "from_csv" + }, + { + "type": "STRING", + "value": "to_json" + }, + { + "type": "STRING", + "value": "from_json" + }, { "type": "STRING", "value": "help" diff --git a/src/node-types.json b/src/node-types.json index 2e43e1e..d813497 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -553,6 +553,14 @@ "type": "assert_equal", "named": false }, + { + "type": "bash", + "named": false + }, + { + "type": "count", + "named": false + }, { "type": "else", "named": false @@ -565,6 +573,14 @@ "type": "false", "named": false }, + { + "type": "filter", + "named": false + }, + { + "type": "fish", + "named": false + }, { "type": "float", "named": true @@ -577,6 +593,14 @@ "type": "from", "named": false }, + { + "type": "from_csv", + "named": false + }, + { + "type": "from_json", + "named": false + }, { "type": "function", "named": false @@ -617,10 +641,26 @@ "type": "random", "named": false }, + { + "type": "random_boolean", + "named": false + }, + { + "type": "random_float", + "named": false + }, { "type": "random_integer", "named": false }, + { + "type": "random_string", + "named": false + }, + { + "type": "raw", + "named": false + }, { "type": "read", "named": false @@ -629,6 +669,14 @@ "type": "select", "named": false }, + { + "type": "sh", + "named": false + }, + { + "type": "sort", + "named": false + }, { "type": "string", "named": true @@ -637,6 +685,18 @@ "type": "table", "named": false }, + { + "type": "to_csv", + "named": false + }, + { + "type": "to_json", + "named": false + }, + { + "type": "transform", + "named": false + }, { "type": "true", "named": false @@ -649,6 +709,14 @@ "type": "while", "named": false }, + { + "type": "write", + "named": false + }, + { + "type": "zsh", + "named": false + }, { "type": "{", "named": false diff --git a/src/parser.c b/src/parser.c index c897749..7e66bb9 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 86 +#define SYMBOL_COUNT 103 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 51 +#define TOKEN_COUNT 68 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 7 @@ -59,49 +59,66 @@ enum { anon_sym_assert_equal = 40, anon_sym_output = 41, anon_sym_read = 42, - 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, + anon_sym_write = 43, + anon_sym_raw = 44, + anon_sym_sh = 45, + anon_sym_bash = 46, + anon_sym_fish = 47, + anon_sym_zsh = 48, + anon_sym_random = 49, + anon_sym_random_boolean = 50, + anon_sym_random_float = 51, + anon_sym_random_string = 52, + anon_sym_random_integer = 53, + anon_sym_count = 54, + anon_sym_sort = 55, + anon_sym_transform = 56, + anon_sym_filter = 57, + anon_sym_to_csv = 58, + anon_sym_from_csv = 59, + anon_sym_to_json = 60, + anon_sym_from_json = 61, + anon_sym_help = 62, + anon_sym_select = 63, + anon_sym_from = 64, + anon_sym_where = 65, + anon_sym_insert = 66, + anon_sym_into = 67, + sym_root = 68, + sym_item = 69, + sym_statement = 70, + sym_comment = 71, + sym_expression = 72, + sym__expression_kind = 73, + sym_value = 74, + sym_boolean = 75, + sym_list = 76, + sym_function = 77, + sym_table = 78, + sym_map = 79, + sym_math = 80, + sym_math_operator = 81, + sym_logic = 82, + sym_logic_operator = 83, + sym_assignment = 84, + sym_assignment_operator = 85, + sym_if_else = 86, + sym_if = 87, + sym_else_if = 88, + sym_else = 89, + sym_function_call = 90, + sym_while = 91, + sym_tool = 92, + sym_select = 93, + sym_insert = 94, + aux_sym_root_repeat1 = 95, + aux_sym_item_repeat1 = 96, + aux_sym_list_repeat1 = 97, + aux_sym_function_repeat1 = 98, + aux_sym_table_repeat1 = 99, + aux_sym_map_repeat1 = 100, + aux_sym_if_else_repeat1 = 101, + aux_sym_insert_repeat1 = 102, }; static const char * const ts_symbol_names[] = { @@ -148,8 +165,25 @@ 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_raw] = "raw", + [anon_sym_sh] = "sh", + [anon_sym_bash] = "bash", + [anon_sym_fish] = "fish", + [anon_sym_zsh] = "zsh", [anon_sym_random] = "random", + [anon_sym_random_boolean] = "random_boolean", + [anon_sym_random_float] = "random_float", + [anon_sym_random_string] = "random_string", [anon_sym_random_integer] = "random_integer", + [anon_sym_count] = "count", + [anon_sym_sort] = "sort", + [anon_sym_transform] = "transform", + [anon_sym_filter] = "filter", + [anon_sym_to_csv] = "to_csv", + [anon_sym_from_csv] = "from_csv", + [anon_sym_to_json] = "to_json", + [anon_sym_from_json] = "from_json", [anon_sym_help] = "help", [anon_sym_select] = "select", [anon_sym_from] = "from", @@ -237,8 +271,25 @@ 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_raw] = anon_sym_raw, + [anon_sym_sh] = anon_sym_sh, + [anon_sym_bash] = anon_sym_bash, + [anon_sym_fish] = anon_sym_fish, + [anon_sym_zsh] = anon_sym_zsh, [anon_sym_random] = anon_sym_random, + [anon_sym_random_boolean] = anon_sym_random_boolean, + [anon_sym_random_float] = anon_sym_random_float, + [anon_sym_random_string] = anon_sym_random_string, [anon_sym_random_integer] = anon_sym_random_integer, + [anon_sym_count] = anon_sym_count, + [anon_sym_sort] = anon_sym_sort, + [anon_sym_transform] = anon_sym_transform, + [anon_sym_filter] = anon_sym_filter, + [anon_sym_to_csv] = anon_sym_to_csv, + [anon_sym_from_csv] = anon_sym_from_csv, + [anon_sym_to_json] = anon_sym_to_json, + [anon_sym_from_json] = anon_sym_from_json, [anon_sym_help] = anon_sym_help, [anon_sym_select] = anon_sym_select, [anon_sym_from] = anon_sym_from, @@ -455,14 +506,82 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_write] = { + .visible = true, + .named = false, + }, + [anon_sym_raw] = { + .visible = true, + .named = false, + }, + [anon_sym_sh] = { + .visible = true, + .named = false, + }, + [anon_sym_bash] = { + .visible = true, + .named = false, + }, + [anon_sym_fish] = { + .visible = true, + .named = false, + }, + [anon_sym_zsh] = { + .visible = true, + .named = false, + }, [anon_sym_random] = { .visible = true, .named = false, }, + [anon_sym_random_boolean] = { + .visible = true, + .named = false, + }, + [anon_sym_random_float] = { + .visible = true, + .named = false, + }, + [anon_sym_random_string] = { + .visible = true, + .named = false, + }, [anon_sym_random_integer] = { .visible = true, .named = false, }, + [anon_sym_count] = { + .visible = true, + .named = false, + }, + [anon_sym_sort] = { + .visible = true, + .named = false, + }, + [anon_sym_transform] = { + .visible = true, + .named = false, + }, + [anon_sym_filter] = { + .visible = true, + .named = false, + }, + [anon_sym_to_csv] = { + .visible = true, + .named = false, + }, + [anon_sym_from_csv] = { + .visible = true, + .named = false, + }, + [anon_sym_to_json] = { + .visible = true, + .named = false, + }, + [anon_sym_from_json] = { + .visible = true, + .named = false, + }, [anon_sym_help] = { .visible = true, .named = false, @@ -641,36 +760,36 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, - [3] = 3, - [4] = 4, + [3] = 2, + [4] = 2, [5] = 5, [6] = 6, [7] = 7, [8] = 8, - [9] = 6, - [10] = 7, - [11] = 5, + [9] = 8, + [10] = 10, + [11] = 11, [12] = 8, - [13] = 8, + [13] = 10, [14] = 14, - [15] = 5, - [16] = 7, + [15] = 14, + [16] = 10, [17] = 17, - [18] = 6, + [18] = 11, [19] = 17, - [20] = 20, + [20] = 14, [21] = 21, - [22] = 22, + [22] = 11, [23] = 23, [24] = 24, [25] = 25, [26] = 26, [27] = 27, - [28] = 25, + [28] = 28, [29] = 29, [30] = 30, [31] = 31, - [32] = 32, + [32] = 28, [33] = 33, [34] = 34, [35] = 35, @@ -685,8 +804,8 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [44] = 44, [45] = 45, [46] = 46, - [47] = 46, - [48] = 46, + [47] = 47, + [48] = 48, [49] = 49, [50] = 50, [51] = 51, @@ -730,59 +849,59 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [89] = 89, [90] = 90, [91] = 91, - [92] = 21, - [93] = 20, + [92] = 24, + [93] = 23, [94] = 94, [95] = 95, [96] = 96, [97] = 97, [98] = 98, [99] = 99, - [100] = 27, + [100] = 26, [101] = 101, [102] = 102, - [103] = 21, - [104] = 20, - [105] = 42, - [106] = 38, + [103] = 24, + [104] = 23, + [105] = 36, + [106] = 39, [107] = 107, [108] = 108, [109] = 109, - [110] = 39, - [111] = 43, - [112] = 31, + [110] = 33, + [111] = 46, + [112] = 43, [113] = 113, - [114] = 32, - [115] = 37, - [116] = 30, - [117] = 40, - [118] = 44, - [119] = 33, + [114] = 42, + [115] = 38, + [116] = 45, + [117] = 44, + [118] = 47, + [119] = 40, [120] = 41, [121] = 29, [122] = 34, - [123] = 36, + [123] = 37, [124] = 35, - [125] = 22, - [126] = 22, + [125] = 25, + [126] = 25, [127] = 34, [128] = 41, [129] = 129, - [130] = 33, + [130] = 40, [131] = 35, - [132] = 36, - [133] = 30, - [134] = 32, - [135] = 39, + [132] = 37, + [133] = 45, + [134] = 42, + [135] = 33, [136] = 129, - [137] = 38, - [138] = 42, - [139] = 37, - [140] = 31, + [137] = 39, + [138] = 36, + [139] = 38, + [140] = 43, [141] = 29, - [142] = 40, + [142] = 44, [143] = 143, - [144] = 45, + [144] = 48, [145] = 143, [146] = 143, [147] = 147, @@ -1236,289 +1355,516 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { switch (state) { case 0: if (lookahead == 'a') ADVANCE(1); - if (lookahead == 'f') ADVANCE(2); - 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 == 'b') ADVANCE(2); + if (lookahead == 'c') ADVANCE(3); + if (lookahead == 'f') ADVANCE(4); + if (lookahead == 'h') ADVANCE(5); + if (lookahead == 'i') ADVANCE(6); + if (lookahead == 'o') ADVANCE(7); + if (lookahead == 'r') ADVANCE(8); + if (lookahead == 's') ADVANCE(9); + if (lookahead == 't') ADVANCE(10); + if (lookahead == 'w') ADVANCE(11); + if (lookahead == 'z') ADVANCE(12); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 's') ADVANCE(10); + if (lookahead == 's') ADVANCE(13); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(11); - if (lookahead == 'o') ADVANCE(12); - if (lookahead == 'r') ADVANCE(13); - if (lookahead == 'u') ADVANCE(14); + if (lookahead == 'a') ADVANCE(14); END_STATE(); case 3: - if (lookahead == 'e') ADVANCE(15); + if (lookahead == 'o') ADVANCE(15); END_STATE(); case 4: - if (lookahead == 'f') ADVANCE(16); - if (lookahead == 'n') ADVANCE(17); + if (lookahead == 'a') ADVANCE(16); + if (lookahead == 'i') ADVANCE(17); + if (lookahead == 'o') ADVANCE(18); + if (lookahead == 'r') ADVANCE(19); + if (lookahead == 'u') ADVANCE(20); END_STATE(); case 5: - if (lookahead == 'u') ADVANCE(18); - END_STATE(); - case 6: - if (lookahead == 'a') ADVANCE(19); - if (lookahead == 'e') ADVANCE(20); - END_STATE(); - case 7: if (lookahead == 'e') ADVANCE(21); END_STATE(); + case 6: + if (lookahead == 'f') ADVANCE(22); + if (lookahead == 'n') ADVANCE(23); + END_STATE(); + case 7: + if (lookahead == 'u') ADVANCE(24); + END_STATE(); case 8: - if (lookahead == 'a') ADVANCE(22); - if (lookahead == 'r') ADVANCE(23); + if (lookahead == 'a') ADVANCE(25); + if (lookahead == 'e') ADVANCE(26); END_STATE(); case 9: - if (lookahead == 'h') ADVANCE(24); + if (lookahead == 'e') ADVANCE(27); + if (lookahead == 'h') ADVANCE(28); + if (lookahead == 'o') ADVANCE(29); END_STATE(); case 10: - if (lookahead == 's') ADVANCE(25); + if (lookahead == 'a') ADVANCE(30); + if (lookahead == 'o') ADVANCE(31); + if (lookahead == 'r') ADVANCE(32); END_STATE(); case 11: - if (lookahead == 'l') ADVANCE(26); + if (lookahead == 'h') ADVANCE(33); + if (lookahead == 'r') ADVANCE(34); END_STATE(); case 12: - if (lookahead == 'r') ADVANCE(27); + if (lookahead == 's') ADVANCE(35); END_STATE(); case 13: - if (lookahead == 'o') ADVANCE(28); + if (lookahead == 's') ADVANCE(36); END_STATE(); case 14: - if (lookahead == 'n') ADVANCE(29); + if (lookahead == 's') ADVANCE(37); END_STATE(); case 15: - if (lookahead == 'l') ADVANCE(30); - END_STATE(); - case 16: - ACCEPT_TOKEN(anon_sym_if); - END_STATE(); - case 17: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == 's') ADVANCE(31); - if (lookahead == 't') ADVANCE(32); - END_STATE(); - case 18: - if (lookahead == 't') ADVANCE(33); - END_STATE(); - case 19: - if (lookahead == 'n') ADVANCE(34); - END_STATE(); - case 20: - if (lookahead == 'a') ADVANCE(35); - END_STATE(); - case 21: - if (lookahead == 'l') ADVANCE(36); - END_STATE(); - case 22: - if (lookahead == 'b') ADVANCE(37); - END_STATE(); - case 23: if (lookahead == 'u') ADVANCE(38); END_STATE(); + case 16: + if (lookahead == 'l') ADVANCE(39); + END_STATE(); + case 17: + if (lookahead == 'l') ADVANCE(40); + if (lookahead == 's') ADVANCE(41); + END_STATE(); + case 18: + if (lookahead == 'r') ADVANCE(42); + END_STATE(); + case 19: + if (lookahead == 'o') ADVANCE(43); + END_STATE(); + case 20: + if (lookahead == 'n') ADVANCE(44); + END_STATE(); + case 21: + if (lookahead == 'l') ADVANCE(45); + END_STATE(); + case 22: + ACCEPT_TOKEN(anon_sym_if); + END_STATE(); + case 23: + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == 's') ADVANCE(46); + if (lookahead == 't') ADVANCE(47); + END_STATE(); case 24: - if (lookahead == 'e') ADVANCE(39); - if (lookahead == 'i') ADVANCE(40); + if (lookahead == 't') ADVANCE(48); END_STATE(); case 25: - if (lookahead == 'e') ADVANCE(41); + if (lookahead == 'n') ADVANCE(49); + if (lookahead == 'w') ADVANCE(50); END_STATE(); case 26: - if (lookahead == 's') ADVANCE(42); + if (lookahead == 'a') ADVANCE(51); END_STATE(); case 27: - ACCEPT_TOKEN(anon_sym_for); - END_STATE(); - case 28: - if (lookahead == 'm') ADVANCE(43); - END_STATE(); - case 29: - if (lookahead == 'c') ADVANCE(44); - END_STATE(); - case 30: - if (lookahead == 'p') ADVANCE(45); - END_STATE(); - case 31: - if (lookahead == 'e') ADVANCE(46); - END_STATE(); - case 32: - if (lookahead == 'o') ADVANCE(47); - END_STATE(); - case 33: - if (lookahead == 'p') ADVANCE(48); - END_STATE(); - case 34: - if (lookahead == 'd') ADVANCE(49); - END_STATE(); - case 35: - if (lookahead == 'd') ADVANCE(50); - END_STATE(); - case 36: - if (lookahead == 'e') ADVANCE(51); - END_STATE(); - case 37: if (lookahead == 'l') ADVANCE(52); END_STATE(); + case 28: + ACCEPT_TOKEN(anon_sym_sh); + END_STATE(); + case 29: + if (lookahead == 'r') ADVANCE(53); + END_STATE(); + case 30: + if (lookahead == 'b') ADVANCE(54); + END_STATE(); + case 31: + if (lookahead == '_') ADVANCE(55); + END_STATE(); + case 32: + if (lookahead == 'a') ADVANCE(56); + if (lookahead == 'u') ADVANCE(57); + END_STATE(); + case 33: + if (lookahead == 'e') ADVANCE(58); + if (lookahead == 'i') ADVANCE(59); + END_STATE(); + case 34: + if (lookahead == 'i') ADVANCE(60); + END_STATE(); + case 35: + if (lookahead == 'h') ADVANCE(61); + END_STATE(); + case 36: + if (lookahead == 'e') ADVANCE(62); + END_STATE(); + case 37: + if (lookahead == 'h') ADVANCE(63); + END_STATE(); case 38: - if (lookahead == 'e') ADVANCE(53); + if (lookahead == 'n') ADVANCE(64); END_STATE(); case 39: - if (lookahead == 'r') ADVANCE(54); + if (lookahead == 's') ADVANCE(65); END_STATE(); case 40: - if (lookahead == 'l') ADVANCE(55); - END_STATE(); - case 41: - if (lookahead == 'r') ADVANCE(56); - END_STATE(); - case 42: - if (lookahead == 'e') ADVANCE(57); - END_STATE(); - case 43: - ACCEPT_TOKEN(anon_sym_from); - END_STATE(); - case 44: - if (lookahead == 't') ADVANCE(58); - END_STATE(); - case 45: - ACCEPT_TOKEN(anon_sym_help); - END_STATE(); - case 46: - if (lookahead == 'r') ADVANCE(59); - END_STATE(); - case 47: - ACCEPT_TOKEN(anon_sym_into); - END_STATE(); - case 48: - if (lookahead == 'u') ADVANCE(60); - END_STATE(); - case 49: - if (lookahead == 'o') ADVANCE(61); - END_STATE(); - case 50: - ACCEPT_TOKEN(anon_sym_read); - END_STATE(); - case 51: - if (lookahead == 'c') ADVANCE(62); - END_STATE(); - case 52: - if (lookahead == 'e') ADVANCE(63); - END_STATE(); - case 53: - ACCEPT_TOKEN(anon_sym_true); - END_STATE(); - case 54: - if (lookahead == 'e') ADVANCE(64); - END_STATE(); - case 55: - if (lookahead == 'e') ADVANCE(65); - END_STATE(); - case 56: if (lookahead == 't') ADVANCE(66); END_STATE(); + case 41: + if (lookahead == 'h') ADVANCE(67); + END_STATE(); + case 42: + ACCEPT_TOKEN(anon_sym_for); + END_STATE(); + case 43: + if (lookahead == 'm') ADVANCE(68); + END_STATE(); + case 44: + if (lookahead == 'c') ADVANCE(69); + END_STATE(); + case 45: + if (lookahead == 'p') ADVANCE(70); + END_STATE(); + case 46: + if (lookahead == 'e') ADVANCE(71); + END_STATE(); + case 47: + if (lookahead == 'o') ADVANCE(72); + END_STATE(); + case 48: + if (lookahead == 'p') ADVANCE(73); + END_STATE(); + case 49: + if (lookahead == 'd') ADVANCE(74); + END_STATE(); + case 50: + ACCEPT_TOKEN(anon_sym_raw); + END_STATE(); + case 51: + if (lookahead == 'd') ADVANCE(75); + END_STATE(); + case 52: + if (lookahead == 'e') ADVANCE(76); + END_STATE(); + case 53: + if (lookahead == 't') ADVANCE(77); + END_STATE(); + case 54: + if (lookahead == 'l') ADVANCE(78); + END_STATE(); + case 55: + if (lookahead == 'c') ADVANCE(79); + if (lookahead == 'j') ADVANCE(80); + END_STATE(); + case 56: + if (lookahead == 'n') ADVANCE(81); + END_STATE(); case 57: - ACCEPT_TOKEN(anon_sym_false); + if (lookahead == 'e') ADVANCE(82); END_STATE(); case 58: - if (lookahead == 'i') ADVANCE(67); + if (lookahead == 'r') ADVANCE(83); END_STATE(); case 59: - if (lookahead == 't') ADVANCE(68); - END_STATE(); - case 60: - if (lookahead == 't') ADVANCE(69); - END_STATE(); - case 61: - if (lookahead == 'm') ADVANCE(70); - END_STATE(); - case 62: - if (lookahead == 't') ADVANCE(71); - END_STATE(); - case 63: - ACCEPT_TOKEN(anon_sym_table); - END_STATE(); - case 64: - ACCEPT_TOKEN(anon_sym_where); - END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_while); - END_STATE(); - case 66: - ACCEPT_TOKEN(anon_sym_assert); - if (lookahead == '_') ADVANCE(72); - END_STATE(); - case 67: - if (lookahead == 'o') ADVANCE(73); - END_STATE(); - case 68: - ACCEPT_TOKEN(anon_sym_insert); - END_STATE(); - case 69: - ACCEPT_TOKEN(anon_sym_output); - END_STATE(); - case 70: - ACCEPT_TOKEN(anon_sym_random); - if (lookahead == '_') ADVANCE(74); - END_STATE(); - case 71: - ACCEPT_TOKEN(anon_sym_select); - END_STATE(); - case 72: - if (lookahead == 'e') ADVANCE(75); - END_STATE(); - case 73: - 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 60: + if (lookahead == 't') ADVANCE(85); + END_STATE(); + case 61: + ACCEPT_TOKEN(anon_sym_zsh); + END_STATE(); + case 62: + if (lookahead == 'r') ADVANCE(86); + END_STATE(); + case 63: + ACCEPT_TOKEN(anon_sym_bash); + END_STATE(); + case 64: + if (lookahead == 't') ADVANCE(87); + END_STATE(); + case 65: + if (lookahead == 'e') ADVANCE(88); + END_STATE(); + case 66: + if (lookahead == 'e') ADVANCE(89); + END_STATE(); + case 67: + ACCEPT_TOKEN(anon_sym_fish); + END_STATE(); + case 68: + ACCEPT_TOKEN(anon_sym_from); + if (lookahead == '_') ADVANCE(90); + END_STATE(); + case 69: + if (lookahead == 't') ADVANCE(91); + END_STATE(); + case 70: + ACCEPT_TOKEN(anon_sym_help); + END_STATE(); + case 71: + if (lookahead == 'r') ADVANCE(92); + END_STATE(); + case 72: + ACCEPT_TOKEN(anon_sym_into); + END_STATE(); + case 73: + if (lookahead == 'u') ADVANCE(93); + END_STATE(); + case 74: + if (lookahead == 'o') ADVANCE(94); + END_STATE(); + case 75: + ACCEPT_TOKEN(anon_sym_read); + END_STATE(); + case 76: + if (lookahead == 'c') ADVANCE(95); + END_STATE(); + case 77: + ACCEPT_TOKEN(anon_sym_sort); + END_STATE(); + case 78: + if (lookahead == 'e') ADVANCE(96); + END_STATE(); + case 79: + if (lookahead == 's') ADVANCE(97); + END_STATE(); + case 80: + if (lookahead == 's') ADVANCE(98); + END_STATE(); + case 81: + if (lookahead == 's') ADVANCE(99); + END_STATE(); + case 82: + ACCEPT_TOKEN(anon_sym_true); + END_STATE(); case 83: - if (lookahead == 'g') ADVANCE(85); + if (lookahead == 'e') ADVANCE(100); END_STATE(); case 84: - ACCEPT_TOKEN(anon_sym_assert_equal); + if (lookahead == 'e') ADVANCE(101); END_STATE(); case 85: - if (lookahead == 'e') ADVANCE(86); + if (lookahead == 'e') ADVANCE(102); END_STATE(); case 86: - if (lookahead == 'r') ADVANCE(87); + if (lookahead == 't') ADVANCE(103); END_STATE(); case 87: + ACCEPT_TOKEN(anon_sym_count); + END_STATE(); + case 88: + ACCEPT_TOKEN(anon_sym_false); + END_STATE(); + case 89: + if (lookahead == 'r') ADVANCE(104); + END_STATE(); + case 90: + if (lookahead == 'c') ADVANCE(105); + if (lookahead == 'j') ADVANCE(106); + END_STATE(); + case 91: + if (lookahead == 'i') ADVANCE(107); + END_STATE(); + case 92: + if (lookahead == 't') ADVANCE(108); + END_STATE(); + case 93: + if (lookahead == 't') ADVANCE(109); + END_STATE(); + case 94: + if (lookahead == 'm') ADVANCE(110); + END_STATE(); + case 95: + if (lookahead == 't') ADVANCE(111); + END_STATE(); + case 96: + ACCEPT_TOKEN(anon_sym_table); + END_STATE(); + case 97: + if (lookahead == 'v') ADVANCE(112); + END_STATE(); + case 98: + if (lookahead == 'o') ADVANCE(113); + END_STATE(); + case 99: + if (lookahead == 'f') ADVANCE(114); + END_STATE(); + case 100: + ACCEPT_TOKEN(anon_sym_where); + END_STATE(); + case 101: + ACCEPT_TOKEN(anon_sym_while); + END_STATE(); + case 102: + ACCEPT_TOKEN(anon_sym_write); + END_STATE(); + case 103: + ACCEPT_TOKEN(anon_sym_assert); + if (lookahead == '_') ADVANCE(115); + END_STATE(); + case 104: + ACCEPT_TOKEN(anon_sym_filter); + END_STATE(); + case 105: + if (lookahead == 's') ADVANCE(116); + END_STATE(); + case 106: + if (lookahead == 's') ADVANCE(117); + END_STATE(); + case 107: + if (lookahead == 'o') ADVANCE(118); + END_STATE(); + case 108: + ACCEPT_TOKEN(anon_sym_insert); + END_STATE(); + case 109: + ACCEPT_TOKEN(anon_sym_output); + END_STATE(); + case 110: + ACCEPT_TOKEN(anon_sym_random); + if (lookahead == '_') ADVANCE(119); + END_STATE(); + case 111: + ACCEPT_TOKEN(anon_sym_select); + END_STATE(); + case 112: + ACCEPT_TOKEN(anon_sym_to_csv); + END_STATE(); + case 113: + if (lookahead == 'n') ADVANCE(120); + END_STATE(); + case 114: + if (lookahead == 'o') ADVANCE(121); + END_STATE(); + case 115: + if (lookahead == 'e') ADVANCE(122); + END_STATE(); + case 116: + if (lookahead == 'v') ADVANCE(123); + END_STATE(); + case 117: + if (lookahead == 'o') ADVANCE(124); + END_STATE(); + case 118: + if (lookahead == 'n') ADVANCE(125); + END_STATE(); + case 119: + if (lookahead == 'b') ADVANCE(126); + if (lookahead == 'f') ADVANCE(127); + if (lookahead == 'i') ADVANCE(128); + if (lookahead == 's') ADVANCE(129); + END_STATE(); + case 120: + ACCEPT_TOKEN(anon_sym_to_json); + END_STATE(); + case 121: + if (lookahead == 'r') ADVANCE(130); + END_STATE(); + case 122: + if (lookahead == 'q') ADVANCE(131); + END_STATE(); + case 123: + ACCEPT_TOKEN(anon_sym_from_csv); + END_STATE(); + case 124: + if (lookahead == 'n') ADVANCE(132); + END_STATE(); + case 125: + ACCEPT_TOKEN(anon_sym_function); + END_STATE(); + case 126: + if (lookahead == 'o') ADVANCE(133); + END_STATE(); + case 127: + if (lookahead == 'l') ADVANCE(134); + END_STATE(); + case 128: + if (lookahead == 'n') ADVANCE(135); + END_STATE(); + case 129: + if (lookahead == 't') ADVANCE(136); + END_STATE(); + case 130: + if (lookahead == 'm') ADVANCE(137); + END_STATE(); + case 131: + if (lookahead == 'u') ADVANCE(138); + END_STATE(); + case 132: + ACCEPT_TOKEN(anon_sym_from_json); + END_STATE(); + case 133: + if (lookahead == 'o') ADVANCE(139); + END_STATE(); + case 134: + if (lookahead == 'o') ADVANCE(140); + END_STATE(); + case 135: + if (lookahead == 't') ADVANCE(141); + END_STATE(); + case 136: + if (lookahead == 'r') ADVANCE(142); + END_STATE(); + case 137: + ACCEPT_TOKEN(anon_sym_transform); + END_STATE(); + case 138: + if (lookahead == 'a') ADVANCE(143); + END_STATE(); + case 139: + if (lookahead == 'l') ADVANCE(144); + END_STATE(); + case 140: + if (lookahead == 'a') ADVANCE(145); + END_STATE(); + case 141: + if (lookahead == 'e') ADVANCE(146); + END_STATE(); + case 142: + if (lookahead == 'i') ADVANCE(147); + END_STATE(); + case 143: + if (lookahead == 'l') ADVANCE(148); + END_STATE(); + case 144: + if (lookahead == 'e') ADVANCE(149); + END_STATE(); + case 145: + if (lookahead == 't') ADVANCE(150); + END_STATE(); + case 146: + if (lookahead == 'g') ADVANCE(151); + END_STATE(); + case 147: + if (lookahead == 'n') ADVANCE(152); + END_STATE(); + case 148: + ACCEPT_TOKEN(anon_sym_assert_equal); + END_STATE(); + case 149: + if (lookahead == 'a') ADVANCE(153); + END_STATE(); + case 150: + ACCEPT_TOKEN(anon_sym_random_float); + END_STATE(); + case 151: + if (lookahead == 'e') ADVANCE(154); + END_STATE(); + case 152: + if (lookahead == 'g') ADVANCE(155); + END_STATE(); + case 153: + if (lookahead == 'n') ADVANCE(156); + END_STATE(); + case 154: + if (lookahead == 'r') ADVANCE(157); + END_STATE(); + case 155: + ACCEPT_TOKEN(anon_sym_random_string); + END_STATE(); + case 156: + ACCEPT_TOKEN(anon_sym_random_boolean); + END_STATE(); + case 157: ACCEPT_TOKEN(anon_sym_random_integer); END_STATE(); default: @@ -1535,31 +1881,31 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [5] = {.lex_state = 14}, [6] = {.lex_state = 14}, [7] = {.lex_state = 14}, - [8] = {.lex_state = 13}, + [8] = {.lex_state = 14}, [9] = {.lex_state = 14}, [10] = {.lex_state = 14}, [11] = {.lex_state = 14}, - [12] = {.lex_state = 13}, - [13] = {.lex_state = 13}, - [14] = {.lex_state = 14}, - [15] = {.lex_state = 14}, + [12] = {.lex_state = 14}, + [13] = {.lex_state = 14}, + [14] = {.lex_state = 13}, + [15] = {.lex_state = 13}, [16] = {.lex_state = 14}, [17] = {.lex_state = 14}, [18] = {.lex_state = 14}, [19] = {.lex_state = 14}, [20] = {.lex_state = 13}, - [21] = {.lex_state = 13}, - [22] = {.lex_state = 13}, - [23] = {.lex_state = 14}, - [24] = {.lex_state = 14}, - [25] = {.lex_state = 14}, - [26] = {.lex_state = 14}, - [27] = {.lex_state = 13}, + [21] = {.lex_state = 14}, + [22] = {.lex_state = 14}, + [23] = {.lex_state = 13}, + [24] = {.lex_state = 13}, + [25] = {.lex_state = 13}, + [26] = {.lex_state = 13}, + [27] = {.lex_state = 14}, [28] = {.lex_state = 14}, [29] = {.lex_state = 13}, - [30] = {.lex_state = 13}, - [31] = {.lex_state = 13}, - [32] = {.lex_state = 13}, + [30] = {.lex_state = 14}, + [31] = {.lex_state = 14}, + [32] = {.lex_state = 14}, [33] = {.lex_state = 13}, [34] = {.lex_state = 13}, [35] = {.lex_state = 13}, @@ -1573,9 +1919,9 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [43] = {.lex_state = 13}, [44] = {.lex_state = 13}, [45] = {.lex_state = 13}, - [46] = {.lex_state = 14}, - [47] = {.lex_state = 14}, - [48] = {.lex_state = 14}, + [46] = {.lex_state = 13}, + [47] = {.lex_state = 13}, + [48] = {.lex_state = 13}, [49] = {.lex_state = 13}, [50] = {.lex_state = 13}, [51] = {.lex_state = 14}, @@ -1793,8 +2139,25 @@ 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_raw] = ACTIONS(1), + [anon_sym_sh] = ACTIONS(1), + [anon_sym_bash] = ACTIONS(1), + [anon_sym_fish] = ACTIONS(1), + [anon_sym_zsh] = ACTIONS(1), [anon_sym_random] = ACTIONS(1), + [anon_sym_random_boolean] = ACTIONS(1), + [anon_sym_random_float] = ACTIONS(1), + [anon_sym_random_string] = ACTIONS(1), [anon_sym_random_integer] = ACTIONS(1), + [anon_sym_count] = ACTIONS(1), + [anon_sym_sort] = ACTIONS(1), + [anon_sym_transform] = ACTIONS(1), + [anon_sym_filter] = ACTIONS(1), + [anon_sym_to_csv] = ACTIONS(1), + [anon_sym_from_csv] = ACTIONS(1), + [anon_sym_to_json] = ACTIONS(1), + [anon_sym_from_json] = ACTIONS(1), [anon_sym_help] = ACTIONS(1), [anon_sym_select] = ACTIONS(1), [anon_sym_from] = ACTIONS(1), @@ -1804,27 +2167,27 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }, [1] = { [sym_root] = STATE(201), - [sym_item] = STATE(2), + [sym_item] = STATE(6), [sym_statement] = STATE(19), [sym_comment] = STATE(99), - [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_expression] = STATE(47), + [sym__expression_kind] = STATE(40), + [sym_value] = STATE(40), + [sym_boolean] = STATE(45), + [sym_list] = STATE(45), + [sym_function] = STATE(45), + [sym_table] = STATE(45), + [sym_map] = STATE(45), + [sym_math] = STATE(40), + [sym_logic] = STATE(40), [sym_assignment] = STATE(99), [sym_if_else] = STATE(99), [sym_if] = STATE(72), - [sym_function_call] = STATE(33), + [sym_function_call] = STATE(40), [sym_while] = STATE(99), [sym_select] = STATE(99), [sym_insert] = STATE(99), - [aux_sym_root_repeat1] = STATE(2), + [aux_sym_root_repeat1] = STATE(6), [aux_sym_item_repeat1] = STATE(19), [sym_identifier] = ACTIONS(3), [aux_sym_comment_token1] = ACTIONS(5), @@ -1846,7 +2209,255 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }; static const uint16_t ts_small_parse_table[] = { - [0] = 22, + [0] = 14, + ACTIONS(31), 1, + sym_identifier, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + STATE(61), 1, + sym_tool, + STATE(129), 1, + sym_expression, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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(49), 24, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_output, + anon_sym_read, + anon_sym_write, + anon_sym_raw, + anon_sym_sh, + anon_sym_bash, + anon_sym_fish, + anon_sym_zsh, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_string, + anon_sym_random_integer, + anon_sym_count, + anon_sym_sort, + anon_sym_transform, + anon_sym_filter, + anon_sym_to_csv, + anon_sym_from_csv, + anon_sym_to_json, + anon_sym_from_json, + anon_sym_help, + [76] = 14, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + ACTIONS(51), 1, + sym_identifier, + STATE(56), 1, + sym_tool, + STATE(129), 1, + sym_expression, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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(49), 24, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_output, + anon_sym_read, + anon_sym_write, + anon_sym_raw, + anon_sym_sh, + anon_sym_bash, + anon_sym_fish, + anon_sym_zsh, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_string, + anon_sym_random_integer, + anon_sym_count, + anon_sym_sort, + anon_sym_transform, + anon_sym_filter, + anon_sym_to_csv, + anon_sym_from_csv, + anon_sym_to_json, + anon_sym_from_json, + anon_sym_help, + [152] = 14, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + ACTIONS(53), 1, + sym_identifier, + STATE(64), 1, + sym_tool, + STATE(129), 1, + sym_expression, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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(49), 24, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_output, + anon_sym_read, + anon_sym_write, + anon_sym_raw, + anon_sym_sh, + anon_sym_bash, + anon_sym_fish, + anon_sym_zsh, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_string, + anon_sym_random_integer, + anon_sym_count, + anon_sym_sort, + anon_sym_transform, + anon_sym_filter, + anon_sym_to_csv, + anon_sym_from_csv, + anon_sym_to_json, + anon_sym_from_json, + anon_sym_help, + [228] = 22, + ACTIONS(55), 1, + ts_builtin_sym_end, + ACTIONS(57), 1, + sym_identifier, + ACTIONS(60), 1, + aux_sym_comment_token1, + ACTIONS(63), 1, + anon_sym_LPAREN, + ACTIONS(66), 1, + sym_integer, + ACTIONS(75), 1, + anon_sym_LBRACK, + ACTIONS(78), 1, + anon_sym_function, + ACTIONS(81), 1, + anon_sym_LBRACE, + ACTIONS(84), 1, + anon_sym_table, + ACTIONS(87), 1, + anon_sym_if, + ACTIONS(90), 1, + anon_sym_while, + ACTIONS(93), 1, + anon_sym_select, + ACTIONS(96), 1, + anon_sym_insert, + STATE(47), 1, + sym_expression, + STATE(72), 1, + sym_if, + ACTIONS(69), 2, + sym_float, + sym_string, + ACTIONS(72), 2, + anon_sym_true, + anon_sym_false, + STATE(5), 2, + sym_item, + aux_sym_root_repeat1, + STATE(19), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [312] = 22, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -1871,9 +2482,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - ACTIONS(31), 1, + ACTIONS(99), 1, ts_builtin_sym_end, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, @@ -1883,24 +2494,24 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_item, aux_sym_root_repeat1, STATE(19), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -1908,121 +2519,59 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [84] = 22, - ACTIONS(33), 1, - ts_builtin_sym_end, - ACTIONS(35), 1, - sym_identifier, - ACTIONS(38), 1, - aux_sym_comment_token1, - ACTIONS(41), 1, - anon_sym_LPAREN, - ACTIONS(44), 1, - sym_integer, - ACTIONS(53), 1, - anon_sym_LBRACK, - ACTIONS(56), 1, - anon_sym_function, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(62), 1, - anon_sym_table, - ACTIONS(65), 1, - anon_sym_if, - ACTIONS(68), 1, - anon_sym_while, - ACTIONS(71), 1, - anon_sym_select, - ACTIONS(74), 1, - anon_sym_insert, - STATE(44), 1, - sym_expression, - STATE(72), 1, - sym_if, - ACTIONS(47), 2, - sym_float, - sym_string, - ACTIONS(50), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_item, - aux_sym_root_repeat1, - STATE(19), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 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, - [168] = 21, - ACTIONS(79), 1, - sym_identifier, - ACTIONS(82), 1, - aux_sym_comment_token1, - ACTIONS(85), 1, - anon_sym_LPAREN, - ACTIONS(88), 1, - sym_integer, - ACTIONS(97), 1, - anon_sym_LBRACK, - ACTIONS(100), 1, - anon_sym_function, + [396] = 21, ACTIONS(103), 1, - anon_sym_LBRACE, + sym_identifier, ACTIONS(106), 1, - anon_sym_table, + aux_sym_comment_token1, ACTIONS(109), 1, - anon_sym_if, + anon_sym_LPAREN, ACTIONS(112), 1, + sym_integer, + ACTIONS(121), 1, + anon_sym_LBRACK, + ACTIONS(124), 1, + anon_sym_function, + ACTIONS(127), 1, + anon_sym_LBRACE, + ACTIONS(130), 1, + anon_sym_table, + ACTIONS(133), 1, + anon_sym_if, + ACTIONS(136), 1, anon_sym_while, - ACTIONS(115), 1, + ACTIONS(139), 1, anon_sym_select, - ACTIONS(118), 1, + ACTIONS(142), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, - ACTIONS(77), 2, + ACTIONS(101), 2, ts_builtin_sym_end, anon_sym_RBRACE, - ACTIONS(91), 2, + ACTIONS(115), 2, sym_float, sym_string, - ACTIONS(94), 2, + ACTIONS(118), 2, anon_sym_true, anon_sym_false, - STATE(4), 2, + STATE(7), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2030,7 +2579,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [249] = 21, + [477] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2055,297 +2604,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, - sym_expression, - STATE(72), 1, - sym_if, - STATE(204), 1, - sym_item, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(17), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 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, - [329] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_select, - ACTIONS(29), 1, - anon_sym_insert, - STATE(44), 1, - sym_expression, - STATE(72), 1, - sym_if, - STATE(194), 1, - sym_item, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(17), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 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, - [409] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_select, - ACTIONS(29), 1, - anon_sym_insert, - STATE(44), 1, - sym_expression, - STATE(72), 1, - sym_if, - STATE(195), 1, - sym_item, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(17), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 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, - [489] = 16, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(121), 1, - sym_identifier, - ACTIONS(123), 1, - anon_sym_RPAREN, - STATE(49), 1, - sym_expression, - STATE(52), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(125), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - ACTIONS(127), 9, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [559] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_select, - ACTIONS(29), 1, - anon_sym_insert, - STATE(44), 1, - sym_expression, - STATE(72), 1, - sym_if, - STATE(209), 1, - sym_item, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - STATE(17), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 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, - [639] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_select, - ACTIONS(29), 1, - anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, @@ -2360,18 +2619,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2379,7 +2638,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [719] = 21, + [557] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2404,11 +2663,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, - STATE(200), 1, + STATE(195), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2419,18 +2678,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2438,115 +2697,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [799] = 16, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(121), 1, - sym_identifier, - ACTIONS(129), 1, - anon_sym_RPAREN, - STATE(49), 1, - sym_expression, - STATE(59), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(125), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - ACTIONS(127), 9, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [869] = 16, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym_integer, - ACTIONS(15), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_function, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_table, - ACTIONS(121), 1, - sym_identifier, - ACTIONS(131), 1, - anon_sym_RPAREN, - STATE(49), 1, - sym_expression, - STATE(69), 1, - aux_sym_list_repeat1, - ACTIONS(11), 2, - sym_float, - sym_string, - ACTIONS(13), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(125), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - ACTIONS(127), 9, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [939] = 21, + [637] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2571,11 +2722,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, - STATE(215), 1, + STATE(204), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2586,18 +2737,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2605,7 +2756,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [1019] = 21, + [717] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2630,11 +2781,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, - STATE(185), 1, + STATE(209), 1, sym_item, ACTIONS(11), 2, sym_float, @@ -2645,18 +2796,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2664,7 +2815,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [1099] = 21, + [797] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2689,7 +2840,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, @@ -2704,18 +2855,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2723,7 +2874,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [1179] = 21, + [877] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2748,9 +2899,235 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - ACTIONS(133), 1, + STATE(47), 1, + sym_expression, + STATE(72), 1, + sym_if, + STATE(185), 1, + sym_item, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(17), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [957] = 16, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(145), 1, + sym_identifier, + ACTIONS(147), 1, + anon_sym_RPAREN, + STATE(49), 1, + sym_expression, + STATE(59), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(149), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + ACTIONS(151), 9, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [1027] = 16, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(145), 1, + sym_identifier, + ACTIONS(153), 1, + anon_sym_RPAREN, + STATE(49), 1, + sym_expression, + STATE(69), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(149), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + ACTIONS(151), 9, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [1097] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(47), 1, + sym_expression, + STATE(72), 1, + sym_if, + STATE(200), 1, + sym_item, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(17), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1177] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + ACTIONS(155), 1, anon_sym_RBRACE, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, @@ -2760,21 +3137,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(4), 2, + STATE(7), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2782,7 +3159,7 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [1259] = 21, + [1257] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -2807,7 +3184,225 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, + sym_expression, + STATE(72), 1, + sym_if, + STATE(194), 1, + sym_item, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(17), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1337] = 8, + STATE(47), 1, + sym_expression, + STATE(72), 1, + sym_if, + STATE(7), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + ACTIONS(155), 7, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(157), 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, + [1391] = 16, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(145), 1, + sym_identifier, + ACTIONS(159), 1, + anon_sym_RPAREN, + STATE(49), 1, + sym_expression, + STATE(52), 1, + aux_sym_list_repeat1, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(149), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + ACTIONS(151), 9, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [1461] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(47), 1, + sym_expression, + STATE(72), 1, + sym_if, + STATE(215), 1, + sym_item, + ACTIONS(11), 2, + sym_float, + sym_string, + ACTIONS(13), 2, + anon_sym_true, + anon_sym_false, + STATE(17), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(40), 5, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(99), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1541] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym_integer, + ACTIONS(15), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_function, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, @@ -2822,18 +3417,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -2841,75 +3436,29 @@ static const uint16_t ts_small_parse_table[] = { sym_while, sym_select, sym_insert, - [1339] = 8, - STATE(44), 1, - sym_expression, - STATE(72), 1, - sym_if, - STATE(4), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 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, - ACTIONS(133), 7, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - ACTIONS(135), 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, - [1393] = 8, - ACTIONS(145), 1, + [1621] = 8, + ACTIONS(169), 1, anon_sym_DASH, STATE(77), 1, sym_logic_operator, STATE(81), 1, sym_math_operator, - ACTIONS(141), 3, + ACTIONS(165), 3, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(143), 4, + ACTIONS(167), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 5, + ACTIONS(171), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(139), 10, + ACTIONS(163), 10, sym_identifier, sym_integer, anon_sym_true, @@ -2920,7 +3469,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - ACTIONS(137), 11, + ACTIONS(161), 11, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -2932,12 +3481,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - [1446] = 4, + [1674] = 4, STATE(77), 1, sym_logic_operator, STATE(81), 1, sym_math_operator, - ACTIONS(151), 14, + ACTIONS(175), 14, sym_identifier, sym_integer, anon_sym_true, @@ -2952,7 +3501,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - ACTIONS(149), 20, + ACTIONS(173), 20, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -2973,8 +3522,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [1491] = 2, - ACTIONS(155), 15, + [1719] = 2, + ACTIONS(179), 15, sym_identifier, sym_integer, anon_sym_true, @@ -2990,7 +3539,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_into, - ACTIONS(153), 20, + ACTIONS(177), 20, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -3011,239 +3560,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [1531] = 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(213), 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, - [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(211), 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, - 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, - 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, - [1835] = 5, - ACTIONS(179), 1, + [1759] = 5, + ACTIONS(181), 1, anon_sym_EQ, STATE(28), 1, sym_assignment_operator, - ACTIONS(181), 2, + ACTIONS(183), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(125), 15, + ACTIONS(149), 15, sym_identifier, sym_integer, anon_sym_true, @@ -3259,7 +3584,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - ACTIONS(127), 16, + ACTIONS(151), 16, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -3276,6 +3601,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, + [1805] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_select, + ACTIONS(189), 1, + anon_sym_insert, + STATE(72), 1, + sym_if, + STATE(118), 1, + sym_expression, + STATE(213), 1, + sym_statement, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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, [1881] = 20, ACTIONS(3), 1, sym_identifier, @@ -3301,7 +3682,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(29), 1, anon_sym_insert, - STATE(44), 1, + STATE(47), 1, sym_expression, STATE(72), 1, sym_if, @@ -3313,18 +3694,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, STATE(99), 6, sym_comment, sym_assignment, @@ -3333,7 +3714,7 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, [1957] = 2, - ACTIONS(185), 15, + ACTIONS(193), 15, sym_identifier, sym_integer, anon_sym_true, @@ -3349,80 +3730,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_into, - ACTIONS(183), 20, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [1997] = 2, - ACTIONS(189), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, - ACTIONS(187), 20, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [2036] = 2, - ACTIONS(193), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_if, - anon_sym_while, - anon_sym_select, - anon_sym_insert, ACTIONS(191), 20, ts_builtin_sym_end, aux_sym_comment_token1, @@ -3444,7 +3751,175 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2075] = 2, + [1997] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_select, + ACTIONS(189), 1, + anon_sym_insert, + STATE(72), 1, + sym_if, + STATE(118), 1, + sym_expression, + STATE(189), 1, + sym_statement, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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, + [2073] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_select, + ACTIONS(189), 1, + anon_sym_insert, + STATE(72), 1, + sym_if, + STATE(118), 1, + sym_expression, + STATE(211), 1, + sym_statement, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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, + [2149] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(33), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + sym_integer, + ACTIONS(41), 1, + anon_sym_LBRACK, + ACTIONS(43), 1, + anon_sym_function, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + anon_sym_table, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_select, + ACTIONS(189), 1, + anon_sym_insert, + STATE(72), 1, + sym_if, + STATE(101), 1, + sym_statement, + STATE(118), 1, + sym_expression, + ACTIONS(37), 2, + sym_float, + sym_string, + ACTIONS(39), 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, + [2225] = 2, ACTIONS(197), 14, sym_identifier, sym_integer, @@ -3481,7 +3956,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2114] = 2, + [2264] = 2, ACTIONS(201), 14, sym_identifier, sym_integer, @@ -3518,7 +3993,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2153] = 2, + [2303] = 2, ACTIONS(205), 14, sym_identifier, sym_integer, @@ -3555,7 +4030,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2192] = 2, + [2342] = 2, ACTIONS(209), 14, sym_identifier, sym_integer, @@ -3592,7 +4067,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2231] = 2, + [2381] = 2, ACTIONS(213), 14, sym_identifier, sym_integer, @@ -3629,7 +4104,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2270] = 2, + [2420] = 2, ACTIONS(217), 14, sym_identifier, sym_integer, @@ -3666,7 +4141,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2309] = 2, + [2459] = 2, ACTIONS(221), 14, sym_identifier, sym_integer, @@ -3703,7 +4178,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2348] = 2, + [2498] = 2, ACTIONS(225), 14, sym_identifier, sym_integer, @@ -3740,7 +4215,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2387] = 2, + [2537] = 2, ACTIONS(229), 14, sym_identifier, sym_integer, @@ -3777,7 +4252,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2426] = 2, + [2576] = 2, ACTIONS(233), 14, sym_identifier, sym_integer, @@ -3814,7 +4289,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2465] = 2, + [2615] = 2, ACTIONS(237), 14, sym_identifier, sym_integer, @@ -3851,96 +4326,102 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [2504] = 8, - ACTIONS(145), 1, - anon_sym_DASH, - STATE(77), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(141), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(143), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(147), 5, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(239), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(241), 10, + [2654] = 2, + ACTIONS(241), 14, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, + anon_sym_LT, + anon_sym_GT, anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, anon_sym_select, anon_sym_insert, - [2554] = 8, - ACTIONS(145), 1, - anon_sym_DASH, - STATE(77), 1, - sym_logic_operator, - STATE(81), 1, - sym_math_operator, - ACTIONS(141), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(143), 4, + ACTIONS(239), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(243), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(245), 10, + [2693] = 2, + ACTIONS(245), 14, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, + anon_sym_LT, + anon_sym_GT, anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, anon_sym_if, anon_sym_while, anon_sym_select, anon_sym_insert, - [2604] = 4, - ACTIONS(125), 4, + ACTIONS(243), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2732] = 8, + ACTIONS(169), 1, + anon_sym_DASH, + STATE(77), 1, + sym_logic_operator, + STATE(81), 1, + sym_math_operator, + ACTIONS(165), 3, anon_sym_LT, anon_sym_GT, - anon_sym_DASH, anon_sym_PIPE_PIPE, + ACTIONS(167), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, ACTIONS(247), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -3950,16 +4431,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(127), 9, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, ACTIONS(249), 10, sym_identifier, sym_integer, @@ -3971,143 +4442,86 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [2644] = 14, - ACTIONS(159), 1, - anon_sym_LPAREN, - ACTIONS(161), 1, - sym_integer, - ACTIONS(167), 1, - anon_sym_LBRACK, + [2782] = 8, 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, + anon_sym_DASH, + STATE(77), 1, + sym_logic_operator, + STATE(81), 1, + sym_math_operator, + ACTIONS(165), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(167), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(251), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, sym_float, sym_string, - ACTIONS(165), 2, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(253), 10, + sym_identifier, + sym_integer, 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, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [2832] = 4, + ACTIONS(149), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + ACTIONS(255), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, 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, + anon_sym_RBRACE, + ACTIONS(151), 9, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(257), 10, sym_identifier, - STATE(56), 1, - sym_tool, - STATE(129), 1, - sym_expression, - ACTIONS(163), 2, - sym_float, - sym_string, - ACTIONS(165), 2, + sym_integer, 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_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [2872] = 9, + ACTIONS(169), 1, anon_sym_DASH, ACTIONS(263), 1, anon_sym_COMMA, @@ -4115,16 +4529,16 @@ static const uint16_t ts_small_parse_table[] = { sym_logic_operator, STATE(81), 1, sym_math_operator, - ACTIONS(141), 3, + ACTIONS(165), 3, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(143), 4, + ACTIONS(167), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 5, + ACTIONS(171), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -4145,23 +4559,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [2869] = 8, - ACTIONS(145), 1, + [2920] = 8, + ACTIONS(169), 1, anon_sym_DASH, STATE(77), 1, sym_logic_operator, STATE(81), 1, sym_math_operator, - ACTIONS(141), 3, + ACTIONS(165), 3, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(143), 4, + ACTIONS(167), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 5, + ACTIONS(171), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -4181,7 +4595,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - [2913] = 14, + [2964] = 14, ACTIONS(269), 1, sym_identifier, ACTIONS(272), 1, @@ -4209,19 +4623,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(283), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [2967] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3018] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4234,7 +4648,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(298), 1, anon_sym_RPAREN, @@ -4248,19 +4662,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3020] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3071] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4273,7 +4687,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(300), 1, anon_sym_RBRACE, @@ -4287,19 +4701,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3073] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3124] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4312,7 +4726,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(302), 1, anon_sym_RBRACK, @@ -4326,19 +4740,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3126] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3177] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4351,7 +4765,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(304), 1, anon_sym_RBRACE, @@ -4365,19 +4779,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3179] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3230] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4390,9 +4804,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, - ACTIONS(123), 1, + ACTIONS(159), 1, anon_sym_RPAREN, STATE(49), 1, sym_expression, @@ -4404,19 +4818,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3232] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3283] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4429,7 +4843,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(306), 1, anon_sym_RBRACE, @@ -4443,19 +4857,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3285] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3336] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4468,7 +4882,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(308), 1, anon_sym_RBRACE, @@ -4482,19 +4896,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3338] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3389] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4507,7 +4921,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(310), 1, anon_sym_RPAREN, @@ -4521,19 +4935,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3391] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3442] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4546,7 +4960,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(312), 1, anon_sym_RBRACK, @@ -4560,19 +4974,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3444] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3495] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4585,9 +4999,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, - ACTIONS(129), 1, + ACTIONS(147), 1, anon_sym_RPAREN, STATE(49), 1, sym_expression, @@ -4599,19 +5013,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3497] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3548] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4624,7 +5038,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(314), 1, anon_sym_RBRACE, @@ -4638,19 +5052,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3550] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3601] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4663,7 +5077,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(316), 1, anon_sym_RBRACK, @@ -4677,19 +5091,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3603] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3654] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4702,9 +5116,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, - ACTIONS(131), 1, + ACTIONS(153), 1, anon_sym_RPAREN, STATE(49), 1, sym_expression, @@ -4716,19 +5130,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3656] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3707] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4741,7 +5155,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(318), 1, anon_sym_RBRACK, @@ -4755,19 +5169,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3709] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3760] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4780,7 +5194,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(320), 1, anon_sym_RBRACK, @@ -4794,19 +5208,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3762] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3813] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4819,7 +5233,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(322), 1, anon_sym_RBRACK, @@ -4833,19 +5247,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3815] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3866] = 14, ACTIONS(324), 1, sym_identifier, ACTIONS(327), 1, @@ -4872,19 +5286,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(336), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3868] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3919] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4897,7 +5311,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(353), 1, anon_sym_RPAREN, @@ -4911,19 +5325,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3921] = 14, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3972] = 14, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -4936,7 +5350,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, ACTIONS(355), 1, anon_sym_RBRACE, @@ -4950,19 +5364,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [3974] = 6, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4025] = 6, ACTIONS(361), 1, anon_sym_elseif, ACTIONS(363), 1, @@ -4992,7 +5406,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4010] = 6, + [4061] = 6, ACTIONS(361), 1, anon_sym_elseif, ACTIONS(363), 1, @@ -5022,18 +5436,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4046] = 13, - ACTIONS(159), 1, + [4097] = 13, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, @@ -5041,10 +5455,10 @@ static const uint16_t ts_small_parse_table[] = { sym_expression, STATE(144), 1, sym_logic, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(119), 4, @@ -5058,27 +5472,27 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4095] = 12, - ACTIONS(159), 1, + [4146] = 12, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, STATE(93), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(116), 5, @@ -5093,7 +5507,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4142] = 12, + [4193] = 12, ACTIONS(371), 1, sym_identifier, ACTIONS(373), 1, @@ -5128,27 +5542,27 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4189] = 12, - ACTIONS(159), 1, + [4240] = 12, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, STATE(107), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(116), 5, @@ -5163,7 +5577,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4236] = 12, + [4287] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5176,9 +5590,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, - STATE(20), 1, + STATE(23), 1, sym_expression, ACTIONS(11), 2, sym_float, @@ -5186,41 +5600,41 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4283] = 13, - ACTIONS(159), 1, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4334] = 13, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, - STATE(45), 1, + STATE(48), 1, sym_logic, STATE(136), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(119), 4, @@ -5234,7 +5648,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4332] = 12, + [4383] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5247,9 +5661,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, - STATE(43), 1, + STATE(46), 1, sym_expression, ACTIONS(11), 2, sym_float, @@ -5257,19 +5671,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4379] = 12, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4430] = 12, ACTIONS(371), 1, sym_identifier, ACTIONS(373), 1, @@ -5304,7 +5718,7 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4426] = 12, + [4477] = 12, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, @@ -5317,9 +5731,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(21), 1, anon_sym_table, - ACTIONS(121), 1, + ACTIONS(145), 1, sym_identifier, - STATE(21), 1, + STATE(24), 1, sym_expression, ACTIONS(11), 2, sym_float, @@ -5327,19 +5741,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, anon_sym_true, anon_sym_false, - STATE(30), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(33), 5, + STATE(40), 5, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, - [4473] = 4, + STATE(45), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4524] = 4, ACTIONS(393), 1, anon_sym_elseif, STATE(82), 2, @@ -5366,7 +5780,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4504] = 12, + [4555] = 12, ACTIONS(371), 1, sym_identifier, ACTIONS(373), 1, @@ -5401,27 +5815,27 @@ static const uint16_t ts_small_parse_table[] = { sym_function, sym_table, sym_map, - [4551] = 12, - ACTIONS(159), 1, + [4602] = 12, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, STATE(111), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(116), 5, @@ -5436,27 +5850,27 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4598] = 12, - ACTIONS(159), 1, + [4649] = 12, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, STATE(92), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(116), 5, @@ -5471,27 +5885,27 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4645] = 12, - ACTIONS(159), 1, + [4696] = 12, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, STATE(109), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(116), 5, @@ -5506,27 +5920,27 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4692] = 12, - ACTIONS(159), 1, + [4743] = 12, + ACTIONS(33), 1, anon_sym_LPAREN, - ACTIONS(161), 1, + ACTIONS(35), 1, sym_integer, - ACTIONS(167), 1, + ACTIONS(41), 1, anon_sym_LBRACK, - ACTIONS(169), 1, + ACTIONS(43), 1, anon_sym_function, - ACTIONS(171), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(173), 1, + ACTIONS(47), 1, anon_sym_table, ACTIONS(369), 1, sym_identifier, STATE(108), 1, sym_expression, - ACTIONS(163), 2, + ACTIONS(37), 2, sym_float, sym_string, - ACTIONS(165), 2, + ACTIONS(39), 2, anon_sym_true, anon_sym_false, STATE(116), 5, @@ -5541,7 +5955,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math, sym_logic, sym_function_call, - [4739] = 2, + [4790] = 2, ACTIONS(396), 9, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5564,7 +5978,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4764] = 2, + [4815] = 2, ACTIONS(400), 9, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5587,7 +6001,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4789] = 3, + [4840] = 3, ACTIONS(408), 1, anon_sym_where, ACTIONS(404), 8, @@ -5610,7 +6024,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4815] = 3, + [4866] = 3, ACTIONS(414), 1, anon_sym_where, ACTIONS(410), 8, @@ -5633,15 +6047,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4841] = 4, + [4892] = 4, STATE(74), 1, sym_logic_operator, STATE(85), 1, sym_math_operator, - ACTIONS(151), 2, + ACTIONS(175), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(149), 14, + ACTIONS(173), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5656,32 +6070,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4868] = 6, + [4919] = 6, STATE(74), 1, sym_logic_operator, STATE(85), 1, sym_math_operator, - ACTIONS(141), 2, + ACTIONS(165), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(137), 3, + ACTIONS(161), 3, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(143), 5, + ACTIONS(167), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 6, + ACTIONS(171), 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, - [4899] = 2, + [4950] = 2, ACTIONS(357), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5702,7 +6116,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4922] = 2, + [4973] = 2, ACTIONS(416), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5723,7 +6137,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4945] = 2, + [4996] = 2, ACTIONS(420), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5744,7 +6158,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4968] = 2, + [5019] = 2, ACTIONS(424), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5765,7 +6179,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [4991] = 2, + [5042] = 2, ACTIONS(428), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5786,8 +6200,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [5014] = 2, - ACTIONS(243), 8, + [5065] = 2, + ACTIONS(251), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, @@ -5796,7 +6210,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(245), 10, + ACTIONS(253), 10, sym_identifier, sym_integer, anon_sym_true, @@ -5807,20 +6221,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [5037] = 5, - ACTIONS(179), 1, + [5088] = 5, + ACTIONS(181), 1, anon_sym_EQ, - STATE(25), 1, + STATE(32), 1, sym_assignment_operator, - ACTIONS(181), 2, + ACTIONS(183), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(125), 4, + ACTIONS(149), 4, anon_sym_LT, anon_sym_GT, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(127), 10, + ACTIONS(151), 10, anon_sym_RBRACE, anon_sym_STAR, anon_sym_SLASH, @@ -5831,7 +6245,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5066] = 2, + [5117] = 2, ACTIONS(432), 8, ts_builtin_sym_end, aux_sym_comment_token1, @@ -5852,7 +6266,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, anon_sym_select, anon_sym_insert, - [5089] = 7, + [5140] = 7, ACTIONS(436), 1, sym_identifier, ACTIONS(438), 1, @@ -5861,33 +6275,33 @@ static const uint16_t ts_small_parse_table[] = { sym_logic_operator, STATE(83), 1, sym_math_operator, - ACTIONS(141), 3, + ACTIONS(165), 3, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(143), 5, + ACTIONS(167), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 5, + ACTIONS(171), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5121] = 4, + [5172] = 4, STATE(80), 1, sym_logic_operator, STATE(83), 1, sym_math_operator, - ACTIONS(151), 4, + ACTIONS(175), 4, sym_identifier, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(149), 11, + ACTIONS(173), 11, anon_sym_RBRACE, anon_sym_PLUS, anon_sym_DASH, @@ -5899,413 +6313,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5147] = 7, - ACTIONS(137), 1, + [5198] = 7, + ACTIONS(161), 1, anon_sym_RBRACE, - ACTIONS(139), 1, + ACTIONS(163), 1, sym_identifier, STATE(80), 1, sym_logic_operator, STATE(83), 1, sym_math_operator, - ACTIONS(141), 3, + ACTIONS(165), 3, anon_sym_LT, anon_sym_GT, anon_sym_PIPE_PIPE, - ACTIONS(143), 5, + ACTIONS(167), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 5, + ACTIONS(171), 5, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5179] = 2, - ACTIONS(237), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(235), 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, - [5200] = 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, - [5221] = 6, - ACTIONS(440), 1, - anon_sym_LBRACE, - 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, - [5250] = 6, - ACTIONS(442), 1, - anon_sym_LBRACE, - 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, - [5279] = 6, - ACTIONS(444), 1, - anon_sym_LBRACE, - 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, - [5308] = 2, - ACTIONS(225), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(223), 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, - [5329] = 6, - ACTIONS(239), 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, - [5358] = 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, - [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(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, - [5421] = 2, - ACTIONS(217), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(215), 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, - [5442] = 2, - ACTIONS(189), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(187), 14, - anon_sym_RPAREN, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [5463] = 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, - [5484] = 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, - [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, + [5230] = 2, ACTIONS(209), 2, anon_sym_LT, anon_sym_GT, @@ -6324,11 +6357,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5639] = 2, - ACTIONS(155), 2, + [5251] = 2, + ACTIONS(221), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(153), 14, + ACTIONS(219), 14, anon_sym_RPAREN, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6343,82 +6376,406 @@ static const uint16_t ts_small_parse_table[] = { 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, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(203), 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, - [5700] = 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, - [5720] = 5, + [5272] = 6, + ACTIONS(440), 1, + anon_sym_LBRACE, STATE(74), 1, sym_logic_operator, STATE(85), 1, sym_math_operator, - ACTIONS(141), 2, + ACTIONS(165), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(143), 5, + ACTIONS(167), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(147), 6, + ACTIONS(171), 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, - [5746] = 2, + [5301] = 6, + ACTIONS(442), 1, + anon_sym_LBRACE, + STATE(74), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 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, + [5330] = 6, + ACTIONS(444), 1, + anon_sym_LBRACE, + STATE(74), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 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, + [5359] = 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, + [5380] = 6, + ACTIONS(247), 1, + anon_sym_RBRACE, + STATE(74), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 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, + [5409] = 2, + ACTIONS(237), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(235), 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, + [5430] = 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, + [5451] = 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, + [5472] = 2, + ACTIONS(217), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(215), 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, + [5493] = 2, + ACTIONS(245), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(243), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5514] = 2, + ACTIONS(241), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(239), 14, + anon_sym_RPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5535] = 6, + ACTIONS(251), 1, + anon_sym_RBRACE, + STATE(74), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 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, + [5564] = 2, + ACTIONS(225), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(223), 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, + [5585] = 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, + [5606] = 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, + [5627] = 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, + [5648] = 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, + [5669] = 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, + [5690] = 2, + ACTIONS(179), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(177), 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, + [5711] = 2, + ACTIONS(179), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(177), 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, + [5731] = 2, ACTIONS(201), 4, sym_identifier, anon_sym_LT, @@ -6436,208 +6793,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [5766] = 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, - [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, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(187), 11, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [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, - 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, - [5892] = 2, - ACTIONS(221), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(219), 11, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [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, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(191), 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, - [5972] = 2, - ACTIONS(185), 4, - sym_identifier, - anon_sym_LT, - anon_sym_GT, - anon_sym_PIPE_PIPE, - ACTIONS(183), 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, - [5992] = 2, + [5751] = 2, ACTIONS(229), 4, sym_identifier, anon_sym_LT, @@ -6655,13 +6811,271 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6012] = 3, + [5771] = 5, + STATE(74), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 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, + [5797] = 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, + [5817] = 2, + ACTIONS(205), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(203), 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, + [5837] = 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, + [5857] = 2, + ACTIONS(245), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(243), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5877] = 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, + [5897] = 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, + [5917] = 5, + STATE(77), 1, + sym_logic_operator, + STATE(85), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(171), 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, + [5943] = 2, + ACTIONS(221), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(219), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5963] = 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, + [5983] = 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, + [6003] = 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, + [6023] = 2, + ACTIONS(193), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(191), 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, + [6043] = 2, + ACTIONS(241), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(239), 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, + [6063] = 3, ACTIONS(450), 1, anon_sym_RPAREN, - ACTIONS(201), 2, + ACTIONS(225), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(199), 11, + ACTIONS(223), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6673,13 +7087,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6033] = 3, - ACTIONS(247), 1, + [6084] = 3, + ACTIONS(255), 1, anon_sym_RBRACE, - ACTIONS(125), 2, + ACTIONS(149), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(127), 11, + ACTIONS(151), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6691,13 +7105,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6054] = 3, + [6105] = 3, ACTIONS(452), 1, anon_sym_RPAREN, - ACTIONS(201), 2, + ACTIONS(225), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(199), 11, + ACTIONS(223), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6709,13 +7123,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6075] = 3, + [6126] = 3, ACTIONS(454), 1, anon_sym_RPAREN, - ACTIONS(201), 2, + ACTIONS(225), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(199), 11, + ACTIONS(223), 11, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6727,7 +7141,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [6096] = 2, + [6147] = 2, ACTIONS(456), 6, sym_identifier, sym_integer, @@ -6743,7 +7157,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [6114] = 2, + [6165] = 2, ACTIONS(458), 6, sym_identifier, sym_integer, @@ -6758,7 +7172,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - [6131] = 2, + [6182] = 2, ACTIONS(464), 5, anon_sym_LPAREN, sym_float, @@ -6772,7 +7186,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_function, anon_sym_table, - [6147] = 2, + [6198] = 2, ACTIONS(468), 5, anon_sym_LPAREN, sym_float, @@ -6786,7 +7200,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_function, anon_sym_table, - [6163] = 3, + [6214] = 3, ACTIONS(470), 1, anon_sym_LBRACK, ACTIONS(473), 1, @@ -6794,7 +7208,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(151), 2, sym_list, aux_sym_insert_repeat1, - [6174] = 3, + [6225] = 3, ACTIONS(15), 1, anon_sym_LBRACK, ACTIONS(475), 1, @@ -6802,7 +7216,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(151), 2, sym_list, aux_sym_insert_repeat1, - [6185] = 3, + [6236] = 3, ACTIONS(15), 1, anon_sym_LBRACK, ACTIONS(477), 1, @@ -6810,526 +7224,526 @@ static const uint16_t ts_small_parse_table[] = { STATE(151), 2, sym_list, aux_sym_insert_repeat1, - [6196] = 3, + [6247] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(481), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6206] = 3, + [6257] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(483), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6216] = 3, + [6267] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(487), 1, anon_sym_RBRACE, STATE(167), 1, aux_sym_map_repeat1, - [6226] = 2, + [6277] = 2, ACTIONS(15), 1, anon_sym_LBRACK, STATE(152), 2, sym_list, aux_sym_insert_repeat1, - [6234] = 3, + [6285] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(489), 1, anon_sym_RBRACE, STATE(164), 1, aux_sym_map_repeat1, - [6244] = 3, + [6295] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(491), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6254] = 3, + [6305] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(493), 1, anon_sym_GT, STATE(155), 1, aux_sym_function_repeat1, - [6264] = 3, + [6315] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(495), 1, anon_sym_GT, STATE(159), 1, aux_sym_function_repeat1, - [6274] = 3, + [6325] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(497), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6284] = 3, + [6335] = 3, ACTIONS(499), 1, sym_identifier, ACTIONS(502), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6294] = 3, + [6345] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(504), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6304] = 3, + [6355] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(506), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6314] = 3, + [6365] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(508), 1, anon_sym_GT, STATE(162), 1, aux_sym_function_repeat1, - [6324] = 3, + [6375] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(510), 1, anon_sym_RBRACE, STATE(163), 1, aux_sym_map_repeat1, - [6334] = 3, + [6385] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(512), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6344] = 2, + [6395] = 2, ACTIONS(15), 1, anon_sym_LBRACK, STATE(153), 2, sym_list, aux_sym_insert_repeat1, - [6352] = 3, + [6403] = 3, ACTIONS(485), 1, sym_identifier, ACTIONS(514), 1, anon_sym_RBRACE, STATE(165), 1, aux_sym_map_repeat1, - [6362] = 3, + [6413] = 3, ACTIONS(479), 1, sym_identifier, ACTIONS(516), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6372] = 2, + [6423] = 2, ACTIONS(520), 1, anon_sym_COMMA, ACTIONS(518), 2, sym_identifier, anon_sym_GT, - [6380] = 3, + [6431] = 3, ACTIONS(522), 1, sym_identifier, ACTIONS(525), 1, anon_sym_GT, STATE(173), 1, aux_sym_function_repeat1, - [6390] = 2, + [6441] = 2, ACTIONS(527), 1, anon_sym_LT, ACTIONS(529), 1, anon_sym_LBRACE, - [6397] = 2, + [6448] = 2, ACTIONS(531), 1, anon_sym_LT, ACTIONS(533), 1, anon_sym_LBRACE, - [6404] = 2, + [6455] = 2, ACTIONS(479), 1, sym_identifier, STATE(154), 1, aux_sym_function_repeat1, - [6411] = 2, + [6462] = 2, ACTIONS(535), 1, anon_sym_LT, ACTIONS(537), 1, anon_sym_LBRACE, - [6418] = 2, + [6469] = 2, ACTIONS(404), 1, anon_sym_RBRACE, ACTIONS(539), 1, anon_sym_where, - [6425] = 2, + [6476] = 2, ACTIONS(479), 1, sym_identifier, STATE(171), 1, aux_sym_function_repeat1, - [6432] = 2, + [6483] = 2, ACTIONS(479), 1, sym_identifier, STATE(168), 1, aux_sym_function_repeat1, - [6439] = 1, + [6490] = 1, ACTIONS(525), 2, sym_identifier, anon_sym_GT, - [6444] = 2, + [6495] = 2, ACTIONS(410), 1, anon_sym_RBRACE, ACTIONS(541), 1, anon_sym_where, - [6451] = 1, + [6502] = 1, ACTIONS(543), 1, sym_identifier, - [6455] = 1, + [6506] = 1, ACTIONS(545), 1, anon_sym_LBRACE, - [6459] = 1, + [6510] = 1, ACTIONS(547), 1, anon_sym_RBRACE, - [6463] = 1, + [6514] = 1, ACTIONS(549), 1, anon_sym_from, - [6467] = 1, + [6518] = 1, ACTIONS(551), 1, anon_sym_LBRACE, - [6471] = 1, + [6522] = 1, ACTIONS(553), 1, sym_identifier, - [6475] = 1, + [6526] = 1, ACTIONS(555), 1, anon_sym_RBRACE, - [6479] = 1, + [6530] = 1, ACTIONS(557), 1, anon_sym_LBRACE, - [6483] = 1, + [6534] = 1, ACTIONS(559), 1, sym_identifier, - [6487] = 1, + [6538] = 1, ACTIONS(561), 1, anon_sym_RBRACE, - [6491] = 1, + [6542] = 1, ACTIONS(563), 1, anon_sym_LT, - [6495] = 1, + [6546] = 1, ACTIONS(565), 1, anon_sym_RBRACE, - [6499] = 1, + [6550] = 1, ACTIONS(567), 1, anon_sym_RBRACE, - [6503] = 1, + [6554] = 1, ACTIONS(569), 1, anon_sym_LBRACE, - [6507] = 1, + [6558] = 1, ACTIONS(571), 1, anon_sym_LBRACE, - [6511] = 1, + [6562] = 1, ACTIONS(573), 1, anon_sym_LBRACE, - [6515] = 1, + [6566] = 1, ACTIONS(575), 1, anon_sym_from, - [6519] = 1, + [6570] = 1, ACTIONS(577), 1, anon_sym_RBRACE, - [6523] = 1, + [6574] = 1, ACTIONS(579), 1, ts_builtin_sym_end, - [6527] = 1, + [6578] = 1, ACTIONS(581), 1, sym_identifier, - [6531] = 1, + [6582] = 1, ACTIONS(583), 1, anon_sym_LBRACE, - [6535] = 1, + [6586] = 1, ACTIONS(585), 1, anon_sym_RBRACE, - [6539] = 1, + [6590] = 1, ACTIONS(587), 1, anon_sym_LBRACE, - [6543] = 1, + [6594] = 1, ACTIONS(589), 1, anon_sym_LBRACE, - [6547] = 1, + [6598] = 1, ACTIONS(591), 1, anon_sym_LBRACE, - [6551] = 1, + [6602] = 1, ACTIONS(593), 1, sym_identifier, - [6555] = 1, + [6606] = 1, ACTIONS(595), 1, anon_sym_RBRACE, - [6559] = 1, + [6610] = 1, ACTIONS(597), 1, anon_sym_RBRACE, - [6563] = 1, + [6614] = 1, ACTIONS(599), 1, anon_sym_RBRACE, - [6567] = 1, + [6618] = 1, ACTIONS(601), 1, anon_sym_RBRACE, - [6571] = 1, + [6622] = 1, ACTIONS(603), 1, anon_sym_RBRACE, - [6575] = 1, + [6626] = 1, ACTIONS(605), 1, anon_sym_EQ, - [6579] = 1, + [6630] = 1, ACTIONS(607), 1, anon_sym_RBRACE, - [6583] = 1, + [6634] = 1, ACTIONS(609), 1, anon_sym_LT, - [6587] = 1, + [6638] = 1, ACTIONS(611), 1, sym_identifier, - [6591] = 1, + [6642] = 1, ACTIONS(613), 1, anon_sym_LT, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 84, - [SMALL_STATE(4)] = 168, - [SMALL_STATE(5)] = 249, - [SMALL_STATE(6)] = 329, - [SMALL_STATE(7)] = 409, - [SMALL_STATE(8)] = 489, - [SMALL_STATE(9)] = 559, - [SMALL_STATE(10)] = 639, - [SMALL_STATE(11)] = 719, - [SMALL_STATE(12)] = 799, - [SMALL_STATE(13)] = 869, - [SMALL_STATE(14)] = 939, - [SMALL_STATE(15)] = 1019, - [SMALL_STATE(16)] = 1099, - [SMALL_STATE(17)] = 1179, - [SMALL_STATE(18)] = 1259, - [SMALL_STATE(19)] = 1339, - [SMALL_STATE(20)] = 1393, - [SMALL_STATE(21)] = 1446, - [SMALL_STATE(22)] = 1491, - [SMALL_STATE(23)] = 1531, - [SMALL_STATE(24)] = 1607, - [SMALL_STATE(25)] = 1683, + [SMALL_STATE(3)] = 76, + [SMALL_STATE(4)] = 152, + [SMALL_STATE(5)] = 228, + [SMALL_STATE(6)] = 312, + [SMALL_STATE(7)] = 396, + [SMALL_STATE(8)] = 477, + [SMALL_STATE(9)] = 557, + [SMALL_STATE(10)] = 637, + [SMALL_STATE(11)] = 717, + [SMALL_STATE(12)] = 797, + [SMALL_STATE(13)] = 877, + [SMALL_STATE(14)] = 957, + [SMALL_STATE(15)] = 1027, + [SMALL_STATE(16)] = 1097, + [SMALL_STATE(17)] = 1177, + [SMALL_STATE(18)] = 1257, + [SMALL_STATE(19)] = 1337, + [SMALL_STATE(20)] = 1391, + [SMALL_STATE(21)] = 1461, + [SMALL_STATE(22)] = 1541, + [SMALL_STATE(23)] = 1621, + [SMALL_STATE(24)] = 1674, + [SMALL_STATE(25)] = 1719, [SMALL_STATE(26)] = 1759, - [SMALL_STATE(27)] = 1835, + [SMALL_STATE(27)] = 1805, [SMALL_STATE(28)] = 1881, [SMALL_STATE(29)] = 1957, [SMALL_STATE(30)] = 1997, - [SMALL_STATE(31)] = 2036, - [SMALL_STATE(32)] = 2075, - [SMALL_STATE(33)] = 2114, - [SMALL_STATE(34)] = 2153, - [SMALL_STATE(35)] = 2192, - [SMALL_STATE(36)] = 2231, - [SMALL_STATE(37)] = 2270, - [SMALL_STATE(38)] = 2309, - [SMALL_STATE(39)] = 2348, - [SMALL_STATE(40)] = 2387, - [SMALL_STATE(41)] = 2426, - [SMALL_STATE(42)] = 2465, - [SMALL_STATE(43)] = 2504, - [SMALL_STATE(44)] = 2554, - [SMALL_STATE(45)] = 2604, - [SMALL_STATE(46)] = 2644, - [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, + [SMALL_STATE(31)] = 2073, + [SMALL_STATE(32)] = 2149, + [SMALL_STATE(33)] = 2225, + [SMALL_STATE(34)] = 2264, + [SMALL_STATE(35)] = 2303, + [SMALL_STATE(36)] = 2342, + [SMALL_STATE(37)] = 2381, + [SMALL_STATE(38)] = 2420, + [SMALL_STATE(39)] = 2459, + [SMALL_STATE(40)] = 2498, + [SMALL_STATE(41)] = 2537, + [SMALL_STATE(42)] = 2576, + [SMALL_STATE(43)] = 2615, + [SMALL_STATE(44)] = 2654, + [SMALL_STATE(45)] = 2693, + [SMALL_STATE(46)] = 2732, + [SMALL_STATE(47)] = 2782, + [SMALL_STATE(48)] = 2832, + [SMALL_STATE(49)] = 2872, + [SMALL_STATE(50)] = 2920, + [SMALL_STATE(51)] = 2964, + [SMALL_STATE(52)] = 3018, + [SMALL_STATE(53)] = 3071, + [SMALL_STATE(54)] = 3124, + [SMALL_STATE(55)] = 3177, + [SMALL_STATE(56)] = 3230, + [SMALL_STATE(57)] = 3283, + [SMALL_STATE(58)] = 3336, + [SMALL_STATE(59)] = 3389, + [SMALL_STATE(60)] = 3442, + [SMALL_STATE(61)] = 3495, + [SMALL_STATE(62)] = 3548, + [SMALL_STATE(63)] = 3601, + [SMALL_STATE(64)] = 3654, + [SMALL_STATE(65)] = 3707, + [SMALL_STATE(66)] = 3760, + [SMALL_STATE(67)] = 3813, + [SMALL_STATE(68)] = 3866, + [SMALL_STATE(69)] = 3919, + [SMALL_STATE(70)] = 3972, + [SMALL_STATE(71)] = 4025, + [SMALL_STATE(72)] = 4061, + [SMALL_STATE(73)] = 4097, + [SMALL_STATE(74)] = 4146, + [SMALL_STATE(75)] = 4193, + [SMALL_STATE(76)] = 4240, + [SMALL_STATE(77)] = 4287, + [SMALL_STATE(78)] = 4334, + [SMALL_STATE(79)] = 4383, + [SMALL_STATE(80)] = 4430, + [SMALL_STATE(81)] = 4477, + [SMALL_STATE(82)] = 4524, + [SMALL_STATE(83)] = 4555, + [SMALL_STATE(84)] = 4602, + [SMALL_STATE(85)] = 4649, + [SMALL_STATE(86)] = 4696, + [SMALL_STATE(87)] = 4743, + [SMALL_STATE(88)] = 4790, + [SMALL_STATE(89)] = 4815, + [SMALL_STATE(90)] = 4840, + [SMALL_STATE(91)] = 4866, + [SMALL_STATE(92)] = 4892, + [SMALL_STATE(93)] = 4919, + [SMALL_STATE(94)] = 4950, + [SMALL_STATE(95)] = 4973, + [SMALL_STATE(96)] = 4996, + [SMALL_STATE(97)] = 5019, + [SMALL_STATE(98)] = 5042, + [SMALL_STATE(99)] = 5065, + [SMALL_STATE(100)] = 5088, + [SMALL_STATE(101)] = 5117, + [SMALL_STATE(102)] = 5140, + [SMALL_STATE(103)] = 5172, + [SMALL_STATE(104)] = 5198, + [SMALL_STATE(105)] = 5230, + [SMALL_STATE(106)] = 5251, + [SMALL_STATE(107)] = 5272, + [SMALL_STATE(108)] = 5301, + [SMALL_STATE(109)] = 5330, + [SMALL_STATE(110)] = 5359, + [SMALL_STATE(111)] = 5380, + [SMALL_STATE(112)] = 5409, + [SMALL_STATE(113)] = 5430, + [SMALL_STATE(114)] = 5451, + [SMALL_STATE(115)] = 5472, + [SMALL_STATE(116)] = 5493, + [SMALL_STATE(117)] = 5514, + [SMALL_STATE(118)] = 5535, + [SMALL_STATE(119)] = 5564, + [SMALL_STATE(120)] = 5585, + [SMALL_STATE(121)] = 5606, + [SMALL_STATE(122)] = 5627, + [SMALL_STATE(123)] = 5648, + [SMALL_STATE(124)] = 5669, + [SMALL_STATE(125)] = 5690, + [SMALL_STATE(126)] = 5711, + [SMALL_STATE(127)] = 5731, + [SMALL_STATE(128)] = 5751, + [SMALL_STATE(129)] = 5771, + [SMALL_STATE(130)] = 5797, + [SMALL_STATE(131)] = 5817, + [SMALL_STATE(132)] = 5837, + [SMALL_STATE(133)] = 5857, + [SMALL_STATE(134)] = 5877, + [SMALL_STATE(135)] = 5897, + [SMALL_STATE(136)] = 5917, + [SMALL_STATE(137)] = 5943, + [SMALL_STATE(138)] = 5963, + [SMALL_STATE(139)] = 5983, + [SMALL_STATE(140)] = 6003, + [SMALL_STATE(141)] = 6023, + [SMALL_STATE(142)] = 6043, + [SMALL_STATE(143)] = 6063, + [SMALL_STATE(144)] = 6084, + [SMALL_STATE(145)] = 6105, + [SMALL_STATE(146)] = 6126, + [SMALL_STATE(147)] = 6147, + [SMALL_STATE(148)] = 6165, + [SMALL_STATE(149)] = 6182, + [SMALL_STATE(150)] = 6198, + [SMALL_STATE(151)] = 6214, + [SMALL_STATE(152)] = 6225, + [SMALL_STATE(153)] = 6236, + [SMALL_STATE(154)] = 6247, + [SMALL_STATE(155)] = 6257, + [SMALL_STATE(156)] = 6267, + [SMALL_STATE(157)] = 6277, + [SMALL_STATE(158)] = 6285, + [SMALL_STATE(159)] = 6295, + [SMALL_STATE(160)] = 6305, + [SMALL_STATE(161)] = 6315, + [SMALL_STATE(162)] = 6325, + [SMALL_STATE(163)] = 6335, + [SMALL_STATE(164)] = 6345, + [SMALL_STATE(165)] = 6355, + [SMALL_STATE(166)] = 6365, + [SMALL_STATE(167)] = 6375, + [SMALL_STATE(168)] = 6385, + [SMALL_STATE(169)] = 6395, + [SMALL_STATE(170)] = 6403, + [SMALL_STATE(171)] = 6413, + [SMALL_STATE(172)] = 6423, + [SMALL_STATE(173)] = 6431, + [SMALL_STATE(174)] = 6441, + [SMALL_STATE(175)] = 6448, + [SMALL_STATE(176)] = 6455, + [SMALL_STATE(177)] = 6462, + [SMALL_STATE(178)] = 6469, + [SMALL_STATE(179)] = 6476, + [SMALL_STATE(180)] = 6483, + [SMALL_STATE(181)] = 6490, + [SMALL_STATE(182)] = 6495, + [SMALL_STATE(183)] = 6502, + [SMALL_STATE(184)] = 6506, + [SMALL_STATE(185)] = 6510, + [SMALL_STATE(186)] = 6514, + [SMALL_STATE(187)] = 6518, + [SMALL_STATE(188)] = 6522, + [SMALL_STATE(189)] = 6526, + [SMALL_STATE(190)] = 6530, + [SMALL_STATE(191)] = 6534, + [SMALL_STATE(192)] = 6538, + [SMALL_STATE(193)] = 6542, + [SMALL_STATE(194)] = 6546, + [SMALL_STATE(195)] = 6550, + [SMALL_STATE(196)] = 6554, + [SMALL_STATE(197)] = 6558, + [SMALL_STATE(198)] = 6562, + [SMALL_STATE(199)] = 6566, + [SMALL_STATE(200)] = 6570, + [SMALL_STATE(201)] = 6574, + [SMALL_STATE(202)] = 6578, + [SMALL_STATE(203)] = 6582, + [SMALL_STATE(204)] = 6586, + [SMALL_STATE(205)] = 6590, + [SMALL_STATE(206)] = 6594, + [SMALL_STATE(207)] = 6598, + [SMALL_STATE(208)] = 6602, + [SMALL_STATE(209)] = 6606, + [SMALL_STATE(210)] = 6610, + [SMALL_STATE(211)] = 6614, + [SMALL_STATE(212)] = 6618, + [SMALL_STATE(213)] = 6622, + [SMALL_STATE(214)] = 6626, + [SMALL_STATE(215)] = 6630, + [SMALL_STATE(216)] = 6634, + [SMALL_STATE(217)] = 6638, + [SMALL_STATE(218)] = 6642, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), - [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [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), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(177), [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), @@ -7338,139 +7752,139 @@ static const TSParseActionEntry ts_parse_actions[] = { [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), - [31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [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(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), - [59] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(156), - [62] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), - [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(87), - [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(86), - [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(183), - [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(169), - [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(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), - [103] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(156), - [106] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(193), - [109] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(87), - [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(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), - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), - [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [145] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), - [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [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(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), - [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), - [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), - [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), - [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), - [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), - [179] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), - [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_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_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), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), + [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), + [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), + [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [57] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(26), + [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(98), + [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(3), + [66] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(45), + [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(45), + [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(44), + [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), + [78] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(177), + [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(156), + [84] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), + [87] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(87), + [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(86), + [93] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(183), + [96] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(169), + [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), + [103] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(26), + [106] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(98), + [109] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(3), + [112] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(45), + [115] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(45), + [118] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(44), + [121] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(54), + [124] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(177), + [127] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(156), + [130] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(193), + [133] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(87), + [136] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(86), + [139] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(183), + [142] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(169), + [145] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), + [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), + [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [175] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [179] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [185] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [187] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), + [189] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), + [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), [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_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}}, 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), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), + [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [249] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), + [251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), + [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), [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(33), - [272] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(48), + [269] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(40), + [272] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(3), [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(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), + [277] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(45), + [280] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(45), + [283] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(44), [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(37), + [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [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), + [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(40), + [327] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(3), + [330] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(45), + [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(45), + [336] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(44), [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), [345] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(156), @@ -7486,7 +7900,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(46), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), [375] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), [379] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), @@ -7519,9 +7933,9 @@ 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(26), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), [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), @@ -7562,43 +7976,43 @@ static const TSParseActionEntry ts_parse_actions[] = { [522] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(172), [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), [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(24), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), [579] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), [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(38), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),