From d58c08125f34a447b177252c75876bcc98e817a2 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 30 Sep 2023 15:47:21 -0400 Subject: [PATCH] Expand grammar --- corpus/lists.txt | 28 +- corpus/statements.txt | 12 +- corpus/tables.txt | 46 +- grammar.js | 31 +- src/grammar.json | 148 +- src/node-types.json | 79 + src/parser.c | 7655 +++++++++++++++++++++++++++++++++-------- 7 files changed, 6372 insertions(+), 1627 deletions(-) diff --git a/corpus/lists.txt b/corpus/lists.txt index 7509f8a..39f3c72 100644 --- a/corpus/lists.txt +++ b/corpus/lists.txt @@ -47,11 +47,11 @@ foobar = ['answer', 42] List Access ================== -foobar = ['answer', 42] -the_answer = foobar.1 +x = foobar.0 --- + (root (item (statement @@ -62,29 +62,7 @@ the_answer = foobar.1 (identifier)) (operator) (expression - (value - (list - (value - (string)) - (value - (integer)))))))))) - (item - (statement - (open_statement - (expression - (identifier))))) - (item - (statement - (open_statement - (expression - (operation - (expression - (value - (integer))) - (operator) - (expression - (value - (integer))))))))) + (identifier))))))) ================== List Mutation diff --git a/corpus/statements.txt b/corpus/statements.txt index 33702d0..368953f 100644 --- a/corpus/statements.txt +++ b/corpus/statements.txt @@ -74,15 +74,15 @@ x = 1 + 1 (open_statement (expression (operation + (expression + (identifier)) + (operator) (expression (operation (expression - (identifier)) + (value + (integer))) (operator) (expression (value - (integer))))) - (operator) - (expression - (value - (integer))))))))) + (integer))))))))))) diff --git a/corpus/tables.txt b/corpus/tables.txt index 3020021..4dd85be 100644 --- a/corpus/tables.txt +++ b/corpus/tables.txt @@ -31,8 +31,6 @@ foobar = table { ['answer', 42] } -foobar - --- (root @@ -53,21 +51,12 @@ foobar (value (string)) (value - (integer))))))))))) - (item - (statement - (open_statement - (expression - (identifier)))))) + (integer)))))))))))) ================== Table Access ================== -foobar = table { - ['answer', 42] -} - select number from foobar where text == 'answer' --- @@ -102,10 +91,6 @@ select number from foobar where text == 'answer' Table Insert ================== -foobar = table { - ['answer', 42] -} - insert ['bob was here', 0] into foobar --- @@ -115,23 +100,20 @@ insert ['bob was here', 0] into foobar (statement (open_statement (expression - (operation - (expression - (identifier)) - (operator) - (expression - (value - (table - (identifier) - (identifier) - (list - (value - (string)) - (value - (integer))))))))))) + (identifier))))) (item (statement (open_statement (expression - (value - (42))))))) + (operation + (expression + (value + (list + (value + (string)) + (value + (integer))))) + (operator) + (expression + (identifier)))))))) + diff --git a/grammar.js b/grammar.js index 62bb2d3..c9ee822 100644 --- a/grammar.js +++ b/grammar.js @@ -13,11 +13,14 @@ module.exports = grammar({ comment: $ => prec.left(seq(token('#'), /.*/)), - statement: $ => choice( + statement: $ => prec.right(choice( $.open_statement, - ), + $.yield_statement, + )), - open_statement: $ => prec.left(seq($.expression)), + open_statement: $ => prec.left($.expression), + + yield_statement: $ => seq($.open_statement, '->', $.open_statement), expression: $ => choice( $.value, @@ -83,14 +86,28 @@ module.exports = grammar({ '}', ), - operator: $ => choice( + operator: $ => prec(2, choice( + '=', '+', '-', - '=', + '*', + '/', + '%', '==', - ), + '+=', + '-=', + '&&', + '||', + 'and', + 'or', + 'insert', + 'into', + 'select', + 'from', + 'where', + )), - operation: $ => prec.left(seq( + operation: $ => prec.right(seq( $.expression, $.operator, $.expression, diff --git a/src/grammar.json b/src/grammar.json index d762447..92070a8 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -43,27 +43,47 @@ } }, "statement": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "open_statement" - } - ] + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "open_statement" + }, + { + "type": "SYMBOL", + "name": "yield_statement" + } + ] + } }, "open_statement": { "type": "PREC_LEFT", "value": 0, "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "expression" - } - ] + "type": "SYMBOL", + "name": "expression" } }, + "yield_statement": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "open_statement" + }, + { + "type": "STRING", + "value": "->" + }, + { + "type": "SYMBOL", + "name": "open_statement" + } + ] + }, "expression": { "type": "CHOICE", "members": [ @@ -368,28 +388,88 @@ ] }, "operator": { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "+" - }, - { - "type": "STRING", - "value": "-" - }, - { - "type": "STRING", - "value": "=" - }, - { - "type": "STRING", - "value": "==" - } - ] + "type": "PREC", + "value": 2, + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "=" + }, + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "*" + }, + { + "type": "STRING", + "value": "/" + }, + { + "type": "STRING", + "value": "%" + }, + { + "type": "STRING", + "value": "==" + }, + { + "type": "STRING", + "value": "+=" + }, + { + "type": "STRING", + "value": "-=" + }, + { + "type": "STRING", + "value": "&&" + }, + { + "type": "STRING", + "value": "||" + }, + { + "type": "STRING", + "value": "and" + }, + { + "type": "STRING", + "value": "or" + }, + { + "type": "STRING", + "value": "insert" + }, + { + "type": "STRING", + "value": "into" + }, + { + "type": "STRING", + "value": "select" + }, + { + "type": "STRING", + "value": "from" + }, + { + "type": "STRING", + "value": "where" + } + ] + } }, "operation": { - "type": "PREC_LEFT", + "type": "PREC_RIGHT", "value": 0, "content": { "type": "SEQ", diff --git a/src/node-types.json b/src/node-types.json index d24adb4..057475f 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -196,6 +196,10 @@ { "type": "open_statement", "named": true + }, + { + "type": "yield_statement", + "named": true } ] } @@ -271,14 +275,45 @@ ] } }, + { + "type": "yield_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "open_statement", + "named": true + } + ] + } + }, { "type": "#", "named": false }, + { + "type": "%", + "named": false + }, + { + "type": "&&", + "named": false + }, + { + "type": "*", + "named": false + }, { "type": "+", "named": false }, + { + "type": "+=", + "named": false + }, { "type": ",", "named": false @@ -287,6 +322,18 @@ "type": "-", "named": false }, + { + "type": "-=", + "named": false + }, + { + "type": "->", + "named": false + }, + { + "type": "/", + "named": false + }, { "type": "<", "named": false @@ -311,6 +358,10 @@ "type": "]", "named": false }, + { + "type": "and", + "named": false + }, { "type": "else", "named": false @@ -327,6 +378,10 @@ "type": "float", "named": true }, + { + "type": "from", + "named": false + }, { "type": "function", "named": false @@ -339,18 +394,34 @@ "type": "if", "named": false }, + { + "type": "insert", + "named": false + }, { "type": "integer", "named": true }, + { + "type": "into", + "named": false + }, { "type": "map", "named": false }, + { + "type": "or", + "named": false + }, { "type": "output", "named": false }, + { + "type": "select", + "named": false + }, { "type": "string", "named": true @@ -367,10 +438,18 @@ "type": "true", "named": false }, + { + "type": "where", + "named": false + }, { "type": "{", "named": false }, + { + "type": "||", + "named": false + }, { "type": "}", "named": false diff --git a/src/parser.c b/src/parser.c index dcf199c..726b0a4 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,11 +6,11 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 66 -#define LARGE_STATE_COUNT 11 -#define SYMBOL_COUNT 50 +#define STATE_COUNT 199 +#define LARGE_STATE_COUNT 41 +#define SYMBOL_COUNT 66 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 28 +#define TOKEN_COUNT 43 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 7 @@ -20,52 +20,68 @@ enum { sym_identifier = 1, anon_sym_POUND = 2, aux_sym_comment_token1 = 3, - sym_float = 4, - sym_integer = 5, - sym_string = 6, - sym_empty = 7, - anon_sym_true = 8, - anon_sym_false = 9, - anon_sym_LBRACK = 10, - anon_sym_COMMA = 11, - anon_sym_RBRACK = 12, - anon_sym_function = 13, - anon_sym_LT = 14, - anon_sym_GT = 15, - anon_sym_LBRACE = 16, - anon_sym_RBRACE = 17, - anon_sym_table = 18, - anon_sym_map = 19, - anon_sym_EQ = 20, - anon_sym_PLUS = 21, - anon_sym_DASH = 22, - anon_sym_EQ_EQ = 23, - anon_sym_if = 24, - anon_sym_then = 25, - anon_sym_else = 26, - anon_sym_output = 27, - sym_root = 28, - sym_item = 29, - sym_comment = 30, - sym_statement = 31, - sym_open_statement = 32, - sym_expression = 33, - sym_value = 34, - sym_boolean = 35, - sym_list = 36, - sym_function = 37, - sym_table = 38, - sym_map = 39, - sym_operator = 40, - sym_operation = 41, - sym_control_flow = 42, - sym_tool = 43, - aux_sym_root_repeat1 = 44, - aux_sym_list_repeat1 = 45, - aux_sym_function_repeat1 = 46, - aux_sym_function_repeat2 = 47, - aux_sym_table_repeat1 = 48, - aux_sym_map_repeat1 = 49, + anon_sym_DASH_GT = 4, + sym_float = 5, + sym_integer = 6, + sym_string = 7, + sym_empty = 8, + anon_sym_true = 9, + anon_sym_false = 10, + anon_sym_LBRACK = 11, + anon_sym_COMMA = 12, + anon_sym_RBRACK = 13, + anon_sym_function = 14, + anon_sym_LT = 15, + anon_sym_GT = 16, + anon_sym_LBRACE = 17, + anon_sym_RBRACE = 18, + anon_sym_table = 19, + anon_sym_map = 20, + anon_sym_EQ = 21, + anon_sym_PLUS = 22, + anon_sym_DASH = 23, + anon_sym_STAR = 24, + anon_sym_SLASH = 25, + anon_sym_PERCENT = 26, + anon_sym_EQ_EQ = 27, + anon_sym_PLUS_EQ = 28, + anon_sym_DASH_EQ = 29, + anon_sym_AMP_AMP = 30, + anon_sym_PIPE_PIPE = 31, + anon_sym_and = 32, + anon_sym_or = 33, + anon_sym_insert = 34, + anon_sym_into = 35, + anon_sym_select = 36, + anon_sym_from = 37, + anon_sym_where = 38, + anon_sym_if = 39, + anon_sym_then = 40, + anon_sym_else = 41, + anon_sym_output = 42, + sym_root = 43, + sym_item = 44, + sym_comment = 45, + sym_statement = 46, + sym_open_statement = 47, + sym_yield_statement = 48, + sym_expression = 49, + sym_value = 50, + sym_boolean = 51, + sym_list = 52, + sym_function = 53, + sym_table = 54, + sym_map = 55, + sym_operator = 56, + sym_operation = 57, + sym_control_flow = 58, + sym_tool = 59, + aux_sym_root_repeat1 = 60, + aux_sym_list_repeat1 = 61, + aux_sym_function_repeat1 = 62, + aux_sym_function_repeat2 = 63, + aux_sym_table_repeat1 = 64, + aux_sym_map_repeat1 = 65, }; static const char * const ts_symbol_names[] = { @@ -73,6 +89,7 @@ static const char * const ts_symbol_names[] = { [sym_identifier] = "identifier", [anon_sym_POUND] = "#", [aux_sym_comment_token1] = "comment_token1", + [anon_sym_DASH_GT] = "->", [sym_float] = "float", [sym_integer] = "integer", [sym_string] = "string", @@ -92,7 +109,21 @@ static const char * const ts_symbol_names[] = { [anon_sym_EQ] = "=", [anon_sym_PLUS] = "+", [anon_sym_DASH] = "-", + [anon_sym_STAR] = "*", + [anon_sym_SLASH] = "/", + [anon_sym_PERCENT] = "%", [anon_sym_EQ_EQ] = "==", + [anon_sym_PLUS_EQ] = "+=", + [anon_sym_DASH_EQ] = "-=", + [anon_sym_AMP_AMP] = "&&", + [anon_sym_PIPE_PIPE] = "||", + [anon_sym_and] = "and", + [anon_sym_or] = "or", + [anon_sym_insert] = "insert", + [anon_sym_into] = "into", + [anon_sym_select] = "select", + [anon_sym_from] = "from", + [anon_sym_where] = "where", [anon_sym_if] = "if", [anon_sym_then] = "then", [anon_sym_else] = "else", @@ -102,6 +133,7 @@ static const char * const ts_symbol_names[] = { [sym_comment] = "comment", [sym_statement] = "statement", [sym_open_statement] = "open_statement", + [sym_yield_statement] = "yield_statement", [sym_expression] = "expression", [sym_value] = "value", [sym_boolean] = "boolean", @@ -126,6 +158,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_identifier] = sym_identifier, [anon_sym_POUND] = anon_sym_POUND, [aux_sym_comment_token1] = aux_sym_comment_token1, + [anon_sym_DASH_GT] = anon_sym_DASH_GT, [sym_float] = sym_float, [sym_integer] = sym_integer, [sym_string] = sym_string, @@ -145,7 +178,21 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_EQ] = anon_sym_EQ, [anon_sym_PLUS] = anon_sym_PLUS, [anon_sym_DASH] = anon_sym_DASH, + [anon_sym_STAR] = anon_sym_STAR, + [anon_sym_SLASH] = anon_sym_SLASH, + [anon_sym_PERCENT] = anon_sym_PERCENT, [anon_sym_EQ_EQ] = anon_sym_EQ_EQ, + [anon_sym_PLUS_EQ] = anon_sym_PLUS_EQ, + [anon_sym_DASH_EQ] = anon_sym_DASH_EQ, + [anon_sym_AMP_AMP] = anon_sym_AMP_AMP, + [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE, + [anon_sym_and] = anon_sym_and, + [anon_sym_or] = anon_sym_or, + [anon_sym_insert] = anon_sym_insert, + [anon_sym_into] = anon_sym_into, + [anon_sym_select] = anon_sym_select, + [anon_sym_from] = anon_sym_from, + [anon_sym_where] = anon_sym_where, [anon_sym_if] = anon_sym_if, [anon_sym_then] = anon_sym_then, [anon_sym_else] = anon_sym_else, @@ -155,6 +202,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_comment] = sym_comment, [sym_statement] = sym_statement, [sym_open_statement] = sym_open_statement, + [sym_yield_statement] = sym_yield_statement, [sym_expression] = sym_expression, [sym_value] = sym_value, [sym_boolean] = sym_boolean, @@ -191,6 +239,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [anon_sym_DASH_GT] = { + .visible = true, + .named = false, + }, [sym_float] = { .visible = true, .named = true, @@ -267,10 +319,66 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_STAR] = { + .visible = true, + .named = false, + }, + [anon_sym_SLASH] = { + .visible = true, + .named = false, + }, + [anon_sym_PERCENT] = { + .visible = true, + .named = false, + }, [anon_sym_EQ_EQ] = { .visible = true, .named = false, }, + [anon_sym_PLUS_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_AMP_AMP] = { + .visible = true, + .named = false, + }, + [anon_sym_PIPE_PIPE] = { + .visible = true, + .named = false, + }, + [anon_sym_and] = { + .visible = true, + .named = false, + }, + [anon_sym_or] = { + .visible = true, + .named = false, + }, + [anon_sym_insert] = { + .visible = true, + .named = false, + }, + [anon_sym_into] = { + .visible = true, + .named = false, + }, + [anon_sym_select] = { + .visible = true, + .named = false, + }, + [anon_sym_from] = { + .visible = true, + .named = false, + }, + [anon_sym_where] = { + .visible = true, + .named = false, + }, [anon_sym_if] = { .visible = true, .named = false, @@ -307,6 +415,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_yield_statement] = { + .visible = true, + .named = true, + }, [sym_expression] = { .visible = true, .named = true, @@ -402,56 +514,189 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [13] = 13, [14] = 14, [15] = 15, - [16] = 16, - [17] = 17, + [16] = 3, + [17] = 8, [18] = 18, - [19] = 19, - [20] = 20, - [21] = 21, - [22] = 22, - [23] = 23, + [19] = 9, + [20] = 6, + [21] = 10, + [22] = 7, + [23] = 13, [24] = 24, - [25] = 25, - [26] = 26, + [25] = 5, + [26] = 4, [27] = 27, [28] = 28, - [29] = 29, - [30] = 30, - [31] = 31, - [32] = 25, - [33] = 33, - [34] = 34, - [35] = 35, - [36] = 36, - [37] = 37, - [38] = 38, - [39] = 39, - [40] = 40, + [29] = 18, + [30] = 2, + [31] = 8, + [32] = 32, + [33] = 12, + [34] = 11, + [35] = 24, + [36] = 32, + [37] = 14, + [38] = 15, + [39] = 27, + [40] = 28, [41] = 41, [42] = 42, [43] = 43, [44] = 44, [45] = 45, - [46] = 46, + [46] = 43, [47] = 47, - [48] = 48, - [49] = 49, - [50] = 50, - [51] = 51, - [52] = 52, - [53] = 53, - [54] = 54, - [55] = 55, + [48] = 45, + [49] = 45, + [50] = 47, + [51] = 43, + [52] = 47, + [53] = 43, + [54] = 45, + [55] = 47, [56] = 56, - [57] = 57, + [57] = 56, [58] = 58, - [59] = 59, - [60] = 60, + [59] = 58, + [60] = 58, [61] = 61, - [62] = 62, - [63] = 63, - [64] = 64, - [65] = 65, + [62] = 56, + [63] = 58, + [64] = 61, + [65] = 61, + [66] = 61, + [67] = 56, + [68] = 68, + [69] = 69, + [70] = 68, + [71] = 69, + [72] = 68, + [73] = 69, + [74] = 74, + [75] = 74, + [76] = 74, + [77] = 74, + [78] = 78, + [79] = 78, + [80] = 80, + [81] = 78, + [82] = 80, + [83] = 80, + [84] = 8, + [85] = 2, + [86] = 6, + [87] = 15, + [88] = 7, + [89] = 13, + [90] = 10, + [91] = 24, + [92] = 18, + [93] = 9, + [94] = 3, + [95] = 32, + [96] = 12, + [97] = 11, + [98] = 27, + [99] = 5, + [100] = 14, + [101] = 28, + [102] = 4, + [103] = 103, + [104] = 103, + [105] = 103, + [106] = 106, + [107] = 106, + [108] = 108, + [109] = 106, + [110] = 106, + [111] = 111, + [112] = 14, + [113] = 111, + [114] = 111, + [115] = 111, + [116] = 15, + [117] = 117, + [118] = 28, + [119] = 119, + [120] = 120, + [121] = 121, + [122] = 122, + [123] = 123, + [124] = 124, + [125] = 124, + [126] = 126, + [127] = 126, + [128] = 126, + [129] = 124, + [130] = 126, + [131] = 124, + [132] = 132, + [133] = 133, + [134] = 134, + [135] = 135, + [136] = 134, + [137] = 135, + [138] = 138, + [139] = 134, + [140] = 140, + [141] = 138, + [142] = 140, + [143] = 140, + [144] = 135, + [145] = 140, + [146] = 134, + [147] = 147, + [148] = 133, + [149] = 149, + [150] = 138, + [151] = 133, + [152] = 138, + [153] = 133, + [154] = 154, + [155] = 135, + [156] = 156, + [157] = 6, + [158] = 158, + [159] = 158, + [160] = 4, + [161] = 5, + [162] = 162, + [163] = 158, + [164] = 158, + [165] = 13, + [166] = 156, + [167] = 167, + [168] = 7, + [169] = 11, + [170] = 156, + [171] = 12, + [172] = 3, + [173] = 10, + [174] = 9, + [175] = 156, + [176] = 176, + [177] = 177, + [178] = 178, + [179] = 179, + [180] = 179, + [181] = 181, + [182] = 179, + [183] = 179, + [184] = 184, + [185] = 181, + [186] = 178, + [187] = 181, + [188] = 188, + [189] = 176, + [190] = 190, + [191] = 178, + [192] = 178, + [193] = 176, + [194] = 176, + [195] = 181, + [196] = 184, + [197] = 184, + [198] = 184, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -459,120 +704,681 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(3); + if (eof) ADVANCE(37); if (lookahead == '"' || lookahead == '\'' || - lookahead == '`') ADVANCE(2); - if (lookahead == '#') ADVANCE(4); - if (lookahead == '(') ADVANCE(1); - if (lookahead == '+') ADVANCE(20); - if (lookahead == ',') ADVANCE(13); - if (lookahead == '-') ADVANCE(21); - if (lookahead == '<') ADVANCE(15); - if (lookahead == '=') ADVANCE(19); - if (lookahead == '>') ADVANCE(16); - if (lookahead == '[') ADVANCE(12); - if (lookahead == ']') ADVANCE(14); - if (lookahead == '{') ADVANCE(17); - if (lookahead == '}') ADVANCE(18); + lookahead == '`') ADVANCE(33); + if (lookahead == '#') ADVANCE(38); + if (lookahead == '%') ADVANCE(87); + if (lookahead == '&') ADVANCE(2); + if (lookahead == '(') ADVANCE(3); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(83); + if (lookahead == ',') ADVANCE(76); + if (lookahead == '-') ADVANCE(84); + if (lookahead == '/') ADVANCE(86); + if (lookahead == '<') ADVANCE(78); + if (lookahead == '=') ADVANCE(82); + if (lookahead == '>') ADVANCE(79); + if (lookahead == '[') ADVANCE(75); + if (lookahead == ']') ADVANCE(77); + if (lookahead == 'a') ADVANCE(56); + if (lookahead == 'e') ADVANCE(53); + if (lookahead == 'f') ADVANCE(61); + if (lookahead == 'i') ADVANCE(57); + if (lookahead == 'o') ADVANCE(62); + if (lookahead == 's') ADVANCE(47); + if (lookahead == 't') ADVANCE(51); + if (lookahead == 'w') ADVANCE(52); + if (lookahead == '{') ADVANCE(80); + if (lookahead == '|') ADVANCE(69); + if (lookahead == '}') ADVANCE(81); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(9); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(72); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= '|')) ADVANCE(7); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(70); END_STATE(); case 1: - if (lookahead == ')') ADVANCE(11); + if (lookahead == '%') ADVANCE(87); + if (lookahead == '&') ADVANCE(2); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(83); + if (lookahead == '-') ADVANCE(84); + if (lookahead == '/') ADVANCE(86); + if (lookahead == '=') ADVANCE(82); + if (lookahead == 'a') ADVANCE(19); + if (lookahead == 'e') ADVANCE(16); + if (lookahead == 'f') ADVANCE(24); + if (lookahead == 'i') ADVANCE(20); + if (lookahead == 'o') ADVANCE(25); + if (lookahead == 's') ADVANCE(10); + if (lookahead == 't') ADVANCE(14); + if (lookahead == 'w') ADVANCE(15); + if (lookahead == '|') ADVANCE(32); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(1) END_STATE(); case 2: - if (lookahead == '"' || - lookahead == '\'' || - lookahead == '`') ADVANCE(10); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(2); + if (lookahead == '&') ADVANCE(91); END_STATE(); case 3: - ACCEPT_TOKEN(ts_builtin_sym_end); + if (lookahead == ')') ADVANCE(74); END_STATE(); case 4: - ACCEPT_TOKEN(anon_sym_POUND); + if (lookahead == '>') ADVANCE(41); END_STATE(); case 5: + if (lookahead == 'c') ADVANCE(31); + END_STATE(); + case 6: + if (lookahead == 'd') ADVANCE(94); + END_STATE(); + case 7: + if (lookahead == 'e') ADVANCE(110); + END_STATE(); + case 8: + if (lookahead == 'e') ADVANCE(5); + END_STATE(); + case 9: + if (lookahead == 'e') ADVANCE(106); + END_STATE(); + case 10: + if (lookahead == 'e') ADVANCE(17); + END_STATE(); + case 11: + if (lookahead == 'e') ADVANCE(21); + END_STATE(); + case 12: + if (lookahead == 'e') ADVANCE(27); + END_STATE(); + case 13: + if (lookahead == 'e') ADVANCE(26); + END_STATE(); + case 14: + if (lookahead == 'h') ADVANCE(11); + END_STATE(); + case 15: + if (lookahead == 'h') ADVANCE(12); + END_STATE(); + case 16: + if (lookahead == 'l') ADVANCE(28); + END_STATE(); + case 17: + if (lookahead == 'l') ADVANCE(8); + END_STATE(); + case 18: + if (lookahead == 'm') ADVANCE(104); + END_STATE(); + case 19: + if (lookahead == 'n') ADVANCE(6); + END_STATE(); + case 20: + if (lookahead == 'n') ADVANCE(29); + END_STATE(); + case 21: + if (lookahead == 'n') ADVANCE(108); + END_STATE(); + case 22: + if (lookahead == 'o') ADVANCE(18); + END_STATE(); + case 23: + if (lookahead == 'o') ADVANCE(100); + END_STATE(); + case 24: + if (lookahead == 'r') ADVANCE(22); + END_STATE(); + case 25: + if (lookahead == 'r') ADVANCE(96); + END_STATE(); + case 26: + if (lookahead == 'r') ADVANCE(30); + END_STATE(); + case 27: + if (lookahead == 'r') ADVANCE(9); + END_STATE(); + case 28: + if (lookahead == 's') ADVANCE(7); + END_STATE(); + case 29: + if (lookahead == 's') ADVANCE(13); + if (lookahead == 't') ADVANCE(23); + END_STATE(); + case 30: + if (lookahead == 't') ADVANCE(98); + END_STATE(); + case 31: + if (lookahead == 't') ADVANCE(102); + END_STATE(); + case 32: + if (lookahead == '|') ADVANCE(92); + END_STATE(); + case 33: + if (lookahead == '"' || + lookahead == '\'' || + lookahead == '`') ADVANCE(73); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(33); + END_STATE(); + case 34: + if (eof) ADVANCE(37); + if (lookahead == '"' || + lookahead == '\'' || + lookahead == '`') ADVANCE(33); + if (lookahead == '#') ADVANCE(38); + if (lookahead == '%') ADVANCE(87); + if (lookahead == '&') ADVANCE(2); + if (lookahead == '(') ADVANCE(3); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(83); + if (lookahead == ',') ADVANCE(76); + if (lookahead == '-') ADVANCE(84); + if (lookahead == '/') ADVANCE(86); + if (lookahead == '=') ADVANCE(82); + if (lookahead == '[') ADVANCE(75); + if (lookahead == ']') ADVANCE(77); + if (lookahead == 'a') ADVANCE(56); + if (lookahead == 'f') ADVANCE(61); + if (lookahead == 'i') ADVANCE(57); + if (lookahead == 'o') ADVANCE(62); + if (lookahead == 's') ADVANCE(47); + if (lookahead == 'w') ADVANCE(52); + if (lookahead == '|') ADVANCE(69); + if (lookahead == '}') ADVANCE(81); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(34) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(72); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(70); + END_STATE(); + case 35: + if (eof) ADVANCE(37); + if (lookahead == '"' || + lookahead == '\'' || + lookahead == '`') ADVANCE(33); + if (lookahead == '#') ADVANCE(38); + if (lookahead == '%') ADVANCE(87); + if (lookahead == '&') ADVANCE(2); + if (lookahead == '(') ADVANCE(3); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(83); + if (lookahead == '-') ADVANCE(84); + if (lookahead == '/') ADVANCE(86); + if (lookahead == '=') ADVANCE(82); + if (lookahead == '[') ADVANCE(75); + if (lookahead == 'a') ADVANCE(56); + if (lookahead == 'e') ADVANCE(53); + if (lookahead == 'f') ADVANCE(61); + if (lookahead == 'i') ADVANCE(57); + if (lookahead == 'o') ADVANCE(62); + if (lookahead == 's') ADVANCE(47); + if (lookahead == 'w') ADVANCE(52); + if (lookahead == '|') ADVANCE(69); + if (lookahead == '}') ADVANCE(81); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(35) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(72); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(70); + END_STATE(); + case 36: + if (eof) ADVANCE(37); + if (lookahead == '"' || + lookahead == '\'' || + lookahead == '`') ADVANCE(33); + if (lookahead == '#') ADVANCE(38); + if (lookahead == '(') ADVANCE(3); + if (lookahead == ',') ADVANCE(76); + if (lookahead == '-') ADVANCE(4); + if (lookahead == '>') ADVANCE(79); + if (lookahead == '[') ADVANCE(75); + if (lookahead == ']') ADVANCE(77); + if (lookahead == '}') ADVANCE(81); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(36) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(72); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 37: + ACCEPT_TOKEN(ts_builtin_sym_end); + END_STATE(); + case 38: + ACCEPT_TOKEN(anon_sym_POUND); + END_STATE(); + case 39: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead == '\t' || lookahead == '\r' || - lookahead == ' ') ADVANCE(5); + lookahead == ' ') ADVANCE(39); if (lookahead != 0 && - lookahead != '\n') ADVANCE(6); + lookahead != '\n') ADVANCE(40); END_STATE(); - case 6: + case 40: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead != 0 && - lookahead != '\n') ADVANCE(6); + lookahead != '\n') ADVANCE(40); END_STATE(); - case 7: + case 41: + ACCEPT_TOKEN(anon_sym_DASH_GT); + END_STATE(); + case 42: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'c') ADVANCE(68); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 43: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'd') ADVANCE(95); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 44: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(111); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 45: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(42); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 46: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(107); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 47: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(54); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 48: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(58); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 49: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(64); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 50: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(63); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 51: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(48); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 52: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(49); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 53: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(65); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 54: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(45); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 55: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'm') ADVANCE(105); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 56: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(43); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 57: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(66); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 58: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(109); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 59: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(55); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 60: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(101); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 61: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(59); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 62: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(97); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 63: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(67); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 64: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(46); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 65: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(44); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 66: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(50); + if (lookahead == 't') ADVANCE(60); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 67: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(99); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 68: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(103); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 69: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '|') ADVANCE(93); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(70); + END_STATE(); + case 70: ACCEPT_TOKEN(sym_identifier); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(7); + lookahead == '|') ADVANCE(70); END_STATE(); - case 8: + case 71: ACCEPT_TOKEN(sym_float); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(8); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(71); END_STATE(); - case 9: + case 72: ACCEPT_TOKEN(sym_integer); - if (lookahead == '.') ADVANCE(8); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(9); + if (lookahead == '.') ADVANCE(71); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(72); END_STATE(); - case 10: + case 73: ACCEPT_TOKEN(sym_string); if (lookahead == '"' || lookahead == '\'' || - lookahead == '`') ADVANCE(10); + lookahead == '`') ADVANCE(73); if (lookahead != 0 && - lookahead != '\n') ADVANCE(2); + lookahead != '\n') ADVANCE(33); END_STATE(); - case 11: + case 74: ACCEPT_TOKEN(sym_empty); END_STATE(); - case 12: + case 75: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 13: + case 76: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 14: + case 77: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 15: + case 78: ACCEPT_TOKEN(anon_sym_LT); END_STATE(); - case 16: + case 79: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); - case 17: + case 80: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 18: + case 81: ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); - case 19: + case 82: ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(22); + if (lookahead == '=') ADVANCE(88); END_STATE(); - case 20: + case 83: ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '=') ADVANCE(89); END_STATE(); - case 21: + case 84: ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '=') ADVANCE(90); + if (lookahead == '>') ADVANCE(41); END_STATE(); - case 22: + case 85: + ACCEPT_TOKEN(anon_sym_STAR); + END_STATE(); + case 86: + ACCEPT_TOKEN(anon_sym_SLASH); + END_STATE(); + case 87: + ACCEPT_TOKEN(anon_sym_PERCENT); + END_STATE(); + case 88: ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); + case 89: + ACCEPT_TOKEN(anon_sym_PLUS_EQ); + END_STATE(); + case 90: + ACCEPT_TOKEN(anon_sym_DASH_EQ); + END_STATE(); + case 91: + ACCEPT_TOKEN(anon_sym_AMP_AMP); + END_STATE(); + case 92: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + END_STATE(); + case 93: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 94: + ACCEPT_TOKEN(anon_sym_and); + END_STATE(); + case 95: + ACCEPT_TOKEN(anon_sym_and); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 96: + ACCEPT_TOKEN(anon_sym_or); + END_STATE(); + case 97: + ACCEPT_TOKEN(anon_sym_or); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 98: + ACCEPT_TOKEN(anon_sym_insert); + END_STATE(); + case 99: + ACCEPT_TOKEN(anon_sym_insert); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 100: + ACCEPT_TOKEN(anon_sym_into); + END_STATE(); + case 101: + ACCEPT_TOKEN(anon_sym_into); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 102: + ACCEPT_TOKEN(anon_sym_select); + END_STATE(); + case 103: + ACCEPT_TOKEN(anon_sym_select); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 104: + ACCEPT_TOKEN(anon_sym_from); + END_STATE(); + case 105: + ACCEPT_TOKEN(anon_sym_from); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 106: + ACCEPT_TOKEN(anon_sym_where); + END_STATE(); + case 107: + ACCEPT_TOKEN(anon_sym_where); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 108: + ACCEPT_TOKEN(anon_sym_then); + END_STATE(); + case 109: + ACCEPT_TOKEN(anon_sym_then); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); + case 110: + ACCEPT_TOKEN(anon_sym_else); + END_STATE(); + case 111: + ACCEPT_TOKEN(anon_sym_else); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(70); + END_STATE(); default: return false; } @@ -583,132 +1389,109 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (lookahead == 'e') ADVANCE(1); - if (lookahead == 'f') ADVANCE(2); - if (lookahead == 'i') ADVANCE(3); - if (lookahead == 'm') ADVANCE(4); - if (lookahead == 'o') ADVANCE(5); - if (lookahead == 't') ADVANCE(6); + if (lookahead == 'f') ADVANCE(1); + if (lookahead == 'i') ADVANCE(2); + if (lookahead == 'm') ADVANCE(3); + if (lookahead == 'o') ADVANCE(4); + if (lookahead == 't') ADVANCE(5); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'l') ADVANCE(7); + if (lookahead == 'a') ADVANCE(6); + if (lookahead == 'u') ADVANCE(7); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(8); - if (lookahead == 'u') ADVANCE(9); + if (lookahead == 'f') ADVANCE(8); END_STATE(); case 3: - if (lookahead == 'f') ADVANCE(10); + if (lookahead == 'a') ADVANCE(9); END_STATE(); case 4: - if (lookahead == 'a') ADVANCE(11); + if (lookahead == 'u') ADVANCE(10); END_STATE(); case 5: - if (lookahead == 'u') ADVANCE(12); + if (lookahead == 'a') ADVANCE(11); + if (lookahead == 'r') ADVANCE(12); END_STATE(); case 6: - if (lookahead == 'a') ADVANCE(13); - if (lookahead == 'h') ADVANCE(14); - if (lookahead == 'r') ADVANCE(15); + if (lookahead == 'l') ADVANCE(13); END_STATE(); case 7: - if (lookahead == 's') ADVANCE(16); + if (lookahead == 'n') ADVANCE(14); END_STATE(); case 8: - if (lookahead == 'l') ADVANCE(17); - END_STATE(); - case 9: - if (lookahead == 'n') ADVANCE(18); - END_STATE(); - case 10: ACCEPT_TOKEN(anon_sym_if); END_STATE(); + case 9: + if (lookahead == 'p') ADVANCE(15); + END_STATE(); + case 10: + if (lookahead == 't') ADVANCE(16); + END_STATE(); case 11: - if (lookahead == 'p') ADVANCE(19); + if (lookahead == 'b') ADVANCE(17); END_STATE(); case 12: - if (lookahead == 't') ADVANCE(20); + if (lookahead == 'u') ADVANCE(18); END_STATE(); case 13: - if (lookahead == 'b') ADVANCE(21); + if (lookahead == 's') ADVANCE(19); END_STATE(); case 14: - if (lookahead == 'e') ADVANCE(22); + if (lookahead == 'c') ADVANCE(20); END_STATE(); case 15: - if (lookahead == 'u') ADVANCE(23); - END_STATE(); - case 16: - if (lookahead == 'e') ADVANCE(24); - END_STATE(); - case 17: - if (lookahead == 's') ADVANCE(25); - END_STATE(); - case 18: - if (lookahead == 'c') ADVANCE(26); - END_STATE(); - case 19: ACCEPT_TOKEN(anon_sym_map); END_STATE(); + case 16: + if (lookahead == 'p') ADVANCE(21); + END_STATE(); + case 17: + if (lookahead == 'l') ADVANCE(22); + END_STATE(); + case 18: + if (lookahead == 'e') ADVANCE(23); + END_STATE(); + case 19: + if (lookahead == 'e') ADVANCE(24); + END_STATE(); case 20: - if (lookahead == 'p') ADVANCE(27); + if (lookahead == 't') ADVANCE(25); END_STATE(); case 21: - if (lookahead == 'l') ADVANCE(28); + if (lookahead == 'u') ADVANCE(26); END_STATE(); case 22: - if (lookahead == 'n') ADVANCE(29); + if (lookahead == 'e') ADVANCE(27); END_STATE(); case 23: - if (lookahead == 'e') ADVANCE(30); - END_STATE(); - case 24: - ACCEPT_TOKEN(anon_sym_else); - END_STATE(); - case 25: - if (lookahead == 'e') ADVANCE(31); - END_STATE(); - case 26: - if (lookahead == 't') ADVANCE(32); - END_STATE(); - case 27: - if (lookahead == 'u') ADVANCE(33); - END_STATE(); - case 28: - if (lookahead == 'e') ADVANCE(34); - END_STATE(); - case 29: - ACCEPT_TOKEN(anon_sym_then); - END_STATE(); - case 30: ACCEPT_TOKEN(anon_sym_true); END_STATE(); - case 31: + case 24: ACCEPT_TOKEN(anon_sym_false); END_STATE(); - case 32: - if (lookahead == 'i') ADVANCE(35); + case 25: + if (lookahead == 'i') ADVANCE(28); END_STATE(); - case 33: - if (lookahead == 't') ADVANCE(36); + case 26: + if (lookahead == 't') ADVANCE(29); END_STATE(); - case 34: + case 27: ACCEPT_TOKEN(anon_sym_table); END_STATE(); - case 35: - if (lookahead == 'o') ADVANCE(37); + case 28: + if (lookahead == 'o') ADVANCE(30); END_STATE(); - case 36: + case 29: ACCEPT_TOKEN(anon_sym_output); END_STATE(); - case 37: - if (lookahead == 'n') ADVANCE(38); + case 30: + if (lookahead == 'n') ADVANCE(31); END_STATE(); - case 38: + case 31: ACCEPT_TOKEN(anon_sym_function); END_STATE(); default: @@ -718,71 +1501,204 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 0}, - [2] = {.lex_state = 0}, - [3] = {.lex_state = 0}, - [4] = {.lex_state = 0}, - [5] = {.lex_state = 0}, - [6] = {.lex_state = 0}, - [7] = {.lex_state = 0}, - [8] = {.lex_state = 0}, - [9] = {.lex_state = 0}, - [10] = {.lex_state = 0}, - [11] = {.lex_state = 0}, - [12] = {.lex_state = 0}, - [13] = {.lex_state = 0}, - [14] = {.lex_state = 0}, - [15] = {.lex_state = 0}, - [16] = {.lex_state = 0}, - [17] = {.lex_state = 0}, - [18] = {.lex_state = 0}, - [19] = {.lex_state = 0}, - [20] = {.lex_state = 0}, - [21] = {.lex_state = 0}, - [22] = {.lex_state = 0}, - [23] = {.lex_state = 0}, - [24] = {.lex_state = 0}, - [25] = {.lex_state = 0}, - [26] = {.lex_state = 0}, - [27] = {.lex_state = 0}, - [28] = {.lex_state = 0}, - [29] = {.lex_state = 0}, - [30] = {.lex_state = 0}, - [31] = {.lex_state = 0}, - [32] = {.lex_state = 0}, - [33] = {.lex_state = 0}, - [34] = {.lex_state = 0}, - [35] = {.lex_state = 0}, - [36] = {.lex_state = 0}, - [37] = {.lex_state = 0}, - [38] = {.lex_state = 0}, - [39] = {.lex_state = 0}, - [40] = {.lex_state = 0}, - [41] = {.lex_state = 0}, - [42] = {.lex_state = 0}, - [43] = {.lex_state = 0}, - [44] = {.lex_state = 0}, - [45] = {.lex_state = 0}, - [46] = {.lex_state = 0}, - [47] = {.lex_state = 0}, - [48] = {.lex_state = 0}, - [49] = {.lex_state = 0}, - [50] = {.lex_state = 0}, - [51] = {.lex_state = 0}, - [52] = {.lex_state = 0}, - [53] = {.lex_state = 0}, - [54] = {.lex_state = 0}, - [55] = {.lex_state = 0}, - [56] = {.lex_state = 0}, - [57] = {.lex_state = 0}, - [58] = {.lex_state = 0}, - [59] = {.lex_state = 0}, - [60] = {.lex_state = 5}, - [61] = {.lex_state = 0}, - [62] = {.lex_state = 0}, - [63] = {.lex_state = 0}, - [64] = {.lex_state = 0}, - [65] = {.lex_state = 0}, + [1] = {.lex_state = 36}, + [2] = {.lex_state = 35}, + [3] = {.lex_state = 34}, + [4] = {.lex_state = 34}, + [5] = {.lex_state = 34}, + [6] = {.lex_state = 34}, + [7] = {.lex_state = 34}, + [8] = {.lex_state = 35}, + [9] = {.lex_state = 34}, + [10] = {.lex_state = 34}, + [11] = {.lex_state = 34}, + [12] = {.lex_state = 34}, + [13] = {.lex_state = 34}, + [14] = {.lex_state = 35}, + [15] = {.lex_state = 35}, + [16] = {.lex_state = 35}, + [17] = {.lex_state = 34}, + [18] = {.lex_state = 35}, + [19] = {.lex_state = 35}, + [20] = {.lex_state = 35}, + [21] = {.lex_state = 35}, + [22] = {.lex_state = 35}, + [23] = {.lex_state = 35}, + [24] = {.lex_state = 35}, + [25] = {.lex_state = 35}, + [26] = {.lex_state = 35}, + [27] = {.lex_state = 35}, + [28] = {.lex_state = 35}, + [29] = {.lex_state = 35}, + [30] = {.lex_state = 34}, + [31] = {.lex_state = 34}, + [32] = {.lex_state = 35}, + [33] = {.lex_state = 35}, + [34] = {.lex_state = 35}, + [35] = {.lex_state = 34}, + [36] = {.lex_state = 34}, + [37] = {.lex_state = 34}, + [38] = {.lex_state = 34}, + [39] = {.lex_state = 34}, + [40] = {.lex_state = 34}, + [41] = {.lex_state = 36}, + [42] = {.lex_state = 36}, + [43] = {.lex_state = 36}, + [44] = {.lex_state = 36}, + [45] = {.lex_state = 36}, + [46] = {.lex_state = 36}, + [47] = {.lex_state = 36}, + [48] = {.lex_state = 36}, + [49] = {.lex_state = 36}, + [50] = {.lex_state = 36}, + [51] = {.lex_state = 36}, + [52] = {.lex_state = 36}, + [53] = {.lex_state = 36}, + [54] = {.lex_state = 36}, + [55] = {.lex_state = 36}, + [56] = {.lex_state = 36}, + [57] = {.lex_state = 36}, + [58] = {.lex_state = 36}, + [59] = {.lex_state = 36}, + [60] = {.lex_state = 36}, + [61] = {.lex_state = 36}, + [62] = {.lex_state = 36}, + [63] = {.lex_state = 36}, + [64] = {.lex_state = 36}, + [65] = {.lex_state = 36}, + [66] = {.lex_state = 36}, + [67] = {.lex_state = 36}, + [68] = {.lex_state = 36}, + [69] = {.lex_state = 36}, + [70] = {.lex_state = 36}, + [71] = {.lex_state = 36}, + [72] = {.lex_state = 36}, + [73] = {.lex_state = 36}, + [74] = {.lex_state = 36}, + [75] = {.lex_state = 36}, + [76] = {.lex_state = 36}, + [77] = {.lex_state = 36}, + [78] = {.lex_state = 36}, + [79] = {.lex_state = 36}, + [80] = {.lex_state = 36}, + [81] = {.lex_state = 36}, + [82] = {.lex_state = 36}, + [83] = {.lex_state = 36}, + [84] = {.lex_state = 1}, + [85] = {.lex_state = 1}, + [86] = {.lex_state = 1}, + [87] = {.lex_state = 1}, + [88] = {.lex_state = 1}, + [89] = {.lex_state = 1}, + [90] = {.lex_state = 1}, + [91] = {.lex_state = 1}, + [92] = {.lex_state = 1}, + [93] = {.lex_state = 1}, + [94] = {.lex_state = 1}, + [95] = {.lex_state = 1}, + [96] = {.lex_state = 1}, + [97] = {.lex_state = 1}, + [98] = {.lex_state = 1}, + [99] = {.lex_state = 1}, + [100] = {.lex_state = 1}, + [101] = {.lex_state = 1}, + [102] = {.lex_state = 1}, + [103] = {.lex_state = 1}, + [104] = {.lex_state = 1}, + [105] = {.lex_state = 1}, + [106] = {.lex_state = 36}, + [107] = {.lex_state = 36}, + [108] = {.lex_state = 36}, + [109] = {.lex_state = 36}, + [110] = {.lex_state = 36}, + [111] = {.lex_state = 36}, + [112] = {.lex_state = 36}, + [113] = {.lex_state = 36}, + [114] = {.lex_state = 36}, + [115] = {.lex_state = 36}, + [116] = {.lex_state = 36}, + [117] = {.lex_state = 36}, + [118] = {.lex_state = 36}, + [119] = {.lex_state = 36}, + [120] = {.lex_state = 36}, + [121] = {.lex_state = 36}, + [122] = {.lex_state = 36}, + [123] = {.lex_state = 36}, + [124] = {.lex_state = 0}, + [125] = {.lex_state = 0}, + [126] = {.lex_state = 0}, + [127] = {.lex_state = 0}, + [128] = {.lex_state = 0}, + [129] = {.lex_state = 0}, + [130] = {.lex_state = 0}, + [131] = {.lex_state = 0}, + [132] = {.lex_state = 0}, + [133] = {.lex_state = 36}, + [134] = {.lex_state = 36}, + [135] = {.lex_state = 36}, + [136] = {.lex_state = 36}, + [137] = {.lex_state = 36}, + [138] = {.lex_state = 36}, + [139] = {.lex_state = 36}, + [140] = {.lex_state = 36}, + [141] = {.lex_state = 36}, + [142] = {.lex_state = 36}, + [143] = {.lex_state = 36}, + [144] = {.lex_state = 36}, + [145] = {.lex_state = 36}, + [146] = {.lex_state = 36}, + [147] = {.lex_state = 36}, + [148] = {.lex_state = 36}, + [149] = {.lex_state = 36}, + [150] = {.lex_state = 36}, + [151] = {.lex_state = 36}, + [152] = {.lex_state = 36}, + [153] = {.lex_state = 36}, + [154] = {.lex_state = 36}, + [155] = {.lex_state = 36}, + [156] = {.lex_state = 0}, + [157] = {.lex_state = 36}, + [158] = {.lex_state = 36}, + [159] = {.lex_state = 36}, + [160] = {.lex_state = 36}, + [161] = {.lex_state = 36}, + [162] = {.lex_state = 36}, + [163] = {.lex_state = 36}, + [164] = {.lex_state = 36}, + [165] = {.lex_state = 36}, + [166] = {.lex_state = 0}, + [167] = {.lex_state = 36}, + [168] = {.lex_state = 36}, + [169] = {.lex_state = 36}, + [170] = {.lex_state = 0}, + [171] = {.lex_state = 36}, + [172] = {.lex_state = 36}, + [173] = {.lex_state = 36}, + [174] = {.lex_state = 36}, + [175] = {.lex_state = 0}, + [176] = {.lex_state = 0}, + [177] = {.lex_state = 0}, + [178] = {.lex_state = 0}, + [179] = {.lex_state = 0}, + [180] = {.lex_state = 0}, + [181] = {.lex_state = 0}, + [182] = {.lex_state = 0}, + [183] = {.lex_state = 0}, + [184] = {.lex_state = 0}, + [185] = {.lex_state = 0}, + [186] = {.lex_state = 0}, + [187] = {.lex_state = 0}, + [188] = {.lex_state = 39}, + [189] = {.lex_state = 0}, + [190] = {.lex_state = 0}, + [191] = {.lex_state = 0}, + [192] = {.lex_state = 0}, + [193] = {.lex_state = 0}, + [194] = {.lex_state = 0}, + [195] = {.lex_state = 0}, + [196] = {.lex_state = 0}, + [197] = {.lex_state = 0}, + [198] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -790,6 +1706,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [ts_builtin_sym_end] = ACTIONS(1), [sym_identifier] = ACTIONS(1), [anon_sym_POUND] = ACTIONS(1), + [anon_sym_DASH_GT] = ACTIONS(1), [sym_float] = ACTIONS(1), [sym_integer] = ACTIONS(1), [sym_string] = ACTIONS(1), @@ -809,29 +1726,44 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_EQ] = ACTIONS(1), [anon_sym_PLUS] = ACTIONS(1), [anon_sym_DASH] = ACTIONS(1), + [anon_sym_STAR] = ACTIONS(1), + [anon_sym_SLASH] = ACTIONS(1), + [anon_sym_PERCENT] = ACTIONS(1), [anon_sym_EQ_EQ] = ACTIONS(1), + [anon_sym_PLUS_EQ] = ACTIONS(1), + [anon_sym_DASH_EQ] = ACTIONS(1), + [anon_sym_AMP_AMP] = ACTIONS(1), + [anon_sym_PIPE_PIPE] = ACTIONS(1), + [anon_sym_and] = ACTIONS(1), + [anon_sym_or] = ACTIONS(1), + [anon_sym_insert] = ACTIONS(1), + [anon_sym_into] = ACTIONS(1), + [anon_sym_select] = ACTIONS(1), + [anon_sym_from] = ACTIONS(1), + [anon_sym_where] = ACTIONS(1), [anon_sym_if] = ACTIONS(1), [anon_sym_then] = ACTIONS(1), [anon_sym_else] = ACTIONS(1), [anon_sym_output] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(61), - [sym_item] = STATE(3), - [sym_comment] = STATE(37), - [sym_statement] = STATE(37), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_root_repeat1] = STATE(3), + [sym_root] = STATE(190), + [sym_item] = STATE(42), + [sym_comment] = STATE(119), + [sym_statement] = STATE(119), + [sym_open_statement] = STATE(112), + [sym_yield_statement] = STATE(116), + [sym_expression] = STATE(17), + [sym_value] = STATE(39), + [sym_boolean] = STATE(4), + [sym_list] = STATE(4), + [sym_function] = STATE(4), + [sym_table] = STATE(4), + [sym_map] = STATE(4), + [sym_operation] = STATE(39), + [sym_control_flow] = STATE(39), + [sym_tool] = STATE(39), + [aux_sym_root_repeat1] = STATE(42), [sym_identifier] = ACTIONS(3), [anon_sym_POUND] = ACTIONS(5), [sym_float] = ACTIONS(7), @@ -848,273 +1780,1599 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_output] = ACTIONS(23), }, [2] = { - [sym_item] = STATE(2), - [sym_comment] = STATE(37), - [sym_statement] = STATE(37), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_root_repeat1] = STATE(2), + [sym_operator] = STATE(83), [ts_builtin_sym_end] = ACTIONS(25), [sym_identifier] = ACTIONS(27), - [anon_sym_POUND] = ACTIONS(30), - [sym_float] = ACTIONS(33), - [sym_integer] = ACTIONS(36), - [sym_string] = ACTIONS(33), - [sym_empty] = ACTIONS(33), - [anon_sym_true] = ACTIONS(39), - [anon_sym_false] = ACTIONS(39), - [anon_sym_LBRACK] = ACTIONS(42), - [anon_sym_function] = ACTIONS(45), - [anon_sym_table] = ACTIONS(48), - [anon_sym_map] = ACTIONS(51), - [anon_sym_if] = ACTIONS(54), - [anon_sym_output] = ACTIONS(57), + [anon_sym_POUND] = ACTIONS(25), + [anon_sym_DASH_GT] = ACTIONS(25), + [sym_float] = ACTIONS(25), + [sym_integer] = ACTIONS(27), + [sym_string] = ACTIONS(25), + [sym_empty] = ACTIONS(25), + [anon_sym_true] = ACTIONS(27), + [anon_sym_false] = ACTIONS(27), + [anon_sym_LBRACK] = ACTIONS(25), + [anon_sym_function] = ACTIONS(27), + [anon_sym_RBRACE] = ACTIONS(25), + [anon_sym_table] = ACTIONS(27), + [anon_sym_map] = ACTIONS(27), + [anon_sym_EQ] = ACTIONS(29), + [anon_sym_PLUS] = ACTIONS(29), + [anon_sym_DASH] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(31), + [anon_sym_PERCENT] = ACTIONS(31), + [anon_sym_EQ_EQ] = ACTIONS(31), + [anon_sym_PLUS_EQ] = ACTIONS(31), + [anon_sym_DASH_EQ] = ACTIONS(31), + [anon_sym_AMP_AMP] = ACTIONS(31), + [anon_sym_PIPE_PIPE] = ACTIONS(29), + [anon_sym_and] = ACTIONS(29), + [anon_sym_or] = ACTIONS(29), + [anon_sym_insert] = ACTIONS(29), + [anon_sym_into] = ACTIONS(29), + [anon_sym_select] = ACTIONS(29), + [anon_sym_from] = ACTIONS(29), + [anon_sym_where] = ACTIONS(29), + [anon_sym_if] = ACTIONS(27), + [anon_sym_else] = ACTIONS(27), + [anon_sym_output] = ACTIONS(27), }, [3] = { - [sym_item] = STATE(2), - [sym_comment] = STATE(37), - [sym_statement] = STATE(37), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_root_repeat1] = STATE(2), - [ts_builtin_sym_end] = ACTIONS(60), - [sym_identifier] = ACTIONS(3), - [anon_sym_POUND] = ACTIONS(5), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [ts_builtin_sym_end] = ACTIONS(33), + [sym_identifier] = ACTIONS(35), + [anon_sym_POUND] = ACTIONS(33), + [anon_sym_DASH_GT] = ACTIONS(33), + [sym_float] = ACTIONS(33), + [sym_integer] = ACTIONS(35), + [sym_string] = ACTIONS(33), + [sym_empty] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_LBRACK] = ACTIONS(33), + [anon_sym_COMMA] = ACTIONS(33), + [anon_sym_RBRACK] = ACTIONS(33), + [anon_sym_function] = ACTIONS(35), + [anon_sym_RBRACE] = ACTIONS(33), + [anon_sym_table] = ACTIONS(35), + [anon_sym_map] = ACTIONS(35), + [anon_sym_EQ] = ACTIONS(35), + [anon_sym_PLUS] = ACTIONS(35), + [anon_sym_DASH] = ACTIONS(35), + [anon_sym_STAR] = ACTIONS(33), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_PERCENT] = ACTIONS(33), + [anon_sym_EQ_EQ] = ACTIONS(33), + [anon_sym_PLUS_EQ] = ACTIONS(33), + [anon_sym_DASH_EQ] = ACTIONS(33), + [anon_sym_AMP_AMP] = ACTIONS(33), + [anon_sym_PIPE_PIPE] = ACTIONS(35), + [anon_sym_and] = ACTIONS(35), + [anon_sym_or] = ACTIONS(35), + [anon_sym_insert] = ACTIONS(35), + [anon_sym_into] = ACTIONS(35), + [anon_sym_select] = ACTIONS(35), + [anon_sym_from] = ACTIONS(35), + [anon_sym_where] = ACTIONS(35), + [anon_sym_if] = ACTIONS(35), + [anon_sym_output] = ACTIONS(35), }, [4] = { - [sym_statement] = STATE(6), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(6), - [sym_identifier] = ACTIONS(3), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(62), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [ts_builtin_sym_end] = ACTIONS(37), + [sym_identifier] = ACTIONS(39), + [anon_sym_POUND] = ACTIONS(37), + [anon_sym_DASH_GT] = ACTIONS(37), + [sym_float] = ACTIONS(37), + [sym_integer] = ACTIONS(39), + [sym_string] = ACTIONS(37), + [sym_empty] = ACTIONS(37), + [anon_sym_true] = ACTIONS(39), + [anon_sym_false] = ACTIONS(39), + [anon_sym_LBRACK] = ACTIONS(37), + [anon_sym_COMMA] = ACTIONS(37), + [anon_sym_RBRACK] = ACTIONS(37), + [anon_sym_function] = ACTIONS(39), + [anon_sym_RBRACE] = ACTIONS(37), + [anon_sym_table] = ACTIONS(39), + [anon_sym_map] = ACTIONS(39), + [anon_sym_EQ] = ACTIONS(39), + [anon_sym_PLUS] = ACTIONS(39), + [anon_sym_DASH] = ACTIONS(39), + [anon_sym_STAR] = ACTIONS(37), + [anon_sym_SLASH] = ACTIONS(37), + [anon_sym_PERCENT] = ACTIONS(37), + [anon_sym_EQ_EQ] = ACTIONS(37), + [anon_sym_PLUS_EQ] = ACTIONS(37), + [anon_sym_DASH_EQ] = ACTIONS(37), + [anon_sym_AMP_AMP] = ACTIONS(37), + [anon_sym_PIPE_PIPE] = ACTIONS(39), + [anon_sym_and] = ACTIONS(39), + [anon_sym_or] = ACTIONS(39), + [anon_sym_insert] = ACTIONS(39), + [anon_sym_into] = ACTIONS(39), + [anon_sym_select] = ACTIONS(39), + [anon_sym_from] = ACTIONS(39), + [anon_sym_where] = ACTIONS(39), + [anon_sym_if] = ACTIONS(39), + [anon_sym_output] = ACTIONS(39), }, [5] = { - [sym_statement] = STATE(6), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(6), - [sym_identifier] = ACTIONS(3), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(64), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [ts_builtin_sym_end] = ACTIONS(41), + [sym_identifier] = ACTIONS(43), + [anon_sym_POUND] = ACTIONS(41), + [anon_sym_DASH_GT] = ACTIONS(41), + [sym_float] = ACTIONS(41), + [sym_integer] = ACTIONS(43), + [sym_string] = ACTIONS(41), + [sym_empty] = ACTIONS(41), + [anon_sym_true] = ACTIONS(43), + [anon_sym_false] = ACTIONS(43), + [anon_sym_LBRACK] = ACTIONS(41), + [anon_sym_COMMA] = ACTIONS(41), + [anon_sym_RBRACK] = ACTIONS(41), + [anon_sym_function] = ACTIONS(43), + [anon_sym_RBRACE] = ACTIONS(41), + [anon_sym_table] = ACTIONS(43), + [anon_sym_map] = ACTIONS(43), + [anon_sym_EQ] = ACTIONS(43), + [anon_sym_PLUS] = ACTIONS(43), + [anon_sym_DASH] = ACTIONS(43), + [anon_sym_STAR] = ACTIONS(41), + [anon_sym_SLASH] = ACTIONS(41), + [anon_sym_PERCENT] = ACTIONS(41), + [anon_sym_EQ_EQ] = ACTIONS(41), + [anon_sym_PLUS_EQ] = ACTIONS(41), + [anon_sym_DASH_EQ] = ACTIONS(41), + [anon_sym_AMP_AMP] = ACTIONS(41), + [anon_sym_PIPE_PIPE] = ACTIONS(43), + [anon_sym_and] = ACTIONS(43), + [anon_sym_or] = ACTIONS(43), + [anon_sym_insert] = ACTIONS(43), + [anon_sym_into] = ACTIONS(43), + [anon_sym_select] = ACTIONS(43), + [anon_sym_from] = ACTIONS(43), + [anon_sym_where] = ACTIONS(43), + [anon_sym_if] = ACTIONS(43), + [anon_sym_output] = ACTIONS(43), }, [6] = { - [sym_statement] = STATE(6), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(6), - [sym_identifier] = ACTIONS(66), - [sym_float] = ACTIONS(69), - [sym_integer] = ACTIONS(72), - [sym_string] = ACTIONS(69), - [sym_empty] = ACTIONS(69), - [anon_sym_true] = ACTIONS(75), - [anon_sym_false] = ACTIONS(75), - [anon_sym_LBRACK] = ACTIONS(78), - [anon_sym_function] = ACTIONS(81), - [anon_sym_RBRACE] = ACTIONS(84), - [anon_sym_table] = ACTIONS(86), - [anon_sym_map] = ACTIONS(89), - [anon_sym_if] = ACTIONS(92), - [anon_sym_output] = ACTIONS(95), + [ts_builtin_sym_end] = ACTIONS(45), + [sym_identifier] = ACTIONS(47), + [anon_sym_POUND] = ACTIONS(45), + [anon_sym_DASH_GT] = ACTIONS(45), + [sym_float] = ACTIONS(45), + [sym_integer] = ACTIONS(47), + [sym_string] = ACTIONS(45), + [sym_empty] = ACTIONS(45), + [anon_sym_true] = ACTIONS(47), + [anon_sym_false] = ACTIONS(47), + [anon_sym_LBRACK] = ACTIONS(45), + [anon_sym_COMMA] = ACTIONS(45), + [anon_sym_RBRACK] = ACTIONS(45), + [anon_sym_function] = ACTIONS(47), + [anon_sym_RBRACE] = ACTIONS(45), + [anon_sym_table] = ACTIONS(47), + [anon_sym_map] = ACTIONS(47), + [anon_sym_EQ] = ACTIONS(47), + [anon_sym_PLUS] = ACTIONS(47), + [anon_sym_DASH] = ACTIONS(47), + [anon_sym_STAR] = ACTIONS(45), + [anon_sym_SLASH] = ACTIONS(45), + [anon_sym_PERCENT] = ACTIONS(45), + [anon_sym_EQ_EQ] = ACTIONS(45), + [anon_sym_PLUS_EQ] = ACTIONS(45), + [anon_sym_DASH_EQ] = ACTIONS(45), + [anon_sym_AMP_AMP] = ACTIONS(45), + [anon_sym_PIPE_PIPE] = ACTIONS(47), + [anon_sym_and] = ACTIONS(47), + [anon_sym_or] = ACTIONS(47), + [anon_sym_insert] = ACTIONS(47), + [anon_sym_into] = ACTIONS(47), + [anon_sym_select] = ACTIONS(47), + [anon_sym_from] = ACTIONS(47), + [anon_sym_where] = ACTIONS(47), + [anon_sym_if] = ACTIONS(47), + [anon_sym_output] = ACTIONS(47), }, [7] = { - [sym_statement] = STATE(6), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(6), - [sym_identifier] = ACTIONS(3), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(98), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [ts_builtin_sym_end] = ACTIONS(49), + [sym_identifier] = ACTIONS(51), + [anon_sym_POUND] = ACTIONS(49), + [anon_sym_DASH_GT] = ACTIONS(49), + [sym_float] = ACTIONS(49), + [sym_integer] = ACTIONS(51), + [sym_string] = ACTIONS(49), + [sym_empty] = ACTIONS(49), + [anon_sym_true] = ACTIONS(51), + [anon_sym_false] = ACTIONS(51), + [anon_sym_LBRACK] = ACTIONS(49), + [anon_sym_COMMA] = ACTIONS(49), + [anon_sym_RBRACK] = ACTIONS(49), + [anon_sym_function] = ACTIONS(51), + [anon_sym_RBRACE] = ACTIONS(49), + [anon_sym_table] = ACTIONS(51), + [anon_sym_map] = ACTIONS(51), + [anon_sym_EQ] = ACTIONS(51), + [anon_sym_PLUS] = ACTIONS(51), + [anon_sym_DASH] = ACTIONS(51), + [anon_sym_STAR] = ACTIONS(49), + [anon_sym_SLASH] = ACTIONS(49), + [anon_sym_PERCENT] = ACTIONS(49), + [anon_sym_EQ_EQ] = ACTIONS(49), + [anon_sym_PLUS_EQ] = ACTIONS(49), + [anon_sym_DASH_EQ] = ACTIONS(49), + [anon_sym_AMP_AMP] = ACTIONS(49), + [anon_sym_PIPE_PIPE] = ACTIONS(51), + [anon_sym_and] = ACTIONS(51), + [anon_sym_or] = ACTIONS(51), + [anon_sym_insert] = ACTIONS(51), + [anon_sym_into] = ACTIONS(51), + [anon_sym_select] = ACTIONS(51), + [anon_sym_from] = ACTIONS(51), + [anon_sym_where] = ACTIONS(51), + [anon_sym_if] = ACTIONS(51), + [anon_sym_output] = ACTIONS(51), }, [8] = { - [sym_statement] = STATE(7), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(7), - [sym_identifier] = ACTIONS(3), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [sym_operator] = STATE(83), + [ts_builtin_sym_end] = ACTIONS(53), + [sym_identifier] = ACTIONS(55), + [anon_sym_POUND] = ACTIONS(53), + [anon_sym_DASH_GT] = ACTIONS(53), + [sym_float] = ACTIONS(53), + [sym_integer] = ACTIONS(55), + [sym_string] = ACTIONS(53), + [sym_empty] = ACTIONS(53), + [anon_sym_true] = ACTIONS(55), + [anon_sym_false] = ACTIONS(55), + [anon_sym_LBRACK] = ACTIONS(53), + [anon_sym_function] = ACTIONS(55), + [anon_sym_RBRACE] = ACTIONS(53), + [anon_sym_table] = ACTIONS(55), + [anon_sym_map] = ACTIONS(55), + [anon_sym_EQ] = ACTIONS(55), + [anon_sym_PLUS] = ACTIONS(55), + [anon_sym_DASH] = ACTIONS(55), + [anon_sym_STAR] = ACTIONS(53), + [anon_sym_SLASH] = ACTIONS(53), + [anon_sym_PERCENT] = ACTIONS(53), + [anon_sym_EQ_EQ] = ACTIONS(53), + [anon_sym_PLUS_EQ] = ACTIONS(53), + [anon_sym_DASH_EQ] = ACTIONS(53), + [anon_sym_AMP_AMP] = ACTIONS(53), + [anon_sym_PIPE_PIPE] = ACTIONS(55), + [anon_sym_and] = ACTIONS(55), + [anon_sym_or] = ACTIONS(55), + [anon_sym_insert] = ACTIONS(55), + [anon_sym_into] = ACTIONS(55), + [anon_sym_select] = ACTIONS(55), + [anon_sym_from] = ACTIONS(55), + [anon_sym_where] = ACTIONS(55), + [anon_sym_if] = ACTIONS(55), + [anon_sym_else] = ACTIONS(55), + [anon_sym_output] = ACTIONS(55), }, [9] = { - [sym_statement] = STATE(5), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(5), - [sym_identifier] = ACTIONS(3), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [ts_builtin_sym_end] = ACTIONS(57), + [sym_identifier] = ACTIONS(59), + [anon_sym_POUND] = ACTIONS(57), + [anon_sym_DASH_GT] = ACTIONS(57), + [sym_float] = ACTIONS(57), + [sym_integer] = ACTIONS(59), + [sym_string] = ACTIONS(57), + [sym_empty] = ACTIONS(57), + [anon_sym_true] = ACTIONS(59), + [anon_sym_false] = ACTIONS(59), + [anon_sym_LBRACK] = ACTIONS(57), + [anon_sym_COMMA] = ACTIONS(57), + [anon_sym_RBRACK] = ACTIONS(57), + [anon_sym_function] = ACTIONS(59), + [anon_sym_RBRACE] = ACTIONS(57), + [anon_sym_table] = ACTIONS(59), + [anon_sym_map] = ACTIONS(59), + [anon_sym_EQ] = ACTIONS(59), + [anon_sym_PLUS] = ACTIONS(59), + [anon_sym_DASH] = ACTIONS(59), + [anon_sym_STAR] = ACTIONS(57), + [anon_sym_SLASH] = ACTIONS(57), + [anon_sym_PERCENT] = ACTIONS(57), + [anon_sym_EQ_EQ] = ACTIONS(57), + [anon_sym_PLUS_EQ] = ACTIONS(57), + [anon_sym_DASH_EQ] = ACTIONS(57), + [anon_sym_AMP_AMP] = ACTIONS(57), + [anon_sym_PIPE_PIPE] = ACTIONS(59), + [anon_sym_and] = ACTIONS(59), + [anon_sym_or] = ACTIONS(59), + [anon_sym_insert] = ACTIONS(59), + [anon_sym_into] = ACTIONS(59), + [anon_sym_select] = ACTIONS(59), + [anon_sym_from] = ACTIONS(59), + [anon_sym_where] = ACTIONS(59), + [anon_sym_if] = ACTIONS(59), + [anon_sym_output] = ACTIONS(59), }, [10] = { - [sym_statement] = STATE(4), - [sym_open_statement] = STATE(28), - [sym_expression] = STATE(32), - [sym_value] = STATE(31), - [sym_boolean] = STATE(17), - [sym_list] = STATE(17), - [sym_function] = STATE(17), - [sym_table] = STATE(17), - [sym_map] = STATE(17), - [sym_operation] = STATE(31), - [sym_control_flow] = STATE(31), - [sym_tool] = STATE(31), - [aux_sym_function_repeat2] = STATE(4), - [sym_identifier] = ACTIONS(3), - [sym_float] = ACTIONS(7), - [sym_integer] = ACTIONS(9), - [sym_string] = ACTIONS(7), - [sym_empty] = ACTIONS(7), - [anon_sym_true] = ACTIONS(11), - [anon_sym_false] = ACTIONS(11), - [anon_sym_LBRACK] = ACTIONS(13), - [anon_sym_function] = ACTIONS(15), - [anon_sym_table] = ACTIONS(17), - [anon_sym_map] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_output] = ACTIONS(23), + [ts_builtin_sym_end] = ACTIONS(61), + [sym_identifier] = ACTIONS(63), + [anon_sym_POUND] = ACTIONS(61), + [anon_sym_DASH_GT] = ACTIONS(61), + [sym_float] = ACTIONS(61), + [sym_integer] = ACTIONS(63), + [sym_string] = ACTIONS(61), + [sym_empty] = ACTIONS(61), + [anon_sym_true] = ACTIONS(63), + [anon_sym_false] = ACTIONS(63), + [anon_sym_LBRACK] = ACTIONS(61), + [anon_sym_COMMA] = ACTIONS(61), + [anon_sym_RBRACK] = ACTIONS(61), + [anon_sym_function] = ACTIONS(63), + [anon_sym_RBRACE] = ACTIONS(61), + [anon_sym_table] = ACTIONS(63), + [anon_sym_map] = ACTIONS(63), + [anon_sym_EQ] = ACTIONS(63), + [anon_sym_PLUS] = ACTIONS(63), + [anon_sym_DASH] = ACTIONS(63), + [anon_sym_STAR] = ACTIONS(61), + [anon_sym_SLASH] = ACTIONS(61), + [anon_sym_PERCENT] = ACTIONS(61), + [anon_sym_EQ_EQ] = ACTIONS(61), + [anon_sym_PLUS_EQ] = ACTIONS(61), + [anon_sym_DASH_EQ] = ACTIONS(61), + [anon_sym_AMP_AMP] = ACTIONS(61), + [anon_sym_PIPE_PIPE] = ACTIONS(63), + [anon_sym_and] = ACTIONS(63), + [anon_sym_or] = ACTIONS(63), + [anon_sym_insert] = ACTIONS(63), + [anon_sym_into] = ACTIONS(63), + [anon_sym_select] = ACTIONS(63), + [anon_sym_from] = ACTIONS(63), + [anon_sym_where] = ACTIONS(63), + [anon_sym_if] = ACTIONS(63), + [anon_sym_output] = ACTIONS(63), + }, + [11] = { + [ts_builtin_sym_end] = ACTIONS(65), + [sym_identifier] = ACTIONS(67), + [anon_sym_POUND] = ACTIONS(65), + [anon_sym_DASH_GT] = ACTIONS(65), + [sym_float] = ACTIONS(65), + [sym_integer] = ACTIONS(67), + [sym_string] = ACTIONS(65), + [sym_empty] = ACTIONS(65), + [anon_sym_true] = ACTIONS(67), + [anon_sym_false] = ACTIONS(67), + [anon_sym_LBRACK] = ACTIONS(65), + [anon_sym_COMMA] = ACTIONS(65), + [anon_sym_RBRACK] = ACTIONS(65), + [anon_sym_function] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(65), + [anon_sym_table] = ACTIONS(67), + [anon_sym_map] = ACTIONS(67), + [anon_sym_EQ] = ACTIONS(67), + [anon_sym_PLUS] = ACTIONS(67), + [anon_sym_DASH] = ACTIONS(67), + [anon_sym_STAR] = ACTIONS(65), + [anon_sym_SLASH] = ACTIONS(65), + [anon_sym_PERCENT] = ACTIONS(65), + [anon_sym_EQ_EQ] = ACTIONS(65), + [anon_sym_PLUS_EQ] = ACTIONS(65), + [anon_sym_DASH_EQ] = ACTIONS(65), + [anon_sym_AMP_AMP] = ACTIONS(65), + [anon_sym_PIPE_PIPE] = ACTIONS(67), + [anon_sym_and] = ACTIONS(67), + [anon_sym_or] = ACTIONS(67), + [anon_sym_insert] = ACTIONS(67), + [anon_sym_into] = ACTIONS(67), + [anon_sym_select] = ACTIONS(67), + [anon_sym_from] = ACTIONS(67), + [anon_sym_where] = ACTIONS(67), + [anon_sym_if] = ACTIONS(67), + [anon_sym_output] = ACTIONS(67), + }, + [12] = { + [ts_builtin_sym_end] = ACTIONS(69), + [sym_identifier] = ACTIONS(71), + [anon_sym_POUND] = ACTIONS(69), + [anon_sym_DASH_GT] = ACTIONS(69), + [sym_float] = ACTIONS(69), + [sym_integer] = ACTIONS(71), + [sym_string] = ACTIONS(69), + [sym_empty] = ACTIONS(69), + [anon_sym_true] = ACTIONS(71), + [anon_sym_false] = ACTIONS(71), + [anon_sym_LBRACK] = ACTIONS(69), + [anon_sym_COMMA] = ACTIONS(69), + [anon_sym_RBRACK] = ACTIONS(69), + [anon_sym_function] = ACTIONS(71), + [anon_sym_RBRACE] = ACTIONS(69), + [anon_sym_table] = ACTIONS(71), + [anon_sym_map] = ACTIONS(71), + [anon_sym_EQ] = ACTIONS(71), + [anon_sym_PLUS] = ACTIONS(71), + [anon_sym_DASH] = ACTIONS(71), + [anon_sym_STAR] = ACTIONS(69), + [anon_sym_SLASH] = ACTIONS(69), + [anon_sym_PERCENT] = ACTIONS(69), + [anon_sym_EQ_EQ] = ACTIONS(69), + [anon_sym_PLUS_EQ] = ACTIONS(69), + [anon_sym_DASH_EQ] = ACTIONS(69), + [anon_sym_AMP_AMP] = ACTIONS(69), + [anon_sym_PIPE_PIPE] = ACTIONS(71), + [anon_sym_and] = ACTIONS(71), + [anon_sym_or] = ACTIONS(71), + [anon_sym_insert] = ACTIONS(71), + [anon_sym_into] = ACTIONS(71), + [anon_sym_select] = ACTIONS(71), + [anon_sym_from] = ACTIONS(71), + [anon_sym_where] = ACTIONS(71), + [anon_sym_if] = ACTIONS(71), + [anon_sym_output] = ACTIONS(71), + }, + [13] = { + [ts_builtin_sym_end] = ACTIONS(73), + [sym_identifier] = ACTIONS(75), + [anon_sym_POUND] = ACTIONS(73), + [anon_sym_DASH_GT] = ACTIONS(73), + [sym_float] = ACTIONS(73), + [sym_integer] = ACTIONS(75), + [sym_string] = ACTIONS(73), + [sym_empty] = ACTIONS(73), + [anon_sym_true] = ACTIONS(75), + [anon_sym_false] = ACTIONS(75), + [anon_sym_LBRACK] = ACTIONS(73), + [anon_sym_COMMA] = ACTIONS(73), + [anon_sym_RBRACK] = ACTIONS(73), + [anon_sym_function] = ACTIONS(75), + [anon_sym_RBRACE] = ACTIONS(73), + [anon_sym_table] = ACTIONS(75), + [anon_sym_map] = ACTIONS(75), + [anon_sym_EQ] = ACTIONS(75), + [anon_sym_PLUS] = ACTIONS(75), + [anon_sym_DASH] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(73), + [anon_sym_SLASH] = ACTIONS(73), + [anon_sym_PERCENT] = ACTIONS(73), + [anon_sym_EQ_EQ] = ACTIONS(73), + [anon_sym_PLUS_EQ] = ACTIONS(73), + [anon_sym_DASH_EQ] = ACTIONS(73), + [anon_sym_AMP_AMP] = ACTIONS(73), + [anon_sym_PIPE_PIPE] = ACTIONS(75), + [anon_sym_and] = ACTIONS(75), + [anon_sym_or] = ACTIONS(75), + [anon_sym_insert] = ACTIONS(75), + [anon_sym_into] = ACTIONS(75), + [anon_sym_select] = ACTIONS(75), + [anon_sym_from] = ACTIONS(75), + [anon_sym_where] = ACTIONS(75), + [anon_sym_if] = ACTIONS(75), + [anon_sym_output] = ACTIONS(75), + }, + [14] = { + [ts_builtin_sym_end] = ACTIONS(77), + [sym_identifier] = ACTIONS(79), + [anon_sym_POUND] = ACTIONS(77), + [anon_sym_DASH_GT] = ACTIONS(81), + [sym_float] = ACTIONS(77), + [sym_integer] = ACTIONS(79), + [sym_string] = ACTIONS(77), + [sym_empty] = ACTIONS(77), + [anon_sym_true] = ACTIONS(79), + [anon_sym_false] = ACTIONS(79), + [anon_sym_LBRACK] = ACTIONS(77), + [anon_sym_function] = ACTIONS(79), + [anon_sym_RBRACE] = ACTIONS(77), + [anon_sym_table] = ACTIONS(79), + [anon_sym_map] = ACTIONS(79), + [anon_sym_EQ] = ACTIONS(79), + [anon_sym_PLUS] = ACTIONS(79), + [anon_sym_DASH] = ACTIONS(79), + [anon_sym_STAR] = ACTIONS(77), + [anon_sym_SLASH] = ACTIONS(77), + [anon_sym_PERCENT] = ACTIONS(77), + [anon_sym_EQ_EQ] = ACTIONS(77), + [anon_sym_PLUS_EQ] = ACTIONS(77), + [anon_sym_DASH_EQ] = ACTIONS(77), + [anon_sym_AMP_AMP] = ACTIONS(77), + [anon_sym_PIPE_PIPE] = ACTIONS(79), + [anon_sym_and] = ACTIONS(79), + [anon_sym_or] = ACTIONS(79), + [anon_sym_insert] = ACTIONS(79), + [anon_sym_into] = ACTIONS(79), + [anon_sym_select] = ACTIONS(79), + [anon_sym_from] = ACTIONS(79), + [anon_sym_where] = ACTIONS(79), + [anon_sym_if] = ACTIONS(79), + [anon_sym_else] = ACTIONS(79), + [anon_sym_output] = ACTIONS(79), + }, + [15] = { + [ts_builtin_sym_end] = ACTIONS(77), + [sym_identifier] = ACTIONS(79), + [anon_sym_POUND] = ACTIONS(77), + [anon_sym_DASH_GT] = ACTIONS(77), + [sym_float] = ACTIONS(77), + [sym_integer] = ACTIONS(79), + [sym_string] = ACTIONS(77), + [sym_empty] = ACTIONS(77), + [anon_sym_true] = ACTIONS(79), + [anon_sym_false] = ACTIONS(79), + [anon_sym_LBRACK] = ACTIONS(77), + [anon_sym_function] = ACTIONS(79), + [anon_sym_RBRACE] = ACTIONS(77), + [anon_sym_table] = ACTIONS(79), + [anon_sym_map] = ACTIONS(79), + [anon_sym_EQ] = ACTIONS(79), + [anon_sym_PLUS] = ACTIONS(79), + [anon_sym_DASH] = ACTIONS(79), + [anon_sym_STAR] = ACTIONS(77), + [anon_sym_SLASH] = ACTIONS(77), + [anon_sym_PERCENT] = ACTIONS(77), + [anon_sym_EQ_EQ] = ACTIONS(77), + [anon_sym_PLUS_EQ] = ACTIONS(77), + [anon_sym_DASH_EQ] = ACTIONS(77), + [anon_sym_AMP_AMP] = ACTIONS(77), + [anon_sym_PIPE_PIPE] = ACTIONS(79), + [anon_sym_and] = ACTIONS(79), + [anon_sym_or] = ACTIONS(79), + [anon_sym_insert] = ACTIONS(79), + [anon_sym_into] = ACTIONS(79), + [anon_sym_select] = ACTIONS(79), + [anon_sym_from] = ACTIONS(79), + [anon_sym_where] = ACTIONS(79), + [anon_sym_if] = ACTIONS(79), + [anon_sym_else] = ACTIONS(79), + [anon_sym_output] = ACTIONS(79), + }, + [16] = { + [ts_builtin_sym_end] = ACTIONS(33), + [sym_identifier] = ACTIONS(35), + [anon_sym_POUND] = ACTIONS(33), + [anon_sym_DASH_GT] = ACTIONS(33), + [sym_float] = ACTIONS(33), + [sym_integer] = ACTIONS(35), + [sym_string] = ACTIONS(33), + [sym_empty] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_LBRACK] = ACTIONS(33), + [anon_sym_function] = ACTIONS(35), + [anon_sym_RBRACE] = ACTIONS(33), + [anon_sym_table] = ACTIONS(35), + [anon_sym_map] = ACTIONS(35), + [anon_sym_EQ] = ACTIONS(35), + [anon_sym_PLUS] = ACTIONS(35), + [anon_sym_DASH] = ACTIONS(35), + [anon_sym_STAR] = ACTIONS(33), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_PERCENT] = ACTIONS(33), + [anon_sym_EQ_EQ] = ACTIONS(33), + [anon_sym_PLUS_EQ] = ACTIONS(33), + [anon_sym_DASH_EQ] = ACTIONS(33), + [anon_sym_AMP_AMP] = ACTIONS(33), + [anon_sym_PIPE_PIPE] = ACTIONS(35), + [anon_sym_and] = ACTIONS(35), + [anon_sym_or] = ACTIONS(35), + [anon_sym_insert] = ACTIONS(35), + [anon_sym_into] = ACTIONS(35), + [anon_sym_select] = ACTIONS(35), + [anon_sym_from] = ACTIONS(35), + [anon_sym_where] = ACTIONS(35), + [anon_sym_if] = ACTIONS(35), + [anon_sym_else] = ACTIONS(35), + [anon_sym_output] = ACTIONS(35), + }, + [17] = { + [sym_operator] = STATE(82), + [ts_builtin_sym_end] = ACTIONS(53), + [sym_identifier] = ACTIONS(55), + [anon_sym_POUND] = ACTIONS(53), + [anon_sym_DASH_GT] = ACTIONS(53), + [sym_float] = ACTIONS(53), + [sym_integer] = ACTIONS(55), + [sym_string] = ACTIONS(53), + [sym_empty] = ACTIONS(53), + [anon_sym_true] = ACTIONS(55), + [anon_sym_false] = ACTIONS(55), + [anon_sym_LBRACK] = ACTIONS(53), + [anon_sym_function] = ACTIONS(55), + [anon_sym_RBRACE] = ACTIONS(53), + [anon_sym_table] = ACTIONS(55), + [anon_sym_map] = ACTIONS(55), + [anon_sym_EQ] = ACTIONS(29), + [anon_sym_PLUS] = ACTIONS(29), + [anon_sym_DASH] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(31), + [anon_sym_PERCENT] = ACTIONS(31), + [anon_sym_EQ_EQ] = ACTIONS(31), + [anon_sym_PLUS_EQ] = ACTIONS(31), + [anon_sym_DASH_EQ] = ACTIONS(31), + [anon_sym_AMP_AMP] = ACTIONS(31), + [anon_sym_PIPE_PIPE] = ACTIONS(29), + [anon_sym_and] = ACTIONS(29), + [anon_sym_or] = ACTIONS(29), + [anon_sym_insert] = ACTIONS(29), + [anon_sym_into] = ACTIONS(29), + [anon_sym_select] = ACTIONS(29), + [anon_sym_from] = ACTIONS(29), + [anon_sym_where] = ACTIONS(29), + [anon_sym_if] = ACTIONS(55), + [anon_sym_output] = ACTIONS(55), + }, + [18] = { + [ts_builtin_sym_end] = ACTIONS(83), + [sym_identifier] = ACTIONS(85), + [anon_sym_POUND] = ACTIONS(83), + [anon_sym_DASH_GT] = ACTIONS(83), + [sym_float] = ACTIONS(83), + [sym_integer] = ACTIONS(85), + [sym_string] = ACTIONS(83), + [sym_empty] = ACTIONS(83), + [anon_sym_true] = ACTIONS(85), + [anon_sym_false] = ACTIONS(85), + [anon_sym_LBRACK] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_RBRACE] = ACTIONS(83), + [anon_sym_table] = ACTIONS(85), + [anon_sym_map] = ACTIONS(85), + [anon_sym_EQ] = ACTIONS(85), + [anon_sym_PLUS] = ACTIONS(85), + [anon_sym_DASH] = ACTIONS(85), + [anon_sym_STAR] = ACTIONS(83), + [anon_sym_SLASH] = ACTIONS(83), + [anon_sym_PERCENT] = ACTIONS(83), + [anon_sym_EQ_EQ] = ACTIONS(83), + [anon_sym_PLUS_EQ] = ACTIONS(83), + [anon_sym_DASH_EQ] = ACTIONS(83), + [anon_sym_AMP_AMP] = ACTIONS(83), + [anon_sym_PIPE_PIPE] = ACTIONS(85), + [anon_sym_and] = ACTIONS(85), + [anon_sym_or] = ACTIONS(85), + [anon_sym_insert] = ACTIONS(85), + [anon_sym_into] = ACTIONS(85), + [anon_sym_select] = ACTIONS(85), + [anon_sym_from] = ACTIONS(85), + [anon_sym_where] = ACTIONS(85), + [anon_sym_if] = ACTIONS(85), + [anon_sym_else] = ACTIONS(87), + [anon_sym_output] = ACTIONS(85), + }, + [19] = { + [ts_builtin_sym_end] = ACTIONS(57), + [sym_identifier] = ACTIONS(59), + [anon_sym_POUND] = ACTIONS(57), + [anon_sym_DASH_GT] = ACTIONS(57), + [sym_float] = ACTIONS(57), + [sym_integer] = ACTIONS(59), + [sym_string] = ACTIONS(57), + [sym_empty] = ACTIONS(57), + [anon_sym_true] = ACTIONS(59), + [anon_sym_false] = ACTIONS(59), + [anon_sym_LBRACK] = ACTIONS(57), + [anon_sym_function] = ACTIONS(59), + [anon_sym_RBRACE] = ACTIONS(57), + [anon_sym_table] = ACTIONS(59), + [anon_sym_map] = ACTIONS(59), + [anon_sym_EQ] = ACTIONS(59), + [anon_sym_PLUS] = ACTIONS(59), + [anon_sym_DASH] = ACTIONS(59), + [anon_sym_STAR] = ACTIONS(57), + [anon_sym_SLASH] = ACTIONS(57), + [anon_sym_PERCENT] = ACTIONS(57), + [anon_sym_EQ_EQ] = ACTIONS(57), + [anon_sym_PLUS_EQ] = ACTIONS(57), + [anon_sym_DASH_EQ] = ACTIONS(57), + [anon_sym_AMP_AMP] = ACTIONS(57), + [anon_sym_PIPE_PIPE] = ACTIONS(59), + [anon_sym_and] = ACTIONS(59), + [anon_sym_or] = ACTIONS(59), + [anon_sym_insert] = ACTIONS(59), + [anon_sym_into] = ACTIONS(59), + [anon_sym_select] = ACTIONS(59), + [anon_sym_from] = ACTIONS(59), + [anon_sym_where] = ACTIONS(59), + [anon_sym_if] = ACTIONS(59), + [anon_sym_else] = ACTIONS(59), + [anon_sym_output] = ACTIONS(59), + }, + [20] = { + [ts_builtin_sym_end] = ACTIONS(45), + [sym_identifier] = ACTIONS(47), + [anon_sym_POUND] = ACTIONS(45), + [anon_sym_DASH_GT] = ACTIONS(45), + [sym_float] = ACTIONS(45), + [sym_integer] = ACTIONS(47), + [sym_string] = ACTIONS(45), + [sym_empty] = ACTIONS(45), + [anon_sym_true] = ACTIONS(47), + [anon_sym_false] = ACTIONS(47), + [anon_sym_LBRACK] = ACTIONS(45), + [anon_sym_function] = ACTIONS(47), + [anon_sym_RBRACE] = ACTIONS(45), + [anon_sym_table] = ACTIONS(47), + [anon_sym_map] = ACTIONS(47), + [anon_sym_EQ] = ACTIONS(47), + [anon_sym_PLUS] = ACTIONS(47), + [anon_sym_DASH] = ACTIONS(47), + [anon_sym_STAR] = ACTIONS(45), + [anon_sym_SLASH] = ACTIONS(45), + [anon_sym_PERCENT] = ACTIONS(45), + [anon_sym_EQ_EQ] = ACTIONS(45), + [anon_sym_PLUS_EQ] = ACTIONS(45), + [anon_sym_DASH_EQ] = ACTIONS(45), + [anon_sym_AMP_AMP] = ACTIONS(45), + [anon_sym_PIPE_PIPE] = ACTIONS(47), + [anon_sym_and] = ACTIONS(47), + [anon_sym_or] = ACTIONS(47), + [anon_sym_insert] = ACTIONS(47), + [anon_sym_into] = ACTIONS(47), + [anon_sym_select] = ACTIONS(47), + [anon_sym_from] = ACTIONS(47), + [anon_sym_where] = ACTIONS(47), + [anon_sym_if] = ACTIONS(47), + [anon_sym_else] = ACTIONS(47), + [anon_sym_output] = ACTIONS(47), + }, + [21] = { + [ts_builtin_sym_end] = ACTIONS(61), + [sym_identifier] = ACTIONS(63), + [anon_sym_POUND] = ACTIONS(61), + [anon_sym_DASH_GT] = ACTIONS(61), + [sym_float] = ACTIONS(61), + [sym_integer] = ACTIONS(63), + [sym_string] = ACTIONS(61), + [sym_empty] = ACTIONS(61), + [anon_sym_true] = ACTIONS(63), + [anon_sym_false] = ACTIONS(63), + [anon_sym_LBRACK] = ACTIONS(61), + [anon_sym_function] = ACTIONS(63), + [anon_sym_RBRACE] = ACTIONS(61), + [anon_sym_table] = ACTIONS(63), + [anon_sym_map] = ACTIONS(63), + [anon_sym_EQ] = ACTIONS(63), + [anon_sym_PLUS] = ACTIONS(63), + [anon_sym_DASH] = ACTIONS(63), + [anon_sym_STAR] = ACTIONS(61), + [anon_sym_SLASH] = ACTIONS(61), + [anon_sym_PERCENT] = ACTIONS(61), + [anon_sym_EQ_EQ] = ACTIONS(61), + [anon_sym_PLUS_EQ] = ACTIONS(61), + [anon_sym_DASH_EQ] = ACTIONS(61), + [anon_sym_AMP_AMP] = ACTIONS(61), + [anon_sym_PIPE_PIPE] = ACTIONS(63), + [anon_sym_and] = ACTIONS(63), + [anon_sym_or] = ACTIONS(63), + [anon_sym_insert] = ACTIONS(63), + [anon_sym_into] = ACTIONS(63), + [anon_sym_select] = ACTIONS(63), + [anon_sym_from] = ACTIONS(63), + [anon_sym_where] = ACTIONS(63), + [anon_sym_if] = ACTIONS(63), + [anon_sym_else] = ACTIONS(63), + [anon_sym_output] = ACTIONS(63), + }, + [22] = { + [ts_builtin_sym_end] = ACTIONS(49), + [sym_identifier] = ACTIONS(51), + [anon_sym_POUND] = ACTIONS(49), + [anon_sym_DASH_GT] = ACTIONS(49), + [sym_float] = ACTIONS(49), + [sym_integer] = ACTIONS(51), + [sym_string] = ACTIONS(49), + [sym_empty] = ACTIONS(49), + [anon_sym_true] = ACTIONS(51), + [anon_sym_false] = ACTIONS(51), + [anon_sym_LBRACK] = ACTIONS(49), + [anon_sym_function] = ACTIONS(51), + [anon_sym_RBRACE] = ACTIONS(49), + [anon_sym_table] = ACTIONS(51), + [anon_sym_map] = ACTIONS(51), + [anon_sym_EQ] = ACTIONS(51), + [anon_sym_PLUS] = ACTIONS(51), + [anon_sym_DASH] = ACTIONS(51), + [anon_sym_STAR] = ACTIONS(49), + [anon_sym_SLASH] = ACTIONS(49), + [anon_sym_PERCENT] = ACTIONS(49), + [anon_sym_EQ_EQ] = ACTIONS(49), + [anon_sym_PLUS_EQ] = ACTIONS(49), + [anon_sym_DASH_EQ] = ACTIONS(49), + [anon_sym_AMP_AMP] = ACTIONS(49), + [anon_sym_PIPE_PIPE] = ACTIONS(51), + [anon_sym_and] = ACTIONS(51), + [anon_sym_or] = ACTIONS(51), + [anon_sym_insert] = ACTIONS(51), + [anon_sym_into] = ACTIONS(51), + [anon_sym_select] = ACTIONS(51), + [anon_sym_from] = ACTIONS(51), + [anon_sym_where] = ACTIONS(51), + [anon_sym_if] = ACTIONS(51), + [anon_sym_else] = ACTIONS(51), + [anon_sym_output] = ACTIONS(51), + }, + [23] = { + [ts_builtin_sym_end] = ACTIONS(73), + [sym_identifier] = ACTIONS(75), + [anon_sym_POUND] = ACTIONS(73), + [anon_sym_DASH_GT] = ACTIONS(73), + [sym_float] = ACTIONS(73), + [sym_integer] = ACTIONS(75), + [sym_string] = ACTIONS(73), + [sym_empty] = ACTIONS(73), + [anon_sym_true] = ACTIONS(75), + [anon_sym_false] = ACTIONS(75), + [anon_sym_LBRACK] = ACTIONS(73), + [anon_sym_function] = ACTIONS(75), + [anon_sym_RBRACE] = ACTIONS(73), + [anon_sym_table] = ACTIONS(75), + [anon_sym_map] = ACTIONS(75), + [anon_sym_EQ] = ACTIONS(75), + [anon_sym_PLUS] = ACTIONS(75), + [anon_sym_DASH] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(73), + [anon_sym_SLASH] = ACTIONS(73), + [anon_sym_PERCENT] = ACTIONS(73), + [anon_sym_EQ_EQ] = ACTIONS(73), + [anon_sym_PLUS_EQ] = ACTIONS(73), + [anon_sym_DASH_EQ] = ACTIONS(73), + [anon_sym_AMP_AMP] = ACTIONS(73), + [anon_sym_PIPE_PIPE] = ACTIONS(75), + [anon_sym_and] = ACTIONS(75), + [anon_sym_or] = ACTIONS(75), + [anon_sym_insert] = ACTIONS(75), + [anon_sym_into] = ACTIONS(75), + [anon_sym_select] = ACTIONS(75), + [anon_sym_from] = ACTIONS(75), + [anon_sym_where] = ACTIONS(75), + [anon_sym_if] = ACTIONS(75), + [anon_sym_else] = ACTIONS(75), + [anon_sym_output] = ACTIONS(75), + }, + [24] = { + [ts_builtin_sym_end] = ACTIONS(89), + [sym_identifier] = ACTIONS(91), + [anon_sym_POUND] = ACTIONS(89), + [anon_sym_DASH_GT] = ACTIONS(89), + [sym_float] = ACTIONS(89), + [sym_integer] = ACTIONS(91), + [sym_string] = ACTIONS(89), + [sym_empty] = ACTIONS(89), + [anon_sym_true] = ACTIONS(91), + [anon_sym_false] = ACTIONS(91), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_function] = ACTIONS(91), + [anon_sym_RBRACE] = ACTIONS(89), + [anon_sym_table] = ACTIONS(91), + [anon_sym_map] = ACTIONS(91), + [anon_sym_EQ] = ACTIONS(91), + [anon_sym_PLUS] = ACTIONS(91), + [anon_sym_DASH] = ACTIONS(91), + [anon_sym_STAR] = ACTIONS(89), + [anon_sym_SLASH] = ACTIONS(89), + [anon_sym_PERCENT] = ACTIONS(89), + [anon_sym_EQ_EQ] = ACTIONS(89), + [anon_sym_PLUS_EQ] = ACTIONS(89), + [anon_sym_DASH_EQ] = ACTIONS(89), + [anon_sym_AMP_AMP] = ACTIONS(89), + [anon_sym_PIPE_PIPE] = ACTIONS(91), + [anon_sym_and] = ACTIONS(91), + [anon_sym_or] = ACTIONS(91), + [anon_sym_insert] = ACTIONS(91), + [anon_sym_into] = ACTIONS(91), + [anon_sym_select] = ACTIONS(91), + [anon_sym_from] = ACTIONS(91), + [anon_sym_where] = ACTIONS(91), + [anon_sym_if] = ACTIONS(91), + [anon_sym_else] = ACTIONS(91), + [anon_sym_output] = ACTIONS(91), + }, + [25] = { + [ts_builtin_sym_end] = ACTIONS(41), + [sym_identifier] = ACTIONS(43), + [anon_sym_POUND] = ACTIONS(41), + [anon_sym_DASH_GT] = ACTIONS(41), + [sym_float] = ACTIONS(41), + [sym_integer] = ACTIONS(43), + [sym_string] = ACTIONS(41), + [sym_empty] = ACTIONS(41), + [anon_sym_true] = ACTIONS(43), + [anon_sym_false] = ACTIONS(43), + [anon_sym_LBRACK] = ACTIONS(41), + [anon_sym_function] = ACTIONS(43), + [anon_sym_RBRACE] = ACTIONS(41), + [anon_sym_table] = ACTIONS(43), + [anon_sym_map] = ACTIONS(43), + [anon_sym_EQ] = ACTIONS(43), + [anon_sym_PLUS] = ACTIONS(43), + [anon_sym_DASH] = ACTIONS(43), + [anon_sym_STAR] = ACTIONS(41), + [anon_sym_SLASH] = ACTIONS(41), + [anon_sym_PERCENT] = ACTIONS(41), + [anon_sym_EQ_EQ] = ACTIONS(41), + [anon_sym_PLUS_EQ] = ACTIONS(41), + [anon_sym_DASH_EQ] = ACTIONS(41), + [anon_sym_AMP_AMP] = ACTIONS(41), + [anon_sym_PIPE_PIPE] = ACTIONS(43), + [anon_sym_and] = ACTIONS(43), + [anon_sym_or] = ACTIONS(43), + [anon_sym_insert] = ACTIONS(43), + [anon_sym_into] = ACTIONS(43), + [anon_sym_select] = ACTIONS(43), + [anon_sym_from] = ACTIONS(43), + [anon_sym_where] = ACTIONS(43), + [anon_sym_if] = ACTIONS(43), + [anon_sym_else] = ACTIONS(43), + [anon_sym_output] = ACTIONS(43), + }, + [26] = { + [ts_builtin_sym_end] = ACTIONS(37), + [sym_identifier] = ACTIONS(39), + [anon_sym_POUND] = ACTIONS(37), + [anon_sym_DASH_GT] = ACTIONS(37), + [sym_float] = ACTIONS(37), + [sym_integer] = ACTIONS(39), + [sym_string] = ACTIONS(37), + [sym_empty] = ACTIONS(37), + [anon_sym_true] = ACTIONS(39), + [anon_sym_false] = ACTIONS(39), + [anon_sym_LBRACK] = ACTIONS(37), + [anon_sym_function] = ACTIONS(39), + [anon_sym_RBRACE] = ACTIONS(37), + [anon_sym_table] = ACTIONS(39), + [anon_sym_map] = ACTIONS(39), + [anon_sym_EQ] = ACTIONS(39), + [anon_sym_PLUS] = ACTIONS(39), + [anon_sym_DASH] = ACTIONS(39), + [anon_sym_STAR] = ACTIONS(37), + [anon_sym_SLASH] = ACTIONS(37), + [anon_sym_PERCENT] = ACTIONS(37), + [anon_sym_EQ_EQ] = ACTIONS(37), + [anon_sym_PLUS_EQ] = ACTIONS(37), + [anon_sym_DASH_EQ] = ACTIONS(37), + [anon_sym_AMP_AMP] = ACTIONS(37), + [anon_sym_PIPE_PIPE] = ACTIONS(39), + [anon_sym_and] = ACTIONS(39), + [anon_sym_or] = ACTIONS(39), + [anon_sym_insert] = ACTIONS(39), + [anon_sym_into] = ACTIONS(39), + [anon_sym_select] = ACTIONS(39), + [anon_sym_from] = ACTIONS(39), + [anon_sym_where] = ACTIONS(39), + [anon_sym_if] = ACTIONS(39), + [anon_sym_else] = ACTIONS(39), + [anon_sym_output] = ACTIONS(39), + }, + [27] = { + [ts_builtin_sym_end] = ACTIONS(93), + [sym_identifier] = ACTIONS(95), + [anon_sym_POUND] = ACTIONS(93), + [anon_sym_DASH_GT] = ACTIONS(93), + [sym_float] = ACTIONS(93), + [sym_integer] = ACTIONS(95), + [sym_string] = ACTIONS(93), + [sym_empty] = ACTIONS(93), + [anon_sym_true] = ACTIONS(95), + [anon_sym_false] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(93), + [anon_sym_function] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(93), + [anon_sym_table] = ACTIONS(95), + [anon_sym_map] = ACTIONS(95), + [anon_sym_EQ] = ACTIONS(95), + [anon_sym_PLUS] = ACTIONS(95), + [anon_sym_DASH] = ACTIONS(95), + [anon_sym_STAR] = ACTIONS(93), + [anon_sym_SLASH] = ACTIONS(93), + [anon_sym_PERCENT] = ACTIONS(93), + [anon_sym_EQ_EQ] = ACTIONS(93), + [anon_sym_PLUS_EQ] = ACTIONS(93), + [anon_sym_DASH_EQ] = ACTIONS(93), + [anon_sym_AMP_AMP] = ACTIONS(93), + [anon_sym_PIPE_PIPE] = ACTIONS(95), + [anon_sym_and] = ACTIONS(95), + [anon_sym_or] = ACTIONS(95), + [anon_sym_insert] = ACTIONS(95), + [anon_sym_into] = ACTIONS(95), + [anon_sym_select] = ACTIONS(95), + [anon_sym_from] = ACTIONS(95), + [anon_sym_where] = ACTIONS(95), + [anon_sym_if] = ACTIONS(95), + [anon_sym_else] = ACTIONS(95), + [anon_sym_output] = ACTIONS(95), + }, + [28] = { + [ts_builtin_sym_end] = ACTIONS(97), + [sym_identifier] = ACTIONS(99), + [anon_sym_POUND] = ACTIONS(97), + [anon_sym_DASH_GT] = ACTIONS(97), + [sym_float] = ACTIONS(97), + [sym_integer] = ACTIONS(99), + [sym_string] = ACTIONS(97), + [sym_empty] = ACTIONS(97), + [anon_sym_true] = ACTIONS(99), + [anon_sym_false] = ACTIONS(99), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_function] = ACTIONS(99), + [anon_sym_RBRACE] = ACTIONS(97), + [anon_sym_table] = ACTIONS(99), + [anon_sym_map] = ACTIONS(99), + [anon_sym_EQ] = ACTIONS(99), + [anon_sym_PLUS] = ACTIONS(99), + [anon_sym_DASH] = ACTIONS(99), + [anon_sym_STAR] = ACTIONS(97), + [anon_sym_SLASH] = ACTIONS(97), + [anon_sym_PERCENT] = ACTIONS(97), + [anon_sym_EQ_EQ] = ACTIONS(97), + [anon_sym_PLUS_EQ] = ACTIONS(97), + [anon_sym_DASH_EQ] = ACTIONS(97), + [anon_sym_AMP_AMP] = ACTIONS(97), + [anon_sym_PIPE_PIPE] = ACTIONS(99), + [anon_sym_and] = ACTIONS(99), + [anon_sym_or] = ACTIONS(99), + [anon_sym_insert] = ACTIONS(99), + [anon_sym_into] = ACTIONS(99), + [anon_sym_select] = ACTIONS(99), + [anon_sym_from] = ACTIONS(99), + [anon_sym_where] = ACTIONS(99), + [anon_sym_if] = ACTIONS(99), + [anon_sym_else] = ACTIONS(99), + [anon_sym_output] = ACTIONS(99), + }, + [29] = { + [ts_builtin_sym_end] = ACTIONS(83), + [sym_identifier] = ACTIONS(85), + [anon_sym_POUND] = ACTIONS(83), + [anon_sym_DASH_GT] = ACTIONS(83), + [sym_float] = ACTIONS(83), + [sym_integer] = ACTIONS(85), + [sym_string] = ACTIONS(83), + [sym_empty] = ACTIONS(83), + [anon_sym_true] = ACTIONS(85), + [anon_sym_false] = ACTIONS(85), + [anon_sym_LBRACK] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_RBRACE] = ACTIONS(83), + [anon_sym_table] = ACTIONS(85), + [anon_sym_map] = ACTIONS(85), + [anon_sym_EQ] = ACTIONS(85), + [anon_sym_PLUS] = ACTIONS(85), + [anon_sym_DASH] = ACTIONS(85), + [anon_sym_STAR] = ACTIONS(83), + [anon_sym_SLASH] = ACTIONS(83), + [anon_sym_PERCENT] = ACTIONS(83), + [anon_sym_EQ_EQ] = ACTIONS(83), + [anon_sym_PLUS_EQ] = ACTIONS(83), + [anon_sym_DASH_EQ] = ACTIONS(83), + [anon_sym_AMP_AMP] = ACTIONS(83), + [anon_sym_PIPE_PIPE] = ACTIONS(85), + [anon_sym_and] = ACTIONS(85), + [anon_sym_or] = ACTIONS(85), + [anon_sym_insert] = ACTIONS(85), + [anon_sym_into] = ACTIONS(85), + [anon_sym_select] = ACTIONS(85), + [anon_sym_from] = ACTIONS(85), + [anon_sym_where] = ACTIONS(85), + [anon_sym_if] = ACTIONS(85), + [anon_sym_else] = ACTIONS(101), + [anon_sym_output] = ACTIONS(85), + }, + [30] = { + [sym_operator] = STATE(82), + [ts_builtin_sym_end] = ACTIONS(25), + [sym_identifier] = ACTIONS(27), + [anon_sym_POUND] = ACTIONS(25), + [anon_sym_DASH_GT] = ACTIONS(25), + [sym_float] = ACTIONS(25), + [sym_integer] = ACTIONS(27), + [sym_string] = ACTIONS(25), + [sym_empty] = ACTIONS(25), + [anon_sym_true] = ACTIONS(27), + [anon_sym_false] = ACTIONS(27), + [anon_sym_LBRACK] = ACTIONS(25), + [anon_sym_function] = ACTIONS(27), + [anon_sym_RBRACE] = ACTIONS(25), + [anon_sym_table] = ACTIONS(27), + [anon_sym_map] = ACTIONS(27), + [anon_sym_EQ] = ACTIONS(29), + [anon_sym_PLUS] = ACTIONS(29), + [anon_sym_DASH] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(31), + [anon_sym_PERCENT] = ACTIONS(31), + [anon_sym_EQ_EQ] = ACTIONS(31), + [anon_sym_PLUS_EQ] = ACTIONS(31), + [anon_sym_DASH_EQ] = ACTIONS(31), + [anon_sym_AMP_AMP] = ACTIONS(31), + [anon_sym_PIPE_PIPE] = ACTIONS(29), + [anon_sym_and] = ACTIONS(29), + [anon_sym_or] = ACTIONS(29), + [anon_sym_insert] = ACTIONS(29), + [anon_sym_into] = ACTIONS(29), + [anon_sym_select] = ACTIONS(29), + [anon_sym_from] = ACTIONS(29), + [anon_sym_where] = ACTIONS(29), + [anon_sym_if] = ACTIONS(27), + [anon_sym_output] = ACTIONS(27), + }, + [31] = { + [sym_operator] = STATE(82), + [ts_builtin_sym_end] = ACTIONS(53), + [sym_identifier] = ACTIONS(55), + [anon_sym_POUND] = ACTIONS(53), + [anon_sym_DASH_GT] = ACTIONS(53), + [sym_float] = ACTIONS(53), + [sym_integer] = ACTIONS(55), + [sym_string] = ACTIONS(53), + [sym_empty] = ACTIONS(53), + [anon_sym_true] = ACTIONS(55), + [anon_sym_false] = ACTIONS(55), + [anon_sym_LBRACK] = ACTIONS(53), + [anon_sym_function] = ACTIONS(55), + [anon_sym_RBRACE] = ACTIONS(53), + [anon_sym_table] = ACTIONS(55), + [anon_sym_map] = ACTIONS(55), + [anon_sym_EQ] = ACTIONS(55), + [anon_sym_PLUS] = ACTIONS(55), + [anon_sym_DASH] = ACTIONS(55), + [anon_sym_STAR] = ACTIONS(53), + [anon_sym_SLASH] = ACTIONS(53), + [anon_sym_PERCENT] = ACTIONS(53), + [anon_sym_EQ_EQ] = ACTIONS(53), + [anon_sym_PLUS_EQ] = ACTIONS(53), + [anon_sym_DASH_EQ] = ACTIONS(53), + [anon_sym_AMP_AMP] = ACTIONS(53), + [anon_sym_PIPE_PIPE] = ACTIONS(55), + [anon_sym_and] = ACTIONS(55), + [anon_sym_or] = ACTIONS(55), + [anon_sym_insert] = ACTIONS(55), + [anon_sym_into] = ACTIONS(55), + [anon_sym_select] = ACTIONS(55), + [anon_sym_from] = ACTIONS(55), + [anon_sym_where] = ACTIONS(55), + [anon_sym_if] = ACTIONS(55), + [anon_sym_output] = ACTIONS(55), + }, + [32] = { + [ts_builtin_sym_end] = ACTIONS(103), + [sym_identifier] = ACTIONS(105), + [anon_sym_POUND] = ACTIONS(103), + [anon_sym_DASH_GT] = ACTIONS(103), + [sym_float] = ACTIONS(103), + [sym_integer] = ACTIONS(105), + [sym_string] = ACTIONS(103), + [sym_empty] = ACTIONS(103), + [anon_sym_true] = ACTIONS(105), + [anon_sym_false] = ACTIONS(105), + [anon_sym_LBRACK] = ACTIONS(103), + [anon_sym_function] = ACTIONS(105), + [anon_sym_RBRACE] = ACTIONS(103), + [anon_sym_table] = ACTIONS(105), + [anon_sym_map] = ACTIONS(105), + [anon_sym_EQ] = ACTIONS(105), + [anon_sym_PLUS] = ACTIONS(105), + [anon_sym_DASH] = ACTIONS(105), + [anon_sym_STAR] = ACTIONS(103), + [anon_sym_SLASH] = ACTIONS(103), + [anon_sym_PERCENT] = ACTIONS(103), + [anon_sym_EQ_EQ] = ACTIONS(103), + [anon_sym_PLUS_EQ] = ACTIONS(103), + [anon_sym_DASH_EQ] = ACTIONS(103), + [anon_sym_AMP_AMP] = ACTIONS(103), + [anon_sym_PIPE_PIPE] = ACTIONS(105), + [anon_sym_and] = ACTIONS(105), + [anon_sym_or] = ACTIONS(105), + [anon_sym_insert] = ACTIONS(105), + [anon_sym_into] = ACTIONS(105), + [anon_sym_select] = ACTIONS(105), + [anon_sym_from] = ACTIONS(105), + [anon_sym_where] = ACTIONS(105), + [anon_sym_if] = ACTIONS(105), + [anon_sym_else] = ACTIONS(105), + [anon_sym_output] = ACTIONS(105), + }, + [33] = { + [ts_builtin_sym_end] = ACTIONS(69), + [sym_identifier] = ACTIONS(71), + [anon_sym_POUND] = ACTIONS(69), + [anon_sym_DASH_GT] = ACTIONS(69), + [sym_float] = ACTIONS(69), + [sym_integer] = ACTIONS(71), + [sym_string] = ACTIONS(69), + [sym_empty] = ACTIONS(69), + [anon_sym_true] = ACTIONS(71), + [anon_sym_false] = ACTIONS(71), + [anon_sym_LBRACK] = ACTIONS(69), + [anon_sym_function] = ACTIONS(71), + [anon_sym_RBRACE] = ACTIONS(69), + [anon_sym_table] = ACTIONS(71), + [anon_sym_map] = ACTIONS(71), + [anon_sym_EQ] = ACTIONS(71), + [anon_sym_PLUS] = ACTIONS(71), + [anon_sym_DASH] = ACTIONS(71), + [anon_sym_STAR] = ACTIONS(69), + [anon_sym_SLASH] = ACTIONS(69), + [anon_sym_PERCENT] = ACTIONS(69), + [anon_sym_EQ_EQ] = ACTIONS(69), + [anon_sym_PLUS_EQ] = ACTIONS(69), + [anon_sym_DASH_EQ] = ACTIONS(69), + [anon_sym_AMP_AMP] = ACTIONS(69), + [anon_sym_PIPE_PIPE] = ACTIONS(71), + [anon_sym_and] = ACTIONS(71), + [anon_sym_or] = ACTIONS(71), + [anon_sym_insert] = ACTIONS(71), + [anon_sym_into] = ACTIONS(71), + [anon_sym_select] = ACTIONS(71), + [anon_sym_from] = ACTIONS(71), + [anon_sym_where] = ACTIONS(71), + [anon_sym_if] = ACTIONS(71), + [anon_sym_else] = ACTIONS(71), + [anon_sym_output] = ACTIONS(71), + }, + [34] = { + [ts_builtin_sym_end] = ACTIONS(65), + [sym_identifier] = ACTIONS(67), + [anon_sym_POUND] = ACTIONS(65), + [anon_sym_DASH_GT] = ACTIONS(65), + [sym_float] = ACTIONS(65), + [sym_integer] = ACTIONS(67), + [sym_string] = ACTIONS(65), + [sym_empty] = ACTIONS(65), + [anon_sym_true] = ACTIONS(67), + [anon_sym_false] = ACTIONS(67), + [anon_sym_LBRACK] = ACTIONS(65), + [anon_sym_function] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(65), + [anon_sym_table] = ACTIONS(67), + [anon_sym_map] = ACTIONS(67), + [anon_sym_EQ] = ACTIONS(67), + [anon_sym_PLUS] = ACTIONS(67), + [anon_sym_DASH] = ACTIONS(67), + [anon_sym_STAR] = ACTIONS(65), + [anon_sym_SLASH] = ACTIONS(65), + [anon_sym_PERCENT] = ACTIONS(65), + [anon_sym_EQ_EQ] = ACTIONS(65), + [anon_sym_PLUS_EQ] = ACTIONS(65), + [anon_sym_DASH_EQ] = ACTIONS(65), + [anon_sym_AMP_AMP] = ACTIONS(65), + [anon_sym_PIPE_PIPE] = ACTIONS(67), + [anon_sym_and] = ACTIONS(67), + [anon_sym_or] = ACTIONS(67), + [anon_sym_insert] = ACTIONS(67), + [anon_sym_into] = ACTIONS(67), + [anon_sym_select] = ACTIONS(67), + [anon_sym_from] = ACTIONS(67), + [anon_sym_where] = ACTIONS(67), + [anon_sym_if] = ACTIONS(67), + [anon_sym_else] = ACTIONS(67), + [anon_sym_output] = ACTIONS(67), + }, + [35] = { + [ts_builtin_sym_end] = ACTIONS(89), + [sym_identifier] = ACTIONS(91), + [anon_sym_POUND] = ACTIONS(89), + [anon_sym_DASH_GT] = ACTIONS(89), + [sym_float] = ACTIONS(89), + [sym_integer] = ACTIONS(91), + [sym_string] = ACTIONS(89), + [sym_empty] = ACTIONS(89), + [anon_sym_true] = ACTIONS(91), + [anon_sym_false] = ACTIONS(91), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_function] = ACTIONS(91), + [anon_sym_RBRACE] = ACTIONS(89), + [anon_sym_table] = ACTIONS(91), + [anon_sym_map] = ACTIONS(91), + [anon_sym_EQ] = ACTIONS(91), + [anon_sym_PLUS] = ACTIONS(91), + [anon_sym_DASH] = ACTIONS(91), + [anon_sym_STAR] = ACTIONS(89), + [anon_sym_SLASH] = ACTIONS(89), + [anon_sym_PERCENT] = ACTIONS(89), + [anon_sym_EQ_EQ] = ACTIONS(89), + [anon_sym_PLUS_EQ] = ACTIONS(89), + [anon_sym_DASH_EQ] = ACTIONS(89), + [anon_sym_AMP_AMP] = ACTIONS(89), + [anon_sym_PIPE_PIPE] = ACTIONS(91), + [anon_sym_and] = ACTIONS(91), + [anon_sym_or] = ACTIONS(91), + [anon_sym_insert] = ACTIONS(91), + [anon_sym_into] = ACTIONS(91), + [anon_sym_select] = ACTIONS(91), + [anon_sym_from] = ACTIONS(91), + [anon_sym_where] = ACTIONS(91), + [anon_sym_if] = ACTIONS(91), + [anon_sym_output] = ACTIONS(91), + }, + [36] = { + [ts_builtin_sym_end] = ACTIONS(103), + [sym_identifier] = ACTIONS(105), + [anon_sym_POUND] = ACTIONS(103), + [anon_sym_DASH_GT] = ACTIONS(103), + [sym_float] = ACTIONS(103), + [sym_integer] = ACTIONS(105), + [sym_string] = ACTIONS(103), + [sym_empty] = ACTIONS(103), + [anon_sym_true] = ACTIONS(105), + [anon_sym_false] = ACTIONS(105), + [anon_sym_LBRACK] = ACTIONS(103), + [anon_sym_function] = ACTIONS(105), + [anon_sym_RBRACE] = ACTIONS(103), + [anon_sym_table] = ACTIONS(105), + [anon_sym_map] = ACTIONS(105), + [anon_sym_EQ] = ACTIONS(105), + [anon_sym_PLUS] = ACTIONS(105), + [anon_sym_DASH] = ACTIONS(105), + [anon_sym_STAR] = ACTIONS(103), + [anon_sym_SLASH] = ACTIONS(103), + [anon_sym_PERCENT] = ACTIONS(103), + [anon_sym_EQ_EQ] = ACTIONS(103), + [anon_sym_PLUS_EQ] = ACTIONS(103), + [anon_sym_DASH_EQ] = ACTIONS(103), + [anon_sym_AMP_AMP] = ACTIONS(103), + [anon_sym_PIPE_PIPE] = ACTIONS(105), + [anon_sym_and] = ACTIONS(105), + [anon_sym_or] = ACTIONS(105), + [anon_sym_insert] = ACTIONS(105), + [anon_sym_into] = ACTIONS(105), + [anon_sym_select] = ACTIONS(105), + [anon_sym_from] = ACTIONS(105), + [anon_sym_where] = ACTIONS(105), + [anon_sym_if] = ACTIONS(105), + [anon_sym_output] = ACTIONS(105), + }, + [37] = { + [ts_builtin_sym_end] = ACTIONS(77), + [sym_identifier] = ACTIONS(79), + [anon_sym_POUND] = ACTIONS(77), + [anon_sym_DASH_GT] = ACTIONS(107), + [sym_float] = ACTIONS(77), + [sym_integer] = ACTIONS(79), + [sym_string] = ACTIONS(77), + [sym_empty] = ACTIONS(77), + [anon_sym_true] = ACTIONS(79), + [anon_sym_false] = ACTIONS(79), + [anon_sym_LBRACK] = ACTIONS(77), + [anon_sym_function] = ACTIONS(79), + [anon_sym_RBRACE] = ACTIONS(77), + [anon_sym_table] = ACTIONS(79), + [anon_sym_map] = ACTIONS(79), + [anon_sym_EQ] = ACTIONS(79), + [anon_sym_PLUS] = ACTIONS(79), + [anon_sym_DASH] = ACTIONS(79), + [anon_sym_STAR] = ACTIONS(77), + [anon_sym_SLASH] = ACTIONS(77), + [anon_sym_PERCENT] = ACTIONS(77), + [anon_sym_EQ_EQ] = ACTIONS(77), + [anon_sym_PLUS_EQ] = ACTIONS(77), + [anon_sym_DASH_EQ] = ACTIONS(77), + [anon_sym_AMP_AMP] = ACTIONS(77), + [anon_sym_PIPE_PIPE] = ACTIONS(79), + [anon_sym_and] = ACTIONS(79), + [anon_sym_or] = ACTIONS(79), + [anon_sym_insert] = ACTIONS(79), + [anon_sym_into] = ACTIONS(79), + [anon_sym_select] = ACTIONS(79), + [anon_sym_from] = ACTIONS(79), + [anon_sym_where] = ACTIONS(79), + [anon_sym_if] = ACTIONS(79), + [anon_sym_output] = ACTIONS(79), + }, + [38] = { + [ts_builtin_sym_end] = ACTIONS(77), + [sym_identifier] = ACTIONS(79), + [anon_sym_POUND] = ACTIONS(77), + [anon_sym_DASH_GT] = ACTIONS(77), + [sym_float] = ACTIONS(77), + [sym_integer] = ACTIONS(79), + [sym_string] = ACTIONS(77), + [sym_empty] = ACTIONS(77), + [anon_sym_true] = ACTIONS(79), + [anon_sym_false] = ACTIONS(79), + [anon_sym_LBRACK] = ACTIONS(77), + [anon_sym_function] = ACTIONS(79), + [anon_sym_RBRACE] = ACTIONS(77), + [anon_sym_table] = ACTIONS(79), + [anon_sym_map] = ACTIONS(79), + [anon_sym_EQ] = ACTIONS(79), + [anon_sym_PLUS] = ACTIONS(79), + [anon_sym_DASH] = ACTIONS(79), + [anon_sym_STAR] = ACTIONS(77), + [anon_sym_SLASH] = ACTIONS(77), + [anon_sym_PERCENT] = ACTIONS(77), + [anon_sym_EQ_EQ] = ACTIONS(77), + [anon_sym_PLUS_EQ] = ACTIONS(77), + [anon_sym_DASH_EQ] = ACTIONS(77), + [anon_sym_AMP_AMP] = ACTIONS(77), + [anon_sym_PIPE_PIPE] = ACTIONS(79), + [anon_sym_and] = ACTIONS(79), + [anon_sym_or] = ACTIONS(79), + [anon_sym_insert] = ACTIONS(79), + [anon_sym_into] = ACTIONS(79), + [anon_sym_select] = ACTIONS(79), + [anon_sym_from] = ACTIONS(79), + [anon_sym_where] = ACTIONS(79), + [anon_sym_if] = ACTIONS(79), + [anon_sym_output] = ACTIONS(79), + }, + [39] = { + [ts_builtin_sym_end] = ACTIONS(93), + [sym_identifier] = ACTIONS(95), + [anon_sym_POUND] = ACTIONS(93), + [anon_sym_DASH_GT] = ACTIONS(93), + [sym_float] = ACTIONS(93), + [sym_integer] = ACTIONS(95), + [sym_string] = ACTIONS(93), + [sym_empty] = ACTIONS(93), + [anon_sym_true] = ACTIONS(95), + [anon_sym_false] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(93), + [anon_sym_function] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(93), + [anon_sym_table] = ACTIONS(95), + [anon_sym_map] = ACTIONS(95), + [anon_sym_EQ] = ACTIONS(95), + [anon_sym_PLUS] = ACTIONS(95), + [anon_sym_DASH] = ACTIONS(95), + [anon_sym_STAR] = ACTIONS(93), + [anon_sym_SLASH] = ACTIONS(93), + [anon_sym_PERCENT] = ACTIONS(93), + [anon_sym_EQ_EQ] = ACTIONS(93), + [anon_sym_PLUS_EQ] = ACTIONS(93), + [anon_sym_DASH_EQ] = ACTIONS(93), + [anon_sym_AMP_AMP] = ACTIONS(93), + [anon_sym_PIPE_PIPE] = ACTIONS(95), + [anon_sym_and] = ACTIONS(95), + [anon_sym_or] = ACTIONS(95), + [anon_sym_insert] = ACTIONS(95), + [anon_sym_into] = ACTIONS(95), + [anon_sym_select] = ACTIONS(95), + [anon_sym_from] = ACTIONS(95), + [anon_sym_where] = ACTIONS(95), + [anon_sym_if] = ACTIONS(95), + [anon_sym_output] = ACTIONS(95), + }, + [40] = { + [ts_builtin_sym_end] = ACTIONS(97), + [sym_identifier] = ACTIONS(99), + [anon_sym_POUND] = ACTIONS(97), + [anon_sym_DASH_GT] = ACTIONS(97), + [sym_float] = ACTIONS(97), + [sym_integer] = ACTIONS(99), + [sym_string] = ACTIONS(97), + [sym_empty] = ACTIONS(97), + [anon_sym_true] = ACTIONS(99), + [anon_sym_false] = ACTIONS(99), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_function] = ACTIONS(99), + [anon_sym_RBRACE] = ACTIONS(97), + [anon_sym_table] = ACTIONS(99), + [anon_sym_map] = ACTIONS(99), + [anon_sym_EQ] = ACTIONS(99), + [anon_sym_PLUS] = ACTIONS(99), + [anon_sym_DASH] = ACTIONS(99), + [anon_sym_STAR] = ACTIONS(97), + [anon_sym_SLASH] = ACTIONS(97), + [anon_sym_PERCENT] = ACTIONS(97), + [anon_sym_EQ_EQ] = ACTIONS(97), + [anon_sym_PLUS_EQ] = ACTIONS(97), + [anon_sym_DASH_EQ] = ACTIONS(97), + [anon_sym_AMP_AMP] = ACTIONS(97), + [anon_sym_PIPE_PIPE] = ACTIONS(99), + [anon_sym_and] = ACTIONS(99), + [anon_sym_or] = ACTIONS(99), + [anon_sym_insert] = ACTIONS(99), + [anon_sym_into] = ACTIONS(99), + [anon_sym_select] = ACTIONS(99), + [anon_sym_from] = ACTIONS(99), + [anon_sym_where] = ACTIONS(99), + [anon_sym_if] = ACTIONS(99), + [anon_sym_output] = ACTIONS(99), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 15, + [0] = 19, + ACTIONS(109), 1, + ts_builtin_sym_end, + ACTIONS(111), 1, + sym_identifier, + ACTIONS(114), 1, + anon_sym_POUND, + ACTIONS(120), 1, + sym_integer, + ACTIONS(126), 1, + anon_sym_LBRACK, + ACTIONS(129), 1, + anon_sym_function, + ACTIONS(132), 1, + anon_sym_table, + ACTIONS(135), 1, + anon_sym_map, + ACTIONS(138), 1, + anon_sym_if, + ACTIONS(141), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(123), 2, + anon_sym_true, + anon_sym_false, + STATE(41), 2, + sym_item, + aux_sym_root_repeat1, + STATE(119), 2, + sym_comment, + sym_statement, + ACTIONS(117), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [70] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + anon_sym_POUND, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(144), 1, + ts_builtin_sym_end, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(41), 2, + sym_item, + aux_sym_root_repeat1, + STATE(119), 2, + sym_comment, + sym_statement, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [140] = 17, ACTIONS(3), 1, sym_identifier, ACTIONS(9), 1, @@ -1131,12 +3389,1226 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, ACTIONS(23), 1, anon_sym_output, - STATE(25), 1, + ACTIONS(146), 1, + anon_sym_RBRACE, + STATE(17), 1, sym_expression, - STATE(27), 1, - sym_statement, - STATE(28), 1, + STATE(112), 1, sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [203] = 17, + ACTIONS(148), 1, + sym_identifier, + ACTIONS(154), 1, + sym_integer, + ACTIONS(160), 1, + anon_sym_LBRACK, + ACTIONS(163), 1, + anon_sym_function, + ACTIONS(166), 1, + anon_sym_RBRACE, + ACTIONS(168), 1, + anon_sym_table, + ACTIONS(171), 1, + anon_sym_map, + ACTIONS(174), 1, + anon_sym_if, + ACTIONS(177), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(157), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(151), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [266] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(180), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [329] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(182), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [392] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(184), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [455] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(186), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [518] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(188), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [581] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(190), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [644] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(192), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [707] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(194), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [770] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(196), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [833] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(198), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [896] = 17, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + ACTIONS(200), 1, + anon_sym_RBRACE, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(44), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [959] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(50), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1019] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1079] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(49), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1139] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(54), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1199] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(45), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1259] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(53), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1319] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(47), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1379] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(48), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1439] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(46), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1499] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1559] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(51), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1619] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(112), 1, + sym_open_statement, + STATE(116), 1, + sym_yield_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(55), 2, + sym_statement, + aux_sym_function_repeat2, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1679] = 16, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(206), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_table, + ACTIONS(216), 1, + anon_sym_map, + ACTIONS(218), 1, + anon_sym_if, + ACTIONS(220), 1, + anon_sym_output, + STATE(8), 1, + sym_expression, + STATE(14), 1, + sym_open_statement, + STATE(15), 1, + sym_yield_statement, + STATE(32), 1, + sym_statement, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(204), 3, + sym_float, + sym_string, + sym_empty, + STATE(27), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(26), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1738] = 16, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(206), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_table, + ACTIONS(216), 1, + anon_sym_map, + ACTIONS(218), 1, + anon_sym_if, + ACTIONS(220), 1, + anon_sym_output, + STATE(8), 1, + sym_expression, + STATE(14), 1, + sym_open_statement, + STATE(15), 1, + sym_yield_statement, + STATE(18), 1, + sym_statement, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(204), 3, + sym_float, + sym_string, + sym_empty, + STATE(27), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(26), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1797] = 16, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(31), 1, + sym_expression, + STATE(36), 1, + sym_statement, + STATE(37), 1, + sym_open_statement, + STATE(38), 1, + sym_yield_statement, ACTIONS(11), 2, anon_sym_true, anon_sym_false, @@ -1144,356 +4616,147 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, sym_empty, - STATE(31), 4, + STATE(39), 4, sym_value, sym_operation, sym_control_flow, sym_tool, - STATE(17), 5, + STATE(4), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [56] = 15, - ACTIONS(3), 1, + [1856] = 16, + ACTIONS(222), 1, sym_identifier, - ACTIONS(9), 1, + ACTIONS(226), 1, sym_integer, - ACTIONS(13), 1, + ACTIONS(230), 1, anon_sym_LBRACK, - ACTIONS(15), 1, + ACTIONS(232), 1, anon_sym_function, - ACTIONS(17), 1, + ACTIONS(234), 1, anon_sym_table, - ACTIONS(19), 1, + ACTIONS(236), 1, anon_sym_map, - ACTIONS(21), 1, + ACTIONS(238), 1, anon_sym_if, - ACTIONS(23), 1, + ACTIONS(240), 1, anon_sym_output, - STATE(25), 1, + STATE(84), 1, sym_expression, - STATE(28), 1, + STATE(87), 1, + sym_yield_statement, + STATE(92), 1, + sym_statement, + STATE(100), 1, sym_open_statement, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1915] = 16, + ACTIONS(222), 1, + sym_identifier, + ACTIONS(226), 1, + sym_integer, + ACTIONS(230), 1, + anon_sym_LBRACK, + ACTIONS(232), 1, + anon_sym_function, + ACTIONS(234), 1, + anon_sym_table, + ACTIONS(236), 1, + anon_sym_map, + ACTIONS(238), 1, + anon_sym_if, + ACTIONS(240), 1, + anon_sym_output, + STATE(84), 1, + sym_expression, + STATE(87), 1, + sym_yield_statement, + STATE(95), 1, + sym_statement, + STATE(100), 1, + sym_open_statement, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [1974] = 16, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(206), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_table, + ACTIONS(216), 1, + anon_sym_map, + ACTIONS(218), 1, + anon_sym_if, + ACTIONS(220), 1, + anon_sym_output, + STATE(8), 1, + sym_expression, + STATE(14), 1, + sym_open_statement, + STATE(15), 1, + sym_yield_statement, STATE(29), 1, sym_statement, - ACTIONS(11), 2, + ACTIONS(208), 2, anon_sym_true, anon_sym_false, - ACTIONS(7), 3, + ACTIONS(204), 3, sym_float, sym_string, sym_empty, - STATE(31), 4, + STATE(27), 4, sym_value, sym_operation, sym_control_flow, sym_tool, - STATE(17), 5, + STATE(26), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [112] = 2, - ACTIONS(100), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(102), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [141] = 2, - ACTIONS(104), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(106), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [170] = 2, - ACTIONS(108), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(110), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [199] = 2, - ACTIONS(112), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(114), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [228] = 2, - ACTIONS(116), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(118), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [257] = 2, - ACTIONS(120), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(122), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [286] = 2, - ACTIONS(124), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(126), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [315] = 2, - ACTIONS(128), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(130), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [344] = 2, - ACTIONS(132), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(134), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [373] = 2, - ACTIONS(136), 12, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(138), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [402] = 3, - STATE(26), 1, - sym_operator, - ACTIONS(140), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(142), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [432] = 13, + [2033] = 14, ACTIONS(3), 1, sym_identifier, ACTIONS(9), 1, @@ -1510,8 +4773,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, ACTIONS(23), 1, anon_sym_output, - STATE(42), 1, + STATE(31), 1, sym_expression, + STATE(40), 1, + sym_open_statement, ACTIONS(11), 2, anon_sym_true, anon_sym_false, @@ -1519,752 +4784,2096 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, sym_empty, - STATE(31), 4, + STATE(39), 4, sym_value, sym_operation, sym_control_flow, sym_tool, - STATE(17), 5, + STATE(4), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [482] = 3, - STATE(26), 1, - sym_operator, - ACTIONS(144), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(146), 12, + [2086] = 14, + ACTIONS(202), 1, sym_identifier, + ACTIONS(206), 1, sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [512] = 13, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(9), 1, - sym_integer, - ACTIONS(13), 1, + ACTIONS(210), 1, anon_sym_LBRACK, - ACTIONS(15), 1, + ACTIONS(212), 1, anon_sym_function, - ACTIONS(17), 1, + ACTIONS(214), 1, anon_sym_table, - ACTIONS(19), 1, + ACTIONS(216), 1, anon_sym_map, - ACTIONS(21), 1, + ACTIONS(218), 1, anon_sym_if, - ACTIONS(23), 1, + ACTIONS(220), 1, anon_sym_output, - STATE(23), 1, + STATE(8), 1, sym_expression, - ACTIONS(11), 2, + STATE(28), 1, + sym_open_statement, + ACTIONS(208), 2, anon_sym_true, anon_sym_false, - ACTIONS(7), 3, + ACTIONS(204), 3, sym_float, sym_string, sym_empty, - STATE(31), 4, + STATE(27), 4, sym_value, sym_operation, sym_control_flow, sym_tool, - STATE(17), 5, + STATE(26), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [562] = 2, - ACTIONS(148), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(150), 12, + [2139] = 14, + ACTIONS(222), 1, sym_identifier, + ACTIONS(226), 1, sym_integer, - anon_sym_true, - anon_sym_false, + ACTIONS(230), 1, + anon_sym_LBRACK, + ACTIONS(232), 1, anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [589] = 2, - ACTIONS(152), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(154), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [616] = 3, - ACTIONS(160), 1, - anon_sym_else, - ACTIONS(156), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(158), 11, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_output, - [645] = 2, - ACTIONS(162), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(164), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [672] = 2, - ACTIONS(166), 10, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(168), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_else, - anon_sym_output, - [699] = 5, - ACTIONS(170), 1, - anon_sym_EQ, - STATE(26), 1, - sym_operator, - ACTIONS(172), 3, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - ACTIONS(144), 7, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - anon_sym_RBRACE, - ACTIONS(146), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_if, - anon_sym_output, - [731] = 11, - ACTIONS(177), 1, - sym_integer, - ACTIONS(183), 1, - anon_sym_LBRACK, - ACTIONS(186), 1, - anon_sym_RBRACK, - ACTIONS(188), 1, - anon_sym_function, - ACTIONS(191), 1, - anon_sym_table, - ACTIONS(194), 1, - anon_sym_map, - STATE(33), 1, - aux_sym_list_repeat1, - STATE(40), 1, - sym_value, - ACTIONS(180), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(174), 3, - sym_float, - sym_string, - sym_empty, - STATE(17), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [772] = 11, - ACTIONS(9), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(199), 1, - anon_sym_RBRACK, - ACTIONS(201), 1, - anon_sym_function, - ACTIONS(203), 1, - anon_sym_table, - ACTIONS(205), 1, - anon_sym_map, - STATE(33), 1, - aux_sym_list_repeat1, - STATE(40), 1, - sym_value, - ACTIONS(197), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(7), 3, - sym_float, - sym_string, - sym_empty, - STATE(17), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [813] = 10, - ACTIONS(9), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(201), 1, - anon_sym_function, - ACTIONS(203), 1, - anon_sym_table, - ACTIONS(205), 1, - anon_sym_map, - STATE(34), 1, - aux_sym_list_repeat1, - STATE(40), 1, - sym_value, - ACTIONS(197), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(7), 3, - sym_float, - sym_string, - sym_empty, - STATE(17), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [851] = 9, - ACTIONS(9), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(201), 1, - anon_sym_function, - ACTIONS(203), 1, - anon_sym_table, - ACTIONS(205), 1, - anon_sym_map, - STATE(56), 1, - sym_value, - ACTIONS(197), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(7), 3, - sym_float, - sym_string, - sym_empty, - STATE(17), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [886] = 2, - ACTIONS(207), 6, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - ACTIONS(209), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_if, - anon_sym_output, - [906] = 2, - ACTIONS(211), 6, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - ACTIONS(213), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_if, - anon_sym_output, - [926] = 2, - ACTIONS(217), 4, - sym_float, - sym_string, - sym_empty, - anon_sym_LBRACK, - ACTIONS(215), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_map, - anon_sym_if, - anon_sym_output, - [944] = 3, - ACTIONS(221), 1, - sym_integer, - ACTIONS(223), 1, - anon_sym_COMMA, - ACTIONS(219), 10, - sym_float, - sym_string, - sym_empty, - anon_sym_true, - anon_sym_false, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_function, - anon_sym_table, - anon_sym_map, - [963] = 2, - ACTIONS(225), 1, - sym_integer, - ACTIONS(186), 10, - sym_float, - sym_string, - sym_empty, - anon_sym_true, - anon_sym_false, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_function, - anon_sym_table, - anon_sym_map, - [979] = 4, - ACTIONS(170), 1, - anon_sym_EQ, - ACTIONS(227), 1, - anon_sym_then, - STATE(26), 1, - sym_operator, - ACTIONS(172), 3, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_EQ_EQ, - [994] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(229), 1, - anon_sym_RBRACE, - STATE(44), 2, - sym_list, - aux_sym_table_repeat1, - [1005] = 3, - ACTIONS(231), 1, - anon_sym_LBRACK, ACTIONS(234), 1, - anon_sym_RBRACE, - STATE(44), 2, + anon_sym_table, + ACTIONS(236), 1, + anon_sym_map, + ACTIONS(238), 1, + anon_sym_if, + ACTIONS(240), 1, + anon_sym_output, + STATE(84), 1, + sym_expression, + STATE(101), 1, + sym_open_statement, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, sym_list, - aux_sym_table_repeat1, - [1016] = 3, + sym_function, + sym_table, + sym_map, + [2192] = 14, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(17), 1, + sym_expression, + STATE(118), 1, + sym_open_statement, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2245] = 13, + ACTIONS(222), 1, + sym_identifier, + ACTIONS(226), 1, + sym_integer, + ACTIONS(230), 1, + anon_sym_LBRACK, + ACTIONS(232), 1, + anon_sym_function, + ACTIONS(234), 1, + anon_sym_table, ACTIONS(236), 1, + anon_sym_map, + ACTIONS(238), 1, + anon_sym_if, + ACTIONS(240), 1, + anon_sym_output, + STATE(105), 1, + sym_expression, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2295] = 13, + ACTIONS(222), 1, + sym_identifier, + ACTIONS(226), 1, + sym_integer, + ACTIONS(230), 1, + anon_sym_LBRACK, + ACTIONS(232), 1, + anon_sym_function, + ACTIONS(234), 1, + anon_sym_table, + ACTIONS(236), 1, + anon_sym_map, + ACTIONS(238), 1, + anon_sym_if, + ACTIONS(240), 1, + anon_sym_output, + STATE(103), 1, + sym_expression, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2345] = 13, + ACTIONS(222), 1, + sym_identifier, + ACTIONS(226), 1, + sym_integer, + ACTIONS(230), 1, + anon_sym_LBRACK, + ACTIONS(232), 1, + anon_sym_function, + ACTIONS(234), 1, + anon_sym_table, + ACTIONS(236), 1, + anon_sym_map, + ACTIONS(238), 1, + anon_sym_if, + ACTIONS(240), 1, + anon_sym_output, + STATE(85), 1, + sym_expression, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2395] = 13, + ACTIONS(222), 1, + sym_identifier, + ACTIONS(226), 1, + sym_integer, + ACTIONS(230), 1, + anon_sym_LBRACK, + ACTIONS(232), 1, + anon_sym_function, + ACTIONS(234), 1, + anon_sym_table, + ACTIONS(236), 1, + anon_sym_map, + ACTIONS(238), 1, + anon_sym_if, + ACTIONS(240), 1, + anon_sym_output, + STATE(104), 1, + sym_expression, + ACTIONS(228), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(224), 3, + sym_float, + sym_string, + sym_empty, + STATE(98), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(102), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2445] = 13, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_table, + ACTIONS(19), 1, + anon_sym_map, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_output, + STATE(30), 1, + sym_expression, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(39), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2495] = 13, + ACTIONS(202), 1, + sym_identifier, + ACTIONS(206), 1, + sym_integer, + ACTIONS(210), 1, + anon_sym_LBRACK, + ACTIONS(212), 1, + anon_sym_function, + ACTIONS(214), 1, + anon_sym_table, + ACTIONS(216), 1, + anon_sym_map, + ACTIONS(218), 1, + anon_sym_if, + ACTIONS(220), 1, + anon_sym_output, + STATE(2), 1, + sym_expression, + ACTIONS(208), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(204), 3, + sym_float, + sym_string, + sym_empty, + STATE(27), 4, + sym_value, + sym_operation, + sym_control_flow, + sym_tool, + STATE(26), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2545] = 3, + STATE(80), 1, + sym_operator, + ACTIONS(55), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(53), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2574] = 4, + STATE(80), 1, + sym_operator, + ACTIONS(25), 3, + anon_sym_DASH_GT, + anon_sym_then, + anon_sym_else, + ACTIONS(29), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(31), 15, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + [2605] = 2, + ACTIONS(47), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(45), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2631] = 2, + ACTIONS(79), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(77), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2657] = 2, + ACTIONS(51), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(49), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2683] = 2, + ACTIONS(75), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(73), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2709] = 2, + ACTIONS(63), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(61), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2735] = 2, + ACTIONS(91), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(89), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2761] = 3, + ACTIONS(242), 1, + anon_sym_else, + ACTIONS(85), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(83), 17, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + [2789] = 2, + ACTIONS(59), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(57), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2815] = 2, + ACTIONS(35), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(33), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2841] = 2, + ACTIONS(105), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(103), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2867] = 2, + ACTIONS(71), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(69), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2893] = 2, + ACTIONS(67), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(65), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2919] = 2, + ACTIONS(95), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2945] = 2, + ACTIONS(43), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(41), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2971] = 3, + ACTIONS(244), 1, + anon_sym_DASH_GT, + ACTIONS(79), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(77), 17, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [2999] = 2, + ACTIONS(99), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(97), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [3025] = 2, + ACTIONS(39), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(37), 18, + anon_sym_DASH_GT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + anon_sym_then, + anon_sym_else, + [3051] = 4, + ACTIONS(246), 1, + anon_sym_then, + STATE(80), 1, + sym_operator, + ACTIONS(29), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(31), 15, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + [3080] = 4, + ACTIONS(248), 1, + anon_sym_then, + STATE(80), 1, + sym_operator, + ACTIONS(29), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(31), 15, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + [3109] = 4, + ACTIONS(250), 1, + anon_sym_then, + STATE(80), 1, + sym_operator, + ACTIONS(29), 3, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(31), 15, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_insert, + anon_sym_into, + anon_sym_select, + anon_sym_from, + anon_sym_where, + [3138] = 11, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(254), 1, + anon_sym_RBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + STATE(108), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3179] = 11, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + ACTIONS(262), 1, + anon_sym_RBRACK, + STATE(108), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3220] = 11, + ACTIONS(267), 1, + sym_integer, + ACTIONS(273), 1, + anon_sym_LBRACK, + ACTIONS(276), 1, + anon_sym_RBRACK, + ACTIONS(278), 1, + anon_sym_function, + ACTIONS(281), 1, + anon_sym_table, + ACTIONS(284), 1, + anon_sym_map, + STATE(108), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(270), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(264), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3261] = 11, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + ACTIONS(287), 1, + anon_sym_RBRACK, + STATE(108), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3302] = 11, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + ACTIONS(289), 1, + anon_sym_RBRACK, + STATE(108), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3343] = 10, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + STATE(110), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3381] = 3, + ACTIONS(291), 1, + anon_sym_DASH_GT, + ACTIONS(77), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + sym_empty, + anon_sym_LBRACK, anon_sym_RBRACE, - STATE(43), 2, + ACTIONS(79), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_map, + anon_sym_if, + anon_sym_output, + [3405] = 10, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + STATE(109), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3443] = 10, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + STATE(106), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3481] = 10, + ACTIONS(9), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(256), 1, + anon_sym_function, + ACTIONS(258), 1, + anon_sym_table, + ACTIONS(260), 1, + anon_sym_map, + STATE(107), 1, + aux_sym_list_repeat1, + STATE(122), 1, + sym_value, + ACTIONS(252), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(7), 3, + sym_float, + sym_string, + sym_empty, + STATE(4), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3519] = 2, + ACTIONS(77), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + sym_empty, + anon_sym_LBRACK, + anon_sym_RBRACE, + ACTIONS(79), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_map, + anon_sym_if, + anon_sym_output, + [3540] = 9, + ACTIONS(295), 1, + sym_integer, + ACTIONS(299), 1, + anon_sym_LBRACK, + ACTIONS(301), 1, + anon_sym_function, + ACTIONS(303), 1, + anon_sym_table, + ACTIONS(305), 1, + anon_sym_map, + STATE(167), 1, + sym_value, + ACTIONS(297), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(293), 3, + sym_float, + sym_string, + sym_empty, + STATE(160), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3575] = 2, + ACTIONS(97), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + sym_empty, + anon_sym_LBRACK, + anon_sym_RBRACE, + ACTIONS(99), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_map, + anon_sym_if, + anon_sym_output, + [3596] = 2, + ACTIONS(307), 6, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + sym_empty, + anon_sym_LBRACK, + ACTIONS(309), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_map, + anon_sym_if, + anon_sym_output, + [3616] = 2, + ACTIONS(311), 6, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + sym_empty, + anon_sym_LBRACK, + ACTIONS(313), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_map, + anon_sym_if, + anon_sym_output, + [3636] = 2, + ACTIONS(317), 4, + sym_float, + sym_string, + sym_empty, + anon_sym_LBRACK, + ACTIONS(315), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_map, + anon_sym_if, + anon_sym_output, + [3654] = 3, + ACTIONS(321), 1, + sym_integer, + ACTIONS(323), 1, + anon_sym_COMMA, + ACTIONS(319), 10, + sym_float, + sym_string, + sym_empty, + anon_sym_true, + anon_sym_false, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_function, + anon_sym_table, + anon_sym_map, + [3673] = 2, + ACTIONS(325), 1, + sym_integer, + ACTIONS(276), 10, + sym_float, + sym_string, + sym_empty, + anon_sym_true, + anon_sym_false, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_function, + anon_sym_table, + anon_sym_map, + [3689] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(327), 1, + anon_sym_RBRACE, + STATE(132), 2, sym_list, aux_sym_table_repeat1, - [1027] = 3, - ACTIONS(238), 1, + [3700] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(329), 1, + anon_sym_RBRACE, + STATE(132), 2, + sym_list, + aux_sym_table_repeat1, + [3711] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(331), 1, + anon_sym_RBRACE, + STATE(125), 2, + sym_list, + aux_sym_table_repeat1, + [3722] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(333), 1, + anon_sym_RBRACE, + STATE(124), 2, + sym_list, + aux_sym_table_repeat1, + [3733] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(335), 1, + anon_sym_RBRACE, + STATE(129), 2, + sym_list, + aux_sym_table_repeat1, + [3744] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(337), 1, + anon_sym_RBRACE, + STATE(132), 2, + sym_list, + aux_sym_table_repeat1, + [3755] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(339), 1, + anon_sym_RBRACE, + STATE(131), 2, + sym_list, + aux_sym_table_repeat1, + [3766] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(341), 1, + anon_sym_RBRACE, + STATE(132), 2, + sym_list, + aux_sym_table_repeat1, + [3777] = 3, + ACTIONS(343), 1, + anon_sym_LBRACK, + ACTIONS(346), 1, + anon_sym_RBRACE, + STATE(132), 2, + sym_list, + aux_sym_table_repeat1, + [3788] = 3, + ACTIONS(348), 1, sym_identifier, - ACTIONS(241), 1, + ACTIONS(350), 1, anon_sym_GT, - STATE(46), 1, + STATE(141), 1, aux_sym_function_repeat1, - [1037] = 2, - ACTIONS(245), 1, + [3798] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(354), 1, + anon_sym_RBRACE, + STATE(149), 1, + aux_sym_map_repeat1, + [3808] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(356), 1, + anon_sym_RBRACE, + STATE(134), 1, + aux_sym_map_repeat1, + [3818] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(358), 1, + anon_sym_RBRACE, + STATE(149), 1, + aux_sym_map_repeat1, + [3828] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(360), 1, + anon_sym_RBRACE, + STATE(139), 1, + aux_sym_map_repeat1, + [3838] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(362), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3848] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(364), 1, + anon_sym_RBRACE, + STATE(149), 1, + aux_sym_map_repeat1, + [3858] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(366), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3868] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(368), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3878] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(370), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3888] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(372), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3898] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(374), 1, + anon_sym_RBRACE, + STATE(146), 1, + aux_sym_map_repeat1, + [3908] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(376), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3918] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(378), 1, + anon_sym_RBRACE, + STATE(149), 1, + aux_sym_map_repeat1, + [3928] = 2, + ACTIONS(382), 1, anon_sym_COMMA, - ACTIONS(243), 2, + ACTIONS(380), 2, sym_identifier, anon_sym_GT, - [1045] = 3, - ACTIONS(247), 1, + [3936] = 3, + ACTIONS(348), 1, sym_identifier, - ACTIONS(249), 1, + ACTIONS(384), 1, anon_sym_GT, - STATE(46), 1, + STATE(150), 1, aux_sym_function_repeat1, - [1055] = 3, - ACTIONS(251), 1, + [3946] = 3, + ACTIONS(386), 1, sym_identifier, - ACTIONS(253), 1, + ACTIONS(389), 1, anon_sym_RBRACE, - STATE(50), 1, + STATE(149), 1, aux_sym_map_repeat1, - [1065] = 3, - ACTIONS(255), 1, + [3956] = 3, + ACTIONS(348), 1, sym_identifier, - ACTIONS(258), 1, - anon_sym_RBRACE, - STATE(50), 1, - aux_sym_map_repeat1, - [1075] = 3, - ACTIONS(247), 1, - sym_identifier, - ACTIONS(260), 1, + ACTIONS(391), 1, anon_sym_GT, - STATE(46), 1, + STATE(154), 1, aux_sym_function_repeat1, - [1085] = 3, - ACTIONS(251), 1, + [3966] = 3, + ACTIONS(348), 1, sym_identifier, - ACTIONS(262), 1, - anon_sym_RBRACE, - STATE(49), 1, - aux_sym_map_repeat1, - [1095] = 3, - ACTIONS(247), 1, - sym_identifier, - ACTIONS(264), 1, + ACTIONS(393), 1, anon_sym_GT, - STATE(48), 1, + STATE(152), 1, aux_sym_function_repeat1, - [1105] = 2, - ACTIONS(266), 1, + [3976] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(395), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [3986] = 3, + ACTIONS(348), 1, + sym_identifier, + ACTIONS(397), 1, + anon_sym_GT, + STATE(138), 1, + aux_sym_function_repeat1, + [3996] = 3, + ACTIONS(399), 1, + sym_identifier, + ACTIONS(402), 1, + anon_sym_GT, + STATE(154), 1, + aux_sym_function_repeat1, + [4006] = 3, + ACTIONS(352), 1, + sym_identifier, + ACTIONS(404), 1, + anon_sym_RBRACE, + STATE(136), 1, + aux_sym_map_repeat1, + [4016] = 2, + ACTIONS(406), 1, anon_sym_LT, - ACTIONS(268), 1, + ACTIONS(408), 1, anon_sym_LBRACE, - [1112] = 2, - ACTIONS(247), 1, - sym_identifier, - STATE(51), 1, - aux_sym_function_repeat1, - [1119] = 1, - ACTIONS(270), 2, + [4023] = 1, + ACTIONS(45), 2, sym_identifier, anon_sym_RBRACE, - [1124] = 1, - ACTIONS(241), 2, + [4028] = 2, + ACTIONS(348), 1, + sym_identifier, + STATE(140), 1, + aux_sym_function_repeat1, + [4035] = 2, + ACTIONS(348), 1, + sym_identifier, + STATE(145), 1, + aux_sym_function_repeat1, + [4042] = 1, + ACTIONS(37), 2, + sym_identifier, + anon_sym_RBRACE, + [4047] = 1, + ACTIONS(41), 2, + sym_identifier, + anon_sym_RBRACE, + [4052] = 1, + ACTIONS(402), 2, sym_identifier, anon_sym_GT, - [1129] = 1, - ACTIONS(272), 1, + [4057] = 2, + ACTIONS(348), 1, + sym_identifier, + STATE(143), 1, + aux_sym_function_repeat1, + [4064] = 2, + ACTIONS(348), 1, + sym_identifier, + STATE(142), 1, + aux_sym_function_repeat1, + [4071] = 1, + ACTIONS(73), 2, + sym_identifier, + anon_sym_RBRACE, + [4076] = 2, + ACTIONS(410), 1, + anon_sym_LT, + ACTIONS(412), 1, anon_sym_LBRACE, - [1133] = 1, - ACTIONS(274), 1, + [4083] = 1, + ACTIONS(414), 2, + sym_identifier, + anon_sym_RBRACE, + [4088] = 1, + ACTIONS(49), 2, + sym_identifier, + anon_sym_RBRACE, + [4093] = 1, + ACTIONS(65), 2, + sym_identifier, + anon_sym_RBRACE, + [4098] = 2, + ACTIONS(416), 1, + anon_sym_LT, + ACTIONS(418), 1, + anon_sym_LBRACE, + [4105] = 1, + ACTIONS(69), 2, + sym_identifier, + anon_sym_RBRACE, + [4110] = 1, + ACTIONS(33), 2, + sym_identifier, + anon_sym_RBRACE, + [4115] = 1, + ACTIONS(61), 2, + sym_identifier, + anon_sym_RBRACE, + [4120] = 1, + ACTIONS(57), 2, + sym_identifier, + anon_sym_RBRACE, + [4125] = 2, + ACTIONS(420), 1, + anon_sym_LT, + ACTIONS(422), 1, + anon_sym_LBRACE, + [4132] = 1, + ACTIONS(424), 1, + anon_sym_LBRACE, + [4136] = 1, + ACTIONS(426), 1, anon_sym_EQ, - [1137] = 1, - ACTIONS(276), 1, - aux_sym_comment_token1, - [1141] = 1, - ACTIONS(278), 1, - ts_builtin_sym_end, - [1145] = 1, - ACTIONS(280), 1, + [4140] = 1, + ACTIONS(428), 1, anon_sym_LBRACE, - [1149] = 1, - ACTIONS(282), 1, + [4144] = 1, + ACTIONS(430), 1, + anon_sym_LBRACE, + [4148] = 1, + ACTIONS(432), 1, + anon_sym_LBRACE, + [4152] = 1, + ACTIONS(434), 1, + anon_sym_LBRACE, + [4156] = 1, + ACTIONS(436), 1, + anon_sym_LBRACE, + [4160] = 1, + ACTIONS(438), 1, + anon_sym_LBRACE, + [4164] = 1, + ACTIONS(440), 1, anon_sym_LT, - [1153] = 1, - ACTIONS(284), 1, + [4168] = 1, + ACTIONS(442), 1, anon_sym_LBRACE, - [1157] = 1, - ACTIONS(286), 1, + [4172] = 1, + ACTIONS(444), 1, anon_sym_LBRACE, + [4176] = 1, + ACTIONS(446), 1, + anon_sym_LBRACE, + [4180] = 1, + ACTIONS(448), 1, + aux_sym_comment_token1, + [4184] = 1, + ACTIONS(450), 1, + anon_sym_LBRACE, + [4188] = 1, + ACTIONS(452), 1, + ts_builtin_sym_end, + [4192] = 1, + ACTIONS(454), 1, + anon_sym_LBRACE, + [4196] = 1, + ACTIONS(456), 1, + anon_sym_LBRACE, + [4200] = 1, + ACTIONS(458), 1, + anon_sym_LBRACE, + [4204] = 1, + ACTIONS(460), 1, + anon_sym_LBRACE, + [4208] = 1, + ACTIONS(462), 1, + anon_sym_LBRACE, + [4212] = 1, + ACTIONS(464), 1, + anon_sym_LT, + [4216] = 1, + ACTIONS(466), 1, + anon_sym_LT, + [4220] = 1, + ACTIONS(468), 1, + anon_sym_LT, }; static const uint32_t ts_small_parse_table_map[] = { - [SMALL_STATE(11)] = 0, - [SMALL_STATE(12)] = 56, - [SMALL_STATE(13)] = 112, - [SMALL_STATE(14)] = 141, - [SMALL_STATE(15)] = 170, - [SMALL_STATE(16)] = 199, - [SMALL_STATE(17)] = 228, - [SMALL_STATE(18)] = 257, - [SMALL_STATE(19)] = 286, - [SMALL_STATE(20)] = 315, - [SMALL_STATE(21)] = 344, - [SMALL_STATE(22)] = 373, - [SMALL_STATE(23)] = 402, - [SMALL_STATE(24)] = 432, - [SMALL_STATE(25)] = 482, - [SMALL_STATE(26)] = 512, - [SMALL_STATE(27)] = 562, - [SMALL_STATE(28)] = 589, - [SMALL_STATE(29)] = 616, - [SMALL_STATE(30)] = 645, - [SMALL_STATE(31)] = 672, - [SMALL_STATE(32)] = 699, - [SMALL_STATE(33)] = 731, - [SMALL_STATE(34)] = 772, - [SMALL_STATE(35)] = 813, - [SMALL_STATE(36)] = 851, - [SMALL_STATE(37)] = 886, - [SMALL_STATE(38)] = 906, - [SMALL_STATE(39)] = 926, - [SMALL_STATE(40)] = 944, - [SMALL_STATE(41)] = 963, - [SMALL_STATE(42)] = 979, - [SMALL_STATE(43)] = 994, - [SMALL_STATE(44)] = 1005, - [SMALL_STATE(45)] = 1016, - [SMALL_STATE(46)] = 1027, - [SMALL_STATE(47)] = 1037, - [SMALL_STATE(48)] = 1045, - [SMALL_STATE(49)] = 1055, - [SMALL_STATE(50)] = 1065, - [SMALL_STATE(51)] = 1075, - [SMALL_STATE(52)] = 1085, - [SMALL_STATE(53)] = 1095, - [SMALL_STATE(54)] = 1105, - [SMALL_STATE(55)] = 1112, - [SMALL_STATE(56)] = 1119, - [SMALL_STATE(57)] = 1124, - [SMALL_STATE(58)] = 1129, - [SMALL_STATE(59)] = 1133, - [SMALL_STATE(60)] = 1137, - [SMALL_STATE(61)] = 1141, - [SMALL_STATE(62)] = 1145, - [SMALL_STATE(63)] = 1149, - [SMALL_STATE(64)] = 1153, - [SMALL_STATE(65)] = 1157, + [SMALL_STATE(41)] = 0, + [SMALL_STATE(42)] = 70, + [SMALL_STATE(43)] = 140, + [SMALL_STATE(44)] = 203, + [SMALL_STATE(45)] = 266, + [SMALL_STATE(46)] = 329, + [SMALL_STATE(47)] = 392, + [SMALL_STATE(48)] = 455, + [SMALL_STATE(49)] = 518, + [SMALL_STATE(50)] = 581, + [SMALL_STATE(51)] = 644, + [SMALL_STATE(52)] = 707, + [SMALL_STATE(53)] = 770, + [SMALL_STATE(54)] = 833, + [SMALL_STATE(55)] = 896, + [SMALL_STATE(56)] = 959, + [SMALL_STATE(57)] = 1019, + [SMALL_STATE(58)] = 1079, + [SMALL_STATE(59)] = 1139, + [SMALL_STATE(60)] = 1199, + [SMALL_STATE(61)] = 1259, + [SMALL_STATE(62)] = 1319, + [SMALL_STATE(63)] = 1379, + [SMALL_STATE(64)] = 1439, + [SMALL_STATE(65)] = 1499, + [SMALL_STATE(66)] = 1559, + [SMALL_STATE(67)] = 1619, + [SMALL_STATE(68)] = 1679, + [SMALL_STATE(69)] = 1738, + [SMALL_STATE(70)] = 1797, + [SMALL_STATE(71)] = 1856, + [SMALL_STATE(72)] = 1915, + [SMALL_STATE(73)] = 1974, + [SMALL_STATE(74)] = 2033, + [SMALL_STATE(75)] = 2086, + [SMALL_STATE(76)] = 2139, + [SMALL_STATE(77)] = 2192, + [SMALL_STATE(78)] = 2245, + [SMALL_STATE(79)] = 2295, + [SMALL_STATE(80)] = 2345, + [SMALL_STATE(81)] = 2395, + [SMALL_STATE(82)] = 2445, + [SMALL_STATE(83)] = 2495, + [SMALL_STATE(84)] = 2545, + [SMALL_STATE(85)] = 2574, + [SMALL_STATE(86)] = 2605, + [SMALL_STATE(87)] = 2631, + [SMALL_STATE(88)] = 2657, + [SMALL_STATE(89)] = 2683, + [SMALL_STATE(90)] = 2709, + [SMALL_STATE(91)] = 2735, + [SMALL_STATE(92)] = 2761, + [SMALL_STATE(93)] = 2789, + [SMALL_STATE(94)] = 2815, + [SMALL_STATE(95)] = 2841, + [SMALL_STATE(96)] = 2867, + [SMALL_STATE(97)] = 2893, + [SMALL_STATE(98)] = 2919, + [SMALL_STATE(99)] = 2945, + [SMALL_STATE(100)] = 2971, + [SMALL_STATE(101)] = 2999, + [SMALL_STATE(102)] = 3025, + [SMALL_STATE(103)] = 3051, + [SMALL_STATE(104)] = 3080, + [SMALL_STATE(105)] = 3109, + [SMALL_STATE(106)] = 3138, + [SMALL_STATE(107)] = 3179, + [SMALL_STATE(108)] = 3220, + [SMALL_STATE(109)] = 3261, + [SMALL_STATE(110)] = 3302, + [SMALL_STATE(111)] = 3343, + [SMALL_STATE(112)] = 3381, + [SMALL_STATE(113)] = 3405, + [SMALL_STATE(114)] = 3443, + [SMALL_STATE(115)] = 3481, + [SMALL_STATE(116)] = 3519, + [SMALL_STATE(117)] = 3540, + [SMALL_STATE(118)] = 3575, + [SMALL_STATE(119)] = 3596, + [SMALL_STATE(120)] = 3616, + [SMALL_STATE(121)] = 3636, + [SMALL_STATE(122)] = 3654, + [SMALL_STATE(123)] = 3673, + [SMALL_STATE(124)] = 3689, + [SMALL_STATE(125)] = 3700, + [SMALL_STATE(126)] = 3711, + [SMALL_STATE(127)] = 3722, + [SMALL_STATE(128)] = 3733, + [SMALL_STATE(129)] = 3744, + [SMALL_STATE(130)] = 3755, + [SMALL_STATE(131)] = 3766, + [SMALL_STATE(132)] = 3777, + [SMALL_STATE(133)] = 3788, + [SMALL_STATE(134)] = 3798, + [SMALL_STATE(135)] = 3808, + [SMALL_STATE(136)] = 3818, + [SMALL_STATE(137)] = 3828, + [SMALL_STATE(138)] = 3838, + [SMALL_STATE(139)] = 3848, + [SMALL_STATE(140)] = 3858, + [SMALL_STATE(141)] = 3868, + [SMALL_STATE(142)] = 3878, + [SMALL_STATE(143)] = 3888, + [SMALL_STATE(144)] = 3898, + [SMALL_STATE(145)] = 3908, + [SMALL_STATE(146)] = 3918, + [SMALL_STATE(147)] = 3928, + [SMALL_STATE(148)] = 3936, + [SMALL_STATE(149)] = 3946, + [SMALL_STATE(150)] = 3956, + [SMALL_STATE(151)] = 3966, + [SMALL_STATE(152)] = 3976, + [SMALL_STATE(153)] = 3986, + [SMALL_STATE(154)] = 3996, + [SMALL_STATE(155)] = 4006, + [SMALL_STATE(156)] = 4016, + [SMALL_STATE(157)] = 4023, + [SMALL_STATE(158)] = 4028, + [SMALL_STATE(159)] = 4035, + [SMALL_STATE(160)] = 4042, + [SMALL_STATE(161)] = 4047, + [SMALL_STATE(162)] = 4052, + [SMALL_STATE(163)] = 4057, + [SMALL_STATE(164)] = 4064, + [SMALL_STATE(165)] = 4071, + [SMALL_STATE(166)] = 4076, + [SMALL_STATE(167)] = 4083, + [SMALL_STATE(168)] = 4088, + [SMALL_STATE(169)] = 4093, + [SMALL_STATE(170)] = 4098, + [SMALL_STATE(171)] = 4105, + [SMALL_STATE(172)] = 4110, + [SMALL_STATE(173)] = 4115, + [SMALL_STATE(174)] = 4120, + [SMALL_STATE(175)] = 4125, + [SMALL_STATE(176)] = 4132, + [SMALL_STATE(177)] = 4136, + [SMALL_STATE(178)] = 4140, + [SMALL_STATE(179)] = 4144, + [SMALL_STATE(180)] = 4148, + [SMALL_STATE(181)] = 4152, + [SMALL_STATE(182)] = 4156, + [SMALL_STATE(183)] = 4160, + [SMALL_STATE(184)] = 4164, + [SMALL_STATE(185)] = 4168, + [SMALL_STATE(186)] = 4172, + [SMALL_STATE(187)] = 4176, + [SMALL_STATE(188)] = 4180, + [SMALL_STATE(189)] = 4184, + [SMALL_STATE(190)] = 4188, + [SMALL_STATE(191)] = 4192, + [SMALL_STATE(192)] = 4196, + [SMALL_STATE(193)] = 4200, + [SMALL_STATE(194)] = 4204, + [SMALL_STATE(195)] = 4208, + [SMALL_STATE(196)] = 4212, + [SMALL_STATE(197)] = 4216, + [SMALL_STATE(198)] = 4220, }; 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(31), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), - [25] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [27] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(31), - [30] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(60), - [33] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(17), - [36] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(17), - [39] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(14), - [42] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(35), - [45] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), - [48] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(63), - [51] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(62), - [54] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(24), - [57] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(30), - [60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [64] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [66] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(31), - [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(17), - [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(17), - [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(14), - [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(35), - [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(54), - [84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), - [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(63), - [89] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(62), - [92] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(24), - [95] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(30), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 4), - [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 4), - [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [110] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [114] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [118] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [122] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), - [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), - [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), - [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), - [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_operation, 3), - [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_operation, 3), - [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_open_statement, 1), - [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_open_statement, 1), - [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_control_flow, 6), - [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_control_flow, 6), - [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_control_flow, 4), - [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_control_flow, 4), - [160] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 1), - [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 1), - [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), - [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [174] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(17), - [177] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(17), - [180] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(14), - [183] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(35), - [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [188] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(54), - [191] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(63), - [194] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(62), - [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), - [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), - [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_operator, 1), - [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_operator, 1), - [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [231] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(35), - [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), - [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [238] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(47), - [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [255] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(59), - [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [278] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(5), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [25] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_operation, 3), + [27] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_operation, 3), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [35] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), + [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 4), + [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 4), + [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_open_statement, 1), + [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_open_statement, 1), + [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [59] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [67] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [71] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [75] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [81] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_control_flow, 4), + [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_control_flow, 4), + [87] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 1), + [91] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 1), + [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [95] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield_statement, 3), + [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield_statement, 3), + [101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_control_flow, 6), + [105] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_control_flow, 6), + [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [111] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(39), + [114] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(188), + [117] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), + [120] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), + [123] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(5), + [126] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(114), + [129] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(166), + [132] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(184), + [135] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(189), + [138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(81), + [141] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(35), + [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [148] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(39), + [151] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(4), + [154] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(4), + [157] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(5), + [160] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(114), + [163] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(166), + [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), + [168] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(184), + [171] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(189), + [174] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(81), + [177] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(35), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), + [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), + [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), + [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), + [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), + [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), + [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156), + [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), + [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194), + [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [264] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(4), + [267] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(4), + [270] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(5), + [273] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(114), + [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [278] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(166), + [281] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(184), + [284] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(189), + [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [295] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [309] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [313] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), + [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_operator, 1), + [317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_operator, 1), + [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [321] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [323] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [325] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [343] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(114), + [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), + [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [386] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(177), + [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [399] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(147), + [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [452] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), }; #ifdef __cplusplus