From a3dbb19ecc40bc49487730c7679358389307559d Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 6 Oct 2023 16:19:17 -0400 Subject: [PATCH] Add tests; Improve parsing --- binding.gyp | 19 - bindings/node/binding.cc | 28 - bindings/node/index.js | 19 - bindings/rust/build.rs | 40 - bindings/rust/lib.rs | 52 - corpus/functions.txt | 12 +- corpus/maps.txt | 1 - corpus/operators.txt | 87 +- grammar.js | 14 +- src/grammar.json | 96 +- src/node-types.json | 29 +- src/parser.c | 8977 +++++++++++++++++++------------------- 12 files changed, 4609 insertions(+), 4765 deletions(-) delete mode 100644 binding.gyp delete mode 100644 bindings/node/binding.cc delete mode 100644 bindings/node/index.js delete mode 100644 bindings/rust/build.rs delete mode 100644 bindings/rust/lib.rs diff --git a/binding.gyp b/binding.gyp deleted file mode 100644 index 557b277..0000000 --- a/binding.gyp +++ /dev/null @@ -1,19 +0,0 @@ -{ - "targets": [ - { - "target_name": "tree_sitter_dust_binding", - "include_dirs": [ - " -#include "nan.h" - -using namespace v8; - -extern "C" TSLanguage * tree_sitter_dust(); - -namespace { - -NAN_METHOD(New) {} - -void Init(Local exports, Local module) { - Local tpl = Nan::New(New); - tpl->SetClassName(Nan::New("Language").ToLocalChecked()); - tpl->InstanceTemplate()->SetInternalFieldCount(1); - - Local constructor = Nan::GetFunction(tpl).ToLocalChecked(); - Local instance = constructor->NewInstance(Nan::GetCurrentContext()).ToLocalChecked(); - Nan::SetInternalFieldPointer(instance, 0, tree_sitter_dust()); - - Nan::Set(instance, Nan::New("name").ToLocalChecked(), Nan::New("dust").ToLocalChecked()); - Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance); -} - -NODE_MODULE(tree_sitter_dust_binding, Init) - -} // namespace diff --git a/bindings/node/index.js b/bindings/node/index.js deleted file mode 100644 index 30f7e35..0000000 --- a/bindings/node/index.js +++ /dev/null @@ -1,19 +0,0 @@ -try { - module.exports = require("../../build/Release/tree_sitter_dust_binding"); -} catch (error1) { - if (error1.code !== 'MODULE_NOT_FOUND') { - throw error1; - } - try { - module.exports = require("../../build/Debug/tree_sitter_dust_binding"); - } catch (error2) { - if (error2.code !== 'MODULE_NOT_FOUND') { - throw error2; - } - throw error1 - } -} - -try { - module.exports.nodeTypeInfo = require("../../src/node-types.json"); -} catch (_) {} diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs deleted file mode 100644 index c6061f0..0000000 --- a/bindings/rust/build.rs +++ /dev/null @@ -1,40 +0,0 @@ -fn main() { - let src_dir = std::path::Path::new("src"); - - let mut c_config = cc::Build::new(); - c_config.include(&src_dir); - c_config - .flag_if_supported("-Wno-unused-parameter") - .flag_if_supported("-Wno-unused-but-set-variable") - .flag_if_supported("-Wno-trigraphs"); - let parser_path = src_dir.join("parser.c"); - c_config.file(&parser_path); - - // If your language uses an external scanner written in C, - // then include this block of code: - - /* - let scanner_path = src_dir.join("scanner.c"); - c_config.file(&scanner_path); - println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); - */ - - c_config.compile("parser"); - println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap()); - - // If your language uses an external scanner written in C++, - // then include this block of code: - - /* - let mut cpp_config = cc::Build::new(); - cpp_config.cpp(true); - cpp_config.include(&src_dir); - cpp_config - .flag_if_supported("-Wno-unused-parameter") - .flag_if_supported("-Wno-unused-but-set-variable"); - let scanner_path = src_dir.join("scanner.cc"); - cpp_config.file(&scanner_path); - cpp_config.compile("scanner"); - println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); - */ -} diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs deleted file mode 100644 index befe286..0000000 --- a/bindings/rust/lib.rs +++ /dev/null @@ -1,52 +0,0 @@ -//! This crate provides dust language support for the [tree-sitter][] parsing library. -//! -//! Typically, you will use the [language][language func] function to add this language to a -//! tree-sitter [Parser][], and then use the parser to parse some code: -//! -//! ``` -//! let code = ""; -//! let mut parser = tree_sitter::Parser::new(); -//! parser.set_language(tree_sitter_dust::language()).expect("Error loading dust grammar"); -//! let tree = parser.parse(code, None).unwrap(); -//! ``` -//! -//! [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html -//! [language func]: fn.language.html -//! [Parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html -//! [tree-sitter]: https://tree-sitter.github.io/ - -use tree_sitter::Language; - -extern "C" { - fn tree_sitter_dust() -> Language; -} - -/// Get the tree-sitter [Language][] for this grammar. -/// -/// [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html -pub fn language() -> Language { - unsafe { tree_sitter_dust() } -} - -/// The content of the [`node-types.json`][] file for this grammar. -/// -/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types -pub const NODE_TYPES: &'static str = include_str!("../../src/node-types.json"); - -// Uncomment these to include any queries that this grammar contains - -// pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm"); -// pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm"); -// pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm"); -// pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm"); - -#[cfg(test)] -mod tests { - #[test] - fn test_can_load_grammar() { - let mut parser = tree_sitter::Parser::new(); - parser - .set_language(super::language()) - .expect("Error loading dust language"); - } -} diff --git a/corpus/functions.txt b/corpus/functions.txt index 5680e8b..77cb57e 100644 --- a/corpus/functions.txt +++ b/corpus/functions.txt @@ -57,15 +57,15 @@ function { (statement (expression (tool_call - (tool) - (expression - (identifier))))) + (output + (expression + (identifier)))))) (statement (expression (tool_call - (tool) - (expression - (identifier))))))))))) + (output + (expression + (identifier)))))))))))) ================== Complex Function Call diff --git a/corpus/maps.txt b/corpus/maps.txt index 4b0c022..e76f055 100644 --- a/corpus/maps.txt +++ b/corpus/maps.txt @@ -54,4 +54,3 @@ x.answer (statement (expression (identifier))))) - diff --git a/corpus/operators.txt b/corpus/operators.txt index e84db2a..390492e 100644 --- a/corpus/operators.txt +++ b/corpus/operators.txt @@ -1,8 +1,8 @@ ================== -Simple Equality +Equality ================== -1 == 1 +3 == 1 + 1 + 1 --- @@ -15,23 +15,6 @@ Simple Equality (value (integer))) (logic_operator) - (expression - (value - (integer)))))))) - -================== -Complex Equality -================== - -1 + 1 + 1 != 3 - ---- - -(root - (item - (statement - (expression - (logic (expression (math (expression @@ -44,10 +27,72 @@ Complex Equality (value (integer))))) (math_operator) + (expression + (value + (integer)))))))))) + +================== +&& +================== + +4 + 2 == 42 && true + +--- + +(root + (item + (statement + (expression + (logic + (expression + (math + (expression + (value + (integer))) + (math_operator) (expression (value (integer))))) (logic_operator) (expression - (value - (integer)))))))) + (logic + (expression + (value + (integer))) + (logic_operator) + (expression + (value + (boolean)))))))))) + +================== +\|| +================== + +4 + 2 == 42 || true + +--- + +(root + (item + (statement + (expression + (logic + (expression + (math + (expression + (value + (integer))) + (math_operator) + (expression + (value + (integer))))) + (logic_operator) + (expression + (logic + (expression + (value + (integer))) + (logic_operator) + (expression + (value + (boolean)))))))))) diff --git a/grammar.js b/grammar.js index 8ae44b8..f325fba 100644 --- a/grammar.js +++ b/grammar.js @@ -31,14 +31,14 @@ module.exports = grammar({ repeat(prec.left(seq('->', $.expression))) ), - expression: $ => choice( + expression: $ => prec.right(choice( $.value, $.identifier, $.function_call, $.tool_call, $.math, $.logic, - ), + )), identifier: $ => /[a-z|_|.]+[0-9]?/, @@ -94,7 +94,7 @@ module.exports = grammar({ math: $ => prec.left(seq( $.expression, - $.math_operator, + $.math_operator, $.expression, )), @@ -106,7 +106,7 @@ module.exports = grammar({ '%', ), - logic: $ => prec.left(seq( + logic: $ => prec.right(seq( $.expression, $.logic_operator, $.expression, @@ -117,8 +117,6 @@ module.exports = grammar({ '!=', '&&', '||', - 'and', - 'or', ), assignment: $ => prec.right(seq( @@ -197,10 +195,12 @@ module.exports = grammar({ )), _tool: $ => choice( - 'input', + $.input, $.output, ), + input: $ => seq('input', $.expression), output: $ => seq('output', $.expression), + read: $ => seq('read', $.expression), } }); diff --git a/src/grammar.json b/src/grammar.json index 5f6dcbc..56631df 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -110,33 +110,37 @@ ] }, "expression": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "value" - }, - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "SYMBOL", - "name": "function_call" - }, - { - "type": "SYMBOL", - "name": "tool_call" - }, - { - "type": "SYMBOL", - "name": "math" - }, - { - "type": "SYMBOL", - "name": "logic" - } - ] + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "value" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "function_call" + }, + { + "type": "SYMBOL", + "name": "tool_call" + }, + { + "type": "SYMBOL", + "name": "math" + }, + { + "type": "SYMBOL", + "name": "logic" + } + ] + } }, "identifier": { "type": "PATTERN", @@ -451,7 +455,7 @@ ] }, "logic": { - "type": "PREC_LEFT", + "type": "PREC_RIGHT", "value": 0, "content": { "type": "SEQ", @@ -489,14 +493,6 @@ { "type": "STRING", "value": "||" - }, - { - "type": "STRING", - "value": "and" - }, - { - "type": "STRING", - "value": "or" } ] }, @@ -853,6 +849,19 @@ }, "_tool": { "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "input" + }, + { + "type": "SYMBOL", + "name": "output" + } + ] + }, + "input": { + "type": "SEQ", "members": [ { "type": "STRING", @@ -860,7 +869,7 @@ }, { "type": "SYMBOL", - "name": "output" + "name": "expression" } ] }, @@ -876,6 +885,19 @@ "name": "expression" } ] + }, + "read": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "read" + }, + { + "type": "SYMBOL", + "name": "expression" + } + ] } }, "extras": [ diff --git a/src/node-types.json b/src/node-types.json index 2167113..56f2b5b 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -120,6 +120,21 @@ ] } }, + { + "type": "input", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + }, { "type": "insert", "named": true, @@ -399,8 +414,12 @@ "fields": {}, "children": { "multiple": false, - "required": false, + "required": true, "types": [ + { + "type": "input", + "named": true + }, { "type": "output", "named": true @@ -550,10 +569,6 @@ "type": "]", "named": false }, - { - "type": "and", - "named": false - }, { "type": "break", "named": false @@ -615,11 +630,11 @@ "named": false }, { - "type": "or", + "type": "output", "named": false }, { - "type": "output", + "type": "read", "named": false }, { diff --git a/src/parser.c b/src/parser.c index 808fe20..0317dd0 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,11 +6,11 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 203 +#define STATE_COUNT 205 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 86 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 51 +#define TOKEN_COUNT 50 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 7 @@ -45,53 +45,53 @@ enum { anon_sym_BANG_EQ = 26, anon_sym_AMP_AMP = 27, anon_sym_PIPE_PIPE = 28, - anon_sym_and = 29, - anon_sym_or = 30, - anon_sym_PLUS_EQ = 31, - anon_sym_DASH_EQ = 32, - anon_sym_select = 33, - anon_sym_from = 34, - anon_sym_where = 35, - anon_sym_insert = 36, - anon_sym_into = 37, - anon_sym_if = 38, - anon_sym_then = 39, - anon_sym_else = 40, - anon_sym_LPAREN = 41, - anon_sym_RPAREN = 42, - anon_sym_while = 43, - anon_sym_loop = 44, - anon_sym_break = 45, - anon_sym_match = 46, - anon_sym_EQ_GT = 47, - anon_sym_catch = 48, - anon_sym_input = 49, - anon_sym_output = 50, - sym_root = 51, - sym_item = 52, - sym_comment = 53, - sym_statement = 54, - sym_yield = 55, - sym_expression = 56, - sym_value = 57, - sym_boolean = 58, - sym_list = 59, - sym_function = 60, - sym_table = 61, - sym_map = 62, - sym_math = 63, - sym_math_operator = 64, - sym_logic = 65, - sym_logic_operator = 66, - sym_assignment = 67, - sym_select = 68, - sym_insert = 69, - sym_if_else = 70, - sym_function_call = 71, - sym_loop = 72, - sym_match = 73, - sym_tool_call = 74, - sym__tool = 75, + anon_sym_PLUS_EQ = 29, + anon_sym_DASH_EQ = 30, + anon_sym_select = 31, + anon_sym_from = 32, + anon_sym_where = 33, + anon_sym_insert = 34, + anon_sym_into = 35, + anon_sym_if = 36, + anon_sym_then = 37, + anon_sym_else = 38, + anon_sym_LPAREN = 39, + anon_sym_RPAREN = 40, + anon_sym_while = 41, + anon_sym_loop = 42, + anon_sym_break = 43, + anon_sym_match = 44, + anon_sym_EQ_GT = 45, + anon_sym_catch = 46, + anon_sym_input = 47, + anon_sym_output = 48, + anon_sym_read = 49, + sym_root = 50, + sym_item = 51, + sym_comment = 52, + sym_statement = 53, + sym_yield = 54, + sym_expression = 55, + sym_value = 56, + sym_boolean = 57, + sym_list = 58, + sym_function = 59, + sym_table = 60, + sym_map = 61, + sym_math = 62, + sym_math_operator = 63, + sym_logic = 64, + sym_logic_operator = 65, + sym_assignment = 66, + sym_select = 67, + sym_insert = 68, + sym_if_else = 69, + sym_function_call = 70, + sym_loop = 71, + sym_match = 72, + sym_tool_call = 73, + sym__tool = 74, + sym_input = 75, sym_output = 76, aux_sym_root_repeat1 = 77, aux_sym_yield_repeat1 = 78, @@ -134,8 +134,6 @@ static const char * const ts_symbol_names[] = { [anon_sym_BANG_EQ] = "!=", [anon_sym_AMP_AMP] = "&&", [anon_sym_PIPE_PIPE] = "||", - [anon_sym_and] = "and", - [anon_sym_or] = "or", [anon_sym_PLUS_EQ] = "+=", [anon_sym_DASH_EQ] = "-=", [anon_sym_select] = "select", @@ -156,6 +154,7 @@ static const char * const ts_symbol_names[] = { [anon_sym_catch] = "catch", [anon_sym_input] = "input", [anon_sym_output] = "output", + [anon_sym_read] = "read", [sym_root] = "root", [sym_item] = "item", [sym_comment] = "comment", @@ -181,6 +180,7 @@ static const char * const ts_symbol_names[] = { [sym_match] = "match", [sym_tool_call] = "tool_call", [sym__tool] = "_tool", + [sym_input] = "input", [sym_output] = "output", [aux_sym_root_repeat1] = "root_repeat1", [aux_sym_yield_repeat1] = "yield_repeat1", @@ -223,8 +223,6 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_BANG_EQ] = anon_sym_BANG_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_PLUS_EQ] = anon_sym_PLUS_EQ, [anon_sym_DASH_EQ] = anon_sym_DASH_EQ, [anon_sym_select] = anon_sym_select, @@ -245,6 +243,7 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_catch] = anon_sym_catch, [anon_sym_input] = anon_sym_input, [anon_sym_output] = anon_sym_output, + [anon_sym_read] = anon_sym_read, [sym_root] = sym_root, [sym_item] = sym_item, [sym_comment] = sym_comment, @@ -270,6 +269,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_match] = sym_match, [sym_tool_call] = sym_tool_call, [sym__tool] = sym__tool, + [sym_input] = sym_input, [sym_output] = sym_output, [aux_sym_root_repeat1] = aux_sym_root_repeat1, [aux_sym_yield_repeat1] = aux_sym_yield_repeat1, @@ -399,14 +399,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_and] = { - .visible = true, - .named = false, - }, - [anon_sym_or] = { - .visible = true, - .named = false, - }, [anon_sym_PLUS_EQ] = { .visible = true, .named = false, @@ -487,6 +479,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_read] = { + .visible = true, + .named = false, + }, [sym_root] = { .visible = true, .named = true, @@ -587,6 +583,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, + [sym_input] = { + .visible = true, + .named = true, + }, [sym_output] = { .visible = true, .named = true, @@ -646,32 +646,32 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [5] = 5, [6] = 6, [7] = 7, - [8] = 8, + [8] = 6, [9] = 9, - [10] = 10, - [11] = 11, + [10] = 9, + [11] = 6, [12] = 12, - [13] = 13, - [14] = 14, - [15] = 15, + [13] = 7, + [14] = 9, + [15] = 7, [16] = 16, [17] = 17, [18] = 18, - [19] = 19, - [20] = 8, - [21] = 10, + [19] = 16, + [20] = 20, + [21] = 21, [22] = 22, - [23] = 23, - [24] = 24, - [25] = 12, - [26] = 26, - [27] = 10, - [28] = 12, - [29] = 8, + [23] = 17, + [24] = 18, + [25] = 18, + [26] = 17, + [27] = 16, + [28] = 28, + [29] = 29, [30] = 30, - [31] = 30, - [32] = 32, - [33] = 32, + [31] = 31, + [32] = 30, + [33] = 33, [34] = 34, [35] = 35, [36] = 36, @@ -679,34 +679,34 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [38] = 38, [39] = 39, [40] = 40, - [41] = 32, + [41] = 41, [42] = 42, - [43] = 30, - [44] = 36, - [45] = 36, - [46] = 39, - [47] = 19, + [43] = 33, + [44] = 41, + [45] = 45, + [46] = 46, + [47] = 47, [48] = 48, [49] = 49, [50] = 50, - [51] = 51, + [51] = 47, [52] = 52, - [53] = 50, - [54] = 48, + [53] = 53, + [54] = 45, [55] = 55, - [56] = 55, + [56] = 56, [57] = 57, [58] = 58, [59] = 59, [60] = 60, - [61] = 61, + [61] = 58, [62] = 62, [63] = 63, - [64] = 64, - [65] = 62, - [66] = 64, - [67] = 67, - [68] = 63, + [64] = 62, + [65] = 65, + [66] = 66, + [67] = 60, + [68] = 68, [69] = 69, [70] = 70, [71] = 71, @@ -715,110 +715,110 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [74] = 74, [75] = 75, [76] = 76, - [77] = 77, + [77] = 75, [78] = 78, - [79] = 78, + [79] = 79, [80] = 80, - [81] = 75, + [81] = 71, [82] = 82, [83] = 83, - [84] = 83, + [84] = 73, [85] = 85, [86] = 86, [87] = 87, [88] = 88, [89] = 89, [90] = 90, - [91] = 80, - [92] = 76, - [93] = 93, + [91] = 91, + [92] = 72, + [93] = 76, [94] = 94, [95] = 95, - [96] = 95, - [97] = 95, - [98] = 98, - [99] = 5, + [96] = 96, + [97] = 96, + [98] = 96, + [99] = 99, [100] = 100, - [101] = 100, - [102] = 102, - [103] = 100, - [104] = 6, + [101] = 101, + [102] = 101, + [103] = 101, + [104] = 104, [105] = 105, - [106] = 106, - [107] = 26, - [108] = 17, - [109] = 34, - [110] = 11, - [111] = 35, - [112] = 37, - [113] = 113, - [114] = 114, - [115] = 115, - [116] = 15, - [117] = 7, - [118] = 115, - [119] = 16, - [120] = 24, - [121] = 13, - [122] = 14, - [123] = 18, - [124] = 38, + [106] = 22, + [107] = 21, + [108] = 108, + [109] = 35, + [110] = 46, + [111] = 42, + [112] = 112, + [113] = 55, + [114] = 29, + [115] = 38, + [116] = 116, + [117] = 112, + [118] = 118, + [119] = 53, + [120] = 36, + [121] = 37, + [122] = 49, + [123] = 31, + [124] = 124, [125] = 125, - [126] = 126, - [127] = 127, - [128] = 128, + [126] = 20, + [127] = 39, + [128] = 50, [129] = 129, [130] = 130, [131] = 131, [132] = 132, [133] = 133, - [134] = 132, - [135] = 135, + [134] = 134, + [135] = 134, [136] = 136, - [137] = 136, - [138] = 135, - [139] = 136, - [140] = 135, - [141] = 141, - [142] = 142, + [137] = 137, + [138] = 138, + [139] = 137, + [140] = 138, + [141] = 138, + [142] = 137, [143] = 143, - [144] = 143, + [144] = 144, [145] = 145, - [146] = 145, + [146] = 146, [147] = 147, - [148] = 143, + [148] = 148, [149] = 149, - [150] = 145, - [151] = 151, - [152] = 142, + [150] = 150, + [151] = 146, + [152] = 147, [153] = 149, - [154] = 149, - [155] = 151, - [156] = 156, - [157] = 157, - [158] = 142, - [159] = 159, - [160] = 151, - [161] = 26, - [162] = 18, + [154] = 150, + [155] = 155, + [156] = 149, + [157] = 145, + [158] = 146, + [159] = 145, + [160] = 160, + [161] = 147, + [162] = 150, [163] = 163, - [164] = 163, - [165] = 165, - [166] = 163, - [167] = 14, - [168] = 16, - [169] = 13, - [170] = 17, - [171] = 171, - [172] = 165, + [164] = 164, + [165] = 38, + [166] = 35, + [167] = 167, + [168] = 20, + [169] = 164, + [170] = 31, + [171] = 37, + [172] = 36, [173] = 173, - [174] = 24, - [175] = 11, - [176] = 165, - [177] = 15, - [178] = 7, - [179] = 179, - [180] = 180, + [174] = 29, + [175] = 173, + [176] = 39, + [177] = 164, + [178] = 46, + [179] = 42, + [180] = 173, [181] = 181, [182] = 182, [183] = 183, @@ -826,21 +826,23 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [185] = 185, [186] = 186, [187] = 187, - [188] = 183, + [188] = 188, [189] = 189, [190] = 185, - [191] = 191, - [192] = 181, + [191] = 182, + [192] = 187, [193] = 193, - [194] = 183, - [195] = 195, + [194] = 194, + [195] = 185, [196] = 196, - [197] = 181, + [197] = 197, [198] = 198, - [199] = 191, - [200] = 187, - [201] = 191, - [202] = 185, + [199] = 187, + [200] = 182, + [201] = 197, + [202] = 202, + [203] = 197, + [204] = 194, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -848,393 +850,329 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(18); + if (eof) ADVANCE(15); if (lookahead == '!') ADVANCE(5); if (lookahead == '"') ADVANCE(2); - if (lookahead == '#') ADVANCE(19); - if (lookahead == '%') ADVANCE(51); + if (lookahead == '#') ADVANCE(16); + if (lookahead == '%') ADVANCE(45); if (lookahead == '&') ADVANCE(3); if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(65); - if (lookahead == ')') ADVANCE(66); - if (lookahead == '*') ADVANCE(49); - if (lookahead == '+') ADVANCE(46); - if (lookahead == ',') ADVANCE(36); - if (lookahead == '-') ADVANCE(48); - if (lookahead == '/') ADVANCE(50); - if (lookahead == '<') ADVANCE(38); - if (lookahead == '=') ADVANCE(44); - if (lookahead == '>') ADVANCE(39); - if (lookahead == '[') ADVANCE(35); - if (lookahead == ']') ADVANCE(37); + if (lookahead == '(') ADVANCE(55); + if (lookahead == ')') ADVANCE(56); + if (lookahead == '*') ADVANCE(43); + if (lookahead == '+') ADVANCE(40); + if (lookahead == ',') ADVANCE(30); + if (lookahead == '-') ADVANCE(42); + if (lookahead == '/') ADVANCE(44); + if (lookahead == '<') ADVANCE(32); + if (lookahead == '=') ADVANCE(38); + if (lookahead == '>') ADVANCE(33); + if (lookahead == '[') ADVANCE(29); + if (lookahead == ']') ADVANCE(31); if (lookahead == '`') ADVANCE(8); - if (lookahead == 'a') ADVANCE(27); - if (lookahead == 'o') ADVANCE(29); - if (lookahead == 't') ADVANCE(26); - if (lookahead == '{') ADVANCE(40); - if (lookahead == '|') ADVANCE(30); - if (lookahead == '}') ADVANCE(41); + if (lookahead == 't') ADVANCE(22); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '|') ADVANCE(24); + if (lookahead == '}') ADVANCE(35); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(31); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(25); END_STATE(); case 1: if (lookahead == '!') ADVANCE(5); - if (lookahead == '%') ADVANCE(51); + if (lookahead == '%') ADVANCE(45); if (lookahead == '&') ADVANCE(3); - if (lookahead == ')') ADVANCE(66); - if (lookahead == '*') ADVANCE(49); - if (lookahead == '+') ADVANCE(45); - if (lookahead == '-') ADVANCE(47); - if (lookahead == '/') ADVANCE(50); + if (lookahead == ')') ADVANCE(56); + if (lookahead == '*') ADVANCE(43); + if (lookahead == '+') ADVANCE(39); + if (lookahead == '-') ADVANCE(41); + if (lookahead == '/') ADVANCE(44); if (lookahead == '=') ADVANCE(6); - if (lookahead == 'a') ADVANCE(12); - if (lookahead == 'o') ADVANCE(14); - if (lookahead == 't') ADVANCE(11); - if (lookahead == '|') ADVANCE(15); + if (lookahead == 't') ADVANCE(10); + if (lookahead == '|') ADVANCE(12); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(1) END_STATE(); case 2: - if (lookahead == '"') ADVANCE(34); + if (lookahead == '"') ADVANCE(28); if (lookahead != 0) ADVANCE(2); END_STATE(); case 3: - if (lookahead == '&') ADVANCE(54); + if (lookahead == '&') ADVANCE(48); END_STATE(); case 4: - if (lookahead == '\'') ADVANCE(34); + if (lookahead == '\'') ADVANCE(28); if (lookahead != 0) ADVANCE(4); END_STATE(); case 5: - if (lookahead == '=') ADVANCE(53); + if (lookahead == '=') ADVANCE(47); END_STATE(); case 6: - if (lookahead == '=') ADVANCE(52); - if (lookahead == '>') ADVANCE(67); + if (lookahead == '=') ADVANCE(46); + if (lookahead == '>') ADVANCE(57); END_STATE(); case 7: - if (lookahead == '>') ADVANCE(22); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); + if (lookahead == '>') ADVANCE(19); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); END_STATE(); case 8: - if (lookahead == '`') ADVANCE(34); + if (lookahead == '`') ADVANCE(28); if (lookahead != 0) ADVANCE(8); END_STATE(); case 9: - if (lookahead == 'd') ADVANCE(57); + if (lookahead == 'e') ADVANCE(11); END_STATE(); case 10: - if (lookahead == 'e') ADVANCE(13); + if (lookahead == 'h') ADVANCE(9); END_STATE(); case 11: - if (lookahead == 'h') ADVANCE(10); + if (lookahead == 'n') ADVANCE(53); END_STATE(); case 12: - if (lookahead == 'n') ADVANCE(9); + if (lookahead == '|') ADVANCE(49); END_STATE(); case 13: - if (lookahead == 'n') ADVANCE(63); - END_STATE(); - case 14: - if (lookahead == 'r') ADVANCE(59); - END_STATE(); - case 15: - if (lookahead == '|') ADVANCE(55); - END_STATE(); - case 16: - if (eof) ADVANCE(18); + if (eof) ADVANCE(15); if (lookahead == '!') ADVANCE(5); if (lookahead == '"') ADVANCE(2); - if (lookahead == '#') ADVANCE(19); - if (lookahead == '%') ADVANCE(51); + if (lookahead == '#') ADVANCE(16); + if (lookahead == '%') ADVANCE(45); if (lookahead == '&') ADVANCE(3); if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(65); - if (lookahead == ')') ADVANCE(66); - if (lookahead == '*') ADVANCE(49); - if (lookahead == '+') ADVANCE(46); - if (lookahead == ',') ADVANCE(36); - if (lookahead == '-') ADVANCE(48); - if (lookahead == '/') ADVANCE(50); - if (lookahead == '=') ADVANCE(43); - if (lookahead == '[') ADVANCE(35); - if (lookahead == ']') ADVANCE(37); + if (lookahead == '(') ADVANCE(55); + if (lookahead == ')') ADVANCE(56); + if (lookahead == '*') ADVANCE(43); + if (lookahead == '+') ADVANCE(40); + if (lookahead == ',') ADVANCE(30); + if (lookahead == '-') ADVANCE(42); + if (lookahead == '/') ADVANCE(44); + if (lookahead == '=') ADVANCE(37); + if (lookahead == '[') ADVANCE(29); + if (lookahead == ']') ADVANCE(31); if (lookahead == '`') ADVANCE(8); - if (lookahead == 'a') ADVANCE(27); - if (lookahead == 'o') ADVANCE(29); - if (lookahead == '{') ADVANCE(40); - if (lookahead == '|') ADVANCE(30); - if (lookahead == '}') ADVANCE(41); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '|') ADVANCE(24); + if (lookahead == '}') ADVANCE(35); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(16) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); + lookahead == ' ') SKIP(13) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(31); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(25); END_STATE(); - case 17: - if (eof) ADVANCE(18); + case 14: + if (eof) ADVANCE(15); if (lookahead == '"') ADVANCE(2); - if (lookahead == '#') ADVANCE(19); + if (lookahead == '#') ADVANCE(16); if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(65); - if (lookahead == ')') ADVANCE(66); - if (lookahead == ',') ADVANCE(36); + if (lookahead == '(') ADVANCE(55); + if (lookahead == ')') ADVANCE(56); + if (lookahead == ',') ADVANCE(30); if (lookahead == '-') ADVANCE(7); - if (lookahead == '=') ADVANCE(42); - if (lookahead == '>') ADVANCE(39); - if (lookahead == '[') ADVANCE(35); - if (lookahead == ']') ADVANCE(37); + if (lookahead == '=') ADVANCE(36); + if (lookahead == '>') ADVANCE(33); + if (lookahead == '[') ADVANCE(29); + if (lookahead == ']') ADVANCE(31); if (lookahead == '`') ADVANCE(8); - if (lookahead == '{') ADVANCE(40); - if (lookahead == '}') ADVANCE(41); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '}') ADVANCE(35); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(17) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); + lookahead == ' ') SKIP(14) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= '|')) ADVANCE(31); + ('_' <= lookahead && lookahead <= '|')) ADVANCE(25); END_STATE(); - case 18: + case 15: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 19: + case 16: ACCEPT_TOKEN(anon_sym_POUND); END_STATE(); - case 20: + case 17: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead == '\t' || lookahead == '\r' || - lookahead == ' ') ADVANCE(20); + lookahead == ' ') ADVANCE(17); if (lookahead != 0 && - lookahead != '\n') ADVANCE(21); + lookahead != '\n') ADVANCE(18); END_STATE(); - case 21: + case 18: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead != 0 && - lookahead != '\n') ADVANCE(21); + lookahead != '\n') ADVANCE(18); + END_STATE(); + case 19: + ACCEPT_TOKEN(anon_sym_DASH_GT); + END_STATE(); + case 20: + ACCEPT_TOKEN(sym_identifier); + END_STATE(); + case 21: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(23); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(25); END_STATE(); case 22: - ACCEPT_TOKEN(anon_sym_DASH_GT); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(21); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(25); END_STATE(); case 23: ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(25); END_STATE(); case 24: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'd') ADVANCE(58); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); + if (lookahead == '|') ADVANCE(50); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); if (lookahead == '.' || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(25); END_STATE(); case 25: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'e') ADVANCE(28); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); + lookahead == '|') ADVANCE(25); END_STATE(); case 26: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'h') ADVANCE(25); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); + ACCEPT_TOKEN(sym_integer); + if (lookahead == '.') ADVANCE(27); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); END_STATE(); case 27: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'n') ADVANCE(24); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); + ACCEPT_TOKEN(sym_float); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(27); END_STATE(); case 28: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'n') ADVANCE(64); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); - END_STATE(); - case 29: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'r') ADVANCE(60); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); - END_STATE(); - case 30: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == '|') ADVANCE(56); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(31); - END_STATE(); - case 31: - ACCEPT_TOKEN(sym_identifier); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); - END_STATE(); - case 32: - ACCEPT_TOKEN(sym_integer); - if (lookahead == '.') ADVANCE(33); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); - END_STATE(); - case 33: - ACCEPT_TOKEN(sym_float); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(33); - END_STATE(); - case 34: ACCEPT_TOKEN(sym_string); END_STATE(); - case 35: + case 29: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 36: + case 30: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 37: + case 31: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 38: + case 32: ACCEPT_TOKEN(anon_sym_LT); END_STATE(); - case 39: + case 33: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); - case 40: + case 34: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 41: + case 35: ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); - case 42: + case 36: ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); + case 37: + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(46); + END_STATE(); + case 38: + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(46); + if (lookahead == '>') ADVANCE(57); + END_STATE(); + case 39: + ACCEPT_TOKEN(anon_sym_PLUS); + END_STATE(); + case 40: + ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '=') ADVANCE(51); + END_STATE(); + case 41: + ACCEPT_TOKEN(anon_sym_DASH); + END_STATE(); + case 42: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '=') ADVANCE(52); + if (lookahead == '>') ADVANCE(19); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + END_STATE(); case 43: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(52); - END_STATE(); - case 44: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(52); - if (lookahead == '>') ADVANCE(67); - END_STATE(); - case 45: - ACCEPT_TOKEN(anon_sym_PLUS); - END_STATE(); - case 46: - ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '=') ADVANCE(61); - END_STATE(); - case 47: - ACCEPT_TOKEN(anon_sym_DASH); - END_STATE(); - case 48: - ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(62); - if (lookahead == '>') ADVANCE(22); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); - END_STATE(); - case 49: ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); - case 50: + case 44: ACCEPT_TOKEN(anon_sym_SLASH); END_STATE(); - case 51: + case 45: ACCEPT_TOKEN(anon_sym_PERCENT); END_STATE(); - case 52: + case 46: ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); - case 53: + case 47: ACCEPT_TOKEN(anon_sym_BANG_EQ); END_STATE(); - case 54: + case 48: ACCEPT_TOKEN(anon_sym_AMP_AMP); END_STATE(); - case 55: + case 49: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); END_STATE(); - case 56: + case 50: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); + lookahead == '|') ADVANCE(25); END_STATE(); - case 57: - ACCEPT_TOKEN(anon_sym_and); - END_STATE(); - case 58: - ACCEPT_TOKEN(anon_sym_and); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); - END_STATE(); - case 59: - ACCEPT_TOKEN(anon_sym_or); - END_STATE(); - case 60: - ACCEPT_TOKEN(anon_sym_or); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); - END_STATE(); - case 61: + case 51: ACCEPT_TOKEN(anon_sym_PLUS_EQ); END_STATE(); - case 62: + case 52: ACCEPT_TOKEN(anon_sym_DASH_EQ); END_STATE(); - case 63: + case 53: ACCEPT_TOKEN(anon_sym_then); END_STATE(); - case 64: + case 54: ACCEPT_TOKEN(anon_sym_then); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(23); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(31); + lookahead == '|') ADVANCE(25); END_STATE(); - case 65: + case 55: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); - case 66: + case 56: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); - case 67: + case 57: ACCEPT_TOKEN(anon_sym_EQ_GT); END_STATE(); default: @@ -1255,253 +1193,266 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { if (lookahead == 'l') ADVANCE(6); if (lookahead == 'm') ADVANCE(7); if (lookahead == 'o') ADVANCE(8); - if (lookahead == 's') ADVANCE(9); - if (lookahead == 't') ADVANCE(10); - if (lookahead == 'w') ADVANCE(11); + if (lookahead == 'r') ADVANCE(9); + if (lookahead == 's') ADVANCE(10); + if (lookahead == 't') ADVANCE(11); + if (lookahead == 'w') ADVANCE(12); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'r') ADVANCE(12); + if (lookahead == 'r') ADVANCE(13); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(13); + if (lookahead == 'a') ADVANCE(14); END_STATE(); case 3: - if (lookahead == 'l') ADVANCE(14); + if (lookahead == 'l') ADVANCE(15); END_STATE(); case 4: - if (lookahead == 'a') ADVANCE(15); - if (lookahead == 'r') ADVANCE(16); - if (lookahead == 'u') ADVANCE(17); + if (lookahead == 'a') ADVANCE(16); + if (lookahead == 'r') ADVANCE(17); + if (lookahead == 'u') ADVANCE(18); END_STATE(); case 5: - if (lookahead == 'f') ADVANCE(18); - if (lookahead == 'n') ADVANCE(19); + if (lookahead == 'f') ADVANCE(19); + if (lookahead == 'n') ADVANCE(20); END_STATE(); case 6: - if (lookahead == 'o') ADVANCE(20); + if (lookahead == 'o') ADVANCE(21); END_STATE(); case 7: - if (lookahead == 'a') ADVANCE(21); + if (lookahead == 'a') ADVANCE(22); END_STATE(); case 8: - if (lookahead == 'u') ADVANCE(22); + if (lookahead == 'u') ADVANCE(23); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(23); + if (lookahead == 'e') ADVANCE(24); END_STATE(); case 10: - if (lookahead == 'a') ADVANCE(24); - if (lookahead == 'r') ADVANCE(25); + if (lookahead == 'e') ADVANCE(25); END_STATE(); case 11: - if (lookahead == 'h') ADVANCE(26); + if (lookahead == 'a') ADVANCE(26); + if (lookahead == 'r') ADVANCE(27); END_STATE(); case 12: - if (lookahead == 'e') ADVANCE(27); + if (lookahead == 'h') ADVANCE(28); END_STATE(); case 13: - if (lookahead == 't') ADVANCE(28); + if (lookahead == 'e') ADVANCE(29); END_STATE(); case 14: - if (lookahead == 's') ADVANCE(29); + if (lookahead == 't') ADVANCE(30); END_STATE(); case 15: - if (lookahead == 'l') ADVANCE(30); + if (lookahead == 's') ADVANCE(31); END_STATE(); case 16: - if (lookahead == 'o') ADVANCE(31); + if (lookahead == 'l') ADVANCE(32); END_STATE(); case 17: - if (lookahead == 'n') ADVANCE(32); + if (lookahead == 'o') ADVANCE(33); END_STATE(); case 18: - ACCEPT_TOKEN(anon_sym_if); + if (lookahead == 'n') ADVANCE(34); END_STATE(); case 19: - if (lookahead == 'p') ADVANCE(33); - if (lookahead == 's') ADVANCE(34); - if (lookahead == 't') ADVANCE(35); + ACCEPT_TOKEN(anon_sym_if); END_STATE(); case 20: - if (lookahead == 'o') ADVANCE(36); - END_STATE(); - case 21: + if (lookahead == 'p') ADVANCE(35); + if (lookahead == 's') ADVANCE(36); if (lookahead == 't') ADVANCE(37); END_STATE(); + case 21: + if (lookahead == 'o') ADVANCE(38); + END_STATE(); case 22: - if (lookahead == 't') ADVANCE(38); + if (lookahead == 't') ADVANCE(39); END_STATE(); case 23: - if (lookahead == 'l') ADVANCE(39); + if (lookahead == 't') ADVANCE(40); END_STATE(); case 24: - if (lookahead == 'b') ADVANCE(40); + if (lookahead == 'a') ADVANCE(41); END_STATE(); case 25: - if (lookahead == 'u') ADVANCE(41); + if (lookahead == 'l') ADVANCE(42); END_STATE(); case 26: - if (lookahead == 'e') ADVANCE(42); - if (lookahead == 'i') ADVANCE(43); + if (lookahead == 'b') ADVANCE(43); END_STATE(); case 27: - if (lookahead == 'a') ADVANCE(44); + if (lookahead == 'u') ADVANCE(44); END_STATE(); case 28: - if (lookahead == 'c') ADVANCE(45); + if (lookahead == 'e') ADVANCE(45); + if (lookahead == 'i') ADVANCE(46); END_STATE(); case 29: - if (lookahead == 'e') ADVANCE(46); + if (lookahead == 'a') ADVANCE(47); END_STATE(); case 30: - if (lookahead == 's') ADVANCE(47); + if (lookahead == 'c') ADVANCE(48); END_STATE(); case 31: - if (lookahead == 'm') ADVANCE(48); + if (lookahead == 'e') ADVANCE(49); END_STATE(); case 32: - if (lookahead == 'c') ADVANCE(49); + if (lookahead == 's') ADVANCE(50); END_STATE(); case 33: - if (lookahead == 'u') ADVANCE(50); + if (lookahead == 'm') ADVANCE(51); END_STATE(); case 34: - if (lookahead == 'e') ADVANCE(51); + if (lookahead == 'c') ADVANCE(52); END_STATE(); case 35: - if (lookahead == 'o') ADVANCE(52); + if (lookahead == 'u') ADVANCE(53); END_STATE(); case 36: - if (lookahead == 'p') ADVANCE(53); + if (lookahead == 'e') ADVANCE(54); END_STATE(); case 37: - if (lookahead == 'c') ADVANCE(54); + if (lookahead == 'o') ADVANCE(55); END_STATE(); case 38: - if (lookahead == 'p') ADVANCE(55); + if (lookahead == 'p') ADVANCE(56); END_STATE(); case 39: - if (lookahead == 'e') ADVANCE(56); + if (lookahead == 'c') ADVANCE(57); END_STATE(); case 40: - if (lookahead == 'l') ADVANCE(57); + if (lookahead == 'p') ADVANCE(58); END_STATE(); case 41: - if (lookahead == 'e') ADVANCE(58); + if (lookahead == 'd') ADVANCE(59); END_STATE(); case 42: - if (lookahead == 'r') ADVANCE(59); + if (lookahead == 'e') ADVANCE(60); END_STATE(); case 43: - if (lookahead == 'l') ADVANCE(60); + if (lookahead == 'l') ADVANCE(61); END_STATE(); case 44: - if (lookahead == 'k') ADVANCE(61); + if (lookahead == 'e') ADVANCE(62); END_STATE(); case 45: - if (lookahead == 'h') ADVANCE(62); + if (lookahead == 'r') ADVANCE(63); END_STATE(); case 46: - ACCEPT_TOKEN(anon_sym_else); + if (lookahead == 'l') ADVANCE(64); END_STATE(); case 47: - if (lookahead == 'e') ADVANCE(63); + if (lookahead == 'k') ADVANCE(65); END_STATE(); case 48: - ACCEPT_TOKEN(anon_sym_from); + if (lookahead == 'h') ADVANCE(66); END_STATE(); case 49: - if (lookahead == 't') ADVANCE(64); + ACCEPT_TOKEN(anon_sym_else); END_STATE(); case 50: - if (lookahead == 't') ADVANCE(65); + if (lookahead == 'e') ADVANCE(67); END_STATE(); case 51: - if (lookahead == 'r') ADVANCE(66); + ACCEPT_TOKEN(anon_sym_from); END_STATE(); case 52: - ACCEPT_TOKEN(anon_sym_into); + if (lookahead == 't') ADVANCE(68); END_STATE(); case 53: - ACCEPT_TOKEN(anon_sym_loop); + if (lookahead == 't') ADVANCE(69); END_STATE(); case 54: - if (lookahead == 'h') ADVANCE(67); + if (lookahead == 'r') ADVANCE(70); END_STATE(); case 55: - if (lookahead == 'u') ADVANCE(68); + ACCEPT_TOKEN(anon_sym_into); END_STATE(); case 56: - if (lookahead == 'c') ADVANCE(69); + ACCEPT_TOKEN(anon_sym_loop); END_STATE(); case 57: - if (lookahead == 'e') ADVANCE(70); + if (lookahead == 'h') ADVANCE(71); END_STATE(); case 58: - ACCEPT_TOKEN(anon_sym_true); + if (lookahead == 'u') ADVANCE(72); END_STATE(); case 59: - if (lookahead == 'e') ADVANCE(71); + ACCEPT_TOKEN(anon_sym_read); END_STATE(); case 60: - if (lookahead == 'e') ADVANCE(72); + if (lookahead == 'c') ADVANCE(73); END_STATE(); case 61: - ACCEPT_TOKEN(anon_sym_break); + if (lookahead == 'e') ADVANCE(74); END_STATE(); case 62: - ACCEPT_TOKEN(anon_sym_catch); + ACCEPT_TOKEN(anon_sym_true); END_STATE(); case 63: - ACCEPT_TOKEN(anon_sym_false); + if (lookahead == 'e') ADVANCE(75); END_STATE(); case 64: - if (lookahead == 'i') ADVANCE(73); + if (lookahead == 'e') ADVANCE(76); END_STATE(); case 65: - ACCEPT_TOKEN(anon_sym_input); + ACCEPT_TOKEN(anon_sym_break); END_STATE(); case 66: - if (lookahead == 't') ADVANCE(74); + ACCEPT_TOKEN(anon_sym_catch); END_STATE(); case 67: - ACCEPT_TOKEN(anon_sym_match); + ACCEPT_TOKEN(anon_sym_false); END_STATE(); case 68: - if (lookahead == 't') ADVANCE(75); + if (lookahead == 'i') ADVANCE(77); END_STATE(); case 69: - if (lookahead == 't') ADVANCE(76); + ACCEPT_TOKEN(anon_sym_input); END_STATE(); case 70: - ACCEPT_TOKEN(anon_sym_table); + if (lookahead == 't') ADVANCE(78); END_STATE(); case 71: - ACCEPT_TOKEN(anon_sym_where); + ACCEPT_TOKEN(anon_sym_match); END_STATE(); case 72: - ACCEPT_TOKEN(anon_sym_while); + if (lookahead == 't') ADVANCE(79); END_STATE(); case 73: - if (lookahead == 'o') ADVANCE(77); + if (lookahead == 't') ADVANCE(80); END_STATE(); case 74: - ACCEPT_TOKEN(anon_sym_insert); + ACCEPT_TOKEN(anon_sym_table); END_STATE(); case 75: - ACCEPT_TOKEN(anon_sym_output); + ACCEPT_TOKEN(anon_sym_where); END_STATE(); case 76: - ACCEPT_TOKEN(anon_sym_select); + ACCEPT_TOKEN(anon_sym_while); END_STATE(); case 77: - if (lookahead == 'n') ADVANCE(78); + if (lookahead == 'o') ADVANCE(81); END_STATE(); case 78: + ACCEPT_TOKEN(anon_sym_insert); + END_STATE(); + case 79: + ACCEPT_TOKEN(anon_sym_output); + END_STATE(); + case 80: + ACCEPT_TOKEN(anon_sym_select); + END_STATE(); + case 81: + if (lookahead == 'n') ADVANCE(82); + END_STATE(); + case 82: ACCEPT_TOKEN(anon_sym_function); END_STATE(); default: @@ -1511,112 +1462,112 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 17}, - [2] = {.lex_state = 17}, - [3] = {.lex_state = 17}, - [4] = {.lex_state = 17}, - [5] = {.lex_state = 16}, - [6] = {.lex_state = 16}, - [7] = {.lex_state = 16}, - [8] = {.lex_state = 17}, - [9] = {.lex_state = 17}, - [10] = {.lex_state = 17}, - [11] = {.lex_state = 16}, - [12] = {.lex_state = 17}, - [13] = {.lex_state = 16}, - [14] = {.lex_state = 16}, - [15] = {.lex_state = 16}, - [16] = {.lex_state = 16}, - [17] = {.lex_state = 16}, - [18] = {.lex_state = 16}, - [19] = {.lex_state = 16}, - [20] = {.lex_state = 17}, - [21] = {.lex_state = 17}, - [22] = {.lex_state = 16}, - [23] = {.lex_state = 17}, - [24] = {.lex_state = 16}, - [25] = {.lex_state = 17}, - [26] = {.lex_state = 16}, - [27] = {.lex_state = 17}, - [28] = {.lex_state = 17}, - [29] = {.lex_state = 17}, - [30] = {.lex_state = 17}, - [31] = {.lex_state = 17}, - [32] = {.lex_state = 17}, - [33] = {.lex_state = 17}, - [34] = {.lex_state = 16}, - [35] = {.lex_state = 16}, - [36] = {.lex_state = 17}, - [37] = {.lex_state = 16}, - [38] = {.lex_state = 16}, - [39] = {.lex_state = 16}, - [40] = {.lex_state = 16}, - [41] = {.lex_state = 17}, - [42] = {.lex_state = 16}, - [43] = {.lex_state = 17}, - [44] = {.lex_state = 17}, - [45] = {.lex_state = 17}, - [46] = {.lex_state = 16}, - [47] = {.lex_state = 16}, - [48] = {.lex_state = 17}, - [49] = {.lex_state = 16}, - [50] = {.lex_state = 17}, - [51] = {.lex_state = 17}, - [52] = {.lex_state = 17}, - [53] = {.lex_state = 17}, - [54] = {.lex_state = 17}, - [55] = {.lex_state = 17}, - [56] = {.lex_state = 17}, - [57] = {.lex_state = 16}, - [58] = {.lex_state = 16}, - [59] = {.lex_state = 17}, - [60] = {.lex_state = 17}, - [61] = {.lex_state = 17}, - [62] = {.lex_state = 17}, - [63] = {.lex_state = 17}, - [64] = {.lex_state = 17}, - [65] = {.lex_state = 17}, - [66] = {.lex_state = 17}, - [67] = {.lex_state = 17}, - [68] = {.lex_state = 17}, - [69] = {.lex_state = 17}, - [70] = {.lex_state = 17}, - [71] = {.lex_state = 17}, - [72] = {.lex_state = 17}, - [73] = {.lex_state = 17}, - [74] = {.lex_state = 17}, - [75] = {.lex_state = 17}, - [76] = {.lex_state = 17}, - [77] = {.lex_state = 17}, - [78] = {.lex_state = 17}, - [79] = {.lex_state = 17}, - [80] = {.lex_state = 17}, - [81] = {.lex_state = 17}, - [82] = {.lex_state = 17}, - [83] = {.lex_state = 17}, - [84] = {.lex_state = 17}, - [85] = {.lex_state = 17}, - [86] = {.lex_state = 17}, - [87] = {.lex_state = 17}, - [88] = {.lex_state = 17}, - [89] = {.lex_state = 17}, - [90] = {.lex_state = 17}, - [91] = {.lex_state = 17}, - [92] = {.lex_state = 17}, - [93] = {.lex_state = 17}, - [94] = {.lex_state = 17}, - [95] = {.lex_state = 17}, - [96] = {.lex_state = 17}, - [97] = {.lex_state = 17}, - [98] = {.lex_state = 17}, - [99] = {.lex_state = 1}, - [100] = {.lex_state = 17}, - [101] = {.lex_state = 17}, - [102] = {.lex_state = 17}, - [103] = {.lex_state = 17}, - [104] = {.lex_state = 1}, - [105] = {.lex_state = 17}, - [106] = {.lex_state = 17}, + [1] = {.lex_state = 14}, + [2] = {.lex_state = 14}, + [3] = {.lex_state = 14}, + [4] = {.lex_state = 14}, + [5] = {.lex_state = 14}, + [6] = {.lex_state = 14}, + [7] = {.lex_state = 14}, + [8] = {.lex_state = 14}, + [9] = {.lex_state = 14}, + [10] = {.lex_state = 14}, + [11] = {.lex_state = 14}, + [12] = {.lex_state = 14}, + [13] = {.lex_state = 14}, + [14] = {.lex_state = 14}, + [15] = {.lex_state = 14}, + [16] = {.lex_state = 14}, + [17] = {.lex_state = 14}, + [18] = {.lex_state = 14}, + [19] = {.lex_state = 14}, + [20] = {.lex_state = 13}, + [21] = {.lex_state = 13}, + [22] = {.lex_state = 13}, + [23] = {.lex_state = 14}, + [24] = {.lex_state = 14}, + [25] = {.lex_state = 14}, + [26] = {.lex_state = 14}, + [27] = {.lex_state = 14}, + [28] = {.lex_state = 13}, + [29] = {.lex_state = 13}, + [30] = {.lex_state = 14}, + [31] = {.lex_state = 13}, + [32] = {.lex_state = 14}, + [33] = {.lex_state = 14}, + [34] = {.lex_state = 14}, + [35] = {.lex_state = 13}, + [36] = {.lex_state = 13}, + [37] = {.lex_state = 13}, + [38] = {.lex_state = 13}, + [39] = {.lex_state = 13}, + [40] = {.lex_state = 14}, + [41] = {.lex_state = 14}, + [42] = {.lex_state = 13}, + [43] = {.lex_state = 14}, + [44] = {.lex_state = 14}, + [45] = {.lex_state = 13}, + [46] = {.lex_state = 13}, + [47] = {.lex_state = 13}, + [48] = {.lex_state = 13}, + [49] = {.lex_state = 13}, + [50] = {.lex_state = 13}, + [51] = {.lex_state = 13}, + [52] = {.lex_state = 13}, + [53] = {.lex_state = 13}, + [54] = {.lex_state = 13}, + [55] = {.lex_state = 13}, + [56] = {.lex_state = 13}, + [57] = {.lex_state = 13}, + [58] = {.lex_state = 14}, + [59] = {.lex_state = 14}, + [60] = {.lex_state = 14}, + [61] = {.lex_state = 14}, + [62] = {.lex_state = 14}, + [63] = {.lex_state = 14}, + [64] = {.lex_state = 14}, + [65] = {.lex_state = 14}, + [66] = {.lex_state = 13}, + [67] = {.lex_state = 14}, + [68] = {.lex_state = 14}, + [69] = {.lex_state = 14}, + [70] = {.lex_state = 14}, + [71] = {.lex_state = 14}, + [72] = {.lex_state = 14}, + [73] = {.lex_state = 14}, + [74] = {.lex_state = 14}, + [75] = {.lex_state = 14}, + [76] = {.lex_state = 14}, + [77] = {.lex_state = 14}, + [78] = {.lex_state = 14}, + [79] = {.lex_state = 14}, + [80] = {.lex_state = 14}, + [81] = {.lex_state = 14}, + [82] = {.lex_state = 14}, + [83] = {.lex_state = 14}, + [84] = {.lex_state = 14}, + [85] = {.lex_state = 14}, + [86] = {.lex_state = 14}, + [87] = {.lex_state = 14}, + [88] = {.lex_state = 14}, + [89] = {.lex_state = 14}, + [90] = {.lex_state = 14}, + [91] = {.lex_state = 14}, + [92] = {.lex_state = 14}, + [93] = {.lex_state = 14}, + [94] = {.lex_state = 14}, + [95] = {.lex_state = 14}, + [96] = {.lex_state = 14}, + [97] = {.lex_state = 14}, + [98] = {.lex_state = 14}, + [99] = {.lex_state = 14}, + [100] = {.lex_state = 14}, + [101] = {.lex_state = 14}, + [102] = {.lex_state = 14}, + [103] = {.lex_state = 14}, + [104] = {.lex_state = 14}, + [105] = {.lex_state = 14}, + [106] = {.lex_state = 1}, [107] = {.lex_state = 1}, [108] = {.lex_state = 1}, [109] = {.lex_state = 1}, @@ -1626,7 +1577,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [113] = {.lex_state = 1}, [114] = {.lex_state = 1}, [115] = {.lex_state = 1}, - [116] = {.lex_state = 1}, + [116] = {.lex_state = 14}, [117] = {.lex_state = 1}, [118] = {.lex_state = 1}, [119] = {.lex_state = 1}, @@ -1635,84 +1586,86 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [122] = {.lex_state = 1}, [123] = {.lex_state = 1}, [124] = {.lex_state = 1}, - [125] = {.lex_state = 1}, - [126] = {.lex_state = 17}, - [127] = {.lex_state = 17}, - [128] = {.lex_state = 17}, - [129] = {.lex_state = 17}, - [130] = {.lex_state = 17}, - [131] = {.lex_state = 17}, - [132] = {.lex_state = 17}, - [133] = {.lex_state = 17}, - [134] = {.lex_state = 17}, - [135] = {.lex_state = 0}, - [136] = {.lex_state = 0}, + [125] = {.lex_state = 14}, + [126] = {.lex_state = 1}, + [127] = {.lex_state = 1}, + [128] = {.lex_state = 1}, + [129] = {.lex_state = 1}, + [130] = {.lex_state = 14}, + [131] = {.lex_state = 14}, + [132] = {.lex_state = 14}, + [133] = {.lex_state = 14}, + [134] = {.lex_state = 14}, + [135] = {.lex_state = 14}, + [136] = {.lex_state = 14}, [137] = {.lex_state = 0}, [138] = {.lex_state = 0}, [139] = {.lex_state = 0}, [140] = {.lex_state = 0}, - [141] = {.lex_state = 17}, - [142] = {.lex_state = 17}, - [143] = {.lex_state = 17}, - [144] = {.lex_state = 17}, - [145] = {.lex_state = 17}, - [146] = {.lex_state = 17}, - [147] = {.lex_state = 0}, - [148] = {.lex_state = 17}, - [149] = {.lex_state = 17}, - [150] = {.lex_state = 17}, - [151] = {.lex_state = 17}, - [152] = {.lex_state = 17}, - [153] = {.lex_state = 17}, - [154] = {.lex_state = 17}, - [155] = {.lex_state = 17}, - [156] = {.lex_state = 17}, - [157] = {.lex_state = 17}, - [158] = {.lex_state = 17}, - [159] = {.lex_state = 17}, - [160] = {.lex_state = 17}, - [161] = {.lex_state = 17}, - [162] = {.lex_state = 17}, - [163] = {.lex_state = 17}, - [164] = {.lex_state = 17}, - [165] = {.lex_state = 0}, - [166] = {.lex_state = 17}, - [167] = {.lex_state = 17}, - [168] = {.lex_state = 17}, - [169] = {.lex_state = 17}, - [170] = {.lex_state = 17}, - [171] = {.lex_state = 17}, - [172] = {.lex_state = 0}, - [173] = {.lex_state = 17}, - [174] = {.lex_state = 17}, - [175] = {.lex_state = 17}, - [176] = {.lex_state = 0}, - [177] = {.lex_state = 17}, - [178] = {.lex_state = 17}, - [179] = {.lex_state = 20}, - [180] = {.lex_state = 17}, + [141] = {.lex_state = 0}, + [142] = {.lex_state = 0}, + [143] = {.lex_state = 14}, + [144] = {.lex_state = 14}, + [145] = {.lex_state = 14}, + [146] = {.lex_state = 14}, + [147] = {.lex_state = 14}, + [148] = {.lex_state = 0}, + [149] = {.lex_state = 14}, + [150] = {.lex_state = 14}, + [151] = {.lex_state = 14}, + [152] = {.lex_state = 14}, + [153] = {.lex_state = 14}, + [154] = {.lex_state = 14}, + [155] = {.lex_state = 14}, + [156] = {.lex_state = 14}, + [157] = {.lex_state = 14}, + [158] = {.lex_state = 14}, + [159] = {.lex_state = 14}, + [160] = {.lex_state = 14}, + [161] = {.lex_state = 14}, + [162] = {.lex_state = 14}, + [163] = {.lex_state = 14}, + [164] = {.lex_state = 14}, + [165] = {.lex_state = 14}, + [166] = {.lex_state = 14}, + [167] = {.lex_state = 14}, + [168] = {.lex_state = 14}, + [169] = {.lex_state = 14}, + [170] = {.lex_state = 14}, + [171] = {.lex_state = 14}, + [172] = {.lex_state = 14}, + [173] = {.lex_state = 0}, + [174] = {.lex_state = 14}, + [175] = {.lex_state = 0}, + [176] = {.lex_state = 14}, + [177] = {.lex_state = 14}, + [178] = {.lex_state = 14}, + [179] = {.lex_state = 14}, + [180] = {.lex_state = 0}, [181] = {.lex_state = 0}, - [182] = {.lex_state = 17}, + [182] = {.lex_state = 0}, [183] = {.lex_state = 0}, [184] = {.lex_state = 0}, [185] = {.lex_state = 0}, - [186] = {.lex_state = 17}, + [186] = {.lex_state = 14}, [187] = {.lex_state = 0}, [188] = {.lex_state = 0}, - [189] = {.lex_state = 0}, + [189] = {.lex_state = 14}, [190] = {.lex_state = 0}, [191] = {.lex_state = 0}, [192] = {.lex_state = 0}, - [193] = {.lex_state = 0}, + [193] = {.lex_state = 14}, [194] = {.lex_state = 0}, - [195] = {.lex_state = 17}, - [196] = {.lex_state = 17}, + [195] = {.lex_state = 0}, + [196] = {.lex_state = 14}, [197] = {.lex_state = 0}, - [198] = {.lex_state = 0}, + [198] = {.lex_state = 14}, [199] = {.lex_state = 0}, [200] = {.lex_state = 0}, [201] = {.lex_state = 0}, - [202] = {.lex_state = 0}, + [202] = {.lex_state = 17}, + [203] = {.lex_state = 0}, + [204] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1745,8 +1698,6 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_BANG_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_PLUS_EQ] = ACTIONS(1), [anon_sym_DASH_EQ] = ACTIONS(1), [anon_sym_select] = ACTIONS(1), @@ -1767,30 +1718,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_catch] = ACTIONS(1), [anon_sym_input] = ACTIONS(1), [anon_sym_output] = ACTIONS(1), + [anon_sym_read] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(189), + [sym_root] = STATE(183), [sym_item] = STATE(2), - [sym_comment] = STATE(94), - [sym_statement] = STATE(94), - [sym_yield] = STATE(73), - [sym_expression] = STATE(40), - [sym_value] = STATE(38), - [sym_boolean] = STATE(14), - [sym_list] = STATE(14), - [sym_function] = STATE(14), - [sym_table] = STATE(14), - [sym_map] = STATE(14), - [sym_math] = STATE(38), - [sym_logic] = STATE(38), - [sym_assignment] = STATE(73), - [sym_select] = STATE(73), - [sym_insert] = STATE(73), - [sym_if_else] = STATE(73), - [sym_function_call] = STATE(38), - [sym_loop] = STATE(73), - [sym_match] = STATE(73), - [sym_tool_call] = STATE(38), + [sym_comment] = STATE(95), + [sym_statement] = STATE(95), + [sym_yield] = STATE(78), + [sym_expression] = STATE(52), + [sym_value] = STATE(49), + [sym_boolean] = STATE(36), + [sym_list] = STATE(36), + [sym_function] = STATE(36), + [sym_table] = STATE(36), + [sym_map] = STATE(36), + [sym_math] = STATE(49), + [sym_logic] = STATE(49), + [sym_assignment] = STATE(78), + [sym_select] = STATE(78), + [sym_insert] = STATE(78), + [sym_if_else] = STATE(78), + [sym_function_call] = STATE(49), + [sym_loop] = STATE(78), + [sym_match] = STATE(78), + [sym_tool_call] = STATE(49), [aux_sym_root_repeat1] = STATE(2), [sym_identifier] = ACTIONS(3), [anon_sym_POUND] = ACTIONS(5), @@ -1842,7 +1794,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_match, ACTIONS(33), 1, ts_builtin_sym_end, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -1853,22 +1805,22 @@ static const uint16_t ts_small_parse_table[] = { STATE(3), 2, sym_item, aux_sym_root_repeat1, - STATE(94), 2, + STATE(95), 2, sym_comment, sym_statement, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -1905,7 +1857,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_loop, ACTIONS(79), 1, anon_sym_match, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(46), 2, sym_float, @@ -1916,22 +1868,22 @@ static const uint16_t ts_small_parse_table[] = { STATE(3), 2, sym_item, aux_sym_root_repeat1, - STATE(94), 2, + STATE(95), 2, sym_comment, sym_statement, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -1968,7 +1920,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, ACTIONS(125), 1, anon_sym_match, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(88), 2, sym_float, @@ -1979,19 +1931,19 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -1999,134 +1951,355 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [251] = 4, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(128), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + [251] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + ACTIONS(128), 1, + anon_sym_break, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(130), 18, - sym_identifier, - sym_integer, + ACTIONS(11), 2, anon_sym_true, anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [329] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, + ACTIONS(21), 1, anon_sym_select, + ACTIONS(23), 1, anon_sym_insert, + ACTIONS(25), 1, anon_sym_if, - anon_sym_else, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, anon_sym_loop, - anon_sym_break, + ACTIONS(31), 1, anon_sym_match, - anon_sym_catch, - [298] = 4, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(132), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + ACTIONS(130), 1, + anon_sym_RBRACE, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(134), 18, - sym_identifier, - sym_integer, + ACTIONS(11), 2, anon_sym_true, anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [407] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, + ACTIONS(21), 1, anon_sym_select, + ACTIONS(23), 1, anon_sym_insert, + ACTIONS(25), 1, anon_sym_if, - anon_sym_else, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, anon_sym_loop, - anon_sym_break, + ACTIONS(31), 1, anon_sym_match, - anon_sym_catch, - [345] = 2, - ACTIONS(136), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + ACTIONS(132), 1, + anon_sym_RBRACE, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(138), 19, - sym_identifier, - sym_integer, + ACTIONS(11), 2, anon_sym_true, anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [485] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, + ACTIONS(21), 1, anon_sym_select, + ACTIONS(23), 1, anon_sym_insert, - anon_sym_into, + ACTIONS(25), 1, anon_sym_if, - anon_sym_else, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, anon_sym_loop, - anon_sym_break, + ACTIONS(31), 1, anon_sym_match, - anon_sym_catch, - [388] = 20, + ACTIONS(134), 1, + anon_sym_RBRACE, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [563] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + ACTIONS(136), 1, + anon_sym_RBRACE, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [641] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + ACTIONS(138), 1, + anon_sym_RBRACE, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [719] = 20, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2153,7 +2326,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_match, ACTIONS(140), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2164,19 +2337,19 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2184,7 +2357,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [466] = 20, + [797] = 20, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2211,7 +2384,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_match, ACTIONS(142), 1, anon_sym_break, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2219,22 +2392,22 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(23), 2, + STATE(5), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2242,7 +2415,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [544] = 20, + [875] = 20, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2269,7 +2442,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_match, ACTIONS(144), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2280,19 +2453,19 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2300,47 +2473,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [622] = 2, - ACTIONS(148), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(146), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [664] = 20, + [953] = 20, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2365,9 +2498,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_loop, ACTIONS(31), 1, anon_sym_match, - ACTIONS(150), 1, + ACTIONS(146), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2378,19 +2511,19 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2398,289 +2531,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [742] = 2, - ACTIONS(154), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(152), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [784] = 2, - ACTIONS(158), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(156), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [826] = 2, - ACTIONS(162), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(160), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [868] = 2, - ACTIONS(166), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(164), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [910] = 2, - ACTIONS(170), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(168), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [952] = 2, - ACTIONS(174), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(172), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [994] = 4, - ACTIONS(180), 1, - anon_sym_EQ, - ACTIONS(182), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(176), 15, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(178), 19, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [1040] = 20, + [1031] = 20, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2705,9 +2556,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_loop, ACTIONS(31), 1, anon_sym_match, - ACTIONS(184), 1, + ACTIONS(148), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2718,19 +2569,19 @@ static const uint16_t ts_small_parse_table[] = { STATE(4), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2738,7 +2589,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1118] = 20, + [1109] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2763,9 +2614,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_loop, ACTIONS(31), 1, anon_sym_match, - ACTIONS(186), 1, - anon_sym_RBRACE, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2773,22 +2622,22 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(4), 2, + STATE(11), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2796,40 +2645,285 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1196] = 10, - ACTIONS(192), 1, - anon_sym_DASH_GT, - ACTIONS(196), 1, + [1184] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(9), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1259] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(7), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1334] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(8), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1409] = 2, + ACTIONS(152), 17, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, anon_sym_DASH, - STATE(59), 1, - aux_sym_yield_repeat1, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_into, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(150), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1450] = 4, + STATE(75), 1, + sym_logic_operator, STATE(76), 1, sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(198), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(200), 3, + ACTIONS(156), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(154), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(188), 8, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1495] = 8, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(158), 11, ts_builtin_sym_end, anon_sym_POUND, + anon_sym_DASH_GT, sym_float, sym_string, anon_sym_LBRACK, + anon_sym_COMMA, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(190), 14, + anon_sym_RPAREN, + ACTIONS(160), 14, sym_identifier, sym_integer, anon_sym_true, @@ -2844,7 +2938,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [1254] = 20, + [1548] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2869,9 +2963,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_loop, ACTIONS(31), 1, anon_sym_match, - ACTIONS(202), 1, - anon_sym_break, - STATE(40), 1, + STATE(52), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2879,22 +2971,22 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(4), 2, + STATE(14), 2, sym_statement, aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -2902,18 +2994,268 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1332] = 2, - ACTIONS(206), 18, + [1623] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(13), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1698] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(15), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1773] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(10), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1848] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(6), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1923] = 10, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + ACTIONS(174), 1, + anon_sym_DASH_GT, + STATE(65), 1, + aux_sym_yield_repeat1, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(170), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(172), 14, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, anon_sym_select, anon_sym_insert, anon_sym_if, @@ -2922,7 +3264,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - ACTIONS(204), 19, + [1979] = 2, + ACTIONS(178), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(176), 19, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2942,7 +3302,155 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_LPAREN, anon_sym_RPAREN, - [1374] = 20, + [2019] = 19, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(180), 1, + sym_identifier, + ACTIONS(182), 1, + anon_sym_if, + ACTIONS(184), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + STATE(71), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2093] = 2, + ACTIONS(188), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(186), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2133] = 19, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(180), 1, + sym_identifier, + ACTIONS(182), 1, + anon_sym_if, + ACTIONS(184), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + STATE(81), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2207] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2967,32 +3475,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_loop, ACTIONS(31), 1, anon_sym_match, - ACTIONS(208), 1, - anon_sym_RBRACE, - STATE(40), 1, + STATE(52), 1, sym_expression, + STATE(82), 1, + sym_statement, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -3000,8 +3505,363 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1452] = 2, - ACTIONS(212), 18, + [2281] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + STATE(116), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2355] = 2, + ACTIONS(192), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(190), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2395] = 2, + ACTIONS(196), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(194), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2435] = 2, + ACTIONS(200), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(198), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2475] = 2, + ACTIONS(204), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(202), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2515] = 2, + ACTIONS(208), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(206), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2555] = 19, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(31), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + STATE(85), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2629] = 19, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(29), 1, + anon_sym_loop, + ACTIONS(180), 1, + sym_identifier, + ACTIONS(182), 1, + anon_sym_if, + ACTIONS(184), 1, + anon_sym_match, + STATE(52), 1, + sym_expression, + STATE(74), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + STATE(78), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2703] = 2, + ACTIONS(212), 16, sym_identifier, sym_integer, anon_sym_true, @@ -3010,8 +3870,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_DASH, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, anon_sym_select, anon_sym_insert, anon_sym_if, @@ -3040,9 +3898,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP_AMP, anon_sym_LPAREN, anon_sym_RPAREN, - [1494] = 20, - ACTIONS(3), 1, - sym_identifier, + [2743] = 19, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3057,1302 +3913,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(23), 1, anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(214), 1, - anon_sym_RBRACE, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1572] = 20, - ACTIONS(3), 1, + ACTIONS(180), 1, sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, + ACTIONS(182), 1, anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(184), 1, anon_sym_match, - ACTIONS(216), 1, - anon_sym_RBRACE, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1650] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(218), 1, - anon_sym_RBRACE, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(4), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1728] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(10), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1803] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(21), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1878] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(25), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1953] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(12), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2028] = 2, - ACTIONS(220), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(222), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2069] = 2, - ACTIONS(224), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(226), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2110] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(29), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2185] = 2, - ACTIONS(228), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(230), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2226] = 2, - ACTIONS(176), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(178), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2267] = 19, - ACTIONS(196), 1, - anon_sym_DASH, - ACTIONS(232), 1, - sym_identifier, - ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, - anon_sym_LPAREN, - STATE(68), 1, - aux_sym_match_repeat1, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - STATE(113), 1, - sym_expression, - ACTIONS(236), 2, - sym_float, - sym_string, - ACTIONS(238), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(198), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(200), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [2342] = 9, - ACTIONS(196), 1, - anon_sym_DASH, - ACTIONS(254), 1, - anon_sym_DASH_GT, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(198), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(200), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(250), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(252), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2397] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(28), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2472] = 8, - ACTIONS(196), 1, - anon_sym_DASH, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(198), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(200), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(256), 9, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(258), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2525] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(27), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2600] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(8), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2675] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(20), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2750] = 19, - ACTIONS(196), 1, - anon_sym_DASH, - ACTIONS(232), 1, - sym_identifier, - ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, - anon_sym_LPAREN, - STATE(63), 1, - aux_sym_match_repeat1, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - STATE(113), 1, - sym_expression, - ACTIONS(236), 2, - sym_float, - sym_string, - ACTIONS(238), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(198), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(200), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [2825] = 4, - ACTIONS(260), 1, - anon_sym_EQ, - ACTIONS(262), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(176), 15, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(178), 18, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2870] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - STATE(85), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2944] = 8, - ACTIONS(196), 1, - anon_sym_DASH, - STATE(76), 1, - sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(198), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(200), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(264), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(266), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2996] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - STATE(71), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3070] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - STATE(127), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3144] = 19, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(40), 1, + STATE(52), 1, sym_expression, STATE(82), 1, sym_statement, @@ -4362,19 +3933,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -4382,7 +3953,9 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [3218] = 19, + [2817] = 19, + ACTIONS(3), 1, + sym_identifier, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -4397,19 +3970,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, ACTIONS(23), 1, anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, ACTIONS(27), 1, anon_sym_LPAREN, ACTIONS(29), 1, anon_sym_loop, - ACTIONS(268), 1, - sym_identifier, - ACTIONS(270), 1, - anon_sym_if, - ACTIONS(272), 1, + ACTIONS(31), 1, anon_sym_match, - STATE(40), 1, + STATE(52), 1, sym_expression, - STATE(71), 1, + STATE(74), 1, sym_statement, ACTIONS(9), 2, sym_float, @@ -4417,19 +3988,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - STATE(73), 7, + STATE(78), 7, sym_yield, sym_assignment, sym_select, @@ -4437,178 +4008,513 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [3292] = 19, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, + [2891] = 4, + ACTIONS(218), 1, + anon_sym_EQ, + ACTIONS(220), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(214), 15, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(268), 1, + ACTIONS(216), 17, sym_identifier, - ACTIONS(270), 1, - anon_sym_if, - ACTIONS(272), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - STATE(85), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3366] = 19, - ACTIONS(7), 1, sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(268), 1, - sym_identifier, - ACTIONS(270), 1, - anon_sym_if, - ACTIONS(272), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - STATE(84), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3440] = 19, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(268), 1, - sym_identifier, - ACTIONS(270), 1, - anon_sym_if, - ACTIONS(272), 1, - anon_sym_match, - STATE(40), 1, - sym_expression, - STATE(83), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(73), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3514] = 4, - ACTIONS(178), 4, + anon_sym_PLUS, anon_sym_DASH, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(176), 7, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [2935] = 2, + ACTIONS(224), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(222), 19, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2975] = 19, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + STATE(61), 1, + aux_sym_match_repeat1, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + STATE(118), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3048] = 8, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(244), 9, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(246), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3099] = 2, + ACTIONS(216), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(214), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [3138] = 2, + ACTIONS(250), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(248), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [3177] = 19, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + STATE(58), 1, + aux_sym_match_repeat1, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + STATE(118), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3250] = 9, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + ACTIONS(256), 1, + anon_sym_DASH_GT, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(252), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(254), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3303] = 2, + ACTIONS(260), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(258), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [3342] = 4, + ACTIONS(262), 1, + anon_sym_EQ, + ACTIONS(264), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(214), 15, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + ACTIONS(216), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3385] = 2, + ACTIONS(268), 16, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + ACTIONS(266), 18, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_LPAREN, + anon_sym_RPAREN, + [3424] = 8, + ACTIONS(164), 1, + anon_sym_DASH, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + STATE(75), 1, + sym_logic_operator, + STATE(76), 1, + sym_math_operator, + ACTIONS(166), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(162), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(270), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(272), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3474] = 4, + ACTIONS(216), 2, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + ACTIONS(214), 7, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -4640,169 +4546,352 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [3556] = 9, - ACTIONS(196), 1, + [3514] = 14, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + ACTIONS(278), 1, + anon_sym_catch, + STATE(63), 1, + aux_sym_match_repeat1, + STATE(118), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3567] = 4, + ACTIONS(280), 1, + anon_sym_DASH_GT, + STATE(59), 1, + aux_sym_yield_repeat1, + ACTIONS(244), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(246), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3600] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + ACTIONS(285), 1, + anon_sym_RPAREN, + STATE(66), 1, + sym_expression, + STATE(68), 1, + aux_sym_function_call_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3653] = 14, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + ACTIONS(287), 1, + anon_sym_catch, + STATE(63), 1, + aux_sym_match_repeat1, + STATE(118), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3706] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + ACTIONS(289), 1, + anon_sym_RPAREN, + STATE(60), 1, + aux_sym_function_call_repeat1, + STATE(66), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3759] = 14, + ACTIONS(291), 1, + sym_identifier, + ACTIONS(294), 1, + sym_integer, + ACTIONS(303), 1, + anon_sym_LBRACK, + ACTIONS(306), 1, + anon_sym_function, + ACTIONS(309), 1, + anon_sym_LBRACE, + ACTIONS(312), 1, + anon_sym_table, + ACTIONS(315), 1, + anon_sym_LPAREN, + ACTIONS(318), 1, + anon_sym_catch, + STATE(63), 1, + aux_sym_match_repeat1, + STATE(118), 1, + sym_expression, + ACTIONS(297), 2, + sym_float, + sym_string, + ACTIONS(300), 2, + anon_sym_true, + anon_sym_false, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3812] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + ACTIONS(320), 1, + anon_sym_RPAREN, + STATE(66), 1, + sym_expression, + STATE(67), 1, + aux_sym_function_call_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [3865] = 4, + ACTIONS(174), 1, + anon_sym_DASH_GT, + STATE(59), 1, + aux_sym_yield_repeat1, + ACTIONS(322), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(324), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3898] = 9, + ACTIONS(164), 1, anon_sym_DASH, - ACTIONS(282), 1, + ACTIONS(168), 1, + anon_sym_PIPE_PIPE, + ACTIONS(330), 1, anon_sym_COMMA, + STATE(75), 1, + sym_logic_operator, STATE(76), 1, sym_math_operator, - STATE(91), 1, - sym_logic_operator, - ACTIONS(198), 3, + ACTIONS(166), 3, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(200), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(194), 4, + ACTIONS(162), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(278), 6, + ACTIONS(326), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(280), 6, + ACTIONS(328), 6, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, - [3601] = 4, - ACTIONS(192), 1, - anon_sym_DASH_GT, - STATE(67), 1, - aux_sym_yield_repeat1, - ACTIONS(284), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(286), 14, - sym_identifier, + [3941] = 14, + ACTIONS(7), 1, sym_integer, - anon_sym_true, - anon_sym_false, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3634] = 14, - ACTIONS(288), 1, - sym_identifier, - ACTIONS(291), 1, - sym_integer, - ACTIONS(300), 1, - anon_sym_LBRACK, - ACTIONS(303), 1, - anon_sym_function, - ACTIONS(306), 1, + ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(309), 1, + ACTIONS(19), 1, anon_sym_table, - ACTIONS(312), 1, + ACTIONS(27), 1, anon_sym_LPAREN, - ACTIONS(315), 1, - anon_sym_catch, - STATE(60), 1, - aux_sym_match_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(294), 2, - sym_float, - sym_string, - ACTIONS(297), 2, - anon_sym_true, - anon_sym_false, - STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3687] = 14, - ACTIONS(317), 1, + ACTIONS(283), 1, sym_identifier, - ACTIONS(320), 1, - sym_integer, - ACTIONS(329), 1, - anon_sym_LBRACK, ACTIONS(332), 1, - anon_sym_function, - ACTIONS(335), 1, - anon_sym_LBRACE, - ACTIONS(338), 1, - anon_sym_table, - ACTIONS(341), 1, - anon_sym_LPAREN, - ACTIONS(344), 1, anon_sym_RPAREN, - STATE(58), 1, - sym_expression, - STATE(61), 1, - aux_sym_function_call_repeat1, - ACTIONS(323), 2, - sym_float, - sym_string, - ACTIONS(326), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3740] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - ACTIONS(348), 1, - anon_sym_RPAREN, - STATE(58), 1, - sym_expression, STATE(66), 1, + sym_expression, + STATE(68), 1, aux_sym_function_call_repeat1, ACTIONS(9), 2, sym_float, @@ -4810,243 +4899,58 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [3793] = 14, - ACTIONS(232), 1, + [3994] = 14, + ACTIONS(334), 1, sym_identifier, - ACTIONS(234), 1, + ACTIONS(337), 1, sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, - anon_sym_LPAREN, - ACTIONS(350), 1, - anon_sym_catch, - STATE(60), 1, - aux_sym_match_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(236), 2, - sym_float, - sym_string, - ACTIONS(238), 2, - anon_sym_true, - anon_sym_false, - STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3846] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, ACTIONS(346), 1, - sym_identifier, + anon_sym_LBRACK, + ACTIONS(349), 1, + anon_sym_function, ACTIONS(352), 1, - anon_sym_RPAREN, - STATE(58), 1, - sym_expression, - STATE(61), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3899] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(19), 1, + ACTIONS(355), 1, anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - ACTIONS(354), 1, - anon_sym_RPAREN, - STATE(58), 1, - sym_expression, - STATE(64), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [3952] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - ACTIONS(356), 1, - anon_sym_RPAREN, - STATE(58), 1, - sym_expression, - STATE(61), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4005] = 4, ACTIONS(358), 1, - anon_sym_DASH_GT, - STATE(67), 1, - aux_sym_yield_repeat1, - ACTIONS(256), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(258), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4038] = 14, - ACTIONS(232), 1, - sym_identifier, - ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, anon_sym_LPAREN, ACTIONS(361), 1, - anon_sym_catch, - STATE(60), 1, - aux_sym_match_repeat1, - STATE(113), 1, + anon_sym_RPAREN, + STATE(66), 1, sym_expression, - ACTIONS(236), 2, + STATE(68), 1, + aux_sym_function_call_repeat1, + ACTIONS(340), 2, sym_float, sym_string, - ACTIONS(238), 2, + ACTIONS(343), 2, anon_sym_true, anon_sym_false, - STATE(122), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(124), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4091] = 3, + [4047] = 3, ACTIONS(367), 1, anon_sym_where, ACTIONS(363), 8, @@ -5073,7 +4977,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4121] = 3, + [4077] = 3, ACTIONS(373), 1, anon_sym_where, ACTIONS(369), 8, @@ -5100,7 +5004,328 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4151] = 2, + [4107] = 3, + ACTIONS(379), 1, + anon_sym_else, + ACTIONS(375), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(377), 13, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4136] = 12, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + STATE(112), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4183] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + STATE(51), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4230] = 2, + ACTIONS(381), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(383), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4257] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4304] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + STATE(21), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4351] = 12, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + STATE(106), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4398] = 2, + ACTIONS(252), 8, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(254), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4425] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + STATE(56), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4472] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + STATE(28), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4519] = 2, ACTIONS(375), 8, ts_builtin_sym_end, anon_sym_POUND, @@ -5125,8 +5350,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4178] = 2, - ACTIONS(379), 8, + [4546] = 2, + ACTIONS(385), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5135,7 +5360,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(381), 14, + ACTIONS(387), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5150,267 +5375,42 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4205] = 2, - ACTIONS(250), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(252), 14, + [4573] = 12, + ACTIONS(226), 1, sym_identifier, + ACTIONS(228), 1, sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4232] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - STATE(42), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4279] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - STATE(39), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4326] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - STATE(5), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4373] = 2, - ACTIONS(383), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(385), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4400] = 12, - ACTIONS(232), 1, - sym_identifier, ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(242), 1, + ACTIONS(236), 1, anon_sym_function, - ACTIONS(244), 1, + ACTIONS(238), 1, anon_sym_LBRACE, - ACTIONS(246), 1, + ACTIONS(240), 1, anon_sym_table, - ACTIONS(248), 1, + ACTIONS(242), 1, anon_sym_LPAREN, - STATE(118), 1, + STATE(108), 1, sym_expression, - ACTIONS(236), 2, + ACTIONS(230), 2, sym_float, sym_string, - ACTIONS(238), 2, + ACTIONS(232), 2, anon_sym_true, anon_sym_false, - STATE(122), 5, + STATE(120), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4447] = 12, - ACTIONS(232), 1, - sym_identifier, - ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, - anon_sym_LPAREN, - STATE(115), 1, - sym_expression, - ACTIONS(236), 2, - sym_float, - sym_string, - ACTIONS(238), 2, - anon_sym_true, - anon_sym_false, STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4494] = 12, - ACTIONS(232), 1, - sym_identifier, - ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, - anon_sym_LPAREN, - STATE(104), 1, - sym_expression, - ACTIONS(236), 2, - sym_float, - sym_string, - ACTIONS(238), 2, - anon_sym_true, - anon_sym_false, - STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4541] = 12, + [4620] = 12, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5423,9 +5423,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(27), 1, anon_sym_LPAREN, - ACTIONS(346), 1, + ACTIONS(283), 1, sym_identifier, - STATE(46), 1, + STATE(47), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -5433,20 +5433,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(38), 5, + STATE(49), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [4588] = 2, - ACTIONS(387), 8, + [4667] = 2, + ACTIONS(389), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5455,7 +5455,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(389), 14, + ACTIONS(391), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5470,8 +5470,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4615] = 2, - ACTIONS(391), 8, + [4694] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(27), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + sym_identifier, + STATE(48), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(49), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4741] = 2, + ACTIONS(393), 8, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5480,7 +5515,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(393), 14, + ACTIONS(395), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5495,33 +5530,42 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4642] = 3, - ACTIONS(395), 1, - anon_sym_else, - ACTIONS(391), 8, - ts_builtin_sym_end, - anon_sym_POUND, + [4768] = 12, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + STATE(124), 1, + sym_expression, + ACTIONS(230), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(393), 13, - sym_identifier, - sym_integer, + ACTIONS(232), 2, anon_sym_true, anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4671] = 2, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [4815] = 2, ACTIONS(397), 8, ts_builtin_sym_end, anon_sym_POUND, @@ -5546,77 +5590,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4698] = 12, - ACTIONS(232), 1, - sym_identifier, - ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, - anon_sym_LBRACK, - ACTIONS(242), 1, - anon_sym_function, - ACTIONS(244), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, - anon_sym_table, - ACTIONS(248), 1, - anon_sym_LPAREN, - STATE(114), 1, - sym_expression, - ACTIONS(236), 2, - sym_float, - sym_string, - ACTIONS(238), 2, - anon_sym_true, - anon_sym_false, - STATE(122), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(124), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4745] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - STATE(22), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4792] = 2, + [4842] = 2, ACTIONS(401), 8, ts_builtin_sym_end, anon_sym_POUND, @@ -5641,148 +5615,113 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4819] = 12, - ACTIONS(7), 1, + [4869] = 13, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - STATE(49), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4866] = 13, - ACTIONS(232), 1, - sym_identifier, ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(242), 1, + ACTIONS(236), 1, anon_sym_function, - ACTIONS(244), 1, + ACTIONS(238), 1, anon_sym_LBRACE, - ACTIONS(246), 1, + ACTIONS(240), 1, anon_sym_table, - ACTIONS(248), 1, + ACTIONS(242), 1, anon_sym_LPAREN, STATE(57), 1, sym_logic, - STATE(125), 1, + STATE(129), 1, sym_expression, - ACTIONS(236), 2, + ACTIONS(230), 2, sym_float, sym_string, - ACTIONS(238), 2, + ACTIONS(232), 2, anon_sym_true, anon_sym_false, - STATE(124), 4, + STATE(122), 4, sym_value, sym_math, sym_function_call, sym_tool_call, - STATE(122), 5, + STATE(120), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4915] = 12, - ACTIONS(7), 1, + [4918] = 12, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(346), 1, - sym_identifier, - STATE(6), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(38), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [4962] = 12, - ACTIONS(232), 1, - sym_identifier, ACTIONS(234), 1, - sym_integer, - ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(242), 1, + ACTIONS(236), 1, anon_sym_function, - ACTIONS(244), 1, + ACTIONS(238), 1, anon_sym_LBRACE, - ACTIONS(246), 1, + ACTIONS(240), 1, anon_sym_table, - ACTIONS(248), 1, + ACTIONS(242), 1, anon_sym_LPAREN, - STATE(99), 1, + STATE(117), 1, sym_expression, - ACTIONS(236), 2, + ACTIONS(230), 2, sym_float, sym_string, - ACTIONS(238), 2, + ACTIONS(232), 2, anon_sym_true, anon_sym_false, - STATE(122), 5, + STATE(120), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(124), 5, + STATE(122), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_tool_call, - [5009] = 2, + [4965] = 12, + ACTIONS(226), 1, + sym_identifier, + ACTIONS(228), 1, + sym_integer, + ACTIONS(234), 1, + anon_sym_LBRACK, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(238), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_table, + ACTIONS(242), 1, + anon_sym_LPAREN, + STATE(107), 1, + sym_expression, + ACTIONS(230), 2, + sym_float, + sym_string, + ACTIONS(232), 2, + anon_sym_true, + anon_sym_false, + STATE(120), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(122), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_tool_call, + [5012] = 2, ACTIONS(405), 7, ts_builtin_sym_end, anon_sym_POUND, @@ -5803,7 +5742,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_loop, anon_sym_match, - [5032] = 2, + [5035] = 2, ACTIONS(409), 7, ts_builtin_sym_end, anon_sym_POUND, @@ -5824,7 +5763,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_loop, anon_sym_match, - [5055] = 11, + [5058] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5837,9 +5776,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(419), 1, anon_sym_table, - STATE(98), 1, + STATE(99), 1, aux_sym_list_repeat1, - STATE(130), 1, + STATE(132), 1, sym_value, ACTIONS(9), 2, sym_float, @@ -5847,13 +5786,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(413), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5095] = 11, + [5098] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5866,9 +5805,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(421), 1, anon_sym_RBRACK, - STATE(98), 1, + STATE(99), 1, aux_sym_list_repeat1, - STATE(130), 1, + STATE(132), 1, sym_value, ACTIONS(9), 2, sym_float, @@ -5876,13 +5815,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(413), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5135] = 11, + [5138] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5895,9 +5834,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(423), 1, anon_sym_RBRACK, - STATE(98), 1, + STATE(99), 1, aux_sym_list_repeat1, - STATE(130), 1, + STATE(132), 1, sym_value, ACTIONS(9), 2, sym_float, @@ -5905,13 +5844,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(413), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5175] = 11, + [5178] = 11, ACTIONS(425), 1, sym_integer, ACTIONS(434), 1, @@ -5924,9 +5863,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(445), 1, anon_sym_table, - STATE(98), 1, + STATE(99), 1, aux_sym_list_repeat1, - STATE(130), 1, + STATE(132), 1, sym_value, ACTIONS(428), 2, sym_float, @@ -5934,33 +5873,67 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(431), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5215] = 3, - STATE(80), 1, - sym_logic_operator, - STATE(92), 1, - sym_math_operator, - ACTIONS(128), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5238] = 10, + [5218] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(417), 1, + anon_sym_function, + ACTIONS(419), 1, + anon_sym_table, + ACTIONS(448), 1, + anon_sym_RBRACE, + STATE(181), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(413), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [5255] = 10, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(417), 1, + anon_sym_function, + ACTIONS(419), 1, + anon_sym_table, + STATE(98), 1, + aux_sym_list_repeat1, + STATE(132), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(413), 2, + anon_sym_true, + anon_sym_false, + STATE(36), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [5292] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5973,7 +5946,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, STATE(96), 1, aux_sym_list_repeat1, - STATE(130), 1, + STATE(132), 1, sym_value, ACTIONS(9), 2, sym_float, @@ -5981,13 +5954,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(413), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5275] = 10, + [5329] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -6000,7 +5973,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, STATE(97), 1, aux_sym_list_repeat1, - STATE(130), 1, + STATE(132), 1, sym_value, ACTIONS(9), 2, sym_float, @@ -6008,87 +5981,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(413), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5312] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - ACTIONS(448), 1, - anon_sym_RBRACE, - STATE(198), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(413), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5349] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(417), 1, - anon_sym_function, - ACTIONS(419), 1, - anon_sym_table, - STATE(95), 1, - aux_sym_list_repeat1, - STATE(130), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(413), 2, - anon_sym_true, - anon_sym_false, - STATE(14), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5386] = 3, - STATE(80), 1, - sym_logic_operator, - STATE(92), 1, - sym_math_operator, - ACTIONS(132), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5409] = 10, + [5366] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -6101,7 +6000,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(450), 1, anon_sym_RBRACE, - STATE(184), 1, + STATE(188), 1, sym_value, ACTIONS(9), 2, sym_float, @@ -6109,13 +6008,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(413), 2, anon_sym_true, anon_sym_false, - STATE(14), 5, + STATE(36), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5446] = 9, + [5403] = 9, ACTIONS(452), 1, sym_integer, ACTIONS(458), 1, @@ -6126,7 +6025,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(464), 1, anon_sym_table, - STATE(171), 1, + STATE(163), 1, sym_value, ACTIONS(454), 2, sym_float, @@ -6134,14 +6033,38 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(456), 2, anon_sym_true, anon_sym_false, - STATE(167), 5, + STATE(172), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5480] = 1, - ACTIONS(210), 14, + [5437] = 5, + STATE(77), 1, + sym_logic_operator, + STATE(93), 1, + sym_math_operator, + ACTIONS(158), 3, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [5462] = 3, + STATE(77), 1, + sym_logic_operator, + STATE(93), 1, + sym_math_operator, + ACTIONS(154), 12, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6151,153 +6074,89 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, anon_sym_then, anon_sym_RPAREN, anon_sym_EQ_GT, - [5497] = 1, - ACTIONS(168), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5514] = 1, - ACTIONS(220), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5531] = 1, - ACTIONS(146), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5548] = 1, - ACTIONS(224), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5565] = 1, - ACTIONS(228), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5582] = 5, + [5483] = 5, ACTIONS(466), 1, - anon_sym_EQ_GT, - STATE(80), 1, + anon_sym_RPAREN, + STATE(77), 1, sym_logic_operator, - STATE(92), 1, + STATE(93), 1, sym_math_operator, - ACTIONS(194), 5, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [5506] = 1, + ACTIONS(190), 12, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(198), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - [5607] = 5, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5521] = 1, + ACTIONS(222), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5536] = 1, + ACTIONS(210), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5551] = 5, ACTIONS(468), 1, - anon_sym_RPAREN, - STATE(80), 1, + anon_sym_then, + STATE(77), 1, sym_logic_operator, - STATE(92), 1, + STATE(93), 1, sym_math_operator, - ACTIONS(194), 5, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(198), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - [5632] = 5, - ACTIONS(470), 1, - anon_sym_then, - STATE(80), 1, - sym_logic_operator, - STATE(92), 1, - sym_math_operator, - ACTIONS(194), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(198), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - [5657] = 1, - ACTIONS(160), 14, + [5574] = 1, + ACTIONS(266), 12, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6307,13 +6166,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, anon_sym_then, anon_sym_RPAREN, anon_sym_EQ_GT, - [5674] = 1, - ACTIONS(136), 14, + [5589] = 1, + ACTIONS(176), 12, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6323,33 +6180,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, anon_sym_then, anon_sym_RPAREN, anon_sym_EQ_GT, - [5691] = 5, - ACTIONS(472), 1, - anon_sym_then, - STATE(80), 1, - sym_logic_operator, - STATE(92), 1, - sym_math_operator, - ACTIONS(194), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(198), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - [5716] = 1, - ACTIONS(164), 14, + [5604] = 1, + ACTIONS(202), 12, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6359,132 +6194,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, anon_sym_then, anon_sym_RPAREN, anon_sym_EQ_GT, - [5733] = 1, - ACTIONS(204), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5750] = 1, - ACTIONS(152), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5767] = 1, - ACTIONS(156), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5784] = 1, - ACTIONS(172), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5801] = 1, - ACTIONS(176), 14, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - anon_sym_then, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [5818] = 4, - STATE(91), 1, - sym_logic_operator, - STATE(92), 1, - sym_math_operator, - ACTIONS(194), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(198), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - [5840] = 2, - ACTIONS(344), 6, + [5619] = 2, + ACTIONS(472), 5, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(474), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [5857] = 2, - ACTIONS(478), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(476), 7, + ACTIONS(470), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6492,13 +6212,138 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_table, anon_sym_catch, - [5874] = 2, - ACTIONS(482), 5, + [5636] = 5, + ACTIONS(474), 1, + anon_sym_then, + STATE(77), 1, + sym_logic_operator, + STATE(93), 1, + sym_math_operator, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [5659] = 5, + ACTIONS(476), 1, + anon_sym_EQ_GT, + STATE(77), 1, + sym_logic_operator, + STATE(93), 1, + sym_math_operator, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [5682] = 1, + ACTIONS(258), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5697] = 1, + ACTIONS(194), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5712] = 1, + ACTIONS(198), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5727] = 1, + ACTIONS(214), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5742] = 1, + ACTIONS(186), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5757] = 5, + ACTIONS(478), 1, + anon_sym_RPAREN, + STATE(77), 1, + sym_logic_operator, + STATE(93), 1, + sym_math_operator, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [5780] = 2, + ACTIONS(361), 6, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_LPAREN, + anon_sym_RPAREN, ACTIONS(480), 6, sym_identifier, sym_integer, @@ -6506,26 +6351,98 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_function, anon_sym_table, - [5890] = 2, - ACTIONS(486), 5, + [5797] = 1, + ACTIONS(150), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5812] = 1, + ACTIONS(206), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5827] = 1, + ACTIONS(248), 12, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_then, + anon_sym_RPAREN, + anon_sym_EQ_GT, + [5842] = 4, + STATE(75), 1, + sym_logic_operator, + STATE(93), 1, + sym_math_operator, + ACTIONS(166), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(162), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + [5862] = 2, + ACTIONS(484), 5, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_LPAREN, - ACTIONS(484), 6, + ACTIONS(482), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - [5906] = 3, - ACTIONS(488), 1, + [5878] = 2, + ACTIONS(488), 5, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(486), 6, + sym_identifier, sym_integer, - ACTIONS(492), 1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [5894] = 3, + ACTIONS(490), 1, + sym_integer, + ACTIONS(494), 1, anon_sym_COMMA, - ACTIONS(490), 9, + ACTIONS(492), 9, sym_float, sym_string, anon_sym_true, @@ -6535,8 +6452,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_LBRACE, anon_sym_table, - [5924] = 2, - ACTIONS(494), 1, + [5912] = 2, + ACTIONS(496), 1, sym_integer, ACTIONS(437), 9, sym_float, @@ -6548,285 +6465,295 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_LBRACE, anon_sym_table, - [5939] = 4, - ACTIONS(496), 1, - sym_identifier, + [5927] = 4, ACTIONS(498), 1, - anon_sym_input, + sym_identifier, ACTIONS(500), 1, - anon_sym_output, - STATE(200), 2, - sym__tool, - sym_output, - [5953] = 3, + anon_sym_input, ACTIONS(502), 1, + anon_sym_output, + STATE(194), 3, + sym__tool, + sym_input, + sym_output, + [5942] = 4, + ACTIONS(500), 1, + anon_sym_input, + ACTIONS(502), 1, + anon_sym_output, + ACTIONS(504), 1, + sym_identifier, + STATE(204), 3, + sym__tool, + sym_input, + sym_output, + [5957] = 3, + ACTIONS(506), 1, anon_sym_LBRACK, - ACTIONS(505), 2, + ACTIONS(509), 2, anon_sym_RBRACE, anon_sym_into, - STATE(133), 2, + STATE(136), 2, sym_list, aux_sym_table_repeat1, - [5965] = 4, - ACTIONS(500), 1, - anon_sym_output, - ACTIONS(507), 1, - sym_identifier, - ACTIONS(509), 1, - anon_sym_input, - STATE(187), 2, - sym__tool, - sym_output, - [5979] = 3, + [5969] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(511), 1, anon_sym_RBRACE, - STATE(133), 2, + STATE(140), 2, sym_list, aux_sym_table_repeat1, - [5990] = 3, + [5980] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(513), 1, anon_sym_RBRACE, - STATE(140), 2, + STATE(136), 2, sym_list, aux_sym_table_repeat1, - [6001] = 3, + [5991] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(515), 1, anon_sym_RBRACE, - STATE(135), 2, + STATE(138), 2, sym_list, aux_sym_table_repeat1, - [6012] = 3, + [6002] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(517), 1, anon_sym_RBRACE, - STATE(133), 2, + STATE(136), 2, sym_list, aux_sym_table_repeat1, - [6023] = 3, + [6013] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(519), 1, anon_sym_RBRACE, - STATE(138), 2, + STATE(136), 2, sym_list, aux_sym_table_repeat1, - [6034] = 3, + [6024] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(521), 1, anon_sym_RBRACE, - STATE(133), 2, + STATE(141), 2, sym_list, aux_sym_table_repeat1, - [6045] = 3, + [6035] = 3, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(523), 1, anon_sym_into, - STATE(133), 2, + STATE(136), 2, sym_list, aux_sym_table_repeat1, - [6056] = 3, - ACTIONS(525), 1, - sym_identifier, + [6046] = 2, ACTIONS(527), 1, - anon_sym_RBRACE, - STATE(157), 1, - aux_sym_map_repeat1, - [6066] = 3, + anon_sym_COMMA, + ACTIONS(525), 2, + sym_identifier, + anon_sym_GT, + [6054] = 3, ACTIONS(529), 1, sym_identifier, ACTIONS(531), 1, anon_sym_GT, - STATE(153), 1, + STATE(160), 1, aux_sym_function_repeat1, - [6076] = 3, + [6064] = 3, ACTIONS(529), 1, sym_identifier, ACTIONS(533), 1, anon_sym_GT, - STATE(149), 1, + STATE(145), 1, aux_sym_function_repeat1, - [6086] = 3, - ACTIONS(529), 1, - sym_identifier, + [6074] = 3, ACTIONS(535), 1, - anon_sym_GT, - STATE(156), 1, - aux_sym_function_repeat1, - [6096] = 3, - ACTIONS(529), 1, sym_identifier, ACTIONS(537), 1, - anon_sym_GT, - STATE(156), 1, - aux_sym_function_repeat1, - [6106] = 2, + anon_sym_RBRACE, + STATE(155), 1, + aux_sym_map_repeat1, + [6084] = 2, ACTIONS(13), 1, anon_sym_LBRACK, - STATE(141), 2, + STATE(143), 2, sym_list, aux_sym_table_repeat1, - [6114] = 3, + [6092] = 3, ACTIONS(529), 1, sym_identifier, ACTIONS(539), 1, anon_sym_GT, - STATE(154), 1, + STATE(160), 1, aux_sym_function_repeat1, - [6124] = 3, - ACTIONS(529), 1, + [6102] = 3, + ACTIONS(535), 1, sym_identifier, ACTIONS(541), 1, - anon_sym_GT, - STATE(156), 1, - aux_sym_function_repeat1, - [6134] = 3, + anon_sym_RBRACE, + STATE(152), 1, + aux_sym_map_repeat1, + [6112] = 3, ACTIONS(529), 1, sym_identifier, ACTIONS(543), 1, anon_sym_GT, - STATE(156), 1, + STATE(157), 1, aux_sym_function_repeat1, - [6144] = 3, - ACTIONS(525), 1, + [6122] = 3, + ACTIONS(535), 1, sym_identifier, ACTIONS(545), 1, anon_sym_RBRACE, - STATE(152), 1, + STATE(155), 1, aux_sym_map_repeat1, - [6154] = 3, - ACTIONS(525), 1, + [6132] = 3, + ACTIONS(529), 1, sym_identifier, ACTIONS(547), 1, - anon_sym_RBRACE, - STATE(157), 1, - aux_sym_map_repeat1, - [6164] = 3, - ACTIONS(529), 1, + anon_sym_GT, + STATE(160), 1, + aux_sym_function_repeat1, + [6142] = 3, + ACTIONS(535), 1, sym_identifier, ACTIONS(549), 1, - anon_sym_GT, - STATE(156), 1, - aux_sym_function_repeat1, - [6174] = 3, + anon_sym_RBRACE, + STATE(147), 1, + aux_sym_map_repeat1, + [6152] = 3, + ACTIONS(551), 1, + sym_identifier, + ACTIONS(554), 1, + anon_sym_RBRACE, + STATE(155), 1, + aux_sym_map_repeat1, + [6162] = 3, ACTIONS(529), 1, sym_identifier, - ACTIONS(551), 1, + ACTIONS(556), 1, anon_sym_GT, - STATE(156), 1, + STATE(160), 1, aux_sym_function_repeat1, - [6184] = 3, - ACTIONS(525), 1, - sym_identifier, - ACTIONS(553), 1, - anon_sym_RBRACE, - STATE(142), 1, - aux_sym_map_repeat1, - [6194] = 3, - ACTIONS(555), 1, + [6172] = 3, + ACTIONS(529), 1, sym_identifier, ACTIONS(558), 1, anon_sym_GT, - STATE(156), 1, + STATE(160), 1, aux_sym_function_repeat1, - [6204] = 3, + [6182] = 3, + ACTIONS(529), 1, + sym_identifier, ACTIONS(560), 1, - sym_identifier, - ACTIONS(563), 1, - anon_sym_RBRACE, - STATE(157), 1, - aux_sym_map_repeat1, - [6214] = 3, - ACTIONS(525), 1, - sym_identifier, - ACTIONS(565), 1, - anon_sym_RBRACE, - STATE(157), 1, - aux_sym_map_repeat1, - [6224] = 2, - ACTIONS(569), 1, - anon_sym_COMMA, - ACTIONS(567), 2, - sym_identifier, anon_sym_GT, - [6232] = 3, - ACTIONS(525), 1, + STATE(159), 1, + aux_sym_function_repeat1, + [6192] = 3, + ACTIONS(529), 1, + sym_identifier, + ACTIONS(562), 1, + anon_sym_GT, + STATE(160), 1, + aux_sym_function_repeat1, + [6202] = 3, + ACTIONS(564), 1, + sym_identifier, + ACTIONS(567), 1, + anon_sym_GT, + STATE(160), 1, + aux_sym_function_repeat1, + [6212] = 3, + ACTIONS(535), 1, + sym_identifier, + ACTIONS(569), 1, + anon_sym_RBRACE, + STATE(155), 1, + aux_sym_map_repeat1, + [6222] = 3, + ACTIONS(535), 1, sym_identifier, ACTIONS(571), 1, anon_sym_RBRACE, - STATE(158), 1, + STATE(161), 1, aux_sym_map_repeat1, - [6242] = 1, - ACTIONS(210), 2, + [6232] = 1, + ACTIONS(573), 2, sym_identifier, anon_sym_RBRACE, - [6247] = 1, - ACTIONS(172), 2, + [6237] = 2, + ACTIONS(529), 1, + sym_identifier, + STATE(149), 1, + aux_sym_function_repeat1, + [6244] = 1, + ACTIONS(202), 2, sym_identifier, anon_sym_RBRACE, - [6252] = 2, + [6249] = 1, + ACTIONS(190), 2, + sym_identifier, + anon_sym_RBRACE, + [6254] = 1, + ACTIONS(567), 2, + sym_identifier, + anon_sym_GT, + [6259] = 1, + ACTIONS(150), 2, + sym_identifier, + anon_sym_RBRACE, + [6264] = 2, ACTIONS(529), 1, sym_identifier, - STATE(145), 1, + STATE(153), 1, aux_sym_function_repeat1, - [6259] = 2, - ACTIONS(529), 1, + [6271] = 1, + ACTIONS(186), 2, sym_identifier, - STATE(150), 1, - aux_sym_function_repeat1, - [6266] = 2, - ACTIONS(573), 1, - anon_sym_LT, + anon_sym_RBRACE, + [6276] = 1, + ACTIONS(198), 2, + sym_identifier, + anon_sym_RBRACE, + [6281] = 1, + ACTIONS(194), 2, + sym_identifier, + anon_sym_RBRACE, + [6286] = 2, ACTIONS(575), 1, + anon_sym_LT, + ACTIONS(577), 1, anon_sym_LBRACE, - [6273] = 2, - ACTIONS(529), 1, - sym_identifier, - STATE(146), 1, - aux_sym_function_repeat1, - [6280] = 1, - ACTIONS(156), 2, + [6293] = 1, + ACTIONS(176), 2, sym_identifier, anon_sym_RBRACE, - [6285] = 1, - ACTIONS(164), 2, - sym_identifier, - anon_sym_RBRACE, - [6290] = 1, - ACTIONS(152), 2, - sym_identifier, - anon_sym_RBRACE, - [6295] = 1, - ACTIONS(168), 2, - sym_identifier, - anon_sym_RBRACE, - [6300] = 1, - ACTIONS(577), 2, - sym_identifier, - anon_sym_RBRACE, - [6305] = 2, + [6298] = 2, ACTIONS(579), 1, anon_sym_LT, ACTIONS(581), 1, anon_sym_LBRACE, - [6312] = 1, - ACTIONS(558), 2, + [6305] = 1, + ACTIONS(206), 2, sym_identifier, - anon_sym_GT, + anon_sym_RBRACE, + [6310] = 2, + ACTIONS(529), 1, + sym_identifier, + STATE(156), 1, + aux_sym_function_repeat1, [6317] = 1, - ACTIONS(204), 2, + ACTIONS(222), 2, sym_identifier, anon_sym_RBRACE, [6322] = 1, - ACTIONS(146), 2, + ACTIONS(210), 2, sym_identifier, anon_sym_RBRACE, [6327] = 2, @@ -6835,85 +6762,77 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(585), 1, anon_sym_LBRACE, [6334] = 1, - ACTIONS(160), 2, - sym_identifier, + ACTIONS(450), 1, anon_sym_RBRACE, - [6339] = 1, - ACTIONS(136), 2, - sym_identifier, - anon_sym_RBRACE, - [6344] = 1, + [6338] = 1, ACTIONS(587), 1, - aux_sym_comment_token1, - [6348] = 1, + anon_sym_LBRACE, + [6342] = 1, ACTIONS(589), 1, - anon_sym_EQ, - [6352] = 1, + ts_builtin_sym_end, + [6346] = 1, ACTIONS(591), 1, anon_sym_LBRACE, - [6356] = 1, + [6350] = 1, ACTIONS(593), 1, - sym_identifier, - [6360] = 1, - ACTIONS(595), 1, anon_sym_LBRACE, - [6364] = 1, - ACTIONS(448), 1, - anon_sym_RBRACE, - [6368] = 1, + [6354] = 1, + ACTIONS(595), 1, + anon_sym_EQ, + [6358] = 1, ACTIONS(597), 1, anon_sym_LBRACE, - [6372] = 1, + [6362] = 1, ACTIONS(599), 1, - sym_identifier, - [6376] = 1, + anon_sym_RBRACE, + [6366] = 1, ACTIONS(601), 1, - anon_sym_RPAREN, - [6380] = 1, + anon_sym_from, + [6370] = 1, ACTIONS(603), 1, anon_sym_LBRACE, - [6384] = 1, + [6374] = 1, ACTIONS(605), 1, - ts_builtin_sym_end, - [6388] = 1, + anon_sym_LBRACE, + [6378] = 1, ACTIONS(607), 1, anon_sym_LBRACE, - [6392] = 1, + [6382] = 1, ACTIONS(609), 1, - anon_sym_LT, - [6396] = 1, + sym_identifier, + [6386] = 1, ACTIONS(611), 1, - anon_sym_LBRACE, - [6400] = 1, + anon_sym_RPAREN, + [6390] = 1, ACTIONS(613), 1, anon_sym_LBRACE, - [6404] = 1, + [6394] = 1, ACTIONS(615), 1, - anon_sym_LBRACE, - [6408] = 1, - ACTIONS(617), 1, sym_identifier, - [6412] = 1, + [6398] = 1, + ACTIONS(617), 1, + anon_sym_LT, + [6402] = 1, ACTIONS(619), 1, - anon_sym_from, - [6416] = 1, + sym_identifier, + [6406] = 1, ACTIONS(621), 1, anon_sym_LBRACE, - [6420] = 1, + [6410] = 1, ACTIONS(623), 1, - anon_sym_RBRACE, - [6424] = 1, + anon_sym_LBRACE, + [6414] = 1, ACTIONS(625), 1, anon_sym_LT, - [6428] = 1, + [6418] = 1, ACTIONS(627), 1, - anon_sym_RPAREN, - [6432] = 1, + aux_sym_comment_token1, + [6422] = 1, ACTIONS(629), 1, anon_sym_LT, - [6436] = 1, + [6426] = 1, ACTIONS(631), 1, - anon_sym_LBRACE, + anon_sym_RPAREN, }; static const uint32_t ts_small_parse_table_map[] = { @@ -6921,494 +6840,496 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(3)] = 85, [SMALL_STATE(4)] = 170, [SMALL_STATE(5)] = 251, - [SMALL_STATE(6)] = 298, - [SMALL_STATE(7)] = 345, - [SMALL_STATE(8)] = 388, - [SMALL_STATE(9)] = 466, - [SMALL_STATE(10)] = 544, - [SMALL_STATE(11)] = 622, - [SMALL_STATE(12)] = 664, - [SMALL_STATE(13)] = 742, - [SMALL_STATE(14)] = 784, - [SMALL_STATE(15)] = 826, - [SMALL_STATE(16)] = 868, - [SMALL_STATE(17)] = 910, - [SMALL_STATE(18)] = 952, - [SMALL_STATE(19)] = 994, - [SMALL_STATE(20)] = 1040, - [SMALL_STATE(21)] = 1118, - [SMALL_STATE(22)] = 1196, - [SMALL_STATE(23)] = 1254, - [SMALL_STATE(24)] = 1332, - [SMALL_STATE(25)] = 1374, - [SMALL_STATE(26)] = 1452, - [SMALL_STATE(27)] = 1494, - [SMALL_STATE(28)] = 1572, - [SMALL_STATE(29)] = 1650, - [SMALL_STATE(30)] = 1728, - [SMALL_STATE(31)] = 1803, - [SMALL_STATE(32)] = 1878, - [SMALL_STATE(33)] = 1953, - [SMALL_STATE(34)] = 2028, - [SMALL_STATE(35)] = 2069, - [SMALL_STATE(36)] = 2110, - [SMALL_STATE(37)] = 2185, - [SMALL_STATE(38)] = 2226, - [SMALL_STATE(39)] = 2267, - [SMALL_STATE(40)] = 2342, - [SMALL_STATE(41)] = 2397, - [SMALL_STATE(42)] = 2472, - [SMALL_STATE(43)] = 2525, - [SMALL_STATE(44)] = 2600, - [SMALL_STATE(45)] = 2675, - [SMALL_STATE(46)] = 2750, - [SMALL_STATE(47)] = 2825, - [SMALL_STATE(48)] = 2870, - [SMALL_STATE(49)] = 2944, - [SMALL_STATE(50)] = 2996, - [SMALL_STATE(51)] = 3070, - [SMALL_STATE(52)] = 3144, - [SMALL_STATE(53)] = 3218, - [SMALL_STATE(54)] = 3292, - [SMALL_STATE(55)] = 3366, - [SMALL_STATE(56)] = 3440, - [SMALL_STATE(57)] = 3514, - [SMALL_STATE(58)] = 3556, - [SMALL_STATE(59)] = 3601, - [SMALL_STATE(60)] = 3634, - [SMALL_STATE(61)] = 3687, - [SMALL_STATE(62)] = 3740, - [SMALL_STATE(63)] = 3793, - [SMALL_STATE(64)] = 3846, - [SMALL_STATE(65)] = 3899, - [SMALL_STATE(66)] = 3952, - [SMALL_STATE(67)] = 4005, - [SMALL_STATE(68)] = 4038, - [SMALL_STATE(69)] = 4091, - [SMALL_STATE(70)] = 4121, - [SMALL_STATE(71)] = 4151, - [SMALL_STATE(72)] = 4178, - [SMALL_STATE(73)] = 4205, - [SMALL_STATE(74)] = 4232, - [SMALL_STATE(75)] = 4279, - [SMALL_STATE(76)] = 4326, - [SMALL_STATE(77)] = 4373, - [SMALL_STATE(78)] = 4400, - [SMALL_STATE(79)] = 4447, - [SMALL_STATE(80)] = 4494, - [SMALL_STATE(81)] = 4541, - [SMALL_STATE(82)] = 4588, - [SMALL_STATE(83)] = 4615, - [SMALL_STATE(84)] = 4642, - [SMALL_STATE(85)] = 4671, - [SMALL_STATE(86)] = 4698, - [SMALL_STATE(87)] = 4745, - [SMALL_STATE(88)] = 4792, - [SMALL_STATE(89)] = 4819, - [SMALL_STATE(90)] = 4866, - [SMALL_STATE(91)] = 4915, - [SMALL_STATE(92)] = 4962, - [SMALL_STATE(93)] = 5009, - [SMALL_STATE(94)] = 5032, - [SMALL_STATE(95)] = 5055, - [SMALL_STATE(96)] = 5095, - [SMALL_STATE(97)] = 5135, - [SMALL_STATE(98)] = 5175, - [SMALL_STATE(99)] = 5215, - [SMALL_STATE(100)] = 5238, - [SMALL_STATE(101)] = 5275, - [SMALL_STATE(102)] = 5312, - [SMALL_STATE(103)] = 5349, - [SMALL_STATE(104)] = 5386, - [SMALL_STATE(105)] = 5409, - [SMALL_STATE(106)] = 5446, - [SMALL_STATE(107)] = 5480, - [SMALL_STATE(108)] = 5497, - [SMALL_STATE(109)] = 5514, - [SMALL_STATE(110)] = 5531, - [SMALL_STATE(111)] = 5548, - [SMALL_STATE(112)] = 5565, - [SMALL_STATE(113)] = 5582, - [SMALL_STATE(114)] = 5607, - [SMALL_STATE(115)] = 5632, - [SMALL_STATE(116)] = 5657, - [SMALL_STATE(117)] = 5674, - [SMALL_STATE(118)] = 5691, - [SMALL_STATE(119)] = 5716, - [SMALL_STATE(120)] = 5733, - [SMALL_STATE(121)] = 5750, - [SMALL_STATE(122)] = 5767, - [SMALL_STATE(123)] = 5784, - [SMALL_STATE(124)] = 5801, - [SMALL_STATE(125)] = 5818, - [SMALL_STATE(126)] = 5840, - [SMALL_STATE(127)] = 5857, - [SMALL_STATE(128)] = 5874, - [SMALL_STATE(129)] = 5890, - [SMALL_STATE(130)] = 5906, - [SMALL_STATE(131)] = 5924, - [SMALL_STATE(132)] = 5939, - [SMALL_STATE(133)] = 5953, - [SMALL_STATE(134)] = 5965, - [SMALL_STATE(135)] = 5979, - [SMALL_STATE(136)] = 5990, - [SMALL_STATE(137)] = 6001, - [SMALL_STATE(138)] = 6012, - [SMALL_STATE(139)] = 6023, - [SMALL_STATE(140)] = 6034, - [SMALL_STATE(141)] = 6045, - [SMALL_STATE(142)] = 6056, - [SMALL_STATE(143)] = 6066, - [SMALL_STATE(144)] = 6076, - [SMALL_STATE(145)] = 6086, - [SMALL_STATE(146)] = 6096, - [SMALL_STATE(147)] = 6106, - [SMALL_STATE(148)] = 6114, - [SMALL_STATE(149)] = 6124, - [SMALL_STATE(150)] = 6134, - [SMALL_STATE(151)] = 6144, - [SMALL_STATE(152)] = 6154, - [SMALL_STATE(153)] = 6164, - [SMALL_STATE(154)] = 6174, - [SMALL_STATE(155)] = 6184, - [SMALL_STATE(156)] = 6194, - [SMALL_STATE(157)] = 6204, - [SMALL_STATE(158)] = 6214, - [SMALL_STATE(159)] = 6224, - [SMALL_STATE(160)] = 6232, - [SMALL_STATE(161)] = 6242, - [SMALL_STATE(162)] = 6247, - [SMALL_STATE(163)] = 6252, - [SMALL_STATE(164)] = 6259, - [SMALL_STATE(165)] = 6266, - [SMALL_STATE(166)] = 6273, - [SMALL_STATE(167)] = 6280, - [SMALL_STATE(168)] = 6285, - [SMALL_STATE(169)] = 6290, - [SMALL_STATE(170)] = 6295, - [SMALL_STATE(171)] = 6300, - [SMALL_STATE(172)] = 6305, - [SMALL_STATE(173)] = 6312, - [SMALL_STATE(174)] = 6317, - [SMALL_STATE(175)] = 6322, - [SMALL_STATE(176)] = 6327, - [SMALL_STATE(177)] = 6334, - [SMALL_STATE(178)] = 6339, - [SMALL_STATE(179)] = 6344, - [SMALL_STATE(180)] = 6348, - [SMALL_STATE(181)] = 6352, - [SMALL_STATE(182)] = 6356, - [SMALL_STATE(183)] = 6360, - [SMALL_STATE(184)] = 6364, - [SMALL_STATE(185)] = 6368, - [SMALL_STATE(186)] = 6372, - [SMALL_STATE(187)] = 6376, - [SMALL_STATE(188)] = 6380, - [SMALL_STATE(189)] = 6384, - [SMALL_STATE(190)] = 6388, - [SMALL_STATE(191)] = 6392, - [SMALL_STATE(192)] = 6396, - [SMALL_STATE(193)] = 6400, - [SMALL_STATE(194)] = 6404, - [SMALL_STATE(195)] = 6408, - [SMALL_STATE(196)] = 6412, - [SMALL_STATE(197)] = 6416, - [SMALL_STATE(198)] = 6420, - [SMALL_STATE(199)] = 6424, - [SMALL_STATE(200)] = 6428, - [SMALL_STATE(201)] = 6432, - [SMALL_STATE(202)] = 6436, + [SMALL_STATE(6)] = 329, + [SMALL_STATE(7)] = 407, + [SMALL_STATE(8)] = 485, + [SMALL_STATE(9)] = 563, + [SMALL_STATE(10)] = 641, + [SMALL_STATE(11)] = 719, + [SMALL_STATE(12)] = 797, + [SMALL_STATE(13)] = 875, + [SMALL_STATE(14)] = 953, + [SMALL_STATE(15)] = 1031, + [SMALL_STATE(16)] = 1109, + [SMALL_STATE(17)] = 1184, + [SMALL_STATE(18)] = 1259, + [SMALL_STATE(19)] = 1334, + [SMALL_STATE(20)] = 1409, + [SMALL_STATE(21)] = 1450, + [SMALL_STATE(22)] = 1495, + [SMALL_STATE(23)] = 1548, + [SMALL_STATE(24)] = 1623, + [SMALL_STATE(25)] = 1698, + [SMALL_STATE(26)] = 1773, + [SMALL_STATE(27)] = 1848, + [SMALL_STATE(28)] = 1923, + [SMALL_STATE(29)] = 1979, + [SMALL_STATE(30)] = 2019, + [SMALL_STATE(31)] = 2093, + [SMALL_STATE(32)] = 2133, + [SMALL_STATE(33)] = 2207, + [SMALL_STATE(34)] = 2281, + [SMALL_STATE(35)] = 2355, + [SMALL_STATE(36)] = 2395, + [SMALL_STATE(37)] = 2435, + [SMALL_STATE(38)] = 2475, + [SMALL_STATE(39)] = 2515, + [SMALL_STATE(40)] = 2555, + [SMALL_STATE(41)] = 2629, + [SMALL_STATE(42)] = 2703, + [SMALL_STATE(43)] = 2743, + [SMALL_STATE(44)] = 2817, + [SMALL_STATE(45)] = 2891, + [SMALL_STATE(46)] = 2935, + [SMALL_STATE(47)] = 2975, + [SMALL_STATE(48)] = 3048, + [SMALL_STATE(49)] = 3099, + [SMALL_STATE(50)] = 3138, + [SMALL_STATE(51)] = 3177, + [SMALL_STATE(52)] = 3250, + [SMALL_STATE(53)] = 3303, + [SMALL_STATE(54)] = 3342, + [SMALL_STATE(55)] = 3385, + [SMALL_STATE(56)] = 3424, + [SMALL_STATE(57)] = 3474, + [SMALL_STATE(58)] = 3514, + [SMALL_STATE(59)] = 3567, + [SMALL_STATE(60)] = 3600, + [SMALL_STATE(61)] = 3653, + [SMALL_STATE(62)] = 3706, + [SMALL_STATE(63)] = 3759, + [SMALL_STATE(64)] = 3812, + [SMALL_STATE(65)] = 3865, + [SMALL_STATE(66)] = 3898, + [SMALL_STATE(67)] = 3941, + [SMALL_STATE(68)] = 3994, + [SMALL_STATE(69)] = 4047, + [SMALL_STATE(70)] = 4077, + [SMALL_STATE(71)] = 4107, + [SMALL_STATE(72)] = 4136, + [SMALL_STATE(73)] = 4183, + [SMALL_STATE(74)] = 4230, + [SMALL_STATE(75)] = 4257, + [SMALL_STATE(76)] = 4304, + [SMALL_STATE(77)] = 4351, + [SMALL_STATE(78)] = 4398, + [SMALL_STATE(79)] = 4425, + [SMALL_STATE(80)] = 4472, + [SMALL_STATE(81)] = 4519, + [SMALL_STATE(82)] = 4546, + [SMALL_STATE(83)] = 4573, + [SMALL_STATE(84)] = 4620, + [SMALL_STATE(85)] = 4667, + [SMALL_STATE(86)] = 4694, + [SMALL_STATE(87)] = 4741, + [SMALL_STATE(88)] = 4768, + [SMALL_STATE(89)] = 4815, + [SMALL_STATE(90)] = 4842, + [SMALL_STATE(91)] = 4869, + [SMALL_STATE(92)] = 4918, + [SMALL_STATE(93)] = 4965, + [SMALL_STATE(94)] = 5012, + [SMALL_STATE(95)] = 5035, + [SMALL_STATE(96)] = 5058, + [SMALL_STATE(97)] = 5098, + [SMALL_STATE(98)] = 5138, + [SMALL_STATE(99)] = 5178, + [SMALL_STATE(100)] = 5218, + [SMALL_STATE(101)] = 5255, + [SMALL_STATE(102)] = 5292, + [SMALL_STATE(103)] = 5329, + [SMALL_STATE(104)] = 5366, + [SMALL_STATE(105)] = 5403, + [SMALL_STATE(106)] = 5437, + [SMALL_STATE(107)] = 5462, + [SMALL_STATE(108)] = 5483, + [SMALL_STATE(109)] = 5506, + [SMALL_STATE(110)] = 5521, + [SMALL_STATE(111)] = 5536, + [SMALL_STATE(112)] = 5551, + [SMALL_STATE(113)] = 5574, + [SMALL_STATE(114)] = 5589, + [SMALL_STATE(115)] = 5604, + [SMALL_STATE(116)] = 5619, + [SMALL_STATE(117)] = 5636, + [SMALL_STATE(118)] = 5659, + [SMALL_STATE(119)] = 5682, + [SMALL_STATE(120)] = 5697, + [SMALL_STATE(121)] = 5712, + [SMALL_STATE(122)] = 5727, + [SMALL_STATE(123)] = 5742, + [SMALL_STATE(124)] = 5757, + [SMALL_STATE(125)] = 5780, + [SMALL_STATE(126)] = 5797, + [SMALL_STATE(127)] = 5812, + [SMALL_STATE(128)] = 5827, + [SMALL_STATE(129)] = 5842, + [SMALL_STATE(130)] = 5862, + [SMALL_STATE(131)] = 5878, + [SMALL_STATE(132)] = 5894, + [SMALL_STATE(133)] = 5912, + [SMALL_STATE(134)] = 5927, + [SMALL_STATE(135)] = 5942, + [SMALL_STATE(136)] = 5957, + [SMALL_STATE(137)] = 5969, + [SMALL_STATE(138)] = 5980, + [SMALL_STATE(139)] = 5991, + [SMALL_STATE(140)] = 6002, + [SMALL_STATE(141)] = 6013, + [SMALL_STATE(142)] = 6024, + [SMALL_STATE(143)] = 6035, + [SMALL_STATE(144)] = 6046, + [SMALL_STATE(145)] = 6054, + [SMALL_STATE(146)] = 6064, + [SMALL_STATE(147)] = 6074, + [SMALL_STATE(148)] = 6084, + [SMALL_STATE(149)] = 6092, + [SMALL_STATE(150)] = 6102, + [SMALL_STATE(151)] = 6112, + [SMALL_STATE(152)] = 6122, + [SMALL_STATE(153)] = 6132, + [SMALL_STATE(154)] = 6142, + [SMALL_STATE(155)] = 6152, + [SMALL_STATE(156)] = 6162, + [SMALL_STATE(157)] = 6172, + [SMALL_STATE(158)] = 6182, + [SMALL_STATE(159)] = 6192, + [SMALL_STATE(160)] = 6202, + [SMALL_STATE(161)] = 6212, + [SMALL_STATE(162)] = 6222, + [SMALL_STATE(163)] = 6232, + [SMALL_STATE(164)] = 6237, + [SMALL_STATE(165)] = 6244, + [SMALL_STATE(166)] = 6249, + [SMALL_STATE(167)] = 6254, + [SMALL_STATE(168)] = 6259, + [SMALL_STATE(169)] = 6264, + [SMALL_STATE(170)] = 6271, + [SMALL_STATE(171)] = 6276, + [SMALL_STATE(172)] = 6281, + [SMALL_STATE(173)] = 6286, + [SMALL_STATE(174)] = 6293, + [SMALL_STATE(175)] = 6298, + [SMALL_STATE(176)] = 6305, + [SMALL_STATE(177)] = 6310, + [SMALL_STATE(178)] = 6317, + [SMALL_STATE(179)] = 6322, + [SMALL_STATE(180)] = 6327, + [SMALL_STATE(181)] = 6334, + [SMALL_STATE(182)] = 6338, + [SMALL_STATE(183)] = 6342, + [SMALL_STATE(184)] = 6346, + [SMALL_STATE(185)] = 6350, + [SMALL_STATE(186)] = 6354, + [SMALL_STATE(187)] = 6358, + [SMALL_STATE(188)] = 6362, + [SMALL_STATE(189)] = 6366, + [SMALL_STATE(190)] = 6370, + [SMALL_STATE(191)] = 6374, + [SMALL_STATE(192)] = 6378, + [SMALL_STATE(193)] = 6382, + [SMALL_STATE(194)] = 6386, + [SMALL_STATE(195)] = 6390, + [SMALL_STATE(196)] = 6394, + [SMALL_STATE(197)] = 6398, + [SMALL_STATE(198)] = 6402, + [SMALL_STATE(199)] = 6406, + [SMALL_STATE(200)] = 6410, + [SMALL_STATE(201)] = 6414, + [SMALL_STATE(202)] = 6418, + [SMALL_STATE(203)] = 6422, + [SMALL_STATE(204)] = 6426, }; 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(47), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(165), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(47), - [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(179), - [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(14), - [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(14), - [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(18), - [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(100), - [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(165), - [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(155), - [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(191), - [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(186), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(147), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(78), + [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), + [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(202), + [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(36), + [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(36), + [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(37), + [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(101), + [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(173), + [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(154), + [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(197), + [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), + [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(148), + [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(92), [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(134), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), - [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(75), - [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(47), - [85] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(14), - [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(14), - [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(18), - [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(100), - [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(165), - [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(155), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(184), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(73), + [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(54), + [85] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(36), + [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(36), + [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(37), + [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(101), + [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(173), + [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(154), [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), - [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(191), - [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(186), - [111] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(147), - [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(78), + [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(197), + [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(193), + [111] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(148), + [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(92), [117] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(134), - [120] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(193), + [120] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(184), [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), - [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(75), - [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [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}}, SHIFT(169), - [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), - [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), - [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), - [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), - [170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), - [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), - [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), - [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129), - [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [222] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool_call, 3), - [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool_call, 3), - [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124), - [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), - [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123), - [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(172), - [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(199), - [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), - [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), - [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), - [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), - [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), - [268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19), - [270] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), - [272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(73), + [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), + [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), + [172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), + [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), + [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), + [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [192] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), + [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), + [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), + [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), + [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), + [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), + [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), + [246] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), + [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [250] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool_call, 3), + [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool_call, 3), + [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), + [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), - [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), - [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), - [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), - [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), - [288] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(124), + [278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [280] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(86), + [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), [291] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(122), - [294] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(122), - [297] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(123), - [300] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(103), - [303] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(172), - [306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(151), - [309] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(199), - [312] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(132), - [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [317] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(38), - [320] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(14), - [323] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(14), - [326] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(18), - [329] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(100), - [332] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(165), - [335] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(155), - [338] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(191), - [341] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(134), - [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), - [346] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), - [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), - [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [358] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(74), - [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), - [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), - [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), - [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), - [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), - [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), - [373] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), - [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), - [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), - [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), - [383] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), - [385] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), - [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), - [389] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), - [391] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), - [393] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), - [395] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [399] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [294] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(120), + [297] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(120), + [300] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(121), + [303] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(103), + [306] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(180), + [309] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(150), + [312] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(201), + [315] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(135), + [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), + [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), + [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [334] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(49), + [337] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(36), + [340] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(36), + [343] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(37), + [346] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(101), + [349] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(173), + [352] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(154), + [355] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(197), + [358] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(134), + [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), + [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), + [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), + [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), + [373] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), + [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), + [379] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), + [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), + [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), + [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), + [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), + [399] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 4), [403] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 4), [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), [407] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), [409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), [411] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [425] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(14), - [428] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(14), - [431] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(18), - [434] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(100), + [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [425] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(36), + [428] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(36), + [431] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(37), + [434] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(101), [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(165), - [442] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(155), - [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(191), - [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [452] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_output, 2), - [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), - [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [496] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), - [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(200), - [500] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), - [502] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(100), - [505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), - [507] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [509] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), - [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [525] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), - [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [555] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(159), - [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [560] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(180), - [563] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), - [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [605] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(173), + [442] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(154), + [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(197), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [452] = {.entry = {.count = 1, .reusable = false}}, SHIFT(172), + [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_output, 2), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_input, 2), + [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), + [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), + [500] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [506] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(101), + [509] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), + [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [551] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(186), + [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [564] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(144), + [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [573] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [589] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), }; #ifdef __cplusplus