From 6b916da62d08d0e3335d76aea61725640a86577a Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 30 Oct 2023 22:12:03 -0400 Subject: [PATCH] Begin match implementation --- Cargo.lock | 2 +- examples/clue_solver.ds | 12 +- examples/for_loop.ds | 2 +- examples/scope.ds | 18 +- examples/transform_loop.ds | 2 +- src/abstract_tree/filter.rs | 73 +- tree-sitter-dust/corpus/filter.txt | 5 +- tree-sitter-dust/corpus/match.txt | 126 + tree-sitter-dust/grammar.js | 46 +- tree-sitter-dust/src/grammar.json | 353 +- tree-sitter-dust/src/node-types.json | 94 +- tree-sitter-dust/src/parser.c | 13413 +++++++++++++------------ 12 files changed, 7629 insertions(+), 6517 deletions(-) create mode 100644 tree-sitter-dust/corpus/match.txt diff --git a/Cargo.lock b/Cargo.lock index 7bfc5bb..640bfe9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "dust-lang" -version = "0.3.4" +version = "0.3.5" dependencies = [ "ansi_term", "async-std", diff --git a/examples/clue_solver.ds b/examples/clue_solver.ds index dffafb0..545c132 100644 --- a/examples/clue_solver.ds +++ b/examples/clue_solver.ds @@ -21,16 +21,16 @@ remove_card = function { } make_guess = function { - if ((length suspects) == 1) - && ((length rooms) == 1) - && ((length weapons) == 1) + if (length suspects) == 1 + && (length rooms) == 1 + && (length weapons) == 1 { (output 'It was ' - + suspects.{0} + + suspects:0 + ' in the ' - + rooms.{0} + + rooms:0 + ' with the ' - + weapons.{0} + + weapons:0 + '!') } else { (output 'I accuse ' diff --git a/examples/for_loop.ds b/examples/for_loop.ds index a42caa8..12fb1b1 100644 --- a/examples/for_loop.ds +++ b/examples/for_loop.ds @@ -1,6 +1,6 @@ list = [1 2 3] -async for i in list { +for i in list { i += 1 (output i) } diff --git a/examples/scope.ds b/examples/scope.ds index 602c8af..1d1b8e9 100644 --- a/examples/scope.ds +++ b/examples/scope.ds @@ -6,8 +6,8 @@ func = function <> { x } -assert_equal("foo", (func)) -assert_equal("bar", x) +(assert_equal "foo", (func)) +(assert_equal "bar", x) # For Loop x = 42 @@ -16,7 +16,7 @@ for number in [1 2 3] { x += number } -assert_equal(48, x) +(assert_equal 48, x) # Async Loops @@ -30,8 +30,8 @@ transform number in y { x = 1000 } -assert_equal([43, 44, 45], y) -assert_equal(42, x) +(assert_equal [43, 44, 45], y) +(assert_equal 42, x) ## Filter Loop @@ -43,8 +43,8 @@ transform number in y { x = 1000 } -assert_equal([43, 44, 45], y) -assert_equal(42, x) +(assert_equal [43, 44, 45], y) +(assert_equal 42, x) ## Filter Loop @@ -56,5 +56,5 @@ filter number in y { x = 1000 } -assert_equal([43, 44, 45], y) -assert_equal(42, x) +(assert_equal [43, 44, 45], y) +(assert_equal 42, x) diff --git a/examples/transform_loop.ds b/examples/transform_loop.ds index b36b42c..00cdfa9 100644 --- a/examples/transform_loop.ds +++ b/examples/transform_loop.ds @@ -1,5 +1,5 @@ data = (from_json (read "examples/assets/jq_data.json")) transform item in data { - item.{commit}.{committer}.{name} + item:commit:committer:name } diff --git a/src/abstract_tree/filter.rs b/src/abstract_tree/filter.rs index 8b69894..e6a7ec9 100644 --- a/src/abstract_tree/filter.rs +++ b/src/abstract_tree/filter.rs @@ -1,3 +1,4 @@ +use async_std::task; use rayon::prelude::*; use serde::{Deserialize, Serialize}; use tree_sitter::Node; @@ -6,48 +7,78 @@ use crate::{AbstractTree, Error, Expression, Identifier, Item, List, Map, Result #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Filter { - identifier: Identifier, - expression: Expression, - item: Item, + count: Option, + item_id: Identifier, + collection: Expression, + predicate: Item, } impl AbstractTree for Filter { fn from_syntax_node(source: &str, node: Node) -> Result { - let identifier_node = node.child(1).unwrap(); + let count = if let Some(node) = node.child_by_field_name("count") { + Some(Expression::from_syntax_node(source, node)?) + } else { + None + }; + + let identifier_node = node.child_by_field_name("item_id").unwrap(); let identifier = Identifier::from_syntax_node(source, identifier_node)?; - let expression_node = node.child(3).unwrap(); + let expression_node = node.child_by_field_name("collection").unwrap(); let expression = Expression::from_syntax_node(source, expression_node)?; - let item_node = node.child(5).unwrap(); + let item_node = node.child_by_field_name("predicate").unwrap(); let item = Item::from_syntax_node(source, item_node)?; Ok(Filter { - identifier, - expression, - item, + count, + item_id: identifier, + collection: expression, + predicate: item, }) } fn run(&self, source: &str, context: &mut Map) -> Result { - let value = self.expression.run(source, context)?; + let value = self.collection.run(source, context)?; let values = value.as_list()?.items(); - let key = self.identifier.inner(); - let new_values = List::new(); + let count = if let Some(expression) = &self.count { + Some(expression.run(source, context)?.as_integer()? as usize) + } else { + None + }; + let key = self.item_id.inner(); + let new_values = match count { + Some(count) => List::with_capacity(count), + None => List::new(), + }; - values.par_iter().try_for_each(|value| { - let mut context = Map::new(); + async {}; - context.variables_mut().insert(key.clone(), value.clone()); + for value in values.clone().into_iter() { + task::spawn(async { + let new_values = new_values.clone(); + if let Some(max) = count { + if values.len() == max { + return; + } + } - let should_include = self.item.run(source, &mut context)?.as_boolean()?; + let mut context = Map::new(); - if should_include { - new_values.items_mut().push(value.clone()); - } + context.variables_mut().insert(key.clone(), value.clone()); - Ok::<(), Error>(()) - })?; + let predicate_run = self.predicate.run(source, &mut context); + let should_include = if let Ok(value) = predicate_run { + value.as_boolean().unwrap_or_default() + } else { + return; + }; + + if should_include { + new_values.items_mut().push(value); + } + }); + } Ok(Value::List(new_values)) } diff --git a/tree-sitter-dust/corpus/filter.txt b/tree-sitter-dust/corpus/filter.txt index 11f8b70..41a507b 100644 --- a/tree-sitter-dust/corpus/filter.txt +++ b/tree-sitter-dust/corpus/filter.txt @@ -2,7 +2,7 @@ Filter Loop ================== -filter i in [1, 2, 3] { +filter 1 i in [1, 2, 3] { i <= 1 } @@ -12,6 +12,9 @@ filter i in [1, 2, 3] { (item (statement (filter + (expression + (value + (integer))) (identifier) (expression (value diff --git a/tree-sitter-dust/corpus/match.txt b/tree-sitter-dust/corpus/match.txt new file mode 100644 index 0000000..4b28766 --- /dev/null +++ b/tree-sitter-dust/corpus/match.txt @@ -0,0 +1,126 @@ +================== +Simple Match +================== + +match 1 { + 3 => 'foo' + 2 => 'bar' + 1 => 42 +} + +--- + +(root + (item + (statement + (match + (expression + (value + (integer))) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (string))))) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (string))))) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (integer))))))))) + +================== +Nested Matches +================== + +match 1 { + 3 => match true { + true => match (random_integer) { + 0 => 42 + 9 => 'foo' + } + false => 0 + } + 2 => 'bar' + 1 => 42 +} + +--- + +(root + (item + (statement + (match + (expression + (value + (integer))) + (expression + (value + (integer))) + (item + (statement + (match + (expression + (value + (boolean))) + (expression + (value + (boolean))) + (item + (statement + (match + (expression + (tool)) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (integer))))) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (string)))))))) + (expression + (value + (boolean))) + (item + (statement + (expression + (value + (integer)))))))) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (string))))) + (expression + (value + (integer))) + (item + (statement + (expression + (value + (integer))))))))) diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 42431b4..30b0584 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -22,6 +22,7 @@ module.exports = grammar({ $.filter, $.find, $.remove, + $.match, )), comment: $ => seq(/[#]+.*/), @@ -54,21 +55,19 @@ module.exports = grammar({ $.map, ), - _numeric: $ => token(repeat1( - choice('1', '2', '3', '4', '5', '6', '7', '8', '9', '0') - )), + integer: $ => prec.left(token(seq( + optional('-'), + repeat1( + choice('1', '2', '3', '4', '5', '6', '7', '8', '9', '0') + ), + ))), - integer: $ => prec.left(seq( - optional(token.immediate('-')), - $._numeric, - )), - - float: $ => prec.left(seq( - optional(token.immediate('-')), - $._numeric, - token.immediate('.'), - $._numeric, - )), + float: $ => prec.left(token(seq( + optional('-'), + repeat1(choice('1', '2', '3', '4', '5', '6', '7', '8', '9', '0')), + '.', + repeat1(choice('1', '2', '3', '4', '5', '6', '7', '8', '9', '0')), + ))), string: $ => /("[^"]*?")|('[^']*?')|(`[^`]*?`)/, @@ -192,6 +191,18 @@ module.exports = grammar({ ')', )), + match: $ => seq( + 'match', + $.expression, + '{', + repeat1(seq( + $.expression, + '=>', + $.item, + )), + '}', + ), + while: $ => seq( 'while', $.expression, @@ -222,11 +233,12 @@ module.exports = grammar({ filter: $ => seq( 'filter', - $.identifier, + field('count', optional($.expression)), + field('item_id', $.identifier), 'in', - $.expression, + field('collection', $.expression), '{', - $.item, + field('predicate', $.item), '}', ), diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index e356331..2886978 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -77,6 +77,10 @@ { "type": "SYMBOL", "name": "remove" + }, + { + "type": "SYMBOL", + "name": "match" } ] } @@ -190,122 +194,200 @@ } ] }, - "_numeric": { - "type": "TOKEN", - "content": { - "type": "REPEAT1", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "1" - }, - { - "type": "STRING", - "value": "2" - }, - { - "type": "STRING", - "value": "3" - }, - { - "type": "STRING", - "value": "4" - }, - { - "type": "STRING", - "value": "5" - }, - { - "type": "STRING", - "value": "6" - }, - { - "type": "STRING", - "value": "7" - }, - { - "type": "STRING", - "value": "8" - }, - { - "type": "STRING", - "value": "9" - }, - { - "type": "STRING", - "value": "0" - } - ] - } - } - }, "integer": { "type": "PREC_LEFT", "value": 0, "content": { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "IMMEDIATE_TOKEN", - "content": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { "type": "STRING", "value": "-" + }, + { + "type": "BLANK" } - }, - { - "type": "BLANK" + ] + }, + { + "type": "REPEAT1", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "1" + }, + { + "type": "STRING", + "value": "2" + }, + { + "type": "STRING", + "value": "3" + }, + { + "type": "STRING", + "value": "4" + }, + { + "type": "STRING", + "value": "5" + }, + { + "type": "STRING", + "value": "6" + }, + { + "type": "STRING", + "value": "7" + }, + { + "type": "STRING", + "value": "8" + }, + { + "type": "STRING", + "value": "9" + }, + { + "type": "STRING", + "value": "0" + } + ] } - ] - }, - { - "type": "SYMBOL", - "name": "_numeric" - } - ] + } + ] + } } }, "float": { "type": "PREC_LEFT", "value": 0, "content": { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "IMMEDIATE_TOKEN", - "content": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { "type": "STRING", "value": "-" + }, + { + "type": "BLANK" } - }, - { - "type": "BLANK" + ] + }, + { + "type": "REPEAT1", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "1" + }, + { + "type": "STRING", + "value": "2" + }, + { + "type": "STRING", + "value": "3" + }, + { + "type": "STRING", + "value": "4" + }, + { + "type": "STRING", + "value": "5" + }, + { + "type": "STRING", + "value": "6" + }, + { + "type": "STRING", + "value": "7" + }, + { + "type": "STRING", + "value": "8" + }, + { + "type": "STRING", + "value": "9" + }, + { + "type": "STRING", + "value": "0" + } + ] } - ] - }, - { - "type": "SYMBOL", - "name": "_numeric" - }, - { - "type": "IMMEDIATE_TOKEN", - "content": { + }, + { "type": "STRING", "value": "." + }, + { + "type": "REPEAT1", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "1" + }, + { + "type": "STRING", + "value": "2" + }, + { + "type": "STRING", + "value": "3" + }, + { + "type": "STRING", + "value": "4" + }, + { + "type": "STRING", + "value": "5" + }, + { + "type": "STRING", + "value": "6" + }, + { + "type": "STRING", + "value": "7" + }, + { + "type": "STRING", + "value": "8" + }, + { + "type": "STRING", + "value": "9" + }, + { + "type": "STRING", + "value": "0" + } + ] + } } - }, - { - "type": "SYMBOL", - "name": "_numeric" - } - ] + ] + } } }, "string": { @@ -852,6 +934,47 @@ ] } }, + "match": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "match" + }, + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "STRING", + "value": "{" + }, + { + "type": "REPEAT1", + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "STRING", + "value": "=>" + }, + { + "type": "SYMBOL", + "name": "item" + } + ] + } + }, + { + "type": "STRING", + "value": "}" + } + ] + }, "while": { "type": "SEQ", "members": [ @@ -951,24 +1074,52 @@ "value": "filter" }, { - "type": "SYMBOL", - "name": "identifier" + "type": "FIELD", + "name": "count", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "BLANK" + } + ] + } + }, + { + "type": "FIELD", + "name": "item_id", + "content": { + "type": "SYMBOL", + "name": "identifier" + } }, { "type": "STRING", "value": "in" }, { - "type": "SYMBOL", - "name": "expression" + "type": "FIELD", + "name": "collection", + "content": { + "type": "SYMBOL", + "name": "expression" + } }, { "type": "STRING", "value": "{" }, { - "type": "SYMBOL", - "name": "item" + "type": "FIELD", + "name": "predicate", + "content": { + "type": "SYMBOL", + "name": "item" + } }, { "type": "STRING", diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index 52e2e61..6b29733 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -128,24 +128,47 @@ { "type": "filter", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "item", - "named": true - } - ] + "fields": { + "collection": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] + }, + "count": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + }, + "item_id": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + }, + "predicate": { + "multiple": false, + "required": true, + "types": [ + { + "type": "item", + "named": true + } + ] + } } }, { @@ -391,6 +414,25 @@ ] } }, + { + "type": "match", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "item", + "named": true + } + ] + } + }, { "type": "math", "named": true, @@ -520,6 +562,10 @@ "type": "insert", "named": true }, + { + "type": "match", + "named": true + }, { "type": "remove", "named": true @@ -702,10 +748,6 @@ "type": "-=", "named": false }, - { - "type": ".", - "named": false - }, { "type": "..", "named": false @@ -734,6 +776,10 @@ "type": "==", "named": false }, + { + "type": "=>", + "named": false + }, { "type": ">", "named": false @@ -846,6 +892,10 @@ "type": "length", "named": false }, + { + "type": "match", + "named": false + }, { "type": "metadata", "named": false diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index 9d5a43e..43791a5 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,140 +6,143 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 263 +#define STATE_COUNT 270 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 124 +#define SYMBOL_COUNT 127 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 81 +#define TOKEN_COUNT 82 #define EXTERNAL_TOKEN_COUNT 0 -#define FIELD_COUNT 0 +#define FIELD_COUNT 4 #define MAX_ALIAS_SEQUENCE_LENGTH 9 -#define PRODUCTION_ID_COUNT 1 +#define PRODUCTION_ID_COUNT 3 enum { sym_identifier = 1, aux_sym_comment_token1 = 2, anon_sym_LPAREN = 3, anon_sym_RPAREN = 4, - sym__numeric = 5, - anon_sym_DASH = 6, - anon_sym_DOT = 7, - sym_string = 8, - anon_sym_true = 9, - anon_sym_false = 10, - anon_sym_LBRACK = 11, - anon_sym_COMMA = 12, - anon_sym_RBRACK = 13, - anon_sym_LBRACE = 14, - anon_sym_EQ = 15, - anon_sym_RBRACE = 16, - anon_sym_COLON = 17, - anon_sym_DOT_DOT = 18, - anon_sym_function = 19, - anon_sym_LT = 20, - anon_sym_GT = 21, - anon_sym_table = 22, - anon_sym_PLUS = 23, - anon_sym_DASH2 = 24, - anon_sym_STAR = 25, - anon_sym_SLASH = 26, - anon_sym_PERCENT = 27, - anon_sym_EQ_EQ = 28, - anon_sym_BANG_EQ = 29, - anon_sym_AMP_AMP = 30, - anon_sym_PIPE_PIPE = 31, - anon_sym_GT_EQ = 32, - anon_sym_LT_EQ = 33, - anon_sym_PLUS_EQ = 34, - anon_sym_DASH_EQ = 35, - anon_sym_if = 36, - anon_sym_elseif = 37, - anon_sym_else = 38, - anon_sym_while = 39, - anon_sym_for = 40, - anon_sym_in = 41, - anon_sym_transform = 42, - anon_sym_filter = 43, - anon_sym_find = 44, - anon_sym_remove = 45, - anon_sym_select = 46, - anon_sym_from = 47, - anon_sym_insert = 48, - anon_sym_into = 49, - anon_sym_async = 50, - anon_sym_assert = 51, - anon_sym_assert_equal = 52, - anon_sym_download = 53, - anon_sym_help = 54, - anon_sym_length = 55, - anon_sym_output = 56, - anon_sym_output_error = 57, - anon_sym_type = 58, - anon_sym_workdir = 59, - anon_sym_append = 60, - anon_sym_metadata = 61, - anon_sym_move = 62, - anon_sym_read = 63, - anon_sym_write = 64, - anon_sym_from_json = 65, - anon_sym_to_json = 66, - anon_sym_to_string = 67, - anon_sym_to_float = 68, - anon_sym_bash = 69, - anon_sym_fish = 70, - anon_sym_raw = 71, - anon_sym_sh = 72, - anon_sym_zsh = 73, - anon_sym_random = 74, - anon_sym_random_boolean = 75, - anon_sym_random_float = 76, - anon_sym_random_integer = 77, - anon_sym_columns = 78, - anon_sym_rows = 79, - anon_sym_reverse = 80, - sym_root = 81, - sym_item = 82, - sym_statement = 83, - sym_comment = 84, - sym_expression = 85, - sym__expression_kind = 86, - sym_value = 87, - sym_integer = 88, - sym_float = 89, - sym_boolean = 90, - sym_list = 91, - sym_map = 92, - sym_index = 93, - sym_function = 94, - sym_table = 95, - sym_math = 96, - sym_math_operator = 97, - sym_logic = 98, - sym_logic_operator = 99, - sym_assignment = 100, - sym_assignment_operator = 101, - sym_if_else = 102, - sym_if = 103, - sym_else_if = 104, - sym_else = 105, - sym_function_call = 106, - sym_while = 107, - sym_for = 108, - sym_transform = 109, - sym_filter = 110, - sym_find = 111, - sym_remove = 112, - sym_select = 113, - sym_insert = 114, - sym_async = 115, - sym_tool = 116, - sym__tool_kind = 117, - aux_sym_root_repeat1 = 118, - aux_sym_item_repeat1 = 119, - aux_sym_list_repeat1 = 120, - aux_sym_map_repeat1 = 121, - aux_sym_function_repeat1 = 122, - aux_sym_if_else_repeat1 = 123, + aux_sym_integer_token1 = 5, + aux_sym_float_token1 = 6, + sym_string = 7, + anon_sym_true = 8, + anon_sym_false = 9, + anon_sym_LBRACK = 10, + anon_sym_COMMA = 11, + anon_sym_RBRACK = 12, + anon_sym_LBRACE = 13, + anon_sym_EQ = 14, + anon_sym_RBRACE = 15, + anon_sym_COLON = 16, + anon_sym_DOT_DOT = 17, + anon_sym_function = 18, + anon_sym_LT = 19, + anon_sym_GT = 20, + anon_sym_table = 21, + anon_sym_PLUS = 22, + anon_sym_DASH = 23, + anon_sym_STAR = 24, + anon_sym_SLASH = 25, + anon_sym_PERCENT = 26, + anon_sym_EQ_EQ = 27, + anon_sym_BANG_EQ = 28, + anon_sym_AMP_AMP = 29, + anon_sym_PIPE_PIPE = 30, + anon_sym_GT_EQ = 31, + anon_sym_LT_EQ = 32, + anon_sym_PLUS_EQ = 33, + anon_sym_DASH_EQ = 34, + anon_sym_if = 35, + anon_sym_elseif = 36, + anon_sym_else = 37, + anon_sym_match = 38, + anon_sym_EQ_GT = 39, + anon_sym_while = 40, + anon_sym_for = 41, + anon_sym_in = 42, + anon_sym_transform = 43, + anon_sym_filter = 44, + anon_sym_find = 45, + anon_sym_remove = 46, + anon_sym_select = 47, + anon_sym_from = 48, + anon_sym_insert = 49, + anon_sym_into = 50, + anon_sym_async = 51, + anon_sym_assert = 52, + anon_sym_assert_equal = 53, + anon_sym_download = 54, + anon_sym_help = 55, + anon_sym_length = 56, + anon_sym_output = 57, + anon_sym_output_error = 58, + anon_sym_type = 59, + anon_sym_workdir = 60, + anon_sym_append = 61, + anon_sym_metadata = 62, + anon_sym_move = 63, + anon_sym_read = 64, + anon_sym_write = 65, + anon_sym_from_json = 66, + anon_sym_to_json = 67, + anon_sym_to_string = 68, + anon_sym_to_float = 69, + anon_sym_bash = 70, + anon_sym_fish = 71, + anon_sym_raw = 72, + anon_sym_sh = 73, + anon_sym_zsh = 74, + anon_sym_random = 75, + anon_sym_random_boolean = 76, + anon_sym_random_float = 77, + anon_sym_random_integer = 78, + anon_sym_columns = 79, + anon_sym_rows = 80, + anon_sym_reverse = 81, + sym_root = 82, + sym_item = 83, + sym_statement = 84, + sym_comment = 85, + sym_expression = 86, + sym__expression_kind = 87, + sym_value = 88, + sym_integer = 89, + sym_float = 90, + sym_boolean = 91, + sym_list = 92, + sym_map = 93, + sym_index = 94, + sym_function = 95, + sym_table = 96, + sym_math = 97, + sym_math_operator = 98, + sym_logic = 99, + sym_logic_operator = 100, + sym_assignment = 101, + sym_assignment_operator = 102, + sym_if_else = 103, + sym_if = 104, + sym_else_if = 105, + sym_else = 106, + sym_function_call = 107, + sym_match = 108, + sym_while = 109, + sym_for = 110, + sym_transform = 111, + sym_filter = 112, + sym_find = 113, + sym_remove = 114, + sym_select = 115, + sym_insert = 116, + sym_async = 117, + sym_tool = 118, + sym__tool_kind = 119, + aux_sym_root_repeat1 = 120, + aux_sym_item_repeat1 = 121, + aux_sym_list_repeat1 = 122, + aux_sym_map_repeat1 = 123, + aux_sym_function_repeat1 = 124, + aux_sym_if_else_repeat1 = 125, + aux_sym_match_repeat1 = 126, }; static const char * const ts_symbol_names[] = { @@ -148,9 +151,8 @@ static const char * const ts_symbol_names[] = { [aux_sym_comment_token1] = "comment_token1", [anon_sym_LPAREN] = "(", [anon_sym_RPAREN] = ")", - [sym__numeric] = "_numeric", - [anon_sym_DASH] = "-", - [anon_sym_DOT] = ".", + [aux_sym_integer_token1] = "integer_token1", + [aux_sym_float_token1] = "float_token1", [sym_string] = "string", [anon_sym_true] = "true", [anon_sym_false] = "false", @@ -167,7 +169,7 @@ static const char * const ts_symbol_names[] = { [anon_sym_GT] = ">", [anon_sym_table] = "table", [anon_sym_PLUS] = "+", - [anon_sym_DASH2] = "-", + [anon_sym_DASH] = "-", [anon_sym_STAR] = "*", [anon_sym_SLASH] = "/", [anon_sym_PERCENT] = "%", @@ -182,6 +184,8 @@ static const char * const ts_symbol_names[] = { [anon_sym_if] = "if", [anon_sym_elseif] = "else if", [anon_sym_else] = "else", + [anon_sym_match] = "match", + [anon_sym_EQ_GT] = "=>", [anon_sym_while] = "while", [anon_sym_for] = "for", [anon_sym_in] = "in", @@ -250,6 +254,7 @@ static const char * const ts_symbol_names[] = { [sym_else_if] = "else_if", [sym_else] = "else", [sym_function_call] = "function_call", + [sym_match] = "match", [sym_while] = "while", [sym_for] = "for", [sym_transform] = "transform", @@ -267,6 +272,7 @@ static const char * const ts_symbol_names[] = { [aux_sym_map_repeat1] = "map_repeat1", [aux_sym_function_repeat1] = "function_repeat1", [aux_sym_if_else_repeat1] = "if_else_repeat1", + [aux_sym_match_repeat1] = "match_repeat1", }; static const TSSymbol ts_symbol_map[] = { @@ -275,9 +281,8 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_comment_token1] = aux_sym_comment_token1, [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_RPAREN] = anon_sym_RPAREN, - [sym__numeric] = sym__numeric, - [anon_sym_DASH] = anon_sym_DASH, - [anon_sym_DOT] = anon_sym_DOT, + [aux_sym_integer_token1] = aux_sym_integer_token1, + [aux_sym_float_token1] = aux_sym_float_token1, [sym_string] = sym_string, [anon_sym_true] = anon_sym_true, [anon_sym_false] = anon_sym_false, @@ -294,7 +299,7 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_GT] = anon_sym_GT, [anon_sym_table] = anon_sym_table, [anon_sym_PLUS] = anon_sym_PLUS, - [anon_sym_DASH2] = anon_sym_DASH, + [anon_sym_DASH] = anon_sym_DASH, [anon_sym_STAR] = anon_sym_STAR, [anon_sym_SLASH] = anon_sym_SLASH, [anon_sym_PERCENT] = anon_sym_PERCENT, @@ -309,6 +314,8 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_if] = anon_sym_if, [anon_sym_elseif] = anon_sym_elseif, [anon_sym_else] = anon_sym_else, + [anon_sym_match] = anon_sym_match, + [anon_sym_EQ_GT] = anon_sym_EQ_GT, [anon_sym_while] = anon_sym_while, [anon_sym_for] = anon_sym_for, [anon_sym_in] = anon_sym_in, @@ -377,6 +384,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_else_if] = sym_else_if, [sym_else] = sym_else, [sym_function_call] = sym_function_call, + [sym_match] = sym_match, [sym_while] = sym_while, [sym_for] = sym_for, [sym_transform] = sym_transform, @@ -394,6 +402,7 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_map_repeat1] = aux_sym_map_repeat1, [aux_sym_function_repeat1] = aux_sym_function_repeat1, [aux_sym_if_else_repeat1] = aux_sym_if_else_repeat1, + [aux_sym_match_repeat1] = aux_sym_match_repeat1, }; static const TSSymbolMetadata ts_symbol_metadata[] = { @@ -417,16 +426,12 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [sym__numeric] = { + [aux_sym_integer_token1] = { .visible = false, - .named = true, - }, - [anon_sym_DASH] = { - .visible = true, .named = false, }, - [anon_sym_DOT] = { - .visible = true, + [aux_sym_float_token1] = { + .visible = false, .named = false, }, [sym_string] = { @@ -493,7 +498,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_DASH2] = { + [anon_sym_DASH] = { .visible = true, .named = false, }, @@ -553,6 +558,14 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_match] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ_GT] = { + .visible = true, + .named = false, + }, [anon_sym_while] = { .visible = true, .named = false, @@ -825,6 +838,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_match] = { + .visible = true, + .named = true, + }, [sym_while] = { .visible = true, .named = true, @@ -893,6 +910,42 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [aux_sym_match_repeat1] = { + .visible = false, + .named = false, + }, +}; + +enum { + field_collection = 1, + field_count = 2, + field_item_id = 3, + field_predicate = 4, +}; + +static const char * const ts_field_names[] = { + [0] = NULL, + [field_collection] = "collection", + [field_count] = "count", + [field_item_id] = "item_id", + [field_predicate] = "predicate", +}; + +static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { + [1] = {.index = 0, .length = 3}, + [2] = {.index = 3, .length = 4}, +}; + +static const TSFieldMapEntry ts_field_map_entries[] = { + [0] = + {field_collection, 3}, + {field_item_id, 1}, + {field_predicate, 5}, + [3] = + {field_collection, 4}, + {field_count, 1}, + {field_item_id, 2}, + {field_predicate, 6}, }; static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { @@ -917,36 +970,36 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [10] = 10, [11] = 11, [12] = 12, - [13] = 12, - [14] = 14, + [13] = 8, + [14] = 12, [15] = 15, [16] = 16, - [17] = 16, + [17] = 17, [18] = 18, [19] = 19, [20] = 20, - [21] = 14, - [22] = 22, + [21] = 21, + [22] = 9, [23] = 23, - [24] = 23, + [24] = 24, [25] = 25, - [26] = 26, - [27] = 27, + [26] = 12, + [27] = 25, [28] = 28, - [29] = 28, + [29] = 29, [30] = 30, [31] = 31, - [32] = 31, + [32] = 30, [33] = 33, [34] = 34, [35] = 35, - [36] = 34, - [37] = 37, - [38] = 33, - [39] = 35, - [40] = 30, - [41] = 41, - [42] = 42, + [36] = 36, + [37] = 34, + [38] = 38, + [39] = 33, + [40] = 35, + [41] = 38, + [42] = 36, [43] = 43, [44] = 44, [45] = 45, @@ -965,8 +1018,8 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [58] = 58, [59] = 59, [60] = 60, - [61] = 42, - [62] = 62, + [61] = 61, + [62] = 61, [63] = 63, [64] = 64, [65] = 65, @@ -980,52 +1033,52 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [73] = 73, [74] = 74, [75] = 75, - [76] = 70, - [77] = 75, - [78] = 72, - [79] = 71, - [80] = 74, + [76] = 75, + [77] = 77, + [78] = 73, + [79] = 74, + [80] = 80, [81] = 81, - [82] = 82, - [83] = 83, + [82] = 80, + [83] = 77, [84] = 84, - [85] = 84, + [85] = 85, [86] = 86, [87] = 87, - [88] = 83, + [88] = 88, [89] = 89, - [90] = 84, - [91] = 84, - [92] = 86, + [90] = 90, + [91] = 88, + [92] = 92, [93] = 93, [94] = 94, [95] = 95, - [96] = 86, + [96] = 96, [97] = 97, - [98] = 86, - [99] = 99, - [100] = 100, + [98] = 98, + [99] = 96, + [100] = 97, [101] = 101, - [102] = 102, + [102] = 88, [103] = 103, [104] = 104, - [105] = 82, - [106] = 89, - [107] = 95, - [108] = 83, - [109] = 109, + [105] = 105, + [106] = 106, + [107] = 106, + [108] = 88, + [109] = 103, [110] = 110, - [111] = 89, - [112] = 89, - [113] = 110, - [114] = 81, - [115] = 83, - [116] = 116, - [117] = 117, + [111] = 103, + [112] = 97, + [113] = 105, + [114] = 106, + [115] = 97, + [116] = 110, + [117] = 101, [118] = 118, - [119] = 119, + [119] = 106, [120] = 120, - [121] = 121, + [121] = 103, [122] = 122, [123] = 123, [124] = 124, @@ -1037,94 +1090,94 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [130] = 130, [131] = 131, [132] = 132, - [133] = 34, - [134] = 35, - [135] = 30, - [136] = 33, - [137] = 31, - [138] = 31, - [139] = 30, - [140] = 35, - [141] = 37, - [142] = 41, - [143] = 34, - [144] = 33, - [145] = 53, - [146] = 43, - [147] = 45, - [148] = 58, - [149] = 59, - [150] = 51, - [151] = 54, - [152] = 50, - [153] = 55, - [154] = 44, - [155] = 52, - [156] = 47, - [157] = 48, - [158] = 56, - [159] = 60, - [160] = 57, - [161] = 49, - [162] = 46, - [163] = 163, - [164] = 65, - [165] = 63, - [166] = 166, - [167] = 167, - [168] = 168, - [169] = 169, - [170] = 170, - [171] = 64, + [133] = 133, + [134] = 134, + [135] = 135, + [136] = 136, + [137] = 137, + [138] = 138, + [139] = 139, + [140] = 140, + [141] = 141, + [142] = 35, + [143] = 33, + [144] = 38, + [145] = 36, + [146] = 34, + [147] = 34, + [148] = 33, + [149] = 38, + [150] = 35, + [151] = 36, + [152] = 44, + [153] = 45, + [154] = 43, + [155] = 53, + [156] = 49, + [157] = 55, + [158] = 50, + [159] = 46, + [160] = 52, + [161] = 60, + [162] = 59, + [163] = 58, + [164] = 57, + [165] = 54, + [166] = 51, + [167] = 48, + [168] = 47, + [169] = 56, + [170] = 65, + [171] = 66, [172] = 172, - [173] = 173, - [174] = 62, + [173] = 63, + [174] = 174, [175] = 175, [176] = 176, [177] = 177, - [178] = 177, + [178] = 178, [179] = 179, [180] = 180, [181] = 181, - [182] = 182, + [182] = 64, [183] = 183, [184] = 184, [185] = 185, - [186] = 185, + [186] = 186, [187] = 187, [188] = 188, [189] = 189, - [190] = 184, + [190] = 189, [191] = 191, [192] = 192, - [193] = 192, - [194] = 187, - [195] = 183, + [193] = 193, + [194] = 194, + [195] = 195, [196] = 196, - [197] = 196, - [198] = 187, - [199] = 187, - [200] = 182, + [197] = 197, + [198] = 196, + [199] = 199, + [200] = 200, [201] = 201, - [202] = 201, + [202] = 196, [203] = 203, - [204] = 204, - [205] = 201, - [206] = 204, - [207] = 201, + [204] = 200, + [205] = 205, + [206] = 203, + [207] = 199, [208] = 208, [209] = 209, - [210] = 210, - [211] = 211, - [212] = 212, - [213] = 213, + [210] = 209, + [211] = 196, + [212] = 195, + [213] = 201, [214] = 214, - [215] = 215, + [215] = 214, [216] = 216, [217] = 217, - [218] = 218, - [219] = 219, - [220] = 220, + [218] = 214, + [219] = 214, + [220] = 217, [221] = 221, [222] = 222, [223] = 223, @@ -1134,39 +1187,46 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [227] = 227, [228] = 228, [229] = 229, - [230] = 230, - [231] = 212, - [232] = 223, - [233] = 225, - [234] = 216, + [230] = 225, + [231] = 231, + [232] = 232, + [233] = 233, + [234] = 234, [235] = 235, [236] = 226, [237] = 237, - [238] = 238, + [238] = 224, [239] = 239, [240] = 240, - [241] = 210, + [241] = 234, [242] = 242, [243] = 243, - [244] = 221, + [244] = 244, [245] = 245, - [246] = 227, - [247] = 238, - [248] = 213, + [246] = 246, + [247] = 247, + [248] = 248, [249] = 249, - [250] = 242, - [251] = 217, - [252] = 220, + [250] = 250, + [251] = 251, + [252] = 231, [253] = 253, - [254] = 254, - [255] = 255, + [254] = 246, + [255] = 227, [256] = 256, - [257] = 238, - [258] = 258, + [257] = 223, + [258] = 256, [259] = 259, - [260] = 214, + [260] = 260, [261] = 261, - [262] = 238, + [262] = 262, + [263] = 221, + [264] = 246, + [265] = 265, + [266] = 266, + [267] = 233, + [268] = 268, + [269] = 246, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1178,211 +1238,143 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '!') ADVANCE(7); if (lookahead == '"') ADVANCE(3); if (lookahead == '#') ADVANCE(16); - if (lookahead == '%') ADVANCE(43); + if (lookahead == '%') ADVANCE(46); if (lookahead == '&') ADVANCE(4); if (lookahead == '\'') ADVANCE(5); if (lookahead == '(') ADVANCE(18); if (lookahead == ')') ADVANCE(19); - if (lookahead == '*') ADVANCE(41); - if (lookahead == '+') ADVANCE(39); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(26); - if (lookahead == '.') ADVANCE(27); - if (lookahead == '/') ADVANCE(42); + if (lookahead == '*') ADVANCE(44); + if (lookahead == '+') ADVANCE(40); + if (lookahead == ',') ADVANCE(29); + if (lookahead == '-') ADVANCE(43); + if (lookahead == '.') ADVANCE(6); + if (lookahead == '/') ADVANCE(45); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); if (lookahead == ':') ADVANCE(35); if (lookahead == '<') ADVANCE(37); if (lookahead == '=') ADVANCE(33); if (lookahead == '>') ADVANCE(38); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); + if (lookahead == '[') ADVANCE(28); + if (lookahead == ']') ADVANCE(30); + if (lookahead == '`') ADVANCE(9); if (lookahead == 'e') ADVANCE(22); - if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(11); + if (lookahead == '{') ADVANCE(31); + if (lookahead == '|') ADVANCE(12); if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(13) + lookahead == ' ') SKIP(0) if (('A' <= lookahead && lookahead <= 'Z') || ('_' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 1: if (lookahead == '!') ADVANCE(7); - if (lookahead == '%') ADVANCE(43); + if (lookahead == '%') ADVANCE(46); if (lookahead == '&') ADVANCE(4); if (lookahead == ')') ADVANCE(19); - if (lookahead == '*') ADVANCE(41); + if (lookahead == '*') ADVANCE(44); if (lookahead == '+') ADVANCE(39); - if (lookahead == '-') ADVANCE(40); - if (lookahead == '.') ADVANCE(27); - if (lookahead == '/') ADVANCE(42); + if (lookahead == '-') ADVANCE(41); + if (lookahead == '.') ADVANCE(6); + if (lookahead == '/') ADVANCE(45); if (lookahead == ':') ADVANCE(35); if (lookahead == '<') ADVANCE(37); - if (lookahead == '=') ADVANCE(33); + if (lookahead == '=') ADVANCE(8); if (lookahead == '>') ADVANCE(38); - if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(11); + if (lookahead == '{') ADVANCE(31); + if (lookahead == '|') ADVANCE(12); if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(2) + lookahead == ' ') SKIP(1) if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 2: if (lookahead == '!') ADVANCE(7); - if (lookahead == '%') ADVANCE(43); + if (lookahead == '%') ADVANCE(46); if (lookahead == '&') ADVANCE(4); - if (lookahead == ')') ADVANCE(19); - if (lookahead == '*') ADVANCE(41); - if (lookahead == '+') ADVANCE(39); - if (lookahead == '-') ADVANCE(40); - if (lookahead == '.') ADVANCE(6); - if (lookahead == '/') ADVANCE(42); + if (lookahead == '*') ADVANCE(44); + if (lookahead == '+') ADVANCE(40); + if (lookahead == '-') ADVANCE(42); + if (lookahead == '/') ADVANCE(45); if (lookahead == ':') ADVANCE(35); if (lookahead == '<') ADVANCE(37); - if (lookahead == '=') ADVANCE(33); + if (lookahead == '=') ADVANCE(32); if (lookahead == '>') ADVANCE(38); - if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(11); + if (lookahead == '|') ADVANCE(12); if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(2) - if (('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 3: - if (lookahead == '"') ADVANCE(28); + if (lookahead == '"') ADVANCE(27); if (lookahead != 0) ADVANCE(3); END_STATE(); case 4: - if (lookahead == '&') ADVANCE(46); + if (lookahead == '&') ADVANCE(49); END_STATE(); case 5: - if (lookahead == '\'') ADVANCE(28); + if (lookahead == '\'') ADVANCE(27); if (lookahead != 0) ADVANCE(5); END_STATE(); case 6: if (lookahead == '.') ADVANCE(36); END_STATE(); case 7: - if (lookahead == '=') ADVANCE(45); + if (lookahead == '=') ADVANCE(48); END_STATE(); case 8: - if (lookahead == '`') ADVANCE(28); - if (lookahead != 0) ADVANCE(8); + if (lookahead == '=') ADVANCE(47); + if (lookahead == '>') ADVANCE(57); END_STATE(); case 9: - if (lookahead == 'f') ADVANCE(52); + if (lookahead == '`') ADVANCE(27); + if (lookahead != 0) ADVANCE(9); END_STATE(); case 10: - if (lookahead == 'i') ADVANCE(9); + if (lookahead == 'f') ADVANCE(55); END_STATE(); case 11: - if (lookahead == '|') ADVANCE(47); + if (lookahead == 'i') ADVANCE(10); END_STATE(); case 12: - if (eof) ADVANCE(15); - if (lookahead == '!') ADVANCE(7); - if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(16); - if (lookahead == '%') ADVANCE(43); - if (lookahead == '&') ADVANCE(4); - if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(18); - if (lookahead == ')') ADVANCE(19); - if (lookahead == '*') ADVANCE(41); - if (lookahead == '+') ADVANCE(39); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(26); - if (lookahead == '.') ADVANCE(27); - if (lookahead == '/') ADVANCE(42); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); - if (lookahead == ':') ADVANCE(35); - if (lookahead == '<') ADVANCE(37); - if (lookahead == '=') ADVANCE(33); - if (lookahead == '>') ADVANCE(38); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); - if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(11); - if (lookahead == '}') ADVANCE(34); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(14) - if (('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(24); + if (lookahead == '|') ADVANCE(50); END_STATE(); case 13: - if (eof) ADVANCE(15); - if (lookahead == '!') ADVANCE(7); - if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(16); - if (lookahead == '%') ADVANCE(43); - if (lookahead == '&') ADVANCE(4); - if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(18); - if (lookahead == ')') ADVANCE(19); - if (lookahead == '*') ADVANCE(41); - if (lookahead == '+') ADVANCE(39); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(40); - if (lookahead == '.') ADVANCE(6); - if (lookahead == '/') ADVANCE(42); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); - if (lookahead == ':') ADVANCE(35); - if (lookahead == '<') ADVANCE(37); - if (lookahead == '=') ADVANCE(33); - if (lookahead == '>') ADVANCE(38); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); - if (lookahead == 'e') ADVANCE(22); - if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(11); - if (lookahead == '}') ADVANCE(34); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(13) - if (('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(24); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); END_STATE(); case 14: if (eof) ADVANCE(15); if (lookahead == '!') ADVANCE(7); if (lookahead == '"') ADVANCE(3); if (lookahead == '#') ADVANCE(16); - if (lookahead == '%') ADVANCE(43); + if (lookahead == '%') ADVANCE(46); if (lookahead == '&') ADVANCE(4); if (lookahead == '\'') ADVANCE(5); if (lookahead == '(') ADVANCE(18); if (lookahead == ')') ADVANCE(19); - if (lookahead == '*') ADVANCE(41); - if (lookahead == '+') ADVANCE(39); - if (lookahead == ',') ADVANCE(30); - if (lookahead == '-') ADVANCE(40); + if (lookahead == '*') ADVANCE(44); + if (lookahead == '+') ADVANCE(40); + if (lookahead == ',') ADVANCE(29); + if (lookahead == '-') ADVANCE(43); if (lookahead == '.') ADVANCE(6); - if (lookahead == '/') ADVANCE(42); + if (lookahead == '/') ADVANCE(45); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); if (lookahead == ':') ADVANCE(35); if (lookahead == '<') ADVANCE(37); - if (lookahead == '=') ADVANCE(33); + if (lookahead == '=') ADVANCE(32); if (lookahead == '>') ADVANCE(38); - if (lookahead == '[') ADVANCE(29); - if (lookahead == ']') ADVANCE(31); - if (lookahead == '`') ADVANCE(8); - if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(11); + if (lookahead == '[') ADVANCE(28); + if (lookahead == ']') ADVANCE(30); + if (lookahead == '`') ADVANCE(9); + if (lookahead == '{') ADVANCE(31); + if (lookahead == '|') ADVANCE(12); if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || @@ -1416,7 +1408,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 21: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'e') ADVANCE(53); + if (lookahead == 'e') ADVANCE(56); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || @@ -1446,35 +1438,37 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('a' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 25: - ACCEPT_TOKEN(sym__numeric); + ACCEPT_TOKEN(aux_sym_integer_token1); + if (lookahead == '.') ADVANCE(13); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); END_STATE(); case 26: - ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(51); + ACCEPT_TOKEN(aux_sym_float_token1); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); END_STATE(); case 27: - ACCEPT_TOKEN(anon_sym_DOT); - if (lookahead == '.') ADVANCE(36); - END_STATE(); - case 28: ACCEPT_TOKEN(sym_string); END_STATE(); - case 29: + case 28: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 30: + case 29: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 31: + case 30: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 32: + case 31: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); + case 32: + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(47); + END_STATE(); case 33: ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(44); + if (lookahead == '=') ADVANCE(47); + if (lookahead == '>') ADVANCE(57); END_STATE(); case 34: ACCEPT_TOKEN(anon_sym_RBRACE); @@ -1487,64 +1481,78 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 37: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '=') ADVANCE(49); + if (lookahead == '=') ADVANCE(52); END_STATE(); case 38: ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '=') ADVANCE(48); + if (lookahead == '=') ADVANCE(51); END_STATE(); case 39: ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '=') ADVANCE(50); END_STATE(); case 40: - ACCEPT_TOKEN(anon_sym_DASH2); - if (lookahead == '=') ADVANCE(51); + ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '=') ADVANCE(53); END_STATE(); case 41: - ACCEPT_TOKEN(anon_sym_STAR); + ACCEPT_TOKEN(anon_sym_DASH); END_STATE(); case 42: - ACCEPT_TOKEN(anon_sym_SLASH); + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '=') ADVANCE(54); END_STATE(); case 43: - ACCEPT_TOKEN(anon_sym_PERCENT); + ACCEPT_TOKEN(anon_sym_DASH); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); + if (lookahead == '=') ADVANCE(54); END_STATE(); case 44: - ACCEPT_TOKEN(anon_sym_EQ_EQ); + ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); case 45: - ACCEPT_TOKEN(anon_sym_BANG_EQ); + ACCEPT_TOKEN(anon_sym_SLASH); END_STATE(); case 46: - ACCEPT_TOKEN(anon_sym_AMP_AMP); + ACCEPT_TOKEN(anon_sym_PERCENT); END_STATE(); case 47: - ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); case 48: - ACCEPT_TOKEN(anon_sym_GT_EQ); + ACCEPT_TOKEN(anon_sym_BANG_EQ); END_STATE(); case 49: - ACCEPT_TOKEN(anon_sym_LT_EQ); + ACCEPT_TOKEN(anon_sym_AMP_AMP); END_STATE(); case 50: - ACCEPT_TOKEN(anon_sym_PLUS_EQ); + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); END_STATE(); case 51: - ACCEPT_TOKEN(anon_sym_DASH_EQ); + ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); case 52: - ACCEPT_TOKEN(anon_sym_elseif); + ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); case 53: + ACCEPT_TOKEN(anon_sym_PLUS_EQ); + END_STATE(); + case 54: + ACCEPT_TOKEN(anon_sym_DASH_EQ); + END_STATE(); + case 55: + ACCEPT_TOKEN(anon_sym_elseif); + END_STATE(); + case 56: ACCEPT_TOKEN(anon_sym_else); - if (lookahead == ' ') ADVANCE(10); + if (lookahead == ' ') ADVANCE(11); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(20); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); + case 57: + ACCEPT_TOKEN(anon_sym_EQ_GT); + END_STATE(); default: return false; } @@ -1606,647 +1614,660 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { if (lookahead == 'e') ADVANCE(29); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(30); - if (lookahead == 'o') ADVANCE(31); + if (lookahead == 'a') ADVANCE(30); + if (lookahead == 'e') ADVANCE(31); + if (lookahead == 'o') ADVANCE(32); END_STATE(); case 10: - if (lookahead == 'u') ADVANCE(32); + if (lookahead == 'u') ADVANCE(33); END_STATE(); case 11: - if (lookahead == 'a') ADVANCE(33); - if (lookahead == 'e') ADVANCE(34); - if (lookahead == 'o') ADVANCE(35); + if (lookahead == 'a') ADVANCE(34); + if (lookahead == 'e') ADVANCE(35); + if (lookahead == 'o') ADVANCE(36); END_STATE(); case 12: - if (lookahead == 'e') ADVANCE(36); - if (lookahead == 'h') ADVANCE(37); + if (lookahead == 'e') ADVANCE(37); + if (lookahead == 'h') ADVANCE(38); END_STATE(); case 13: - if (lookahead == 'a') ADVANCE(38); - if (lookahead == 'o') ADVANCE(39); - if (lookahead == 'r') ADVANCE(40); - if (lookahead == 'y') ADVANCE(41); + if (lookahead == 'a') ADVANCE(39); + if (lookahead == 'o') ADVANCE(40); + if (lookahead == 'r') ADVANCE(41); + if (lookahead == 'y') ADVANCE(42); END_STATE(); case 14: - if (lookahead == 'h') ADVANCE(42); - if (lookahead == 'o') ADVANCE(43); - if (lookahead == 'r') ADVANCE(44); + if (lookahead == 'h') ADVANCE(43); + if (lookahead == 'o') ADVANCE(44); + if (lookahead == 'r') ADVANCE(45); END_STATE(); case 15: - if (lookahead == 's') ADVANCE(45); + if (lookahead == 's') ADVANCE(46); END_STATE(); case 16: - if (lookahead == 'p') ADVANCE(46); + if (lookahead == 'p') ADVANCE(47); END_STATE(); case 17: - if (lookahead == 's') ADVANCE(47); - if (lookahead == 'y') ADVANCE(48); + if (lookahead == 's') ADVANCE(48); + if (lookahead == 'y') ADVANCE(49); END_STATE(); case 18: - if (lookahead == 's') ADVANCE(49); + if (lookahead == 's') ADVANCE(50); END_STATE(); case 19: - if (lookahead == 'l') ADVANCE(50); + if (lookahead == 'l') ADVANCE(51); END_STATE(); case 20: - if (lookahead == 'w') ADVANCE(51); + if (lookahead == 'w') ADVANCE(52); END_STATE(); case 21: - if (lookahead == 'l') ADVANCE(52); + if (lookahead == 'l') ADVANCE(53); END_STATE(); case 22: - if (lookahead == 'l') ADVANCE(53); - if (lookahead == 'n') ADVANCE(54); - if (lookahead == 's') ADVANCE(55); + if (lookahead == 'l') ADVANCE(54); + if (lookahead == 'n') ADVANCE(55); + if (lookahead == 's') ADVANCE(56); END_STATE(); case 23: - if (lookahead == 'r') ADVANCE(56); + if (lookahead == 'r') ADVANCE(57); END_STATE(); case 24: - if (lookahead == 'o') ADVANCE(57); + if (lookahead == 'o') ADVANCE(58); END_STATE(); case 25: - if (lookahead == 'n') ADVANCE(58); + if (lookahead == 'n') ADVANCE(59); END_STATE(); case 26: - if (lookahead == 'l') ADVANCE(59); + if (lookahead == 'l') ADVANCE(60); END_STATE(); case 27: ACCEPT_TOKEN(anon_sym_if); END_STATE(); case 28: ACCEPT_TOKEN(anon_sym_in); - if (lookahead == 's') ADVANCE(60); - if (lookahead == 't') ADVANCE(61); + if (lookahead == 's') ADVANCE(61); + if (lookahead == 't') ADVANCE(62); END_STATE(); case 29: - if (lookahead == 'n') ADVANCE(62); + if (lookahead == 'n') ADVANCE(63); END_STATE(); case 30: - if (lookahead == 't') ADVANCE(63); + if (lookahead == 't') ADVANCE(64); END_STATE(); case 31: - if (lookahead == 'v') ADVANCE(64); - END_STATE(); - case 32: if (lookahead == 't') ADVANCE(65); END_STATE(); + case 32: + if (lookahead == 'v') ADVANCE(66); + END_STATE(); case 33: - if (lookahead == 'n') ADVANCE(66); - if (lookahead == 'w') ADVANCE(67); + if (lookahead == 't') ADVANCE(67); END_STATE(); case 34: - if (lookahead == 'a') ADVANCE(68); - if (lookahead == 'm') ADVANCE(69); - if (lookahead == 'v') ADVANCE(70); + if (lookahead == 'n') ADVANCE(68); + if (lookahead == 'w') ADVANCE(69); END_STATE(); case 35: - if (lookahead == 'w') ADVANCE(71); + if (lookahead == 'a') ADVANCE(70); + if (lookahead == 'm') ADVANCE(71); + if (lookahead == 'v') ADVANCE(72); END_STATE(); case 36: - if (lookahead == 'l') ADVANCE(72); + if (lookahead == 'w') ADVANCE(73); END_STATE(); case 37: - ACCEPT_TOKEN(anon_sym_sh); + if (lookahead == 'l') ADVANCE(74); END_STATE(); case 38: - if (lookahead == 'b') ADVANCE(73); + ACCEPT_TOKEN(anon_sym_sh); END_STATE(); case 39: - if (lookahead == '_') ADVANCE(74); + if (lookahead == 'b') ADVANCE(75); END_STATE(); case 40: - if (lookahead == 'a') ADVANCE(75); - if (lookahead == 'u') ADVANCE(76); + if (lookahead == '_') ADVANCE(76); END_STATE(); case 41: - if (lookahead == 'p') ADVANCE(77); + if (lookahead == 'a') ADVANCE(77); + if (lookahead == 'u') ADVANCE(78); END_STATE(); case 42: - if (lookahead == 'i') ADVANCE(78); + if (lookahead == 'p') ADVANCE(79); END_STATE(); case 43: - if (lookahead == 'r') ADVANCE(79); - END_STATE(); - case 44: if (lookahead == 'i') ADVANCE(80); END_STATE(); + case 44: + if (lookahead == 'r') ADVANCE(81); + END_STATE(); case 45: - if (lookahead == 'h') ADVANCE(81); + if (lookahead == 'i') ADVANCE(82); END_STATE(); case 46: - if (lookahead == 'e') ADVANCE(82); + if (lookahead == 'h') ADVANCE(83); END_STATE(); case 47: - if (lookahead == 'e') ADVANCE(83); + if (lookahead == 'e') ADVANCE(84); END_STATE(); case 48: - if (lookahead == 'n') ADVANCE(84); + if (lookahead == 'e') ADVANCE(85); END_STATE(); case 49: - if (lookahead == 'h') ADVANCE(85); + if (lookahead == 'n') ADVANCE(86); END_STATE(); case 50: - if (lookahead == 'u') ADVANCE(86); + if (lookahead == 'h') ADVANCE(87); END_STATE(); case 51: - if (lookahead == 'n') ADVANCE(87); + if (lookahead == 'u') ADVANCE(88); END_STATE(); case 52: - if (lookahead == 's') ADVANCE(88); + if (lookahead == 'n') ADVANCE(89); END_STATE(); case 53: - if (lookahead == 't') ADVANCE(89); + if (lookahead == 's') ADVANCE(90); END_STATE(); case 54: - if (lookahead == 'd') ADVANCE(90); + if (lookahead == 't') ADVANCE(91); END_STATE(); case 55: - if (lookahead == 'h') ADVANCE(91); + if (lookahead == 'd') ADVANCE(92); END_STATE(); case 56: - ACCEPT_TOKEN(anon_sym_for); + if (lookahead == 'h') ADVANCE(93); END_STATE(); case 57: - if (lookahead == 'm') ADVANCE(92); + ACCEPT_TOKEN(anon_sym_for); END_STATE(); case 58: - if (lookahead == 'c') ADVANCE(93); + if (lookahead == 'm') ADVANCE(94); END_STATE(); case 59: - if (lookahead == 'p') ADVANCE(94); + if (lookahead == 'c') ADVANCE(95); END_STATE(); case 60: - if (lookahead == 'e') ADVANCE(95); + if (lookahead == 'p') ADVANCE(96); END_STATE(); case 61: - if (lookahead == 'o') ADVANCE(96); + if (lookahead == 'e') ADVANCE(97); END_STATE(); case 62: - if (lookahead == 'g') ADVANCE(97); + if (lookahead == 'o') ADVANCE(98); END_STATE(); case 63: - if (lookahead == 'a') ADVANCE(98); + if (lookahead == 'g') ADVANCE(99); END_STATE(); case 64: - if (lookahead == 'e') ADVANCE(99); + if (lookahead == 'c') ADVANCE(100); END_STATE(); case 65: - if (lookahead == 'p') ADVANCE(100); + if (lookahead == 'a') ADVANCE(101); END_STATE(); case 66: - if (lookahead == 'd') ADVANCE(101); + if (lookahead == 'e') ADVANCE(102); END_STATE(); case 67: - ACCEPT_TOKEN(anon_sym_raw); + if (lookahead == 'p') ADVANCE(103); END_STATE(); case 68: - if (lookahead == 'd') ADVANCE(102); + if (lookahead == 'd') ADVANCE(104); END_STATE(); case 69: - if (lookahead == 'o') ADVANCE(103); + ACCEPT_TOKEN(anon_sym_raw); END_STATE(); case 70: - if (lookahead == 'e') ADVANCE(104); + if (lookahead == 'd') ADVANCE(105); END_STATE(); case 71: - if (lookahead == 's') ADVANCE(105); + if (lookahead == 'o') ADVANCE(106); END_STATE(); case 72: - if (lookahead == 'e') ADVANCE(106); + if (lookahead == 'e') ADVANCE(107); END_STATE(); case 73: - if (lookahead == 'l') ADVANCE(107); + if (lookahead == 's') ADVANCE(108); END_STATE(); case 74: - if (lookahead == 'f') ADVANCE(108); - if (lookahead == 'j') ADVANCE(109); - if (lookahead == 's') ADVANCE(110); + if (lookahead == 'e') ADVANCE(109); END_STATE(); case 75: - if (lookahead == 'n') ADVANCE(111); + if (lookahead == 'l') ADVANCE(110); END_STATE(); case 76: - if (lookahead == 'e') ADVANCE(112); + if (lookahead == 'f') ADVANCE(111); + if (lookahead == 'j') ADVANCE(112); + if (lookahead == 's') ADVANCE(113); END_STATE(); case 77: - if (lookahead == 'e') ADVANCE(113); + if (lookahead == 'n') ADVANCE(114); END_STATE(); case 78: - if (lookahead == 'l') ADVANCE(114); + if (lookahead == 'e') ADVANCE(115); END_STATE(); case 79: - if (lookahead == 'k') ADVANCE(115); + if (lookahead == 'e') ADVANCE(116); END_STATE(); case 80: - if (lookahead == 't') ADVANCE(116); + if (lookahead == 'l') ADVANCE(117); END_STATE(); case 81: - ACCEPT_TOKEN(anon_sym_zsh); + if (lookahead == 'k') ADVANCE(118); END_STATE(); case 82: - if (lookahead == 'n') ADVANCE(117); + if (lookahead == 't') ADVANCE(119); END_STATE(); case 83: - if (lookahead == 'r') ADVANCE(118); + ACCEPT_TOKEN(anon_sym_zsh); END_STATE(); case 84: - if (lookahead == 'c') ADVANCE(119); + if (lookahead == 'n') ADVANCE(120); END_STATE(); case 85: - ACCEPT_TOKEN(anon_sym_bash); + if (lookahead == 'r') ADVANCE(121); END_STATE(); case 86: - if (lookahead == 'm') ADVANCE(120); + if (lookahead == 'c') ADVANCE(122); END_STATE(); case 87: - if (lookahead == 'l') ADVANCE(121); + ACCEPT_TOKEN(anon_sym_bash); END_STATE(); case 88: - if (lookahead == 'e') ADVANCE(122); + if (lookahead == 'm') ADVANCE(123); END_STATE(); case 89: - if (lookahead == 'e') ADVANCE(123); + if (lookahead == 'l') ADVANCE(124); END_STATE(); case 90: - ACCEPT_TOKEN(anon_sym_find); + if (lookahead == 'e') ADVANCE(125); END_STATE(); case 91: - ACCEPT_TOKEN(anon_sym_fish); + if (lookahead == 'e') ADVANCE(126); END_STATE(); case 92: - ACCEPT_TOKEN(anon_sym_from); - if (lookahead == '_') ADVANCE(124); + ACCEPT_TOKEN(anon_sym_find); END_STATE(); case 93: - if (lookahead == 't') ADVANCE(125); + ACCEPT_TOKEN(anon_sym_fish); END_STATE(); case 94: - ACCEPT_TOKEN(anon_sym_help); + ACCEPT_TOKEN(anon_sym_from); + if (lookahead == '_') ADVANCE(127); END_STATE(); case 95: - if (lookahead == 'r') ADVANCE(126); + if (lookahead == 't') ADVANCE(128); END_STATE(); case 96: - ACCEPT_TOKEN(anon_sym_into); + ACCEPT_TOKEN(anon_sym_help); END_STATE(); case 97: - if (lookahead == 't') ADVANCE(127); + if (lookahead == 'r') ADVANCE(129); END_STATE(); case 98: - if (lookahead == 'd') ADVANCE(128); + ACCEPT_TOKEN(anon_sym_into); END_STATE(); case 99: - ACCEPT_TOKEN(anon_sym_move); + if (lookahead == 't') ADVANCE(130); END_STATE(); case 100: - if (lookahead == 'u') ADVANCE(129); + if (lookahead == 'h') ADVANCE(131); END_STATE(); case 101: - if (lookahead == 'o') ADVANCE(130); + if (lookahead == 'd') ADVANCE(132); END_STATE(); case 102: - ACCEPT_TOKEN(anon_sym_read); + ACCEPT_TOKEN(anon_sym_move); END_STATE(); case 103: - if (lookahead == 'v') ADVANCE(131); + if (lookahead == 'u') ADVANCE(133); END_STATE(); case 104: - if (lookahead == 'r') ADVANCE(132); + if (lookahead == 'o') ADVANCE(134); END_STATE(); case 105: - ACCEPT_TOKEN(anon_sym_rows); + ACCEPT_TOKEN(anon_sym_read); END_STATE(); case 106: - if (lookahead == 'c') ADVANCE(133); + if (lookahead == 'v') ADVANCE(135); END_STATE(); case 107: - if (lookahead == 'e') ADVANCE(134); + if (lookahead == 'r') ADVANCE(136); END_STATE(); case 108: - if (lookahead == 'l') ADVANCE(135); + ACCEPT_TOKEN(anon_sym_rows); END_STATE(); case 109: - if (lookahead == 's') ADVANCE(136); + if (lookahead == 'c') ADVANCE(137); END_STATE(); case 110: - if (lookahead == 't') ADVANCE(137); + if (lookahead == 'e') ADVANCE(138); END_STATE(); case 111: - if (lookahead == 's') ADVANCE(138); + if (lookahead == 'l') ADVANCE(139); END_STATE(); case 112: - ACCEPT_TOKEN(anon_sym_true); + if (lookahead == 's') ADVANCE(140); END_STATE(); case 113: - ACCEPT_TOKEN(anon_sym_type); + if (lookahead == 't') ADVANCE(141); END_STATE(); case 114: - if (lookahead == 'e') ADVANCE(139); + if (lookahead == 's') ADVANCE(142); END_STATE(); case 115: - if (lookahead == 'd') ADVANCE(140); + ACCEPT_TOKEN(anon_sym_true); END_STATE(); case 116: - if (lookahead == 'e') ADVANCE(141); + ACCEPT_TOKEN(anon_sym_type); END_STATE(); case 117: - if (lookahead == 'd') ADVANCE(142); + if (lookahead == 'e') ADVANCE(143); END_STATE(); case 118: - if (lookahead == 't') ADVANCE(143); + if (lookahead == 'd') ADVANCE(144); END_STATE(); case 119: - ACCEPT_TOKEN(anon_sym_async); + if (lookahead == 'e') ADVANCE(145); END_STATE(); case 120: - if (lookahead == 'n') ADVANCE(144); + if (lookahead == 'd') ADVANCE(146); END_STATE(); case 121: - if (lookahead == 'o') ADVANCE(145); + if (lookahead == 't') ADVANCE(147); END_STATE(); case 122: - ACCEPT_TOKEN(anon_sym_false); + ACCEPT_TOKEN(anon_sym_async); END_STATE(); case 123: - if (lookahead == 'r') ADVANCE(146); + if (lookahead == 'n') ADVANCE(148); END_STATE(); case 124: - if (lookahead == 'j') ADVANCE(147); + if (lookahead == 'o') ADVANCE(149); END_STATE(); case 125: - if (lookahead == 'i') ADVANCE(148); + ACCEPT_TOKEN(anon_sym_false); END_STATE(); case 126: - if (lookahead == 't') ADVANCE(149); + if (lookahead == 'r') ADVANCE(150); END_STATE(); case 127: - if (lookahead == 'h') ADVANCE(150); + if (lookahead == 'j') ADVANCE(151); END_STATE(); case 128: - if (lookahead == 'a') ADVANCE(151); + if (lookahead == 'i') ADVANCE(152); END_STATE(); case 129: - if (lookahead == 't') ADVANCE(152); + if (lookahead == 't') ADVANCE(153); END_STATE(); case 130: - if (lookahead == 'm') ADVANCE(153); + if (lookahead == 'h') ADVANCE(154); END_STATE(); case 131: - if (lookahead == 'e') ADVANCE(154); + ACCEPT_TOKEN(anon_sym_match); END_STATE(); case 132: - if (lookahead == 's') ADVANCE(155); + if (lookahead == 'a') ADVANCE(155); END_STATE(); case 133: if (lookahead == 't') ADVANCE(156); END_STATE(); case 134: - ACCEPT_TOKEN(anon_sym_table); + if (lookahead == 'm') ADVANCE(157); END_STATE(); case 135: - if (lookahead == 'o') ADVANCE(157); + if (lookahead == 'e') ADVANCE(158); END_STATE(); case 136: - if (lookahead == 'o') ADVANCE(158); + if (lookahead == 's') ADVANCE(159); END_STATE(); case 137: - if (lookahead == 'r') ADVANCE(159); + if (lookahead == 't') ADVANCE(160); END_STATE(); case 138: - if (lookahead == 'f') ADVANCE(160); + ACCEPT_TOKEN(anon_sym_table); END_STATE(); case 139: - ACCEPT_TOKEN(anon_sym_while); + if (lookahead == 'o') ADVANCE(161); END_STATE(); case 140: - if (lookahead == 'i') ADVANCE(161); + if (lookahead == 'o') ADVANCE(162); END_STATE(); case 141: - ACCEPT_TOKEN(anon_sym_write); + if (lookahead == 'r') ADVANCE(163); END_STATE(); case 142: - ACCEPT_TOKEN(anon_sym_append); + if (lookahead == 'f') ADVANCE(164); END_STATE(); case 143: - ACCEPT_TOKEN(anon_sym_assert); - if (lookahead == '_') ADVANCE(162); + ACCEPT_TOKEN(anon_sym_while); END_STATE(); case 144: - if (lookahead == 's') ADVANCE(163); + if (lookahead == 'i') ADVANCE(165); END_STATE(); case 145: - if (lookahead == 'a') ADVANCE(164); + ACCEPT_TOKEN(anon_sym_write); END_STATE(); case 146: - ACCEPT_TOKEN(anon_sym_filter); + ACCEPT_TOKEN(anon_sym_append); END_STATE(); case 147: - if (lookahead == 's') ADVANCE(165); + ACCEPT_TOKEN(anon_sym_assert); + if (lookahead == '_') ADVANCE(166); END_STATE(); case 148: - if (lookahead == 'o') ADVANCE(166); + if (lookahead == 's') ADVANCE(167); END_STATE(); case 149: - ACCEPT_TOKEN(anon_sym_insert); + if (lookahead == 'a') ADVANCE(168); END_STATE(); case 150: - ACCEPT_TOKEN(anon_sym_length); + ACCEPT_TOKEN(anon_sym_filter); END_STATE(); case 151: - if (lookahead == 't') ADVANCE(167); + if (lookahead == 's') ADVANCE(169); END_STATE(); case 152: - ACCEPT_TOKEN(anon_sym_output); - if (lookahead == '_') ADVANCE(168); + if (lookahead == 'o') ADVANCE(170); END_STATE(); case 153: - ACCEPT_TOKEN(anon_sym_random); - if (lookahead == '_') ADVANCE(169); + ACCEPT_TOKEN(anon_sym_insert); END_STATE(); case 154: - ACCEPT_TOKEN(anon_sym_remove); + ACCEPT_TOKEN(anon_sym_length); END_STATE(); case 155: - if (lookahead == 'e') ADVANCE(170); + if (lookahead == 't') ADVANCE(171); END_STATE(); case 156: - ACCEPT_TOKEN(anon_sym_select); + ACCEPT_TOKEN(anon_sym_output); + if (lookahead == '_') ADVANCE(172); END_STATE(); case 157: - if (lookahead == 'a') ADVANCE(171); + ACCEPT_TOKEN(anon_sym_random); + if (lookahead == '_') ADVANCE(173); END_STATE(); case 158: - if (lookahead == 'n') ADVANCE(172); + ACCEPT_TOKEN(anon_sym_remove); END_STATE(); case 159: - if (lookahead == 'i') ADVANCE(173); + if (lookahead == 'e') ADVANCE(174); END_STATE(); case 160: - if (lookahead == 'o') ADVANCE(174); + ACCEPT_TOKEN(anon_sym_select); END_STATE(); case 161: - if (lookahead == 'r') ADVANCE(175); + if (lookahead == 'a') ADVANCE(175); END_STATE(); case 162: - if (lookahead == 'e') ADVANCE(176); + if (lookahead == 'n') ADVANCE(176); END_STATE(); case 163: - ACCEPT_TOKEN(anon_sym_columns); + if (lookahead == 'i') ADVANCE(177); END_STATE(); case 164: - if (lookahead == 'd') ADVANCE(177); - END_STATE(); - case 165: if (lookahead == 'o') ADVANCE(178); END_STATE(); + case 165: + if (lookahead == 'r') ADVANCE(179); + END_STATE(); case 166: - if (lookahead == 'n') ADVANCE(179); + if (lookahead == 'e') ADVANCE(180); END_STATE(); case 167: - if (lookahead == 'a') ADVANCE(180); + ACCEPT_TOKEN(anon_sym_columns); END_STATE(); case 168: - if (lookahead == 'e') ADVANCE(181); + if (lookahead == 'd') ADVANCE(181); END_STATE(); case 169: - if (lookahead == 'b') ADVANCE(182); - if (lookahead == 'f') ADVANCE(183); - if (lookahead == 'i') ADVANCE(184); + if (lookahead == 'o') ADVANCE(182); END_STATE(); case 170: - ACCEPT_TOKEN(anon_sym_reverse); + if (lookahead == 'n') ADVANCE(183); END_STATE(); case 171: - if (lookahead == 't') ADVANCE(185); + if (lookahead == 'a') ADVANCE(184); END_STATE(); case 172: - ACCEPT_TOKEN(anon_sym_to_json); + if (lookahead == 'e') ADVANCE(185); END_STATE(); case 173: - if (lookahead == 'n') ADVANCE(186); + if (lookahead == 'b') ADVANCE(186); + if (lookahead == 'f') ADVANCE(187); + if (lookahead == 'i') ADVANCE(188); END_STATE(); case 174: - if (lookahead == 'r') ADVANCE(187); + ACCEPT_TOKEN(anon_sym_reverse); END_STATE(); case 175: - ACCEPT_TOKEN(anon_sym_workdir); + if (lookahead == 't') ADVANCE(189); END_STATE(); case 176: - if (lookahead == 'q') ADVANCE(188); + ACCEPT_TOKEN(anon_sym_to_json); END_STATE(); case 177: - ACCEPT_TOKEN(anon_sym_download); + if (lookahead == 'n') ADVANCE(190); END_STATE(); case 178: - if (lookahead == 'n') ADVANCE(189); + if (lookahead == 'r') ADVANCE(191); END_STATE(); case 179: - ACCEPT_TOKEN(anon_sym_function); + ACCEPT_TOKEN(anon_sym_workdir); END_STATE(); case 180: - ACCEPT_TOKEN(anon_sym_metadata); + if (lookahead == 'q') ADVANCE(192); END_STATE(); case 181: - if (lookahead == 'r') ADVANCE(190); + ACCEPT_TOKEN(anon_sym_download); END_STATE(); case 182: - if (lookahead == 'o') ADVANCE(191); - END_STATE(); - case 183: - if (lookahead == 'l') ADVANCE(192); - END_STATE(); - case 184: if (lookahead == 'n') ADVANCE(193); END_STATE(); + case 183: + ACCEPT_TOKEN(anon_sym_function); + END_STATE(); + case 184: + ACCEPT_TOKEN(anon_sym_metadata); + END_STATE(); case 185: - ACCEPT_TOKEN(anon_sym_to_float); + if (lookahead == 'r') ADVANCE(194); END_STATE(); case 186: - if (lookahead == 'g') ADVANCE(194); + if (lookahead == 'o') ADVANCE(195); END_STATE(); case 187: - if (lookahead == 'm') ADVANCE(195); + if (lookahead == 'l') ADVANCE(196); END_STATE(); case 188: - if (lookahead == 'u') ADVANCE(196); + if (lookahead == 'n') ADVANCE(197); END_STATE(); case 189: - ACCEPT_TOKEN(anon_sym_from_json); + ACCEPT_TOKEN(anon_sym_to_float); END_STATE(); case 190: - if (lookahead == 'r') ADVANCE(197); + if (lookahead == 'g') ADVANCE(198); END_STATE(); case 191: - if (lookahead == 'o') ADVANCE(198); + if (lookahead == 'm') ADVANCE(199); END_STATE(); case 192: - if (lookahead == 'o') ADVANCE(199); + if (lookahead == 'u') ADVANCE(200); END_STATE(); case 193: - if (lookahead == 't') ADVANCE(200); + ACCEPT_TOKEN(anon_sym_from_json); END_STATE(); case 194: - ACCEPT_TOKEN(anon_sym_to_string); + if (lookahead == 'r') ADVANCE(201); END_STATE(); case 195: - ACCEPT_TOKEN(anon_sym_transform); - END_STATE(); - case 196: - if (lookahead == 'a') ADVANCE(201); - END_STATE(); - case 197: if (lookahead == 'o') ADVANCE(202); END_STATE(); + case 196: + if (lookahead == 'o') ADVANCE(203); + END_STATE(); + case 197: + if (lookahead == 't') ADVANCE(204); + END_STATE(); case 198: - if (lookahead == 'l') ADVANCE(203); + ACCEPT_TOKEN(anon_sym_to_string); END_STATE(); case 199: - if (lookahead == 'a') ADVANCE(204); + ACCEPT_TOKEN(anon_sym_transform); END_STATE(); case 200: - if (lookahead == 'e') ADVANCE(205); + if (lookahead == 'a') ADVANCE(205); END_STATE(); case 201: - if (lookahead == 'l') ADVANCE(206); + if (lookahead == 'o') ADVANCE(206); END_STATE(); case 202: - if (lookahead == 'r') ADVANCE(207); + if (lookahead == 'l') ADVANCE(207); END_STATE(); case 203: - if (lookahead == 'e') ADVANCE(208); + if (lookahead == 'a') ADVANCE(208); END_STATE(); case 204: - if (lookahead == 't') ADVANCE(209); + if (lookahead == 'e') ADVANCE(209); END_STATE(); case 205: - if (lookahead == 'g') ADVANCE(210); + if (lookahead == 'l') ADVANCE(210); END_STATE(); case 206: - ACCEPT_TOKEN(anon_sym_assert_equal); + if (lookahead == 'r') ADVANCE(211); END_STATE(); case 207: - ACCEPT_TOKEN(anon_sym_output_error); - END_STATE(); - case 208: - if (lookahead == 'a') ADVANCE(211); - END_STATE(); - case 209: - ACCEPT_TOKEN(anon_sym_random_float); - END_STATE(); - case 210: if (lookahead == 'e') ADVANCE(212); END_STATE(); + case 208: + if (lookahead == 't') ADVANCE(213); + END_STATE(); + case 209: + if (lookahead == 'g') ADVANCE(214); + END_STATE(); + case 210: + ACCEPT_TOKEN(anon_sym_assert_equal); + END_STATE(); case 211: - if (lookahead == 'n') ADVANCE(213); + ACCEPT_TOKEN(anon_sym_output_error); END_STATE(); case 212: - if (lookahead == 'r') ADVANCE(214); + if (lookahead == 'a') ADVANCE(215); END_STATE(); case 213: - ACCEPT_TOKEN(anon_sym_random_boolean); + ACCEPT_TOKEN(anon_sym_random_float); END_STATE(); case 214: + if (lookahead == 'e') ADVANCE(216); + END_STATE(); + case 215: + if (lookahead == 'n') ADVANCE(217); + END_STATE(); + case 216: + if (lookahead == 'r') ADVANCE(218); + END_STATE(); + case 217: + ACCEPT_TOKEN(anon_sym_random_boolean); + END_STATE(); + case 218: ACCEPT_TOKEN(anon_sym_random_integer); END_STATE(); default: @@ -2256,147 +2277,147 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 12}, - [2] = {.lex_state = 12}, - [3] = {.lex_state = 12}, - [4] = {.lex_state = 12}, - [5] = {.lex_state = 12}, - [6] = {.lex_state = 12}, - [7] = {.lex_state = 12}, - [8] = {.lex_state = 12}, - [9] = {.lex_state = 12}, - [10] = {.lex_state = 12}, - [11] = {.lex_state = 12}, - [12] = {.lex_state = 12}, - [13] = {.lex_state = 12}, - [14] = {.lex_state = 12}, - [15] = {.lex_state = 12}, - [16] = {.lex_state = 12}, - [17] = {.lex_state = 12}, - [18] = {.lex_state = 12}, - [19] = {.lex_state = 12}, - [20] = {.lex_state = 12}, - [21] = {.lex_state = 12}, - [22] = {.lex_state = 12}, - [23] = {.lex_state = 12}, - [24] = {.lex_state = 12}, - [25] = {.lex_state = 12}, - [26] = {.lex_state = 12}, - [27] = {.lex_state = 12}, - [28] = {.lex_state = 12}, - [29] = {.lex_state = 12}, - [30] = {.lex_state = 12}, - [31] = {.lex_state = 12}, - [32] = {.lex_state = 12}, - [33] = {.lex_state = 12}, - [34] = {.lex_state = 12}, - [35] = {.lex_state = 12}, - [36] = {.lex_state = 12}, - [37] = {.lex_state = 12}, - [38] = {.lex_state = 12}, - [39] = {.lex_state = 12}, - [40] = {.lex_state = 12}, - [41] = {.lex_state = 12}, - [42] = {.lex_state = 12}, - [43] = {.lex_state = 12}, - [44] = {.lex_state = 12}, - [45] = {.lex_state = 12}, - [46] = {.lex_state = 12}, - [47] = {.lex_state = 12}, - [48] = {.lex_state = 12}, - [49] = {.lex_state = 12}, - [50] = {.lex_state = 12}, - [51] = {.lex_state = 12}, - [52] = {.lex_state = 12}, - [53] = {.lex_state = 12}, - [54] = {.lex_state = 12}, - [55] = {.lex_state = 12}, - [56] = {.lex_state = 12}, - [57] = {.lex_state = 12}, - [58] = {.lex_state = 12}, - [59] = {.lex_state = 12}, - [60] = {.lex_state = 12}, - [61] = {.lex_state = 12}, - [62] = {.lex_state = 12}, - [63] = {.lex_state = 12}, - [64] = {.lex_state = 12}, - [65] = {.lex_state = 12}, - [66] = {.lex_state = 12}, + [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 = 14}, + [21] = {.lex_state = 14}, + [22] = {.lex_state = 14}, + [23] = {.lex_state = 14}, + [24] = {.lex_state = 14}, + [25] = {.lex_state = 14}, + [26] = {.lex_state = 14}, + [27] = {.lex_state = 14}, + [28] = {.lex_state = 14}, + [29] = {.lex_state = 14}, + [30] = {.lex_state = 14}, + [31] = {.lex_state = 14}, + [32] = {.lex_state = 14}, + [33] = {.lex_state = 14}, + [34] = {.lex_state = 14}, + [35] = {.lex_state = 14}, + [36] = {.lex_state = 14}, + [37] = {.lex_state = 14}, + [38] = {.lex_state = 14}, + [39] = {.lex_state = 14}, + [40] = {.lex_state = 14}, + [41] = {.lex_state = 14}, + [42] = {.lex_state = 14}, + [43] = {.lex_state = 14}, + [44] = {.lex_state = 14}, + [45] = {.lex_state = 14}, + [46] = {.lex_state = 14}, + [47] = {.lex_state = 14}, + [48] = {.lex_state = 14}, + [49] = {.lex_state = 14}, + [50] = {.lex_state = 14}, + [51] = {.lex_state = 14}, + [52] = {.lex_state = 14}, + [53] = {.lex_state = 14}, + [54] = {.lex_state = 14}, + [55] = {.lex_state = 14}, + [56] = {.lex_state = 14}, + [57] = {.lex_state = 14}, + [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 = 14}, [67] = {.lex_state = 0}, - [68] = {.lex_state = 0}, - [69] = {.lex_state = 12}, - [70] = {.lex_state = 12}, - [71] = {.lex_state = 12}, - [72] = {.lex_state = 12}, - [73] = {.lex_state = 0}, - [74] = {.lex_state = 12}, - [75] = {.lex_state = 12}, - [76] = {.lex_state = 12}, - [77] = {.lex_state = 12}, - [78] = {.lex_state = 12}, - [79] = {.lex_state = 12}, - [80] = {.lex_state = 12}, - [81] = {.lex_state = 12}, - [82] = {.lex_state = 12}, - [83] = {.lex_state = 12}, - [84] = {.lex_state = 12}, - [85] = {.lex_state = 12}, - [86] = {.lex_state = 12}, - [87] = {.lex_state = 12}, - [88] = {.lex_state = 12}, - [89] = {.lex_state = 12}, - [90] = {.lex_state = 12}, - [91] = {.lex_state = 12}, - [92] = {.lex_state = 12}, - [93] = {.lex_state = 12}, - [94] = {.lex_state = 0}, - [95] = {.lex_state = 12}, - [96] = {.lex_state = 12}, - [97] = {.lex_state = 12}, - [98] = {.lex_state = 12}, - [99] = {.lex_state = 12}, - [100] = {.lex_state = 12}, - [101] = {.lex_state = 12}, - [102] = {.lex_state = 12}, - [103] = {.lex_state = 12}, - [104] = {.lex_state = 12}, - [105] = {.lex_state = 12}, - [106] = {.lex_state = 12}, - [107] = {.lex_state = 12}, - [108] = {.lex_state = 12}, - [109] = {.lex_state = 0}, - [110] = {.lex_state = 12}, - [111] = {.lex_state = 12}, - [112] = {.lex_state = 12}, - [113] = {.lex_state = 12}, - [114] = {.lex_state = 12}, - [115] = {.lex_state = 12}, - [116] = {.lex_state = 12}, - [117] = {.lex_state = 12}, - [118] = {.lex_state = 12}, - [119] = {.lex_state = 12}, - [120] = {.lex_state = 12}, - [121] = {.lex_state = 12}, - [122] = {.lex_state = 12}, - [123] = {.lex_state = 12}, - [124] = {.lex_state = 12}, - [125] = {.lex_state = 12}, - [126] = {.lex_state = 12}, - [127] = {.lex_state = 12}, - [128] = {.lex_state = 12}, - [129] = {.lex_state = 12}, - [130] = {.lex_state = 12}, - [131] = {.lex_state = 12}, - [132] = {.lex_state = 12}, - [133] = {.lex_state = 1}, - [134] = {.lex_state = 1}, - [135] = {.lex_state = 1}, - [136] = {.lex_state = 1}, - [137] = {.lex_state = 1}, - [138] = {.lex_state = 1}, - [139] = {.lex_state = 1}, - [140] = {.lex_state = 1}, - [141] = {.lex_state = 1}, + [68] = {.lex_state = 14}, + [69] = {.lex_state = 0}, + [70] = {.lex_state = 14}, + [71] = {.lex_state = 0}, + [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 = 0}, + [85] = {.lex_state = 0}, + [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 = 14}, + [107] = {.lex_state = 14}, + [108] = {.lex_state = 14}, + [109] = {.lex_state = 14}, + [110] = {.lex_state = 14}, + [111] = {.lex_state = 14}, + [112] = {.lex_state = 14}, + [113] = {.lex_state = 14}, + [114] = {.lex_state = 14}, + [115] = {.lex_state = 14}, + [116] = {.lex_state = 14}, + [117] = {.lex_state = 14}, + [118] = {.lex_state = 14}, + [119] = {.lex_state = 14}, + [120] = {.lex_state = 14}, + [121] = {.lex_state = 14}, + [122] = {.lex_state = 14}, + [123] = {.lex_state = 14}, + [124] = {.lex_state = 14}, + [125] = {.lex_state = 14}, + [126] = {.lex_state = 14}, + [127] = {.lex_state = 14}, + [128] = {.lex_state = 14}, + [129] = {.lex_state = 14}, + [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 = 14}, + [138] = {.lex_state = 14}, + [139] = {.lex_state = 14}, + [140] = {.lex_state = 14}, + [141] = {.lex_state = 14}, [142] = {.lex_state = 1}, [143] = {.lex_state = 1}, [144] = {.lex_state = 1}, @@ -2424,7 +2445,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [166] = {.lex_state = 1}, [167] = {.lex_state = 1}, [168] = {.lex_state = 1}, - [169] = {.lex_state = 1}, + [169] = {.lex_state = 2}, [170] = {.lex_state = 1}, [171] = {.lex_state = 1}, [172] = {.lex_state = 1}, @@ -2434,80 +2455,80 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [176] = {.lex_state = 1}, [177] = {.lex_state = 1}, [178] = {.lex_state = 1}, - [179] = {.lex_state = 12}, - [180] = {.lex_state = 12}, - [181] = {.lex_state = 12}, - [182] = {.lex_state = 12}, - [183] = {.lex_state = 12}, - [184] = {.lex_state = 12}, - [185] = {.lex_state = 12}, - [186] = {.lex_state = 12}, - [187] = {.lex_state = 12}, - [188] = {.lex_state = 12}, - [189] = {.lex_state = 12}, - [190] = {.lex_state = 12}, - [191] = {.lex_state = 12}, - [192] = {.lex_state = 12}, - [193] = {.lex_state = 12}, - [194] = {.lex_state = 12}, - [195] = {.lex_state = 12}, - [196] = {.lex_state = 12}, - [197] = {.lex_state = 12}, - [198] = {.lex_state = 12}, - [199] = {.lex_state = 12}, - [200] = {.lex_state = 12}, - [201] = {.lex_state = 12}, - [202] = {.lex_state = 12}, - [203] = {.lex_state = 12}, - [204] = {.lex_state = 0}, - [205] = {.lex_state = 12}, - [206] = {.lex_state = 0}, - [207] = {.lex_state = 12}, - [208] = {.lex_state = 12}, - [209] = {.lex_state = 0}, - [210] = {.lex_state = 0}, - [211] = {.lex_state = 0}, - [212] = {.lex_state = 12}, - [213] = {.lex_state = 0}, - [214] = {.lex_state = 0}, - [215] = {.lex_state = 12}, - [216] = {.lex_state = 12}, + [179] = {.lex_state = 1}, + [180] = {.lex_state = 1}, + [181] = {.lex_state = 1}, + [182] = {.lex_state = 1}, + [183] = {.lex_state = 1}, + [184] = {.lex_state = 1}, + [185] = {.lex_state = 1}, + [186] = {.lex_state = 1}, + [187] = {.lex_state = 1}, + [188] = {.lex_state = 1}, + [189] = {.lex_state = 1}, + [190] = {.lex_state = 1}, + [191] = {.lex_state = 14}, + [192] = {.lex_state = 14}, + [193] = {.lex_state = 14}, + [194] = {.lex_state = 14}, + [195] = {.lex_state = 14}, + [196] = {.lex_state = 14}, + [197] = {.lex_state = 14}, + [198] = {.lex_state = 14}, + [199] = {.lex_state = 14}, + [200] = {.lex_state = 14}, + [201] = {.lex_state = 14}, + [202] = {.lex_state = 14}, + [203] = {.lex_state = 14}, + [204] = {.lex_state = 14}, + [205] = {.lex_state = 14}, + [206] = {.lex_state = 14}, + [207] = {.lex_state = 14}, + [208] = {.lex_state = 14}, + [209] = {.lex_state = 14}, + [210] = {.lex_state = 14}, + [211] = {.lex_state = 14}, + [212] = {.lex_state = 14}, + [213] = {.lex_state = 14}, + [214] = {.lex_state = 14}, + [215] = {.lex_state = 14}, + [216] = {.lex_state = 14}, [217] = {.lex_state = 0}, - [218] = {.lex_state = 12}, - [219] = {.lex_state = 12}, + [218] = {.lex_state = 14}, + [219] = {.lex_state = 14}, [220] = {.lex_state = 0}, - [221] = {.lex_state = 0}, - [222] = {.lex_state = 0}, - [223] = {.lex_state = 12}, - [224] = {.lex_state = 12}, - [225] = {.lex_state = 12}, - [226] = {.lex_state = 0}, + [221] = {.lex_state = 14}, + [222] = {.lex_state = 14}, + [223] = {.lex_state = 0}, + [224] = {.lex_state = 14}, + [225] = {.lex_state = 0}, + [226] = {.lex_state = 14}, [227] = {.lex_state = 0}, [228] = {.lex_state = 0}, - [229] = {.lex_state = 0}, - [230] = {.lex_state = 12}, - [231] = {.lex_state = 12}, - [232] = {.lex_state = 12}, - [233] = {.lex_state = 12}, - [234] = {.lex_state = 12}, - [235] = {.lex_state = 0}, - [236] = {.lex_state = 0}, - [237] = {.lex_state = 12}, - [238] = {.lex_state = 0}, - [239] = {.lex_state = 12}, - [240] = {.lex_state = 12}, + [229] = {.lex_state = 14}, + [230] = {.lex_state = 0}, + [231] = {.lex_state = 14}, + [232] = {.lex_state = 0}, + [233] = {.lex_state = 0}, + [234] = {.lex_state = 0}, + [235] = {.lex_state = 14}, + [236] = {.lex_state = 14}, + [237] = {.lex_state = 0}, + [238] = {.lex_state = 14}, + [239] = {.lex_state = 0}, + [240] = {.lex_state = 0}, [241] = {.lex_state = 0}, - [242] = {.lex_state = 0}, - [243] = {.lex_state = 12}, - [244] = {.lex_state = 0}, + [242] = {.lex_state = 14}, + [243] = {.lex_state = 14}, + [244] = {.lex_state = 14}, [245] = {.lex_state = 0}, [246] = {.lex_state = 0}, - [247] = {.lex_state = 0}, - [248] = {.lex_state = 0}, + [247] = {.lex_state = 14}, + [248] = {.lex_state = 14}, [249] = {.lex_state = 0}, [250] = {.lex_state = 0}, [251] = {.lex_state = 0}, - [252] = {.lex_state = 0}, + [252] = {.lex_state = 14}, [253] = {.lex_state = 0}, [254] = {.lex_state = 0}, [255] = {.lex_state = 0}, @@ -2515,9 +2536,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [257] = {.lex_state = 0}, [258] = {.lex_state = 0}, [259] = {.lex_state = 0}, - [260] = {.lex_state = 0}, + [260] = {.lex_state = 14}, [261] = {.lex_state = 0}, [262] = {.lex_state = 0}, + [263] = {.lex_state = 14}, + [264] = {.lex_state = 0}, + [265] = {.lex_state = 0}, + [266] = {.lex_state = 0}, + [267] = {.lex_state = 0}, + [268] = {.lex_state = 14}, + [269] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2527,9 +2555,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [aux_sym_comment_token1] = ACTIONS(1), [anon_sym_LPAREN] = ACTIONS(1), [anon_sym_RPAREN] = ACTIONS(1), - [sym__numeric] = ACTIONS(1), - [anon_sym_DASH] = ACTIONS(1), - [anon_sym_DOT] = ACTIONS(1), + [aux_sym_integer_token1] = ACTIONS(1), + [aux_sym_float_token1] = ACTIONS(1), [sym_string] = ACTIONS(1), [anon_sym_true] = ACTIONS(1), [anon_sym_false] = ACTIONS(1), @@ -2546,7 +2573,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT] = ACTIONS(1), [anon_sym_table] = ACTIONS(1), [anon_sym_PLUS] = ACTIONS(1), - [anon_sym_DASH2] = ACTIONS(1), + [anon_sym_DASH] = ACTIONS(1), [anon_sym_STAR] = ACTIONS(1), [anon_sym_SLASH] = ACTIONS(1), [anon_sym_PERCENT] = ACTIONS(1), @@ -2561,6 +2588,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_if] = ACTIONS(1), [anon_sym_elseif] = ACTIONS(1), [anon_sym_else] = ACTIONS(1), + [anon_sym_match] = ACTIONS(1), + [anon_sym_EQ_GT] = ACTIONS(1), [anon_sym_while] = ACTIONS(1), [anon_sym_for] = ACTIONS(1), [anon_sym_in] = ACTIONS(1), @@ -2605,44 +2634,45 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_reverse] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(235), - [sym_item] = STATE(4), - [sym_statement] = STATE(24), - [sym_comment] = STATE(131), + [sym_root] = STATE(232), + [sym_item] = STATE(5), + [sym_statement] = STATE(26), + [sym_comment] = STATE(134), [sym_expression] = STATE(64), - [sym__expression_kind] = STATE(48), - [sym_value] = STATE(48), - [sym_integer] = STATE(60), - [sym_float] = STATE(60), - [sym_boolean] = STATE(60), - [sym_list] = STATE(60), - [sym_map] = STATE(60), - [sym_index] = STATE(48), - [sym_function] = STATE(60), - [sym_table] = STATE(60), - [sym_math] = STATE(48), - [sym_logic] = STATE(48), - [sym_assignment] = STATE(131), - [sym_if_else] = STATE(131), - [sym_if] = STATE(68), - [sym_function_call] = STATE(48), - [sym_while] = STATE(131), - [sym_for] = STATE(131), - [sym_transform] = STATE(131), - [sym_filter] = STATE(131), - [sym_find] = STATE(131), - [sym_remove] = STATE(131), - [sym_select] = STATE(131), - [sym_insert] = STATE(131), - [sym_async] = STATE(131), - [sym_tool] = STATE(48), - [aux_sym_root_repeat1] = STATE(4), - [aux_sym_item_repeat1] = STATE(24), + [sym__expression_kind] = STATE(52), + [sym_value] = STATE(52), + [sym_integer] = STATE(59), + [sym_float] = STATE(59), + [sym_boolean] = STATE(59), + [sym_list] = STATE(59), + [sym_map] = STATE(59), + [sym_index] = STATE(52), + [sym_function] = STATE(59), + [sym_table] = STATE(59), + [sym_math] = STATE(52), + [sym_logic] = STATE(52), + [sym_assignment] = STATE(134), + [sym_if_else] = STATE(134), + [sym_if] = STATE(67), + [sym_function_call] = STATE(52), + [sym_match] = STATE(134), + [sym_while] = STATE(134), + [sym_for] = STATE(134), + [sym_transform] = STATE(134), + [sym_filter] = STATE(134), + [sym_find] = STATE(134), + [sym_remove] = STATE(134), + [sym_select] = STATE(134), + [sym_insert] = STATE(134), + [sym_async] = STATE(134), + [sym_tool] = STATE(52), + [aux_sym_root_repeat1] = STATE(5), + [aux_sym_item_repeat1] = STATE(26), [sym_identifier] = ACTIONS(3), [aux_sym_comment_token1] = ACTIONS(5), [anon_sym_LPAREN] = ACTIONS(7), - [sym__numeric] = ACTIONS(9), - [anon_sym_DASH] = ACTIONS(11), + [aux_sym_integer_token1] = ACTIONS(9), + [aux_sym_float_token1] = ACTIONS(11), [sym_string] = ACTIONS(13), [anon_sym_true] = ACTIONS(15), [anon_sym_false] = ACTIONS(15), @@ -2651,46 +2681,47 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_function] = ACTIONS(21), [anon_sym_table] = ACTIONS(23), [anon_sym_if] = ACTIONS(25), - [anon_sym_while] = ACTIONS(27), - [anon_sym_for] = ACTIONS(29), - [anon_sym_transform] = ACTIONS(31), - [anon_sym_filter] = ACTIONS(33), - [anon_sym_find] = ACTIONS(35), - [anon_sym_remove] = ACTIONS(37), - [anon_sym_select] = ACTIONS(39), - [anon_sym_insert] = ACTIONS(41), - [anon_sym_async] = ACTIONS(43), + [anon_sym_match] = ACTIONS(27), + [anon_sym_while] = ACTIONS(29), + [anon_sym_for] = ACTIONS(31), + [anon_sym_transform] = ACTIONS(33), + [anon_sym_filter] = ACTIONS(35), + [anon_sym_find] = ACTIONS(37), + [anon_sym_remove] = ACTIONS(39), + [anon_sym_select] = ACTIONS(41), + [anon_sym_insert] = ACTIONS(43), + [anon_sym_async] = ACTIONS(45), }, }; static const uint16_t ts_small_parse_table[] = { [0] = 15, - ACTIONS(45), 1, - sym_identifier, ACTIONS(47), 1, - anon_sym_LPAREN, + sym_identifier, ACTIONS(49), 1, - sym__numeric, + anon_sym_LPAREN, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - STATE(75), 1, + STATE(83), 1, sym__tool_kind, - STATE(176), 1, + STATE(188), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -2698,7 +2729,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(178), 7, + STATE(189), 7, sym__expression_kind, sym_value, sym_index, @@ -2706,7 +2737,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - ACTIONS(65), 31, + ACTIONS(67), 31, anon_sym_remove, anon_sym_assert, anon_sym_assert_equal, @@ -2739,32 +2770,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_rows, anon_sym_reverse, [89] = 15, - ACTIONS(47), 1, - anon_sym_LPAREN, ACTIONS(49), 1, - sym__numeric, + anon_sym_LPAREN, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(67), 1, + ACTIONS(69), 1, sym_identifier, STATE(77), 1, sym__tool_kind, - STATE(176), 1, + STATE(188), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -2772,7 +2803,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(177), 7, + STATE(190), 7, sym__expression_kind, sym_value, sym_index, @@ -2780,7 +2811,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - ACTIONS(69), 31, + ACTIONS(71), 31, anon_sym_remove, anon_sym_assert, anon_sym_assert_equal, @@ -2812,92 +2843,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_columns, anon_sym_rows, anon_sym_reverse, - [178] = 29, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - ACTIONS(71), 1, - ts_builtin_sym_end, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(5), 2, - sym_item, - aux_sym_root_repeat1, - STATE(24), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [292] = 29, + [178] = 30, ACTIONS(73), 1, ts_builtin_sym_end, ACTIONS(75), 1, @@ -2907,9 +2853,9 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(81), 1, anon_sym_LPAREN, ACTIONS(84), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(87), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(90), 1, sym_string, ACTIONS(96), 1, @@ -2923,37 +2869,39 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(108), 1, anon_sym_if, ACTIONS(111), 1, - anon_sym_while, + anon_sym_match, ACTIONS(114), 1, - anon_sym_for, + anon_sym_while, ACTIONS(117), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(120), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(123), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(126), 1, - anon_sym_remove, + anon_sym_find, ACTIONS(129), 1, - anon_sym_select, + anon_sym_remove, ACTIONS(132), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(135), 1, + anon_sym_insert, + ACTIONS(138), 1, anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, ACTIONS(93), 2, anon_sym_true, anon_sym_false, - STATE(5), 2, + STATE(4), 2, sym_item, aux_sym_root_repeat1, - STATE(24), 2, + STATE(26), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -2961,7 +2909,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -2969,10 +2917,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -2982,61 +2931,151 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [406] = 28, - ACTIONS(140), 1, + [296] = 30, + ACTIONS(3), 1, sym_identifier, - ACTIONS(143), 1, + ACTIONS(5), 1, aux_sym_comment_token1, - ACTIONS(146), 1, + ACTIONS(7), 1, anon_sym_LPAREN, - ACTIONS(149), 1, - sym__numeric, - ACTIONS(152), 1, - anon_sym_DASH, - ACTIONS(155), 1, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, sym_string, - ACTIONS(161), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(164), 1, + ACTIONS(19), 1, anon_sym_LBRACE, - ACTIONS(167), 1, + ACTIONS(21), 1, anon_sym_function, - ACTIONS(170), 1, + ACTIONS(23), 1, anon_sym_table, - ACTIONS(173), 1, + ACTIONS(25), 1, anon_sym_if, - ACTIONS(176), 1, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, anon_sym_while, - ACTIONS(179), 1, + ACTIONS(31), 1, anon_sym_for, - ACTIONS(182), 1, + ACTIONS(33), 1, anon_sym_transform, - ACTIONS(185), 1, + ACTIONS(35), 1, anon_sym_filter, - ACTIONS(188), 1, + ACTIONS(37), 1, anon_sym_find, - ACTIONS(191), 1, + ACTIONS(39), 1, anon_sym_remove, - ACTIONS(194), 1, + ACTIONS(41), 1, anon_sym_select, - ACTIONS(197), 1, + ACTIONS(43), 1, anon_sym_insert, - ACTIONS(200), 1, + ACTIONS(45), 1, + anon_sym_async, + ACTIONS(141), 1, + ts_builtin_sym_end, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_item, + aux_sym_root_repeat1, + STATE(26), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [414] = 29, + ACTIONS(145), 1, + sym_identifier, + ACTIONS(148), 1, + aux_sym_comment_token1, + ACTIONS(151), 1, + anon_sym_LPAREN, + ACTIONS(154), 1, + aux_sym_integer_token1, + ACTIONS(157), 1, + aux_sym_float_token1, + ACTIONS(160), 1, + sym_string, + ACTIONS(166), 1, + anon_sym_LBRACK, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(172), 1, + anon_sym_function, + ACTIONS(175), 1, + anon_sym_table, + ACTIONS(178), 1, + anon_sym_if, + ACTIONS(181), 1, + anon_sym_match, + ACTIONS(184), 1, + anon_sym_while, + ACTIONS(187), 1, + anon_sym_for, + ACTIONS(190), 1, + anon_sym_transform, + ACTIONS(193), 1, + anon_sym_filter, + ACTIONS(196), 1, + anon_sym_find, + ACTIONS(199), 1, + anon_sym_remove, + ACTIONS(202), 1, + anon_sym_select, + ACTIONS(205), 1, + anon_sym_insert, + ACTIONS(208), 1, anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, - ACTIONS(138), 2, + ACTIONS(143), 2, ts_builtin_sym_end, anon_sym_RBRACE, - ACTIONS(158), 2, + ACTIONS(163), 2, anon_sym_true, anon_sym_false, STATE(6), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -3044,7 +3083,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -3052,10 +3091,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -3065,7 +3105,7 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [517] = 28, + [529] = 29, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -3073,9 +3113,9 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -3089,938 +3129,38 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, + anon_sym_while, ACTIONS(31), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, - anon_sym_remove, + anon_sym_find, ACTIONS(39), 1, - anon_sym_select, + anon_sym_remove, ACTIONS(41), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, - sym_if, - STATE(256), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [627] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(249), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [737] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(229), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [847] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - ACTIONS(203), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [957] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - ACTIONS(205), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(10), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1067] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(246), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1177] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(227), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1287] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(226), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1397] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(255), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1507] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(221), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1617] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(244), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [1727] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, STATE(261), 1, sym_item, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(23), 2, + STATE(14), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4028,7 +3168,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4036,10 +3176,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4049,7 +3190,7 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [1837] = 28, + [643] = 29, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -4057,9 +3198,9 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -4073,36 +3214,38 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, + anon_sym_while, ACTIONS(31), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, - anon_sym_remove, + anon_sym_find, ACTIONS(39), 1, - anon_sym_select, + anon_sym_remove, ACTIONS(41), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, - STATE(254), 1, + STATE(233), 1, sym_item, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(23), 2, + STATE(14), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4110,7 +3253,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4118,10 +3261,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4131,7 +3275,7 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [1947] = 28, + [757] = 29, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -4139,9 +3283,9 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -4155,36 +3299,38 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, + anon_sym_while, ACTIONS(31), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, - anon_sym_remove, + anon_sym_find, ACTIONS(39), 1, - anon_sym_select, + anon_sym_remove, ACTIONS(41), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, - STATE(258), 1, + STATE(230), 1, sym_item, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(23), 2, + STATE(14), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4192,7 +3338,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4200,10 +3346,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4213,7 +3360,7 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [2057] = 28, + [871] = 29, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -4221,9 +3368,9 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -4237,192 +3384,115 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(236), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [2167] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(39), 1, - anon_sym_select, - ACTIONS(41), 1, - anon_sym_insert, - ACTIONS(43), 1, - anon_sym_async, - STATE(64), 1, - sym_expression, - STATE(68), 1, - sym_if, - STATE(222), 1, - sym_item, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_item_repeat1, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [2277] = 28, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, - anon_sym_remove, + anon_sym_find, ACTIONS(39), 1, - anon_sym_select, + anon_sym_remove, ACTIONS(41), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, anon_sym_async, - ACTIONS(207), 1, + ACTIONS(211), 1, anon_sym_RBRACE, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, + sym_if, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(11), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [985] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + ACTIONS(213), 1, + anon_sym_RBRACE, + STATE(64), 1, + sym_expression, + STATE(67), 1, sym_if, ACTIONS(15), 2, anon_sym_true, @@ -4430,7 +3500,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(6), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4438,7 +3508,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4446,10 +3516,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4459,15 +3530,53 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [2387] = 8, + [1099] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, STATE(6), 2, sym_statement, aux_sym_item_repeat1, - STATE(48), 7, + ACTIONS(215), 6, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + ACTIONS(217), 6, + anon_sym_LPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4475,7 +3584,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4483,95 +3592,1142 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - ACTIONS(207), 8, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1195] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(267), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1309] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + ACTIONS(217), 1, + anon_sym_RBRACE, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(6), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1423] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(192), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(12), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1537] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(237), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1651] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(239), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1765] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(249), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1879] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(250), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [1993] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(251), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2107] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(262), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2221] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(225), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2335] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(265), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2449] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(253), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2563] = 29, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(41), 1, + anon_sym_select, + ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(241), 1, + sym_item, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2677] = 8, + STATE(64), 1, + sym_expression, + STATE(67), 1, + sym_if, + STATE(6), 2, + sym_statement, + aux_sym_item_repeat1, + ACTIONS(217), 7, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - ACTIONS(209), 15, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [2457] = 27, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(43), 1, - anon_sym_async, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_select, - ACTIONS(215), 1, - anon_sym_insert, - STATE(68), 1, - sym_if, - STATE(171), 1, - sym_expression, - STATE(209), 1, - sym_statement, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4579,7 +4735,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4587,10 +4743,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4600,57 +4757,80 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [2563] = 27, + ACTIONS(215), 17, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [2749] = 29, + ACTIONS(3), 1, + sym_identifier, ACTIONS(5), 1, aux_sym_comment_token1, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, + anon_sym_while, ACTIONS(31), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, anon_sym_remove, - ACTIONS(43), 1, - anon_sym_async, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, + ACTIONS(41), 1, anon_sym_select, - ACTIONS(215), 1, + ACTIONS(43), 1, anon_sym_insert, - STATE(68), 1, - sym_if, - STATE(171), 1, + ACTIONS(45), 1, + anon_sym_async, + STATE(64), 1, sym_expression, - STATE(228), 1, - sym_statement, - ACTIONS(55), 2, + STATE(67), 1, + sym_if, + STATE(234), 1, + sym_item, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4658,7 +4838,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4666,10 +4846,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4679,57 +4860,141 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [2669] = 27, + [2863] = 28, ACTIONS(5), 1, aux_sym_comment_token1, ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, + anon_sym_while, ACTIONS(31), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, anon_sym_remove, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_async, - ACTIONS(47), 1, - anon_sym_LPAREN, ACTIONS(49), 1, - sym__numeric, + anon_sym_LPAREN, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(211), 1, + ACTIONS(219), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(221), 1, anon_sym_select, - ACTIONS(215), 1, + ACTIONS(223), 1, anon_sym_insert, - STATE(68), 1, + STATE(67), 1, sym_if, - STATE(171), 1, + STATE(182), 1, + sym_expression, + STATE(259), 1, + sym_statement, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [2973] = 28, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(45), 1, + anon_sym_async, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(219), 1, + sym_identifier, + ACTIONS(221), 1, + anon_sym_select, + ACTIONS(223), 1, + anon_sym_insert, + STATE(67), 1, + sym_if, + STATE(182), 1, sym_expression, STATE(245), 1, sym_statement, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -4737,7 +5002,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -4745,10 +5010,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4758,7 +5024,171 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [2775] = 27, + [3083] = 28, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(45), 1, + anon_sym_async, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(219), 1, + sym_identifier, + ACTIONS(221), 1, + anon_sym_select, + ACTIONS(223), 1, + anon_sym_insert, + STATE(67), 1, + sym_if, + STATE(126), 1, + sym_statement, + STATE(182), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [3193] = 28, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_match, + ACTIONS(29), 1, + anon_sym_while, + ACTIONS(31), 1, + anon_sym_for, + ACTIONS(33), 1, + anon_sym_transform, + ACTIONS(35), 1, + anon_sym_filter, + ACTIONS(37), 1, + anon_sym_find, + ACTIONS(39), 1, + anon_sym_remove, + ACTIONS(45), 1, + anon_sym_async, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(219), 1, + sym_identifier, + ACTIONS(221), 1, + anon_sym_select, + ACTIONS(223), 1, + anon_sym_insert, + STATE(67), 1, + sym_if, + STATE(182), 1, + sym_expression, + STATE(266), 1, + sym_statement, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + STATE(134), 13, + sym_comment, + sym_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_transform, + sym_filter, + sym_find, + sym_remove, + sym_select, + sym_insert, + sym_async, + [3303] = 28, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -4766,9 +5196,9 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -4782,33 +5212,35 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_while, + anon_sym_match, ACTIONS(29), 1, - anon_sym_for, + anon_sym_while, ACTIONS(31), 1, - anon_sym_transform, + anon_sym_for, ACTIONS(33), 1, - anon_sym_filter, + anon_sym_transform, ACTIONS(35), 1, - anon_sym_find, + anon_sym_filter, ACTIONS(37), 1, - anon_sym_remove, + anon_sym_find, ACTIONS(39), 1, - anon_sym_select, + anon_sym_remove, ACTIONS(41), 1, - anon_sym_insert, + anon_sym_select, ACTIONS(43), 1, + anon_sym_insert, + ACTIONS(45), 1, anon_sym_async, STATE(64), 1, sym_expression, - STATE(68), 1, + STATE(67), 1, sym_if, - STATE(119), 1, + STATE(126), 1, sym_statement, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -4816,7 +5248,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -4824,10 +5256,11 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - STATE(131), 12, + STATE(134), 13, sym_comment, sym_assignment, sym_if_else, + sym_match, sym_while, sym_for, sym_transform, @@ -4837,100 +5270,23 @@ static const uint16_t ts_small_parse_table[] = { sym_select, sym_insert, sym_async, - [2881] = 27, - ACTIONS(5), 1, - aux_sym_comment_token1, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_transform, - ACTIONS(33), 1, - anon_sym_filter, - ACTIONS(35), 1, - anon_sym_find, - ACTIONS(37), 1, - anon_sym_remove, - ACTIONS(43), 1, - anon_sym_async, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_select, - ACTIONS(215), 1, - anon_sym_insert, - STATE(68), 1, - sym_if, - STATE(119), 1, - sym_statement, - STATE(171), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - STATE(131), 12, - sym_comment, - sym_assignment, - sym_if_else, - sym_while, - sym_for, - sym_transform, - sym_filter, - sym_find, - sym_remove, - sym_select, - sym_insert, - sym_async, - [2987] = 4, - STATE(91), 1, + [3413] = 4, + STATE(102), 1, sym_math_operator, - STATE(98), 1, + STATE(114), 1, sym_logic_operator, - ACTIONS(219), 18, + ACTIONS(227), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -4940,13 +5296,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(217), 24, + ACTIONS(225), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -4965,23 +5320,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3040] = 5, - ACTIONS(225), 1, + [3467] = 5, + ACTIONS(233), 1, anon_sym_DOT_DOT, - STATE(91), 1, + STATE(102), 1, sym_math_operator, - STATE(98), 1, + STATE(114), 1, sym_logic_operator, - ACTIONS(223), 18, + ACTIONS(231), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -4991,13 +5348,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(221), 23, + ACTIONS(229), 22, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5015,21 +5371,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3095] = 4, - STATE(91), 1, + [3523] = 4, + STATE(102), 1, sym_math_operator, - STATE(98), 1, + STATE(114), 1, sym_logic_operator, - ACTIONS(223), 18, + ACTIONS(237), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5039,13 +5397,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(221), 24, + ACTIONS(235), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5064,21 +5421,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3148] = 4, - STATE(91), 1, + [3577] = 4, + STATE(102), 1, sym_math_operator, - STATE(98), 1, + STATE(114), 1, sym_logic_operator, - ACTIONS(229), 18, + ACTIONS(241), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5088,13 +5447,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(227), 24, + ACTIONS(239), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5113,21 +5471,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3201] = 4, - STATE(91), 1, + [3631] = 4, + STATE(102), 1, sym_math_operator, - STATE(98), 1, + STATE(114), 1, sym_logic_operator, - ACTIONS(233), 18, + ACTIONS(231), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5137,13 +5497,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(231), 24, + ACTIONS(229), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5162,170 +5521,52 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3254] = 9, - ACTIONS(239), 1, + [3685] = 9, + ACTIONS(247), 1, anon_sym_COLON, - ACTIONS(245), 1, - anon_sym_DASH2, - STATE(91), 1, - sym_math_operator, - STATE(98), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(235), 13, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_DOT_DOT, - ACTIONS(237), 15, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [3317] = 4, - STATE(85), 1, - sym_math_operator, - STATE(86), 1, - sym_logic_operator, - ACTIONS(233), 18, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH2, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(231), 23, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - 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_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [3369] = 3, ACTIONS(253), 1, - anon_sym_DOT, - ACTIONS(251), 18, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH2, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(249), 24, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - 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_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [3419] = 4, - STATE(85), 1, + STATE(102), 1, sym_math_operator, - STATE(86), 1, + STATE(114), 1, sym_logic_operator, - ACTIONS(229), 18, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(243), 12, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_DOT_DOT, + ACTIONS(245), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, - anon_sym_LT, - anon_sym_GT, anon_sym_table, - anon_sym_DASH2, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5335,74 +5576,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(227), 23, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - 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_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [3471] = 9, - ACTIONS(245), 1, - anon_sym_DASH2, - ACTIONS(255), 1, - anon_sym_COLON, - STATE(85), 1, + [3749] = 4, + STATE(107), 1, + sym_logic_operator, + STATE(108), 1, sym_math_operator, - STATE(86), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(235), 12, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(237), 15, + ACTIONS(227), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, + anon_sym_LT, + anon_sym_GT, anon_sym_table, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5412,21 +5602,123 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [3533] = 4, - STATE(85), 1, + ACTIONS(225), 22, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + 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_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [3802] = 4, + STATE(107), 1, + sym_logic_operator, + STATE(108), 1, sym_math_operator, - STATE(86), 1, + ACTIONS(237), 20, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + ACTIONS(235), 22, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + 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_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [3855] = 9, + ACTIONS(253), 1, + anon_sym_DASH, + ACTIONS(257), 1, + anon_sym_COLON, + STATE(107), 1, sym_logic_operator, - ACTIONS(219), 18, + STATE(108), 1, + sym_math_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(243), 11, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(245), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, - anon_sym_LT, - anon_sym_GT, anon_sym_table, - anon_sym_DASH2, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5436,13 +5728,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(217), 23, + [3918] = 4, + STATE(107), 1, + sym_logic_operator, + STATE(108), 1, + sym_math_operator, + ACTIONS(241), 20, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + ACTIONS(239), 22, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5460,19 +5777,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3585] = 3, - ACTIONS(261), 1, - anon_sym_DOT, - ACTIONS(259), 18, + [3971] = 2, + ACTIONS(261), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5482,13 +5799,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(257), 24, + ACTIONS(259), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5507,77 +5823,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3635] = 17, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, + [4019] = 2, + ACTIONS(265), 20, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_RPAREN, - STATE(66), 1, - sym_expression, - STATE(79), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(269), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_DASH2, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - ACTIONS(267), 11, - anon_sym_COLON, - 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_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [3712] = 2, - ACTIONS(273), 18, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH2, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5587,13 +5845,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(271), 24, + ACTIONS(263), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5612,135 +5869,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3759] = 2, - ACTIONS(277), 18, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH2, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(275), 24, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - 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_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [3806] = 2, - ACTIONS(281), 18, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH2, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(279), 24, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - 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_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [3853] = 5, - ACTIONS(283), 1, - anon_sym_EQ, - STATE(28), 1, - sym_assignment_operator, - ACTIONS(285), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(267), 18, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym__numeric, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, + [4067] = 2, ACTIONS(269), 20, sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, anon_sym_DASH, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH2, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5750,33 +5891,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [3906] = 2, - ACTIONS(289), 18, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_LT, - anon_sym_GT, - anon_sym_table, - anon_sym_DASH2, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - ACTIONS(287), 24, + ACTIONS(267), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5795,17 +5915,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [3953] = 2, - ACTIONS(293), 18, + [4115] = 2, + ACTIONS(273), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5815,13 +5937,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(291), 24, + ACTIONS(271), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5840,17 +5961,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4000] = 2, - ACTIONS(297), 18, + [4163] = 2, + ACTIONS(277), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5860,13 +5983,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(295), 24, + ACTIONS(275), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5885,17 +6007,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4047] = 2, - ACTIONS(301), 18, + [4211] = 2, + ACTIONS(281), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5905,13 +6029,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(299), 24, + ACTIONS(279), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5930,17 +6053,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4094] = 2, - ACTIONS(305), 18, + [4259] = 2, + ACTIONS(285), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5950,13 +6075,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(303), 24, + ACTIONS(283), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -5975,17 +6099,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4141] = 2, - ACTIONS(309), 18, + [4307] = 2, + ACTIONS(289), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -5995,13 +6121,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(307), 24, + ACTIONS(287), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6020,17 +6145,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4188] = 2, - ACTIONS(313), 18, + [4355] = 2, + ACTIONS(293), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6040,13 +6167,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(311), 24, + ACTIONS(291), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6065,17 +6191,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4235] = 2, - ACTIONS(317), 18, + [4403] = 2, + ACTIONS(297), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6085,13 +6213,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(315), 24, + ACTIONS(295), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6110,17 +6237,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4282] = 2, - ACTIONS(321), 18, + [4451] = 2, + ACTIONS(301), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6130,13 +6259,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(319), 24, + ACTIONS(299), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6155,17 +6283,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4329] = 2, - ACTIONS(325), 18, + [4499] = 2, + ACTIONS(305), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6175,13 +6305,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(323), 24, + ACTIONS(303), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6200,17 +6329,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4376] = 2, - ACTIONS(329), 18, + [4547] = 2, + ACTIONS(309), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6220,13 +6351,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(327), 24, + ACTIONS(307), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6245,17 +6375,46 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4423] = 2, - ACTIONS(333), 18, + [4595] = 5, + ACTIONS(315), 1, + anon_sym_EQ, + STATE(32), 1, + sym_assignment_operator, + ACTIONS(317), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(311), 18, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(313), 21, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_PLUS, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6265,13 +6424,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(331), 24, + [4649] = 2, + ACTIONS(321), 20, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + ACTIONS(319), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6290,17 +6470,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4470] = 2, - ACTIONS(337), 18, + [4697] = 2, + ACTIONS(325), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6310,13 +6492,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(335), 24, + ACTIONS(323), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6335,17 +6516,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4517] = 2, - ACTIONS(341), 18, + [4745] = 2, + ACTIONS(329), 20, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_LT, anon_sym_GT, anon_sym_table, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6355,13 +6538,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - ACTIONS(339), 24, + ACTIONS(327), 23, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_COMMA, @@ -6380,13 +6562,59 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4564] = 17, + [4793] = 2, + ACTIONS(333), 20, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + ACTIONS(331), 23, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + anon_sym_RPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4841] = 17, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -6397,22 +6625,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(23), 1, anon_sym_table, - ACTIONS(263), 1, + ACTIONS(335), 1, sym_identifier, - ACTIONS(343), 1, + ACTIONS(337), 1, anon_sym_RPAREN, - STATE(66), 1, + STATE(68), 1, sym_expression, - STATE(71), 1, + STATE(76), 1, aux_sym_list_repeat1, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - ACTIONS(269), 3, + ACTIONS(313), 3, anon_sym_LT, anon_sym_GT, - anon_sym_DASH2, - STATE(48), 7, + anon_sym_DASH, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -6420,7 +6648,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -6428,7 +6656,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - ACTIONS(267), 11, + ACTIONS(311), 11, anon_sym_COLON, anon_sym_PLUS, anon_sym_STAR, @@ -6440,47 +6668,108 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [4641] = 9, - ACTIONS(245), 1, - anon_sym_DASH2, - ACTIONS(255), 1, - anon_sym_COLON, - STATE(85), 1, - sym_math_operator, - STATE(86), 1, - sym_logic_operator, - ACTIONS(241), 2, + [4918] = 17, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(339), 1, + anon_sym_RPAREN, + STATE(68), 1, + sym_expression, + STATE(75), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(313), 3, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 4, + anon_sym_DASH, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + ACTIONS(311), 11, + anon_sym_COLON, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(345), 9, + [4995] = 9, + ACTIONS(253), 1, + anon_sym_DASH, + ACTIONS(257), 1, + anon_sym_COLON, + STATE(107), 1, + sym_logic_operator, + STATE(108), 1, + sym_math_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(341), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(347), 15, + ACTIONS(343), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6490,48 +6779,100 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [4700] = 10, - ACTIONS(245), 1, - anon_sym_DASH2, - ACTIONS(255), 1, + [5055] = 9, + ACTIONS(253), 1, + anon_sym_DASH, + ACTIONS(257), 1, + anon_sym_COLON, + STATE(107), 1, + sym_logic_operator, + STATE(108), 1, + sym_math_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(345), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(347), 17, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5115] = 10, + ACTIONS(253), 1, + anon_sym_DASH, + ACTIONS(257), 1, anon_sym_COLON, ACTIONS(353), 1, anon_sym_LBRACE, - STATE(85), 1, - sym_math_operator, - STATE(86), 1, + STATE(107), 1, sym_logic_operator, - ACTIONS(241), 2, + STATE(108), 1, + sym_math_operator, + ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 4, + ACTIONS(251), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(349), 8, + ACTIONS(349), 7, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_RBRACE, - ACTIONS(351), 15, + ACTIONS(351), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6541,47 +6882,86 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [4761] = 9, - ACTIONS(245), 1, - anon_sym_DASH2, - ACTIONS(255), 1, + [5177] = 10, + ACTIONS(253), 1, + anon_sym_DASH, + ACTIONS(257), 1, anon_sym_COLON, - STATE(85), 1, - sym_math_operator, - STATE(86), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(107), 1, sym_logic_operator, - ACTIONS(241), 2, + STATE(108), 1, + sym_math_operator, + ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 4, + ACTIONS(251), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(355), 9, + ACTIONS(355), 7, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACE, + ACTIONS(357), 17, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [5239] = 6, + ACTIONS(365), 1, + anon_sym_elseif, + ACTIONS(367), 1, + anon_sym_else, + STATE(135), 1, + sym_else, + STATE(69), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(361), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(357), 15, + ACTIONS(363), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6591,125 +6971,75 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [4820] = 10, - ACTIONS(245), 1, - anon_sym_DASH2, - ACTIONS(255), 1, - anon_sym_COLON, - ACTIONS(363), 1, - anon_sym_LBRACE, - STATE(85), 1, - sym_math_operator, - STATE(86), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(359), 8, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym__numeric, + [5282] = 10, + ACTIONS(253), 1, anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACE, - ACTIONS(361), 15, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [4881] = 10, - ACTIONS(245), 1, - anon_sym_DASH2, - ACTIONS(255), 1, + ACTIONS(257), 1, anon_sym_COLON, - ACTIONS(369), 1, + ACTIONS(373), 1, anon_sym_COMMA, - STATE(85), 1, - sym_math_operator, - STATE(86), 1, + STATE(107), 1, sym_logic_operator, - ACTIONS(241), 2, + STATE(108), 1, + sym_math_operator, + ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 4, + ACTIONS(251), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(365), 5, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - ACTIONS(247), 6, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(367), 8, + ACTIONS(369), 6, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + ACTIONS(371), 7, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [4932] = 6, - ACTIONS(375), 1, + [5333] = 6, + ACTIONS(365), 1, anon_sym_elseif, - ACTIONS(377), 1, + ACTIONS(367), 1, anon_sym_else, - STATE(116), 1, + STATE(133), 1, sym_else, - STATE(73), 2, + STATE(71), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(371), 9, + ACTIONS(375), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(373), 15, + ACTIONS(377), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6719,72 +7049,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [4974] = 6, - ACTIONS(375), 1, - anon_sym_elseif, - ACTIONS(377), 1, - anon_sym_else, - STATE(125), 1, - sym_else, - STATE(67), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(379), 9, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - ACTIONS(381), 15, + [5376] = 15, + ACTIONS(379), 1, sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [5016] = 15, - ACTIONS(383), 1, - sym_identifier, - ACTIONS(386), 1, + ACTIONS(382), 1, anon_sym_LPAREN, - ACTIONS(391), 1, - sym__numeric, - ACTIONS(394), 1, - anon_sym_DASH, - ACTIONS(397), 1, + ACTIONS(387), 1, + aux_sym_integer_token1, + ACTIONS(390), 1, + aux_sym_float_token1, + ACTIONS(393), 1, sym_string, - ACTIONS(403), 1, + ACTIONS(399), 1, anon_sym_LBRACK, - ACTIONS(406), 1, + ACTIONS(402), 1, anon_sym_LBRACE, - ACTIONS(409), 1, + ACTIONS(405), 1, anon_sym_function, - ACTIONS(412), 1, + ACTIONS(408), 1, anon_sym_table, - STATE(66), 1, + STATE(68), 1, sym_expression, - STATE(69), 1, + STATE(70), 1, aux_sym_list_repeat1, - ACTIONS(389), 2, + ACTIONS(385), 2, anon_sym_RPAREN, anon_sym_RBRACK, - ACTIONS(400), 2, + ACTIONS(396), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -6792,7 +7086,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -6800,162 +7094,31 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [5076] = 15, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, + [5436] = 4, ACTIONS(415), 1, - anon_sym_RBRACK, - STATE(66), 1, - sym_expression, - STATE(72), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5135] = 15, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(417), 1, - anon_sym_RPAREN, - STATE(66), 1, - sym_expression, - STATE(69), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5194] = 15, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(419), 1, - anon_sym_RBRACK, - STATE(66), 1, - sym_expression, - STATE(69), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5253] = 4, - ACTIONS(425), 1, anon_sym_elseif, - STATE(73), 2, + STATE(71), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(421), 9, + ACTIONS(411), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(423), 16, + ACTIONS(413), 18, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, anon_sym_else, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -6965,35 +7128,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [5290] = 15, - ACTIONS(7), 1, + [5474] = 15, + ACTIONS(49), 1, anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(17), 1, + ACTIONS(59), 1, anon_sym_LBRACK, - ACTIONS(19), 1, + ACTIONS(61), 1, anon_sym_LBRACE, - ACTIONS(21), 1, + ACTIONS(63), 1, anon_sym_function, - ACTIONS(23), 1, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(263), 1, + ACTIONS(418), 1, sym_identifier, - ACTIONS(428), 1, - anon_sym_RPAREN, - STATE(66), 1, + ACTIONS(420), 1, + anon_sym_RBRACE, + STATE(81), 1, + aux_sym_match_repeat1, + STATE(176), 1, sym_expression, - STATE(69), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -7001,7 +7164,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -7009,13 +7172,13 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [5349] = 15, + [5533] = 15, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -7026,106 +7189,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(23), 1, anon_sym_table, - ACTIONS(263), 1, + ACTIONS(335), 1, sym_identifier, - ACTIONS(430), 1, - anon_sym_RPAREN, - STATE(66), 1, - sym_expression, - STATE(74), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5408] = 15, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(432), 1, + ACTIONS(422), 1, anon_sym_RBRACK, - STATE(66), 1, - sym_expression, - STATE(78), 1, - aux_sym_list_repeat1, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5467] = 15, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(434), 1, - anon_sym_RPAREN, - STATE(66), 1, + STATE(68), 1, sym_expression, STATE(80), 1, aux_sym_list_repeat1, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -7133,7 +7208,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -7141,13 +7216,13 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [5526] = 15, + [5592] = 15, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -7158,18 +7233,282 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(23), 1, anon_sym_table, - ACTIONS(263), 1, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(424), 1, + anon_sym_RPAREN, + STATE(68), 1, + sym_expression, + STATE(70), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [5651] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_RPAREN, + STATE(68), 1, + sym_expression, + STATE(70), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [5710] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(428), 1, + anon_sym_RPAREN, + STATE(68), 1, + sym_expression, + STATE(70), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [5769] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(430), 1, + anon_sym_RPAREN, + STATE(68), 1, + sym_expression, + STATE(79), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [5828] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(432), 1, + anon_sym_RBRACK, + STATE(68), 1, + sym_expression, + STATE(82), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [5887] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(434), 1, + anon_sym_RPAREN, + STATE(68), 1, + sym_expression, + STATE(70), 1, + aux_sym_list_repeat1, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [5946] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, sym_identifier, ACTIONS(436), 1, anon_sym_RBRACK, - STATE(66), 1, + STATE(68), 1, sym_expression, - STATE(69), 1, + STATE(70), 1, aux_sym_list_repeat1, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -7177,7 +7516,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -7185,35 +7524,79 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [5585] = 15, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, + [6005] = 15, ACTIONS(438), 1, - anon_sym_RPAREN, - STATE(66), 1, + sym_identifier, + ACTIONS(441), 1, + anon_sym_LPAREN, + ACTIONS(444), 1, + aux_sym_integer_token1, + ACTIONS(447), 1, + aux_sym_float_token1, + ACTIONS(450), 1, + sym_string, + ACTIONS(456), 1, + anon_sym_LBRACK, + ACTIONS(459), 1, + anon_sym_LBRACE, + ACTIONS(462), 1, + anon_sym_RBRACE, + ACTIONS(464), 1, + anon_sym_function, + ACTIONS(467), 1, + anon_sym_table, + STATE(81), 1, + aux_sym_match_repeat1, + STATE(176), 1, sym_expression, - STATE(69), 1, + ACTIONS(453), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6064] = 15, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(470), 1, + anon_sym_RBRACK, + STATE(68), 1, + sym_expression, + STATE(70), 1, aux_sym_list_repeat1, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -7221,7 +7604,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -7229,13 +7612,13 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [5644] = 15, + [6123] = 15, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -7246,18 +7629,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(23), 1, anon_sym_table, - ACTIONS(263), 1, + ACTIONS(335), 1, sym_identifier, - ACTIONS(440), 1, + ACTIONS(472), 1, anon_sym_RPAREN, - STATE(66), 1, + STATE(68), 1, sym_expression, - STATE(69), 1, + STATE(74), 1, aux_sym_list_repeat1, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -7265,7 +7648,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -7273,546 +7656,27 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [5703] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(164), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5756] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(165), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5809] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_table, - STATE(135), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5862] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_table, - STATE(136), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5915] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - STATE(38), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [5968] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - STATE(39), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6021] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(175), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6074] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(446), 1, - anon_sym_table, - STATE(30), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6127] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(446), 1, - anon_sym_table, - STATE(31), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6180] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(144), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6233] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(446), 1, - anon_sym_table, - STATE(33), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6286] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(140), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6339] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(163), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6392] = 2, - ACTIONS(448), 10, + [6182] = 2, + ACTIONS(474), 9, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_elseif, - ACTIONS(450), 16, + ACTIONS(476), 18, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, anon_sym_else, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -7822,31 +7686,63 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [6423] = 13, - ACTIONS(47), 1, + [6214] = 2, + ACTIONS(478), 9, + ts_builtin_sym_end, + aux_sym_comment_token1, anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, + aux_sym_float_token1, sym_string, - ACTIONS(57), 1, anon_sym_LBRACK, - ACTIONS(59), 1, anon_sym_LBRACE, - ACTIONS(61), 1, + anon_sym_RBRACE, + anon_sym_elseif, + ACTIONS(480), 18, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [6246] = 14, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(442), 1, + ACTIONS(418), 1, sym_identifier, - STATE(174), 1, + STATE(72), 1, + aux_sym_match_repeat1, + STATE(176), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -7854,7 +7750,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -7862,111 +7758,31 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6476] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, + [6302] = 13, ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_table, - STATE(134), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6529] = 13, - ACTIONS(47), 1, anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(173), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6582] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, anon_sym_function, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(446), 1, + ACTIONS(65), 1, anon_sym_table, - STATE(35), 1, + ACTIONS(418), 1, + sym_identifier, + STATE(185), 1, sym_expression, - ACTIONS(15), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -7974,7 +7790,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -7982,31 +7798,31 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6635] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, + [6355] = 13, ACTIONS(49), 1, - sym__numeric, + anon_sym_LPAREN, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(442), 1, + ACTIONS(418), 1, sym_identifier, - STATE(170), 1, + STATE(151), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -8014,7 +7830,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -8022,31 +7838,71 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6688] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, + [6408] = 13, ACTIONS(49), 1, - sym__numeric, + anon_sym_LPAREN, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(442), 1, + ACTIONS(482), 1, + sym_identifier, + STATE(183), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6461] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, sym_identifier, STATE(172), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -8054,7 +7910,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -8062,71 +7918,31 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6741] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, + [6514] = 13, ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(168), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [6794] = 13, - ACTIONS(47), 1, anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, + anon_sym_function, + ACTIONS(418), 1, sym_identifier, - STATE(167), 1, + ACTIONS(484), 1, + anon_sym_table, + STATE(145), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -8134,7 +7950,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -8142,31 +7958,31 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6847] = 13, - ACTIONS(47), 1, + [6567] = 13, + ACTIONS(49), 1, anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(442), 1, + ACTIONS(418), 1, sym_identifier, - STATE(166), 1, + STATE(177), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -8174,7 +7990,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -8182,31 +7998,31 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6900] = 13, - ACTIONS(47), 1, + [6620] = 13, + ACTIONS(49), 1, anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, ACTIONS(51), 1, - anon_sym_DASH, + aux_sym_integer_token1, ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, ACTIONS(59), 1, - anon_sym_LBRACE, + anon_sym_LBRACK, ACTIONS(61), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, anon_sym_table, - ACTIONS(442), 1, + ACTIONS(418), 1, sym_identifier, - STATE(169), 1, + STATE(180), 1, sym_expression, - ACTIONS(55), 2, + ACTIONS(57), 2, anon_sym_true, anon_sym_false, - STATE(157), 7, + STATE(160), 7, sym__expression_kind, sym_value, sym_index, @@ -8214,7 +8030,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(159), 7, + STATE(162), 7, sym_integer, sym_float, sym_boolean, @@ -8222,13 +8038,93 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [6953] = 13, + [6673] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(174), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6726] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(181), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6779] = 13, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -8239,363 +8135,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(23), 1, anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - STATE(63), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7006] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_table, - STATE(138), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7059] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - STATE(62), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7112] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(139), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7165] = 2, - ACTIONS(452), 10, - ts_builtin_sym_end, - aux_sym_comment_token1, - anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_elseif, - ACTIONS(454), 16, - sym_identifier, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_for, - anon_sym_transform, - anon_sym_filter, - anon_sym_find, - anon_sym_remove, - anon_sym_select, - anon_sym_insert, - anon_sym_async, - [7196] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(63), 1, - anon_sym_table, - ACTIONS(442), 1, - sym_identifier, - STATE(143), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7249] = 13, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym__numeric, - ACTIONS(51), 1, - anon_sym_DASH, - ACTIONS(53), 1, - sym_string, - ACTIONS(57), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_LBRACE, - ACTIONS(61), 1, - anon_sym_function, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_table, - STATE(137), 1, - sym_expression, - ACTIONS(55), 2, - anon_sym_true, - anon_sym_false, - STATE(157), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(159), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7302] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(446), 1, - anon_sym_table, - STATE(32), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7355] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, - sym_identifier, - STATE(36), 1, - sym_expression, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(48), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_tool, - STATE(60), 7, - sym_integer, - sym_float, - sym_boolean, - sym_list, - sym_map, - sym_function, - sym_table, - [7408] = 13, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__numeric, - ACTIONS(11), 1, - anon_sym_DASH, - ACTIONS(13), 1, - sym_string, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LBRACE, - ACTIONS(21), 1, - anon_sym_function, - ACTIONS(23), 1, - anon_sym_table, - ACTIONS(263), 1, + ACTIONS(335), 1, sym_identifier, STATE(65), 1, sym_expression, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -8603,7 +8150,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -8611,13 +8158,173 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [7461] = 13, + [6832] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(418), 1, + sym_identifier, + ACTIONS(484), 1, + anon_sym_table, + STATE(143), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6885] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(184), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6938] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(170), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [6991] = 13, ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(9), 1, - sym__numeric, + aux_sym_integer_token1, ACTIONS(11), 1, - anon_sym_DASH, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(486), 1, + anon_sym_table, + STATE(33), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7044] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, ACTIONS(13), 1, sym_string, ACTIONS(17), 1, @@ -8628,14 +8335,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, ACTIONS(23), 1, anon_sym_table, - ACTIONS(263), 1, + ACTIONS(335), 1, sym_identifier, - STATE(40), 1, + STATE(63), 1, sym_expression, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(48), 7, + STATE(52), 7, sym__expression_kind, sym_value, sym_index, @@ -8643,7 +8350,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_tool, - STATE(60), 7, + STATE(59), 7, sym_integer, sym_float, sym_boolean, @@ -8651,24 +8358,865 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_function, sym_table, - [7514] = 2, - ACTIONS(456), 9, + [7097] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(486), 1, + anon_sym_table, + STATE(36), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7150] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(486), 1, + anon_sym_table, + STATE(37), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7203] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(175), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7256] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(150), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7309] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(418), 1, + sym_identifier, + ACTIONS(484), 1, + anon_sym_table, + STATE(144), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7362] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + STATE(41), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7415] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + STATE(42), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7468] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(486), 1, + anon_sym_table, + STATE(34), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7521] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(171), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7574] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(418), 1, + sym_identifier, + ACTIONS(484), 1, + anon_sym_table, + STATE(146), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7627] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(148), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7680] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + STATE(40), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7733] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(335), 1, + sym_identifier, + ACTIONS(486), 1, + anon_sym_table, + STATE(38), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7786] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + STATE(39), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7839] = 13, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + aux_sym_integer_token1, + ACTIONS(11), 1, + aux_sym_float_token1, + ACTIONS(13), 1, + sym_string, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LBRACE, + ACTIONS(21), 1, + anon_sym_function, + ACTIONS(23), 1, + anon_sym_table, + ACTIONS(335), 1, + sym_identifier, + STATE(66), 1, + sym_expression, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(52), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(59), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7892] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(173), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7945] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(186), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [7998] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(149), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [8051] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(178), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [8104] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(418), 1, + sym_identifier, + ACTIONS(484), 1, + anon_sym_table, + STATE(147), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [8157] = 13, + ACTIONS(49), 1, + anon_sym_LPAREN, + ACTIONS(51), 1, + aux_sym_integer_token1, + ACTIONS(53), 1, + aux_sym_float_token1, + ACTIONS(55), 1, + sym_string, + ACTIONS(59), 1, + anon_sym_LBRACK, + ACTIONS(61), 1, + anon_sym_LBRACE, + ACTIONS(63), 1, + anon_sym_function, + ACTIONS(65), 1, + anon_sym_table, + ACTIONS(418), 1, + sym_identifier, + STATE(179), 1, + sym_expression, + ACTIONS(57), 2, + anon_sym_true, + anon_sym_false, + STATE(160), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_tool, + STATE(162), 7, + sym_integer, + sym_float, + sym_boolean, + sym_list, + sym_map, + sym_function, + sym_table, + [8210] = 2, + ACTIONS(488), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(458), 15, + ACTIONS(490), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8678,24 +9226,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7543] = 2, - ACTIONS(460), 9, + [8240] = 2, + ACTIONS(492), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(462), 15, + ACTIONS(494), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8705,24 +9254,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7572] = 2, - ACTIONS(464), 9, + [8270] = 2, + ACTIONS(496), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(466), 15, + ACTIONS(498), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8732,24 +9282,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7601] = 2, - ACTIONS(468), 9, + [8300] = 2, + ACTIONS(500), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(470), 15, + ACTIONS(502), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8759,24 +9310,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7630] = 2, - ACTIONS(472), 9, + [8330] = 2, + ACTIONS(504), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(474), 15, + ACTIONS(506), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8786,24 +9338,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7659] = 2, - ACTIONS(476), 9, + [8360] = 2, + ACTIONS(508), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(478), 15, + ACTIONS(510), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8813,24 +9366,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7688] = 2, - ACTIONS(480), 9, + [8390] = 2, + ACTIONS(512), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(482), 15, + ACTIONS(514), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8840,24 +9394,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7717] = 2, - ACTIONS(484), 9, + [8420] = 2, + ACTIONS(516), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(486), 15, + ACTIONS(518), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8867,24 +9422,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7746] = 2, - ACTIONS(488), 9, + [8450] = 2, + ACTIONS(520), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(490), 15, + ACTIONS(522), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8894,24 +9450,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7775] = 2, - ACTIONS(371), 9, + [8480] = 2, + ACTIONS(524), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(373), 15, + ACTIONS(526), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8921,24 +9478,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7804] = 2, - ACTIONS(492), 9, + [8510] = 2, + ACTIONS(528), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(494), 15, + ACTIONS(530), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8948,24 +9506,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7833] = 2, - ACTIONS(496), 9, + [8540] = 2, + ACTIONS(345), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(498), 15, + ACTIONS(347), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -8975,24 +9534,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7862] = 2, - ACTIONS(500), 9, + [8570] = 2, + ACTIONS(375), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(502), 15, + ACTIONS(377), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -9002,24 +9562,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7891] = 2, - ACTIONS(504), 9, + [8600] = 2, + ACTIONS(532), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(506), 15, + ACTIONS(534), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -9029,24 +9590,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7920] = 2, - ACTIONS(508), 9, + [8630] = 2, + ACTIONS(536), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(510), 15, + ACTIONS(538), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -9056,24 +9618,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7949] = 2, - ACTIONS(355), 9, + [8660] = 2, + ACTIONS(540), 8, ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(357), 15, + ACTIONS(542), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -9083,22 +9646,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [7978] = 2, - ACTIONS(514), 7, + [8690] = 2, + ACTIONS(544), 8, + ts_builtin_sym_end, aux_sym_comment_token1, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - ACTIONS(512), 15, + anon_sym_RBRACE, + ACTIONS(546), 17, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, anon_sym_if, + anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_transform, @@ -9108,15 +9674,69 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_async, - [8005] = 4, - STATE(84), 1, + [8720] = 2, + ACTIONS(548), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + anon_sym_LPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(550), 17, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [8750] = 2, + ACTIONS(554), 6, + aux_sym_comment_token1, + anon_sym_LPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(552), 17, + sym_identifier, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_transform, + anon_sym_filter, + anon_sym_find, + anon_sym_remove, + anon_sym_select, + anon_sym_insert, + anon_sym_async, + [8778] = 4, + STATE(91), 1, sym_math_operator, - STATE(96), 1, + STATE(106), 1, sym_logic_operator, - ACTIONS(233), 2, + ACTIONS(237), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(231), 17, + ACTIONS(235), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9124,7 +9744,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9134,105 +9754,217 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8035] = 7, - ACTIONS(516), 1, - anon_sym_COLON, - STATE(84), 1, + anon_sym_EQ_GT, + [8809] = 4, + STATE(91), 1, sym_math_operator, - STATE(96), 1, + STATE(106), 1, + sym_logic_operator, + ACTIONS(227), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(225), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [8840] = 7, + ACTIONS(556), 1, + anon_sym_COLON, + STATE(91), 1, + sym_math_operator, + STATE(106), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(243), 6, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_DOT_DOT, + anon_sym_EQ_GT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [8877] = 4, + STATE(91), 1, + sym_math_operator, + STATE(106), 1, sym_logic_operator, ACTIONS(241), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(235), 5, + ACTIONS(239), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_COLON, anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [8908] = 4, + STATE(91), 1, + sym_math_operator, + STATE(106), 1, + sym_logic_operator, + ACTIONS(231), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(229), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [8939] = 5, + ACTIONS(558), 1, + anon_sym_DOT_DOT, + STATE(91), 1, + sym_math_operator, + STATE(106), 1, + sym_logic_operator, + ACTIONS(231), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(229), 17, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [8972] = 4, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(227), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(225), 17, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9002] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8071] = 4, - STATE(84), 1, - sym_math_operator, - STATE(96), 1, - sym_logic_operator, - ACTIONS(219), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(217), 17, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, + anon_sym_EQ_GT, + ACTIONS(251), 5, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8101] = 4, - STATE(84), 1, + [9038] = 4, + STATE(88), 1, sym_math_operator, - STATE(96), 1, + STATE(119), 1, sym_logic_operator, - ACTIONS(229), 2, + ACTIONS(237), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(227), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8131] = 5, - ACTIONS(518), 1, - anon_sym_DOT_DOT, - STATE(84), 1, - sym_math_operator, - STATE(96), 1, - sym_logic_operator, - ACTIONS(223), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(221), 16, + ACTIONS(235), 17, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_COLON, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9242,92 +9974,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8163] = 4, - STATE(84), 1, + anon_sym_EQ_GT, + [9068] = 4, + STATE(88), 1, sym_math_operator, - STATE(96), 1, - sym_logic_operator, - ACTIONS(223), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(221), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8193] = 4, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(219), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(217), 16, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8222] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, + STATE(119), 1, sym_logic_operator, ACTIONS(241), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(235), 4, + ACTIONS(239), 17, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(243), 5, + anon_sym_COLON, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8257] = 3, - ACTIONS(522), 1, - anon_sym_DOT, - ACTIONS(251), 2, + anon_sym_EQ_GT, + [9098] = 2, + ACTIONS(265), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(249), 17, + ACTIONS(263), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9335,7 +10013,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9345,13 +10023,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8284] = 3, - ACTIONS(524), 1, - anon_sym_DOT, - ACTIONS(259), 2, + anon_sym_EQ_GT, + [9123] = 2, + ACTIONS(269), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(257), 17, + ACTIONS(267), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9359,7 +10036,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9369,61 +10046,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8311] = 4, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(233), 2, + anon_sym_EQ_GT, + [9148] = 2, + ACTIONS(261), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(231), 16, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8340] = 4, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(229), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(227), 16, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8369] = 2, - ACTIONS(313), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(311), 17, + ACTIONS(259), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9431,7 +10059,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9441,143 +10069,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8393] = 2, - ACTIONS(273), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(271), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8417] = 2, - ACTIONS(281), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(279), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8441] = 2, - ACTIONS(333), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(331), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8465] = 2, - ACTIONS(337), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(335), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8489] = 2, - ACTIONS(305), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(303), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8513] = 2, - ACTIONS(317), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(315), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8537] = 2, + anon_sym_EQ_GT, + [9173] = 2, ACTIONS(301), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(299), 17, + ACTIONS(299), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9585,7 +10082,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9595,11 +10092,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8561] = 2, - ACTIONS(321), 2, + anon_sym_EQ_GT, + [9198] = 2, + ACTIONS(285), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(319), 17, + ACTIONS(283), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9607,7 +10105,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9617,33 +10115,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8585] = 2, - ACTIONS(277), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(275), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8609] = 2, + anon_sym_EQ_GT, + [9223] = 2, ACTIONS(309), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(307), 17, + ACTIONS(307), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9651,7 +10128,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9661,11 +10138,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8633] = 2, + anon_sym_EQ_GT, + [9248] = 2, ACTIONS(289), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(287), 17, + ACTIONS(287), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9673,7 +10151,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9683,11 +10161,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8657] = 2, - ACTIONS(293), 2, + anon_sym_EQ_GT, + [9273] = 2, + ACTIONS(273), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(291), 17, + ACTIONS(271), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9695,7 +10174,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9705,77 +10184,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8681] = 2, - ACTIONS(325), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(323), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8705] = 2, - ACTIONS(341), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(339), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8729] = 2, - ACTIONS(329), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(327), 17, - anon_sym_RPAREN, - sym_identifier, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8753] = 2, + anon_sym_EQ_GT, + [9298] = 2, ACTIONS(297), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(295), 17, + ACTIONS(295), 18, anon_sym_RPAREN, sym_identifier, anon_sym_LBRACE, @@ -9783,7 +10197,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9793,20 +10207,205 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8777] = 5, - ACTIONS(283), 1, + anon_sym_EQ_GT, + [9323] = 2, + ACTIONS(333), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(331), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9348] = 2, + ACTIONS(329), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(327), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9373] = 2, + ACTIONS(325), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(323), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9398] = 2, + ACTIONS(321), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(319), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9423] = 2, + ACTIONS(305), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(303), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9448] = 2, + ACTIONS(293), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(291), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9473] = 2, + ACTIONS(281), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(279), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9498] = 2, + ACTIONS(277), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(275), 18, + anon_sym_RPAREN, + sym_identifier, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + [9523] = 5, + ACTIONS(315), 1, anon_sym_EQ, - STATE(29), 1, + STATE(30), 1, sym_assignment_operator, - ACTIONS(285), 2, + ACTIONS(317), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(269), 4, + ACTIONS(313), 4, anon_sym_LT, anon_sym_GT, anon_sym_PLUS, - anon_sym_DASH2, - ACTIONS(267), 11, + anon_sym_DASH, + ACTIONS(311), 11, anon_sym_RBRACE, anon_sym_COLON, anon_sym_STAR, @@ -9818,771 +10417,888 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8807] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(526), 2, - sym_identifier, - anon_sym_RBRACE, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8840] = 8, - ACTIONS(359), 1, - anon_sym_RBRACE, - ACTIONS(363), 1, - anon_sym_LBRACE, - ACTIONS(520), 1, - anon_sym_COLON, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8875] = 8, + [9553] = 8, ACTIONS(349), 1, anon_sym_RBRACE, ACTIONS(353), 1, anon_sym_LBRACE, - ACTIONS(520), 1, + ACTIONS(560), 1, anon_sym_COLON, - STATE(90), 1, + STATE(88), 1, sym_math_operator, - STATE(92), 1, + STATE(119), 1, sym_logic_operator, - ACTIONS(241), 2, + ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 5, + ACTIONS(251), 5, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [8910] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - ACTIONS(528), 1, - anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8942] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [8974] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - ACTIONS(532), 1, - anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9006] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - ACTIONS(534), 1, - anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9038] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - ACTIONS(536), 1, - anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9070] = 7, + [9588] = 8, ACTIONS(355), 1, anon_sym_RBRACE, - ACTIONS(520), 1, - anon_sym_COLON, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9102] = 7, - ACTIONS(520), 1, - anon_sym_COLON, - ACTIONS(538), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9134] = 7, - ACTIONS(520), 1, + ACTIONS(560), 1, anon_sym_COLON, - ACTIONS(540), 1, - anon_sym_LBRACE, - STATE(90), 1, + STATE(88), 1, sym_math_operator, - STATE(92), 1, + STATE(119), 1, sym_logic_operator, - ACTIONS(241), 2, + ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 5, + ACTIONS(251), 5, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [9166] = 7, + [9623] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(562), 2, + sym_identifier, + anon_sym_RBRACE, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9656] = 7, + ACTIONS(341), 1, + anon_sym_RBRACE, + ACTIONS(560), 1, + anon_sym_COLON, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9688] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(564), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9720] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(566), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9752] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(568), 1, + anon_sym_EQ_GT, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9784] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(570), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9816] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(572), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9848] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(574), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9880] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(576), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9912] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(578), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [9944] = 7, ACTIONS(345), 1, anon_sym_RBRACE, - ACTIONS(520), 1, + ACTIONS(560), 1, anon_sym_COLON, - STATE(90), 1, + STATE(88), 1, sym_math_operator, - STATE(92), 1, + STATE(119), 1, sym_logic_operator, - ACTIONS(241), 2, + ACTIONS(249), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(243), 5, + ACTIONS(251), 5, anon_sym_PLUS, - anon_sym_DASH2, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(247), 6, + ACTIONS(255), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [9198] = 7, - ACTIONS(520), 1, + [9976] = 7, + ACTIONS(560), 1, anon_sym_COLON, - ACTIONS(542), 1, - anon_sym_LBRACE, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9230] = 6, - ACTIONS(520), 1, - anon_sym_COLON, - STATE(90), 1, - sym_math_operator, - STATE(92), 1, - sym_logic_operator, - ACTIONS(241), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(243), 5, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(247), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9259] = 3, - ACTIONS(544), 1, - anon_sym_RPAREN, - ACTIONS(293), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(291), 12, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9281] = 3, - ACTIONS(546), 1, - anon_sym_RPAREN, - ACTIONS(293), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(291), 12, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_DASH2, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [9303] = 2, - ACTIONS(548), 5, + ACTIONS(580), 1, sym_identifier, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10008] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(582), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10040] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(584), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10072] = 7, + ACTIONS(560), 1, + anon_sym_COLON, + ACTIONS(586), 1, + anon_sym_LBRACE, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10104] = 3, + ACTIONS(588), 1, + anon_sym_in, + ACTIONS(313), 3, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + ACTIONS(311), 12, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10127] = 6, + ACTIONS(560), 1, + anon_sym_COLON, + STATE(88), 1, + sym_math_operator, + STATE(119), 1, + sym_logic_operator, + ACTIONS(249), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(251), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(255), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10156] = 3, + ACTIONS(590), 1, + anon_sym_RPAREN, + ACTIONS(297), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(295), 12, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10178] = 3, + ACTIONS(592), 1, + anon_sym_RPAREN, + ACTIONS(297), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(295), 12, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10200] = 2, + ACTIONS(594), 6, + sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(389), 8, + ACTIONS(385), 7, anon_sym_LPAREN, anon_sym_RPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LBRACE, - [9321] = 2, - ACTIONS(550), 5, + [10218] = 2, + ACTIONS(596), 6, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(552), 6, + ACTIONS(598), 6, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - [9337] = 2, - ACTIONS(554), 5, + anon_sym_RBRACE, + [10235] = 2, + ACTIONS(602), 5, + anon_sym_LPAREN, + aux_sym_float_token1, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(600), 6, sym_identifier, + aux_sym_integer_token1, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - ACTIONS(556), 6, + [10251] = 2, + ACTIONS(606), 5, anon_sym_LPAREN, - sym__numeric, - anon_sym_DASH, + aux_sym_float_token1, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - [9353] = 3, - ACTIONS(558), 1, + ACTIONS(604), 6, sym_identifier, - ACTIONS(560), 1, + aux_sym_integer_token1, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [10267] = 3, + ACTIONS(608), 1, + sym_identifier, + ACTIONS(610), 1, anon_sym_GT, - STATE(197), 1, + STATE(210), 1, aux_sym_function_repeat1, - [9363] = 3, - ACTIONS(558), 1, + [10277] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(562), 1, + ACTIONS(612), 1, anon_sym_GT, - STATE(188), 1, + STATE(205), 1, aux_sym_function_repeat1, - [9373] = 3, - ACTIONS(558), 1, - sym_identifier, - ACTIONS(564), 1, - anon_sym_GT, - STATE(195), 1, - aux_sym_function_repeat1, - [9383] = 3, - ACTIONS(566), 1, - sym_identifier, - ACTIONS(568), 1, - anon_sym_RBRACE, - STATE(189), 1, - aux_sym_map_repeat1, - [9393] = 3, - ACTIONS(566), 1, - sym_identifier, - ACTIONS(570), 1, - anon_sym_RBRACE, - STATE(189), 1, - aux_sym_map_repeat1, - [9403] = 3, - ACTIONS(558), 1, - sym_identifier, - ACTIONS(572), 1, - anon_sym_GT, - STATE(188), 1, - aux_sym_function_repeat1, - [9413] = 3, - ACTIONS(574), 1, - sym_identifier, - ACTIONS(577), 1, - anon_sym_GT, - STATE(188), 1, - aux_sym_function_repeat1, - [9423] = 3, - ACTIONS(579), 1, - sym_identifier, - ACTIONS(582), 1, - anon_sym_RBRACE, - STATE(189), 1, - aux_sym_map_repeat1, - [9433] = 3, - ACTIONS(558), 1, - sym_identifier, - ACTIONS(584), 1, - anon_sym_GT, - STATE(183), 1, - aux_sym_function_repeat1, - [9443] = 2, - ACTIONS(588), 1, + [10287] = 2, + ACTIONS(616), 1, anon_sym_COMMA, - ACTIONS(586), 2, + ACTIONS(614), 2, sym_identifier, anon_sym_GT, - [9451] = 3, - ACTIONS(566), 1, + [10295] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(590), 1, + ACTIONS(618), 1, + anon_sym_GT, + STATE(205), 1, + aux_sym_function_repeat1, + [10305] = 3, + ACTIONS(608), 1, + sym_identifier, + ACTIONS(620), 1, + anon_sym_GT, + STATE(205), 1, + aux_sym_function_repeat1, + [10315] = 3, + ACTIONS(608), 1, + sym_identifier, + ACTIONS(622), 1, + anon_sym_GT, + STATE(199), 1, + aux_sym_function_repeat1, + [10325] = 3, + ACTIONS(624), 1, + sym_identifier, + ACTIONS(626), 1, anon_sym_RBRACE, - STATE(186), 1, + STATE(206), 1, aux_sym_map_repeat1, - [9461] = 3, - ACTIONS(566), 1, + [10335] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(592), 1, + ACTIONS(628), 1, + anon_sym_GT, + STATE(205), 1, + aux_sym_function_repeat1, + [10345] = 3, + ACTIONS(624), 1, + sym_identifier, + ACTIONS(630), 1, anon_sym_RBRACE, - STATE(185), 1, + STATE(208), 1, aux_sym_map_repeat1, - [9471] = 3, - ACTIONS(558), 1, + [10355] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(594), 1, + ACTIONS(632), 1, anon_sym_GT, - STATE(188), 1, + STATE(207), 1, aux_sym_function_repeat1, - [9481] = 3, - ACTIONS(558), 1, + [10365] = 3, + ACTIONS(634), 1, sym_identifier, - ACTIONS(596), 1, + ACTIONS(637), 1, anon_sym_GT, - STATE(188), 1, + STATE(205), 1, aux_sym_function_repeat1, - [9491] = 3, - ACTIONS(558), 1, + [10375] = 3, + ACTIONS(624), 1, sym_identifier, - ACTIONS(598), 1, + ACTIONS(639), 1, + anon_sym_RBRACE, + STATE(208), 1, + aux_sym_map_repeat1, + [10385] = 3, + ACTIONS(608), 1, + sym_identifier, + ACTIONS(641), 1, anon_sym_GT, - STATE(188), 1, + STATE(205), 1, aux_sym_function_repeat1, - [9501] = 3, - ACTIONS(558), 1, + [10395] = 3, + ACTIONS(643), 1, sym_identifier, - ACTIONS(600), 1, + ACTIONS(646), 1, + anon_sym_RBRACE, + STATE(208), 1, + aux_sym_map_repeat1, + [10405] = 3, + ACTIONS(608), 1, + sym_identifier, + ACTIONS(648), 1, anon_sym_GT, - STATE(188), 1, + STATE(205), 1, aux_sym_function_repeat1, - [9511] = 3, - ACTIONS(558), 1, + [10415] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(602), 1, + ACTIONS(650), 1, anon_sym_GT, - STATE(188), 1, + STATE(205), 1, aux_sym_function_repeat1, - [9521] = 3, - ACTIONS(558), 1, + [10425] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(604), 1, + ACTIONS(652), 1, anon_sym_GT, - STATE(188), 1, + STATE(205), 1, aux_sym_function_repeat1, - [9531] = 3, - ACTIONS(558), 1, + [10435] = 3, + ACTIONS(608), 1, sym_identifier, - ACTIONS(606), 1, + ACTIONS(654), 1, anon_sym_GT, + STATE(209), 1, + aux_sym_function_repeat1, + [10445] = 3, + ACTIONS(624), 1, + sym_identifier, + ACTIONS(656), 1, + anon_sym_RBRACE, + STATE(203), 1, + aux_sym_map_repeat1, + [10455] = 2, + ACTIONS(608), 1, + sym_identifier, + STATE(211), 1, + aux_sym_function_repeat1, + [10462] = 2, + ACTIONS(608), 1, + sym_identifier, STATE(196), 1, aux_sym_function_repeat1, - [9541] = 2, - ACTIONS(558), 1, + [10469] = 1, + ACTIONS(637), 2, sym_identifier, - STATE(194), 1, + anon_sym_GT, + [10474] = 2, + ACTIONS(658), 1, + anon_sym_LBRACE, + ACTIONS(660), 1, + anon_sym_LT, + [10481] = 2, + ACTIONS(608), 1, + sym_identifier, + STATE(202), 1, aux_sym_function_repeat1, - [9548] = 2, - ACTIONS(558), 1, + [10488] = 2, + ACTIONS(608), 1, sym_identifier, STATE(198), 1, aux_sym_function_repeat1, - [9555] = 1, - ACTIONS(577), 2, - sym_identifier, - anon_sym_GT, - [9560] = 2, - ACTIONS(608), 1, - anon_sym_LBRACE, - ACTIONS(610), 1, - anon_sym_LT, - [9567] = 2, - ACTIONS(558), 1, - sym_identifier, - STATE(199), 1, - aux_sym_function_repeat1, - [9574] = 2, - ACTIONS(612), 1, - anon_sym_LBRACE, - ACTIONS(614), 1, - anon_sym_LT, - [9581] = 2, - ACTIONS(558), 1, - sym_identifier, - STATE(187), 1, - aux_sym_function_repeat1, - [9588] = 1, - ACTIONS(616), 1, - anon_sym_in, - [9592] = 1, - ACTIONS(618), 1, - anon_sym_RBRACE, - [9596] = 1, - ACTIONS(620), 1, - sym__numeric, - [9600] = 1, - ACTIONS(622), 1, - anon_sym_LBRACE, - [9604] = 1, - ACTIONS(624), 1, - anon_sym_into, - [9608] = 1, - ACTIONS(626), 1, - anon_sym_LT, - [9612] = 1, - ACTIONS(628), 1, - sym__numeric, - [9616] = 1, - ACTIONS(630), 1, - sym_identifier, - [9620] = 1, - ACTIONS(632), 1, - sym_identifier, - [9624] = 1, - ACTIONS(634), 1, - anon_sym_LBRACE, - [9628] = 1, - ACTIONS(636), 1, - sym_identifier, - [9632] = 1, - ACTIONS(638), 1, - sym_identifier, - [9636] = 1, - ACTIONS(640), 1, - sym__numeric, - [9640] = 1, - ACTIONS(642), 1, - anon_sym_RBRACE, - [9644] = 1, - ACTIONS(644), 1, - anon_sym_RBRACE, - [9648] = 1, - ACTIONS(646), 1, - anon_sym_from, - [9652] = 1, - ACTIONS(648), 1, - sym_identifier, - [9656] = 1, - ACTIONS(650), 1, - anon_sym_from, - [9660] = 1, - ACTIONS(652), 1, - anon_sym_RBRACE, - [9664] = 1, - ACTIONS(654), 1, - anon_sym_RBRACE, - [9668] = 1, - ACTIONS(656), 1, - anon_sym_RBRACE, - [9672] = 1, - ACTIONS(658), 1, - anon_sym_RBRACE, - [9676] = 1, - ACTIONS(660), 1, - sym_identifier, - [9680] = 1, + [10495] = 2, ACTIONS(662), 1, - anon_sym_into, - [9684] = 1, + anon_sym_LBRACE, ACTIONS(664), 1, - anon_sym_from, - [9688] = 1, + anon_sym_LT, + [10502] = 1, ACTIONS(666), 1, anon_sym_from, - [9692] = 1, + [10506] = 1, ACTIONS(668), 1, sym_identifier, - [9696] = 1, + [10510] = 1, ACTIONS(670), 1, - ts_builtin_sym_end, - [9700] = 1, - ACTIONS(672), 1, - anon_sym_RBRACE, - [9704] = 1, - ACTIONS(674), 1, - anon_sym_in, - [9708] = 1, - ACTIONS(676), 1, - anon_sym_LT, - [9712] = 1, - ACTIONS(678), 1, - anon_sym_in, - [9716] = 1, - ACTIONS(680), 1, - anon_sym_in, - [9720] = 1, - ACTIONS(682), 1, - sym__numeric, - [9724] = 1, - ACTIONS(684), 1, anon_sym_LBRACE, - [9728] = 1, - ACTIONS(686), 1, - anon_sym_in, - [9732] = 1, - ACTIONS(688), 1, + [10514] = 1, + ACTIONS(672), 1, + anon_sym_into, + [10518] = 1, + ACTIONS(674), 1, anon_sym_RBRACE, - [9736] = 1, + [10522] = 1, + ACTIONS(676), 1, + sym_identifier, + [10526] = 1, + ACTIONS(678), 1, + anon_sym_LT, + [10530] = 1, + ACTIONS(680), 1, + anon_sym_LBRACE, + [10534] = 1, + ACTIONS(682), 1, + sym_identifier, + [10538] = 1, + ACTIONS(684), 1, + anon_sym_RBRACE, + [10542] = 1, + ACTIONS(686), 1, + anon_sym_from, + [10546] = 1, + ACTIONS(688), 1, + ts_builtin_sym_end, + [10550] = 1, ACTIONS(690), 1, anon_sym_RBRACE, - [9740] = 1, + [10554] = 1, ACTIONS(692), 1, anon_sym_RBRACE, - [9744] = 1, + [10558] = 1, ACTIONS(694), 1, - anon_sym_LT, - [9748] = 1, + sym_identifier, + [10562] = 1, ACTIONS(696), 1, - anon_sym_LT, - [9752] = 1, + sym_identifier, + [10566] = 1, ACTIONS(698), 1, anon_sym_RBRACE, - [9756] = 1, + [10570] = 1, ACTIONS(700), 1, - anon_sym_LBRACE, - [9760] = 1, + anon_sym_into, + [10574] = 1, ACTIONS(702), 1, - anon_sym_LBRACE, - [9764] = 1, + anon_sym_RBRACE, + [10578] = 1, ACTIONS(704), 1, - sym__numeric, - [9768] = 1, - ACTIONS(706), 1, anon_sym_LBRACE, - [9772] = 1, + [10582] = 1, + ACTIONS(706), 1, + anon_sym_RBRACE, + [10586] = 1, ACTIONS(708), 1, - anon_sym_RBRACE, - [9776] = 1, + anon_sym_in, + [10590] = 1, ACTIONS(710), 1, - anon_sym_RBRACE, - [9780] = 1, + anon_sym_in, + [10594] = 1, ACTIONS(712), 1, - anon_sym_RBRACE, - [9784] = 1, + anon_sym_in, + [10598] = 1, ACTIONS(714), 1, - anon_sym_LT, - [9788] = 1, - ACTIONS(716), 1, anon_sym_RBRACE, - [9792] = 1, + [10602] = 1, + ACTIONS(716), 1, + anon_sym_LT, + [10606] = 1, ACTIONS(718), 1, - anon_sym_EQ, - [9796] = 1, + anon_sym_in, + [10610] = 1, ACTIONS(720), 1, - sym__numeric, - [9800] = 1, + anon_sym_in, + [10614] = 1, ACTIONS(722), 1, anon_sym_RBRACE, - [9804] = 1, + [10618] = 1, ACTIONS(724), 1, + anon_sym_RBRACE, + [10622] = 1, + ACTIONS(726), 1, + anon_sym_RBRACE, + [10626] = 1, + ACTIONS(728), 1, + anon_sym_from, + [10630] = 1, + ACTIONS(730), 1, + anon_sym_RBRACE, + [10634] = 1, + ACTIONS(732), 1, + anon_sym_LT, + [10638] = 1, + ACTIONS(734), 1, + anon_sym_LT, + [10642] = 1, + ACTIONS(736), 1, + anon_sym_LBRACE, + [10646] = 1, + ACTIONS(738), 1, + anon_sym_LBRACE, + [10650] = 1, + ACTIONS(740), 1, + anon_sym_LBRACE, + [10654] = 1, + ACTIONS(742), 1, + anon_sym_RBRACE, + [10658] = 1, + ACTIONS(744), 1, + anon_sym_EQ, + [10662] = 1, + ACTIONS(746), 1, + anon_sym_RBRACE, + [10666] = 1, + ACTIONS(748), 1, + anon_sym_RBRACE, + [10670] = 1, + ACTIONS(750), 1, + anon_sym_from, + [10674] = 1, + ACTIONS(752), 1, + anon_sym_LT, + [10678] = 1, + ACTIONS(754), 1, + anon_sym_RBRACE, + [10682] = 1, + ACTIONS(756), 1, + anon_sym_RBRACE, + [10686] = 1, + ACTIONS(758), 1, + anon_sym_RBRACE, + [10690] = 1, + ACTIONS(760), 1, + sym_identifier, + [10694] = 1, + ACTIONS(762), 1, anon_sym_LT, }; @@ -10590,603 +11306,623 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, [SMALL_STATE(3)] = 89, [SMALL_STATE(4)] = 178, - [SMALL_STATE(5)] = 292, - [SMALL_STATE(6)] = 406, - [SMALL_STATE(7)] = 517, - [SMALL_STATE(8)] = 627, - [SMALL_STATE(9)] = 737, - [SMALL_STATE(10)] = 847, - [SMALL_STATE(11)] = 957, - [SMALL_STATE(12)] = 1067, - [SMALL_STATE(13)] = 1177, - [SMALL_STATE(14)] = 1287, - [SMALL_STATE(15)] = 1397, - [SMALL_STATE(16)] = 1507, - [SMALL_STATE(17)] = 1617, - [SMALL_STATE(18)] = 1727, - [SMALL_STATE(19)] = 1837, - [SMALL_STATE(20)] = 1947, - [SMALL_STATE(21)] = 2057, - [SMALL_STATE(22)] = 2167, - [SMALL_STATE(23)] = 2277, - [SMALL_STATE(24)] = 2387, - [SMALL_STATE(25)] = 2457, - [SMALL_STATE(26)] = 2563, - [SMALL_STATE(27)] = 2669, - [SMALL_STATE(28)] = 2775, - [SMALL_STATE(29)] = 2881, - [SMALL_STATE(30)] = 2987, - [SMALL_STATE(31)] = 3040, - [SMALL_STATE(32)] = 3095, - [SMALL_STATE(33)] = 3148, - [SMALL_STATE(34)] = 3201, - [SMALL_STATE(35)] = 3254, - [SMALL_STATE(36)] = 3317, - [SMALL_STATE(37)] = 3369, - [SMALL_STATE(38)] = 3419, - [SMALL_STATE(39)] = 3471, - [SMALL_STATE(40)] = 3533, - [SMALL_STATE(41)] = 3585, - [SMALL_STATE(42)] = 3635, - [SMALL_STATE(43)] = 3712, - [SMALL_STATE(44)] = 3759, - [SMALL_STATE(45)] = 3806, - [SMALL_STATE(46)] = 3853, - [SMALL_STATE(47)] = 3906, - [SMALL_STATE(48)] = 3953, - [SMALL_STATE(49)] = 4000, - [SMALL_STATE(50)] = 4047, - [SMALL_STATE(51)] = 4094, - [SMALL_STATE(52)] = 4141, - [SMALL_STATE(53)] = 4188, - [SMALL_STATE(54)] = 4235, - [SMALL_STATE(55)] = 4282, - [SMALL_STATE(56)] = 4329, - [SMALL_STATE(57)] = 4376, - [SMALL_STATE(58)] = 4423, - [SMALL_STATE(59)] = 4470, - [SMALL_STATE(60)] = 4517, - [SMALL_STATE(61)] = 4564, - [SMALL_STATE(62)] = 4641, - [SMALL_STATE(63)] = 4700, - [SMALL_STATE(64)] = 4761, - [SMALL_STATE(65)] = 4820, - [SMALL_STATE(66)] = 4881, - [SMALL_STATE(67)] = 4932, - [SMALL_STATE(68)] = 4974, - [SMALL_STATE(69)] = 5016, - [SMALL_STATE(70)] = 5076, - [SMALL_STATE(71)] = 5135, - [SMALL_STATE(72)] = 5194, - [SMALL_STATE(73)] = 5253, - [SMALL_STATE(74)] = 5290, - [SMALL_STATE(75)] = 5349, - [SMALL_STATE(76)] = 5408, - [SMALL_STATE(77)] = 5467, - [SMALL_STATE(78)] = 5526, - [SMALL_STATE(79)] = 5585, - [SMALL_STATE(80)] = 5644, - [SMALL_STATE(81)] = 5703, - [SMALL_STATE(82)] = 5756, - [SMALL_STATE(83)] = 5809, - [SMALL_STATE(84)] = 5862, - [SMALL_STATE(85)] = 5915, - [SMALL_STATE(86)] = 5968, - [SMALL_STATE(87)] = 6021, - [SMALL_STATE(88)] = 6074, - [SMALL_STATE(89)] = 6127, - [SMALL_STATE(90)] = 6180, - [SMALL_STATE(91)] = 6233, - [SMALL_STATE(92)] = 6286, - [SMALL_STATE(93)] = 6339, - [SMALL_STATE(94)] = 6392, - [SMALL_STATE(95)] = 6423, - [SMALL_STATE(96)] = 6476, - [SMALL_STATE(97)] = 6529, - [SMALL_STATE(98)] = 6582, - [SMALL_STATE(99)] = 6635, - [SMALL_STATE(100)] = 6688, - [SMALL_STATE(101)] = 6741, - [SMALL_STATE(102)] = 6794, - [SMALL_STATE(103)] = 6847, - [SMALL_STATE(104)] = 6900, - [SMALL_STATE(105)] = 6953, - [SMALL_STATE(106)] = 7006, - [SMALL_STATE(107)] = 7059, - [SMALL_STATE(108)] = 7112, - [SMALL_STATE(109)] = 7165, - [SMALL_STATE(110)] = 7196, - [SMALL_STATE(111)] = 7249, - [SMALL_STATE(112)] = 7302, - [SMALL_STATE(113)] = 7355, - [SMALL_STATE(114)] = 7408, - [SMALL_STATE(115)] = 7461, - [SMALL_STATE(116)] = 7514, - [SMALL_STATE(117)] = 7543, - [SMALL_STATE(118)] = 7572, - [SMALL_STATE(119)] = 7601, - [SMALL_STATE(120)] = 7630, - [SMALL_STATE(121)] = 7659, - [SMALL_STATE(122)] = 7688, - [SMALL_STATE(123)] = 7717, - [SMALL_STATE(124)] = 7746, - [SMALL_STATE(125)] = 7775, - [SMALL_STATE(126)] = 7804, - [SMALL_STATE(127)] = 7833, - [SMALL_STATE(128)] = 7862, - [SMALL_STATE(129)] = 7891, - [SMALL_STATE(130)] = 7920, - [SMALL_STATE(131)] = 7949, - [SMALL_STATE(132)] = 7978, - [SMALL_STATE(133)] = 8005, - [SMALL_STATE(134)] = 8035, - [SMALL_STATE(135)] = 8071, - [SMALL_STATE(136)] = 8101, - [SMALL_STATE(137)] = 8131, - [SMALL_STATE(138)] = 8163, - [SMALL_STATE(139)] = 8193, - [SMALL_STATE(140)] = 8222, - [SMALL_STATE(141)] = 8257, - [SMALL_STATE(142)] = 8284, - [SMALL_STATE(143)] = 8311, - [SMALL_STATE(144)] = 8340, - [SMALL_STATE(145)] = 8369, - [SMALL_STATE(146)] = 8393, - [SMALL_STATE(147)] = 8417, - [SMALL_STATE(148)] = 8441, - [SMALL_STATE(149)] = 8465, - [SMALL_STATE(150)] = 8489, - [SMALL_STATE(151)] = 8513, - [SMALL_STATE(152)] = 8537, - [SMALL_STATE(153)] = 8561, - [SMALL_STATE(154)] = 8585, - [SMALL_STATE(155)] = 8609, - [SMALL_STATE(156)] = 8633, - [SMALL_STATE(157)] = 8657, - [SMALL_STATE(158)] = 8681, - [SMALL_STATE(159)] = 8705, - [SMALL_STATE(160)] = 8729, - [SMALL_STATE(161)] = 8753, - [SMALL_STATE(162)] = 8777, - [SMALL_STATE(163)] = 8807, - [SMALL_STATE(164)] = 8840, - [SMALL_STATE(165)] = 8875, - [SMALL_STATE(166)] = 8910, - [SMALL_STATE(167)] = 8942, - [SMALL_STATE(168)] = 8974, - [SMALL_STATE(169)] = 9006, - [SMALL_STATE(170)] = 9038, - [SMALL_STATE(171)] = 9070, - [SMALL_STATE(172)] = 9102, - [SMALL_STATE(173)] = 9134, - [SMALL_STATE(174)] = 9166, - [SMALL_STATE(175)] = 9198, - [SMALL_STATE(176)] = 9230, - [SMALL_STATE(177)] = 9259, - [SMALL_STATE(178)] = 9281, - [SMALL_STATE(179)] = 9303, - [SMALL_STATE(180)] = 9321, - [SMALL_STATE(181)] = 9337, - [SMALL_STATE(182)] = 9353, - [SMALL_STATE(183)] = 9363, - [SMALL_STATE(184)] = 9373, - [SMALL_STATE(185)] = 9383, - [SMALL_STATE(186)] = 9393, - [SMALL_STATE(187)] = 9403, - [SMALL_STATE(188)] = 9413, - [SMALL_STATE(189)] = 9423, - [SMALL_STATE(190)] = 9433, - [SMALL_STATE(191)] = 9443, - [SMALL_STATE(192)] = 9451, - [SMALL_STATE(193)] = 9461, - [SMALL_STATE(194)] = 9471, - [SMALL_STATE(195)] = 9481, - [SMALL_STATE(196)] = 9491, - [SMALL_STATE(197)] = 9501, - [SMALL_STATE(198)] = 9511, - [SMALL_STATE(199)] = 9521, - [SMALL_STATE(200)] = 9531, - [SMALL_STATE(201)] = 9541, - [SMALL_STATE(202)] = 9548, - [SMALL_STATE(203)] = 9555, - [SMALL_STATE(204)] = 9560, - [SMALL_STATE(205)] = 9567, - [SMALL_STATE(206)] = 9574, - [SMALL_STATE(207)] = 9581, - [SMALL_STATE(208)] = 9588, - [SMALL_STATE(209)] = 9592, - [SMALL_STATE(210)] = 9596, - [SMALL_STATE(211)] = 9600, - [SMALL_STATE(212)] = 9604, - [SMALL_STATE(213)] = 9608, - [SMALL_STATE(214)] = 9612, - [SMALL_STATE(215)] = 9616, - [SMALL_STATE(216)] = 9620, - [SMALL_STATE(217)] = 9624, - [SMALL_STATE(218)] = 9628, - [SMALL_STATE(219)] = 9632, - [SMALL_STATE(220)] = 9636, - [SMALL_STATE(221)] = 9640, - [SMALL_STATE(222)] = 9644, - [SMALL_STATE(223)] = 9648, - [SMALL_STATE(224)] = 9652, - [SMALL_STATE(225)] = 9656, - [SMALL_STATE(226)] = 9660, - [SMALL_STATE(227)] = 9664, - [SMALL_STATE(228)] = 9668, - [SMALL_STATE(229)] = 9672, - [SMALL_STATE(230)] = 9676, - [SMALL_STATE(231)] = 9680, - [SMALL_STATE(232)] = 9684, - [SMALL_STATE(233)] = 9688, - [SMALL_STATE(234)] = 9692, - [SMALL_STATE(235)] = 9696, - [SMALL_STATE(236)] = 9700, - [SMALL_STATE(237)] = 9704, - [SMALL_STATE(238)] = 9708, - [SMALL_STATE(239)] = 9712, - [SMALL_STATE(240)] = 9716, - [SMALL_STATE(241)] = 9720, - [SMALL_STATE(242)] = 9724, - [SMALL_STATE(243)] = 9728, - [SMALL_STATE(244)] = 9732, - [SMALL_STATE(245)] = 9736, - [SMALL_STATE(246)] = 9740, - [SMALL_STATE(247)] = 9744, - [SMALL_STATE(248)] = 9748, - [SMALL_STATE(249)] = 9752, - [SMALL_STATE(250)] = 9756, - [SMALL_STATE(251)] = 9760, - [SMALL_STATE(252)] = 9764, - [SMALL_STATE(253)] = 9768, - [SMALL_STATE(254)] = 9772, - [SMALL_STATE(255)] = 9776, - [SMALL_STATE(256)] = 9780, - [SMALL_STATE(257)] = 9784, - [SMALL_STATE(258)] = 9788, - [SMALL_STATE(259)] = 9792, - [SMALL_STATE(260)] = 9796, - [SMALL_STATE(261)] = 9800, - [SMALL_STATE(262)] = 9804, + [SMALL_STATE(5)] = 296, + [SMALL_STATE(6)] = 414, + [SMALL_STATE(7)] = 529, + [SMALL_STATE(8)] = 643, + [SMALL_STATE(9)] = 757, + [SMALL_STATE(10)] = 871, + [SMALL_STATE(11)] = 985, + [SMALL_STATE(12)] = 1099, + [SMALL_STATE(13)] = 1195, + [SMALL_STATE(14)] = 1309, + [SMALL_STATE(15)] = 1423, + [SMALL_STATE(16)] = 1537, + [SMALL_STATE(17)] = 1651, + [SMALL_STATE(18)] = 1765, + [SMALL_STATE(19)] = 1879, + [SMALL_STATE(20)] = 1993, + [SMALL_STATE(21)] = 2107, + [SMALL_STATE(22)] = 2221, + [SMALL_STATE(23)] = 2335, + [SMALL_STATE(24)] = 2449, + [SMALL_STATE(25)] = 2563, + [SMALL_STATE(26)] = 2677, + [SMALL_STATE(27)] = 2749, + [SMALL_STATE(28)] = 2863, + [SMALL_STATE(29)] = 2973, + [SMALL_STATE(30)] = 3083, + [SMALL_STATE(31)] = 3193, + [SMALL_STATE(32)] = 3303, + [SMALL_STATE(33)] = 3413, + [SMALL_STATE(34)] = 3467, + [SMALL_STATE(35)] = 3523, + [SMALL_STATE(36)] = 3577, + [SMALL_STATE(37)] = 3631, + [SMALL_STATE(38)] = 3685, + [SMALL_STATE(39)] = 3749, + [SMALL_STATE(40)] = 3802, + [SMALL_STATE(41)] = 3855, + [SMALL_STATE(42)] = 3918, + [SMALL_STATE(43)] = 3971, + [SMALL_STATE(44)] = 4019, + [SMALL_STATE(45)] = 4067, + [SMALL_STATE(46)] = 4115, + [SMALL_STATE(47)] = 4163, + [SMALL_STATE(48)] = 4211, + [SMALL_STATE(49)] = 4259, + [SMALL_STATE(50)] = 4307, + [SMALL_STATE(51)] = 4355, + [SMALL_STATE(52)] = 4403, + [SMALL_STATE(53)] = 4451, + [SMALL_STATE(54)] = 4499, + [SMALL_STATE(55)] = 4547, + [SMALL_STATE(56)] = 4595, + [SMALL_STATE(57)] = 4649, + [SMALL_STATE(58)] = 4697, + [SMALL_STATE(59)] = 4745, + [SMALL_STATE(60)] = 4793, + [SMALL_STATE(61)] = 4841, + [SMALL_STATE(62)] = 4918, + [SMALL_STATE(63)] = 4995, + [SMALL_STATE(64)] = 5055, + [SMALL_STATE(65)] = 5115, + [SMALL_STATE(66)] = 5177, + [SMALL_STATE(67)] = 5239, + [SMALL_STATE(68)] = 5282, + [SMALL_STATE(69)] = 5333, + [SMALL_STATE(70)] = 5376, + [SMALL_STATE(71)] = 5436, + [SMALL_STATE(72)] = 5474, + [SMALL_STATE(73)] = 5533, + [SMALL_STATE(74)] = 5592, + [SMALL_STATE(75)] = 5651, + [SMALL_STATE(76)] = 5710, + [SMALL_STATE(77)] = 5769, + [SMALL_STATE(78)] = 5828, + [SMALL_STATE(79)] = 5887, + [SMALL_STATE(80)] = 5946, + [SMALL_STATE(81)] = 6005, + [SMALL_STATE(82)] = 6064, + [SMALL_STATE(83)] = 6123, + [SMALL_STATE(84)] = 6182, + [SMALL_STATE(85)] = 6214, + [SMALL_STATE(86)] = 6246, + [SMALL_STATE(87)] = 6302, + [SMALL_STATE(88)] = 6355, + [SMALL_STATE(89)] = 6408, + [SMALL_STATE(90)] = 6461, + [SMALL_STATE(91)] = 6514, + [SMALL_STATE(92)] = 6567, + [SMALL_STATE(93)] = 6620, + [SMALL_STATE(94)] = 6673, + [SMALL_STATE(95)] = 6726, + [SMALL_STATE(96)] = 6779, + [SMALL_STATE(97)] = 6832, + [SMALL_STATE(98)] = 6885, + [SMALL_STATE(99)] = 6938, + [SMALL_STATE(100)] = 6991, + [SMALL_STATE(101)] = 7044, + [SMALL_STATE(102)] = 7097, + [SMALL_STATE(103)] = 7150, + [SMALL_STATE(104)] = 7203, + [SMALL_STATE(105)] = 7256, + [SMALL_STATE(106)] = 7309, + [SMALL_STATE(107)] = 7362, + [SMALL_STATE(108)] = 7415, + [SMALL_STATE(109)] = 7468, + [SMALL_STATE(110)] = 7521, + [SMALL_STATE(111)] = 7574, + [SMALL_STATE(112)] = 7627, + [SMALL_STATE(113)] = 7680, + [SMALL_STATE(114)] = 7733, + [SMALL_STATE(115)] = 7786, + [SMALL_STATE(116)] = 7839, + [SMALL_STATE(117)] = 7892, + [SMALL_STATE(118)] = 7945, + [SMALL_STATE(119)] = 7998, + [SMALL_STATE(120)] = 8051, + [SMALL_STATE(121)] = 8104, + [SMALL_STATE(122)] = 8157, + [SMALL_STATE(123)] = 8210, + [SMALL_STATE(124)] = 8240, + [SMALL_STATE(125)] = 8270, + [SMALL_STATE(126)] = 8300, + [SMALL_STATE(127)] = 8330, + [SMALL_STATE(128)] = 8360, + [SMALL_STATE(129)] = 8390, + [SMALL_STATE(130)] = 8420, + [SMALL_STATE(131)] = 8450, + [SMALL_STATE(132)] = 8480, + [SMALL_STATE(133)] = 8510, + [SMALL_STATE(134)] = 8540, + [SMALL_STATE(135)] = 8570, + [SMALL_STATE(136)] = 8600, + [SMALL_STATE(137)] = 8630, + [SMALL_STATE(138)] = 8660, + [SMALL_STATE(139)] = 8690, + [SMALL_STATE(140)] = 8720, + [SMALL_STATE(141)] = 8750, + [SMALL_STATE(142)] = 8778, + [SMALL_STATE(143)] = 8809, + [SMALL_STATE(144)] = 8840, + [SMALL_STATE(145)] = 8877, + [SMALL_STATE(146)] = 8908, + [SMALL_STATE(147)] = 8939, + [SMALL_STATE(148)] = 8972, + [SMALL_STATE(149)] = 9002, + [SMALL_STATE(150)] = 9038, + [SMALL_STATE(151)] = 9068, + [SMALL_STATE(152)] = 9098, + [SMALL_STATE(153)] = 9123, + [SMALL_STATE(154)] = 9148, + [SMALL_STATE(155)] = 9173, + [SMALL_STATE(156)] = 9198, + [SMALL_STATE(157)] = 9223, + [SMALL_STATE(158)] = 9248, + [SMALL_STATE(159)] = 9273, + [SMALL_STATE(160)] = 9298, + [SMALL_STATE(161)] = 9323, + [SMALL_STATE(162)] = 9348, + [SMALL_STATE(163)] = 9373, + [SMALL_STATE(164)] = 9398, + [SMALL_STATE(165)] = 9423, + [SMALL_STATE(166)] = 9448, + [SMALL_STATE(167)] = 9473, + [SMALL_STATE(168)] = 9498, + [SMALL_STATE(169)] = 9523, + [SMALL_STATE(170)] = 9553, + [SMALL_STATE(171)] = 9588, + [SMALL_STATE(172)] = 9623, + [SMALL_STATE(173)] = 9656, + [SMALL_STATE(174)] = 9688, + [SMALL_STATE(175)] = 9720, + [SMALL_STATE(176)] = 9752, + [SMALL_STATE(177)] = 9784, + [SMALL_STATE(178)] = 9816, + [SMALL_STATE(179)] = 9848, + [SMALL_STATE(180)] = 9880, + [SMALL_STATE(181)] = 9912, + [SMALL_STATE(182)] = 9944, + [SMALL_STATE(183)] = 9976, + [SMALL_STATE(184)] = 10008, + [SMALL_STATE(185)] = 10040, + [SMALL_STATE(186)] = 10072, + [SMALL_STATE(187)] = 10104, + [SMALL_STATE(188)] = 10127, + [SMALL_STATE(189)] = 10156, + [SMALL_STATE(190)] = 10178, + [SMALL_STATE(191)] = 10200, + [SMALL_STATE(192)] = 10218, + [SMALL_STATE(193)] = 10235, + [SMALL_STATE(194)] = 10251, + [SMALL_STATE(195)] = 10267, + [SMALL_STATE(196)] = 10277, + [SMALL_STATE(197)] = 10287, + [SMALL_STATE(198)] = 10295, + [SMALL_STATE(199)] = 10305, + [SMALL_STATE(200)] = 10315, + [SMALL_STATE(201)] = 10325, + [SMALL_STATE(202)] = 10335, + [SMALL_STATE(203)] = 10345, + [SMALL_STATE(204)] = 10355, + [SMALL_STATE(205)] = 10365, + [SMALL_STATE(206)] = 10375, + [SMALL_STATE(207)] = 10385, + [SMALL_STATE(208)] = 10395, + [SMALL_STATE(209)] = 10405, + [SMALL_STATE(210)] = 10415, + [SMALL_STATE(211)] = 10425, + [SMALL_STATE(212)] = 10435, + [SMALL_STATE(213)] = 10445, + [SMALL_STATE(214)] = 10455, + [SMALL_STATE(215)] = 10462, + [SMALL_STATE(216)] = 10469, + [SMALL_STATE(217)] = 10474, + [SMALL_STATE(218)] = 10481, + [SMALL_STATE(219)] = 10488, + [SMALL_STATE(220)] = 10495, + [SMALL_STATE(221)] = 10502, + [SMALL_STATE(222)] = 10506, + [SMALL_STATE(223)] = 10510, + [SMALL_STATE(224)] = 10514, + [SMALL_STATE(225)] = 10518, + [SMALL_STATE(226)] = 10522, + [SMALL_STATE(227)] = 10526, + [SMALL_STATE(228)] = 10530, + [SMALL_STATE(229)] = 10534, + [SMALL_STATE(230)] = 10538, + [SMALL_STATE(231)] = 10542, + [SMALL_STATE(232)] = 10546, + [SMALL_STATE(233)] = 10550, + [SMALL_STATE(234)] = 10554, + [SMALL_STATE(235)] = 10558, + [SMALL_STATE(236)] = 10562, + [SMALL_STATE(237)] = 10566, + [SMALL_STATE(238)] = 10570, + [SMALL_STATE(239)] = 10574, + [SMALL_STATE(240)] = 10578, + [SMALL_STATE(241)] = 10582, + [SMALL_STATE(242)] = 10586, + [SMALL_STATE(243)] = 10590, + [SMALL_STATE(244)] = 10594, + [SMALL_STATE(245)] = 10598, + [SMALL_STATE(246)] = 10602, + [SMALL_STATE(247)] = 10606, + [SMALL_STATE(248)] = 10610, + [SMALL_STATE(249)] = 10614, + [SMALL_STATE(250)] = 10618, + [SMALL_STATE(251)] = 10622, + [SMALL_STATE(252)] = 10626, + [SMALL_STATE(253)] = 10630, + [SMALL_STATE(254)] = 10634, + [SMALL_STATE(255)] = 10638, + [SMALL_STATE(256)] = 10642, + [SMALL_STATE(257)] = 10646, + [SMALL_STATE(258)] = 10650, + [SMALL_STATE(259)] = 10654, + [SMALL_STATE(260)] = 10658, + [SMALL_STATE(261)] = 10662, + [SMALL_STATE(262)] = 10666, + [SMALL_STATE(263)] = 10670, + [SMALL_STATE(264)] = 10674, + [SMALL_STATE(265)] = 10678, + [SMALL_STATE(266)] = 10682, + [SMALL_STATE(267)] = 10686, + [SMALL_STATE(268)] = 10690, + [SMALL_STATE(269)] = 10694, }; 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(46), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(238), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(230), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(219), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215), - [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), - [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(212), - [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(211), - [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), - [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(158), - [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206), - [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(247), - [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), - [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), - [69] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(268), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(222), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(235), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(229), + [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(227), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224), + [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(240), + [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164), + [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), + [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217), + [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254), + [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [69] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [71] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(46), - [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(124), - [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(2), - [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(41), - [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(241), - [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(60), - [93] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(56), - [96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(70), - [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), - [102] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(204), - [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(238), - [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(97), - [111] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(99), - [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(230), - [117] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(224), - [120] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(219), - [123] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(218), - [126] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(215), - [129] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(213), - [132] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(212), - [135] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(211), - [138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), - [140] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(46), - [143] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(124), - [146] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(2), - [149] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(41), - [152] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(241), - [155] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(60), - [158] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(56), - [161] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(70), - [164] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(193), - [167] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(204), - [170] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(238), - [173] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(97), - [176] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(99), - [179] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(230), - [182] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(224), - [185] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(219), - [188] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(218), - [191] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(215), - [194] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(213), - [197] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(212), - [200] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(211), - [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [211] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162), - [213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248), - [215] = {.entry = {.count = 1, .reusable = false}}, SHIFT(231), - [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 5), - [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 5), - [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), - [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), - [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [241] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181), - [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [245] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer, 2), - [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_integer, 2), - [253] = {.entry = {.count = 1, .reusable = false}}, SHIFT(252), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer, 1), - [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_integer, 1), - [261] = {.entry = {.count = 1, .reusable = false}}, SHIFT(260), - [263] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), - [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), - [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 4), - [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 4), - [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [281] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [293] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), - [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(56), + [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(130), + [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(3), + [84] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(57), + [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(58), + [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(59), + [93] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(60), + [96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(78), + [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(213), + [102] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(220), + [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(246), + [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(92), + [111] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(122), + [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(118), + [117] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(268), + [120] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(222), + [123] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(89), + [126] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(235), + [129] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(229), + [132] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(227), + [135] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(224), + [138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(240), + [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), + [145] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(56), + [148] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(130), + [151] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(3), + [154] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(57), + [157] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(58), + [160] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(59), + [163] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(60), + [166] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(78), + [169] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(213), + [172] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(220), + [175] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(246), + [178] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(92), + [181] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(122), + [184] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(118), + [187] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(268), + [190] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(222), + [193] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(89), + [196] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(235), + [199] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(229), + [202] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(227), + [205] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(224), + [208] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(240), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), + [221] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), + [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(238), + [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 5), + [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 5), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [249] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [253] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194), + [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [265] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 4), + [281] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 4), + [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [293] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 3), [301] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 3), - [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), [309] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [313] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_float, 3), - [317] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_float, 3), - [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), - [321] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), - [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [325] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [333] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [335] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_float, 4), - [337] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_float, 4), - [339] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [341] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), - [347] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), + [313] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), + [315] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer, 1), + [321] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_integer, 1), + [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_float, 1), + [325] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_float, 1), + [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [333] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [335] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [341] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), + [343] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [347] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), [351] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), - [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [357] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [359] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 5), - [361] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 5), - [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), - [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [377] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), - [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [383] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(48), - [386] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(2), - [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(41), - [394] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(241), - [397] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(60), - [400] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(56), - [403] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(70), - [406] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(193), - [409] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(204), - [412] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(238), - [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [423] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [425] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(87), - [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [442] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), - [444] = {.entry = {.count = 1, .reusable = false}}, SHIFT(257), - [446] = {.entry = {.count = 1, .reusable = false}}, SHIFT(262), - [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 5), - [450] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 5), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 5), - [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 5), - [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 3), - [462] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 3), - [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 9), - [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 9), - [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 8), - [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 8), - [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 4), - [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 4), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter, 7), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filter, 7), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 4), - [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 4), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 1), - [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 1), - [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_find, 7), - [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_find, 7), - [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_remove, 7), - [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_remove, 7), - [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_transform, 7), - [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_transform, 7), - [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 7), - [506] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 7), - [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 5), - [510] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 5), - [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), - [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [522] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220), - [524] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214), - [526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [540] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [548] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [550] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [554] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), - [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [574] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(191), - [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [579] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(259), - [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), - [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), - [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), - [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [620] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [624] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), - [626] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [628] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [634] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [636] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), - [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), - [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243), - [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [670] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), - [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), - [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 5), + [357] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 5), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228), + [369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [379] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(52), + [382] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(3), + [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [387] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(57), + [390] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(58), + [393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(59), + [396] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(60), + [399] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(78), + [402] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(213), + [405] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(220), + [408] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(246), + [411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [413] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [415] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(104), + [418] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [438] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(160), + [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(2), + [444] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(164), + [447] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(163), + [450] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(162), + [453] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(161), + [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(73), + [459] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(201), + [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), + [464] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(217), + [467] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(254), + [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 5), + [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 5), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 5), + [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 5), + [482] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), + [484] = {.entry = {.count = 1, .reusable = false}}, SHIFT(264), + [486] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), + [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 7), + [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 7), + [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 4), + [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 4), + [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 9), + [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 9), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 8), + [506] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 8), + [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 4), + [510] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 4), + [512] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_async, 3), + [514] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_async, 3), + [516] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 1), + [518] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 1), + [520] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter, 8, .production_id = 2), + [522] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filter, 8, .production_id = 2), + [524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_remove, 7), + [526] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_remove, 7), + [528] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [530] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_find, 7), + [534] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_find, 7), + [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 5), + [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 5), + [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter, 7, .production_id = 1), + [546] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filter, 7, .production_id = 1), + [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_transform, 7), + [550] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_transform, 7), + [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243), + [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [586] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [588] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), + [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [594] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [596] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [600] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [602] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [604] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [606] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [614] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), + [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [620] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), + [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [624] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [626] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [628] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), + [634] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(197), + [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [643] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(260), + [646] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), + [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), + [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [688] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), }; #ifdef __cplusplus @@ -11213,6 +11949,9 @@ extern const TSLanguage *tree_sitter_dust(void) { .small_parse_table_map = ts_small_parse_table_map, .parse_actions = ts_parse_actions, .symbol_names = ts_symbol_names, + .field_names = ts_field_names, + .field_map_slices = ts_field_map_slices, + .field_map_entries = ts_field_map_entries, .symbol_metadata = ts_symbol_metadata, .public_symbol_map = ts_symbol_map, .alias_map = ts_non_terminal_alias_map,