diff --git a/examples/async_download.ds b/examples/async_download.ds index 983dbf4..3904261 100644 --- a/examples/async_download.ds +++ b/examples/async_download.ds @@ -2,8 +2,10 @@ cast = (download "https://api.sampleapis.com/futurama/cast") characters = (download "https://api.sampleapis.com/futurama/characters") episodes = (download "https://api.sampleapis.com/futurama/episodes") -cast_len = (length (from_json cast)) -characters_len = (length (from_json characters)) -episodes_len = (length (from_json episodes)) +async { + cast_len = (length (from_json cast)) + characters_len = (length (from_json characters)) + episodes_len = (length (from_json episodes)) +} (output [cast_len, characters_len, episodes_len]) diff --git a/src/abstract_tree/assignment.rs b/src/abstract_tree/assignment.rs index e928ab5..126bb26 100644 --- a/src/abstract_tree/assignment.rs +++ b/src/abstract_tree/assignment.rs @@ -29,7 +29,7 @@ impl AbstractTree for Assignment { let type_node = node.child(1); let type_definition = if let Some(type_node) = type_node { - if type_node.kind() == "type_defintion" { + if type_node.kind() == "type_definition" { Some(TypeDefinition::from_syntax_node( source, type_node, context, )?) @@ -63,35 +63,30 @@ impl AbstractTree for Assignment { match operator { AssignmentOperator::Equal => { - type_definition.abstract_check( - &statement_type, - context, - statement_node, - source, - )?; + type_definition.check(&statement_type, context, statement_node, source)?; } AssignmentOperator::PlusEqual => { let identifier_type = identifier.expected_type(context)?; - type_definition.abstract_check( - &identifier_type, - context, - type_node.unwrap(), - source, - )?; + if let Type::List(item_type) = type_definition.inner() { + let item_type_definition = TypeDefinition::new(*item_type.clone()); - let type_definition = if let Type::List(item_type) = type_definition.inner() { - TypeDefinition::new(item_type.as_ref().clone()) + item_type_definition.check(&identifier_type, context, node, source)?; + item_type_definition.check( + &statement_type, + context, + statement_node, + source, + )?; } else { - type_definition.clone() - }; - - type_definition.abstract_check( - &statement_type, - context, - statement_node, - source, - )?; + type_definition.check( + &identifier_type, + context, + identifier_node, + source, + )?; + type_definition.check(&statement_type, context, statement_node, source)?; + } } AssignmentOperator::MinusEqual => todo!(), } @@ -112,22 +107,6 @@ impl AbstractTree for Assignment { let new_value = match self.operator { AssignmentOperator::PlusEqual => { if let Some(mut previous_value) = context.variables()?.get(key).cloned() { - if let Ok(list) = previous_value.as_list() { - let item_type = if let Some(type_defintion) = &self.type_definition { - if let Type::List(item_type) = type_defintion.inner() { - TypeDefinition::new(item_type.as_ref().clone()) - } else { - TypeDefinition::new(Type::Empty) - } - } else if let Some(first) = list.items().first() { - first.r#type(context)? - } else { - TypeDefinition::new(Type::Any) - }; - - item_type.runtime_check(&value.r#type(context)?, context)?; - } - previous_value += value; previous_value } else { @@ -145,12 +124,6 @@ impl AbstractTree for Assignment { AssignmentOperator::Equal => value, }; - if let Some(type_definition) = &self.type_definition { - let new_value_type = new_value.r#type(context)?; - - type_definition.runtime_check(&new_value_type, context)?; - } - context.variables_mut()?.insert(key.clone(), new_value); Ok(Value::Empty) @@ -183,7 +156,7 @@ mod tests { fn list_add_assign() { let test = evaluate( " - x = [] + x <[int]> = [] x += 1 x ", diff --git a/src/abstract_tree/function_call.rs b/src/abstract_tree/function_call.rs index 4976d9e..5c14a89 100644 --- a/src/abstract_tree/function_call.rs +++ b/src/abstract_tree/function_call.rs @@ -2,21 +2,21 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; use crate::{ - AbstractTree, Error, Identifier, Map, Result, TypeDefinition, Value, BUILT_IN_FUNCTIONS, + AbstractTree, Error, Map, Result, TypeDefinition, Value, ValueNode, BUILT_IN_FUNCTIONS, }; use super::expression::Expression; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct FunctionCall { - function_name: Identifier, + function_expression: Expression, arguments: Vec, } impl FunctionCall { - pub fn new(function_name: Identifier, arguments: Vec) -> Self { + pub fn new(function_expression: Expression, arguments: Vec) -> Self { Self { - function_name, + function_expression, arguments, } } @@ -26,8 +26,8 @@ impl AbstractTree for FunctionCall { fn from_syntax_node(source: &str, node: Node, context: &Map) -> Result { debug_assert_eq!("function_call", node.kind()); - let identifier_node = node.child(1).unwrap(); - let function_name = Identifier::from_syntax_node(source, identifier_node, context)?; + let expression_node = node.child(1).unwrap(); + let function_expression = Expression::from_syntax_node(source, expression_node, context)?; let mut arguments = Vec::new(); @@ -41,13 +41,13 @@ impl AbstractTree for FunctionCall { } } - let function_type = function_name.expected_type(context)?; + let function_type = function_expression.expected_type(context)?; let function_call = FunctionCall { - function_name, + function_expression, arguments, }; - function_type.abstract_check( + function_type.check( &function_call.expected_type(context)?, context, node, @@ -58,43 +58,67 @@ impl AbstractTree for FunctionCall { } fn run(&self, source: &str, context: &Map) -> Result { - let key = self.function_name.inner(); + let value = match &self.function_expression { + Expression::Value(value_node) => value_node.run(source, context)?, + Expression::Identifier(identifier) => { + let key = identifier.inner(); - for built_in_function in BUILT_IN_FUNCTIONS { - if key == built_in_function.name() { - let mut arguments = Vec::with_capacity(self.arguments.len()); + for built_in_function in BUILT_IN_FUNCTIONS { + if key == built_in_function.name() { + let mut arguments = Vec::with_capacity(self.arguments.len()); - for expression in &self.arguments { - let value = expression.run(source, context)?; + for expression in &self.arguments { + let value = expression.run(source, context)?; - arguments.push(value); + arguments.push(value); + } + + return built_in_function.run(&arguments, context); + } } - return built_in_function.run(&arguments, context); + let variables = context.variables()?; + if let Some(value) = variables.get(key) { + value.clone() + } else { + return Err(Error::FunctionIdentifierNotFound(identifier.clone())); + } } - } - - let variables = context.variables()?; - let function = if let Some(value) = variables.get(key) { - value.as_function()? - } else { - return Err(Error::FunctionIdentifierNotFound( - self.function_name.clone(), - )); + Expression::Index(index) => index.run(source, context)?, + Expression::Math(math) => math.run(source, context)?, + Expression::Logic(logic) => logic.run(source, context)?, + Expression::FunctionCall(function_call) => function_call.run(source, context)?, + Expression::Yield(r#yield) => r#yield.run(source, context)?, }; - function.call(&self.arguments, source, context) + value.as_function()?.call(&self.arguments, source, context) } fn expected_type(&self, context: &Map) -> Result { - let function_name = self.function_name.inner(); + match &self.function_expression { + Expression::Value(value_node) => { + if let ValueNode::Function(function) = value_node { + Ok(function.return_type().clone()) + } else { + value_node.expected_type(context) + } + } + Expression::Identifier(identifier) => { + let function_name = identifier.inner(); - if let Some(value) = context.variables()?.get(function_name) { - let return_type = value.as_function()?.return_type(); + if let Some(value) = context.variables()?.get(function_name) { + let return_type = value.as_function()?.return_type(); - Ok(return_type.clone()) - } else { - self.function_name.expected_type(context) + Ok(return_type.clone()) + } else { + self.function_expression.expected_type(context) + } + } + Expression::Index(index) => index.expected_type(context), + Expression::Math(math) => math.expected_type(context), + Expression::Logic(logic) => logic.expected_type(context), + Expression::FunctionCall(function_call) => function_call.expected_type(context), + Expression::Yield(r#yield) => r#yield.expected_type(context), } } } diff --git a/src/abstract_tree/identifier.rs b/src/abstract_tree/identifier.rs index e01f2a1..2bb30e4 100644 --- a/src/abstract_tree/identifier.rs +++ b/src/abstract_tree/identifier.rs @@ -47,7 +47,7 @@ impl AbstractTree for Identifier { } } - Ok(TypeDefinition::new(Type::Empty)) + Ok(TypeDefinition::new(Type::Any)) } } } diff --git a/src/abstract_tree/type_defintion.rs b/src/abstract_tree/type_defintion.rs index 80fac94..faa5c9d 100644 --- a/src/abstract_tree/type_defintion.rs +++ b/src/abstract_tree/type_defintion.rs @@ -23,79 +23,14 @@ impl TypeDefinition { self.r#type } - pub fn abstract_check( + pub fn check( &self, other: &TypeDefinition, context: &Map, node: Node, source: &str, ) -> Result<()> { - self.runtime_check(other, context) - .map_err(|_| Error::TypeCheck { - expected: self.clone(), - actual: other.clone(), - location: node.start_position(), - source: source[node.byte_range()].to_string(), - }) - } - - pub fn runtime_check(&self, other: &TypeDefinition, context: &Map) -> Result<()> { - // match (&self.r#type, &other.r#type) { - // (Type::Any, _) - // | (_, Type::Any) - // | (Type::Boolean, Type::Boolean) - // | (Type::Empty, Type::Empty) - // | (Type::Float, Type::Float) - // | (Type::Integer, Type::Integer) - // | (Type::Map, Type::Map) - // | (Type::Number, Type::Number) - // | (Type::Number, Type::Integer) - // | (Type::Number, Type::Float) - // | (Type::Integer, Type::Number) - // | (Type::Float, Type::Number) - // | (Type::String, Type::String) - // | (Type::Table, Type::Table) => Ok(()), - // (Type::List(self_item_type), Type::List(other_item_type)) => { - // let self_defintion = TypeDefinition::new(self_item_type.as_ref().clone()); - // let other_definition = &TypeDefinition::new(other_item_type.as_ref().clone()); - - // self_defintion.runtime_check(other_definition, context) - // } - // ( - // Type::Function { - // parameter_types: self_parameter_types, - // return_type: self_return_type, - // }, - // Type::Function { - // parameter_types: other_parameter_types, - // return_type: other_return_type, - // }, - // ) => { - // let parameter_type_pairs = self_parameter_types - // .iter() - // .zip(other_parameter_types.iter()); - - // for (self_parameter_type, other_parameter_type) in parameter_type_pairs { - // TypeDefinition::new(self_parameter_type.clone()).runtime_check( - // &TypeDefinition::new(other_parameter_type.clone()), - // context, - // )?; - // } - - // TypeDefinition::new(self_return_type.as_ref().clone()).runtime_check( - // &TypeDefinition::new(other_return_type.as_ref().clone()), - // context, - // )?; - - // Ok(()) - // } - // _ => Err(Error::RuntimeTypeCheck { - // expected: self.clone(), - // actual: other.clone(), - // }), - // } - - Ok(()) + self.r#type.check(&other.r#type, context, node, source) } } @@ -142,6 +77,58 @@ pub enum Type { Table, } +impl Type { + pub fn check(&self, other: &Type, context: &Map, node: Node, source: &str) -> Result<()> { + match (self, other) { + (Type::Any, _) + | (_, Type::Any) + | (Type::Boolean, Type::Boolean) + | (Type::Empty, Type::Empty) + | (Type::Float, Type::Float) + | (Type::Integer, Type::Integer) + | (Type::Map, Type::Map) + | (Type::Number, Type::Number) + | (Type::Number, Type::Integer) + | (Type::Number, Type::Float) + | (Type::Integer, Type::Number) + | (Type::Float, Type::Number) + | (Type::String, Type::String) + | (Type::Table, Type::Table) => Ok(()), + (Type::List(self_item_type), Type::List(other_item_type)) => { + self_item_type.check(&other_item_type, context, node, source) + } + ( + Type::Function { + parameter_types: self_parameter_types, + return_type: self_return_type, + }, + Type::Function { + parameter_types: other_parameter_types, + return_type: other_return_type, + }, + ) => { + let parameter_type_pairs = self_parameter_types + .iter() + .zip(other_parameter_types.iter()); + + for (self_parameter_type, other_parameter_type) in parameter_type_pairs { + self_parameter_type.check(&other_parameter_type, context, node, source)?; + } + + self_return_type.check(other_return_type, context, node, source)?; + + Ok(()) + } + _ => Err(Error::TypeCheck { + expected: self.clone(), + actual: other.clone(), + location: node.start_position(), + source: source[node.byte_range()].to_string(), + }), + } + } +} + impl AbstractTree for Type { fn from_syntax_node(source: &str, node: Node, context: &Map) -> Result { Error::expect_syntax_node(source, "type", node)?; @@ -182,7 +169,6 @@ impl AbstractTree for Type { "map" => Type::Map, "num" => Type::Number, "str" => Type::String, - "table" => Type::Table, _ => { return Err(Error::UnexpectedSyntaxNode { expected: "any, bool, float, fn, int, list, map, num, str or table", @@ -225,7 +211,7 @@ impl Display for Type { write!(f, "-> {return_type}") } Type::Integer => write!(f, "int"), - Type::List(item_type) => write!(f, "list {item_type}"), + Type::List(item_type) => write!(f, "[{item_type}]"), Type::Map => write!(f, "map"), Type::Number => write!(f, "num"), Type::String => write!(f, "str"), diff --git a/src/abstract_tree/value_node.rs b/src/abstract_tree/value_node.rs index ac41d9f..5a89e8a 100644 --- a/src/abstract_tree/value_node.rs +++ b/src/abstract_tree/value_node.rs @@ -195,7 +195,7 @@ impl AbstractTree for ValueNode { if let Some(previous) = previous_type { if expression_type != previous { - return Ok(TypeDefinition::new(Type::Any)); + return Ok(TypeDefinition::new(Type::List(Box::new(Type::Any)))); } } diff --git a/src/abstract_tree/yield.rs b/src/abstract_tree/yield.rs index 921b94f..ed31c08 100644 --- a/src/abstract_tree/yield.rs +++ b/src/abstract_tree/yield.rs @@ -1,9 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{ - AbstractTree, Expression, FunctionCall, Identifier, Map, Result, TypeDefinition, Value, -}; +use crate::{AbstractTree, Expression, FunctionCall, Map, Result, TypeDefinition, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Yield { @@ -15,24 +13,24 @@ impl AbstractTree for Yield { let input_node = node.child(0).unwrap(); let input = Expression::from_syntax_node(source, input_node, context)?; - let function_node = node.child(3).unwrap(); - let function = Identifier::from_syntax_node(source, function_node, context)?; + let expression_node = node.child(3).unwrap(); + let function_expression = Expression::from_syntax_node(source, expression_node, context)?; let mut arguments = Vec::new(); arguments.push(input); for index in 4..node.child_count() - 1 { - let node = node.child(index).unwrap(); + let child = node.child(index).unwrap(); - if node.is_named() { - let expression = Expression::from_syntax_node(source, node, context)?; + if child.is_named() { + let expression = Expression::from_syntax_node(source, child, context)?; arguments.push(expression); } } - let call = FunctionCall::new(function, arguments); + let call = FunctionCall::new(function_expression, arguments); Ok(Yield { call }) } diff --git a/src/built_in_functions/mod.rs b/src/built_in_functions/mod.rs index 08eee7c..6fec07f 100644 --- a/src/built_in_functions/mod.rs +++ b/src/built_in_functions/mod.rs @@ -4,6 +4,7 @@ mod assert; mod collections; mod data_formats; mod fs; +mod network; mod output; mod random; mod r#type; @@ -22,7 +23,7 @@ pub const BUILT_IN_FUNCTIONS: [&dyn BuiltInFunction; 14] = [ &random::RandomBoolean, &random::RandomFloat, &random::RandomInteger, - &r#type::Type, + &r#type::TypeFunction, ]; pub trait BuiltInFunction { diff --git a/src/built_in_functions/network.rs b/src/built_in_functions/network.rs new file mode 100644 index 0000000..3fca3ac --- /dev/null +++ b/src/built_in_functions/network.rs @@ -0,0 +1,27 @@ +use reqwest::blocking::get; + +use crate::{BuiltInFunction, Error, Map, Result, Type, TypeDefinition, Value}; + +pub struct Download; + +impl BuiltInFunction for Download { + fn name(&self) -> &'static str { + "download" + } + + fn run(&self, arguments: &[Value], _context: &Map) -> Result { + Error::expect_argument_amount(self, 1, arguments.len())?; + + let url = arguments.first().unwrap().as_string()?; + let response = get(url)?; + + Ok(Value::String(response.text()?)) + } + + fn type_definition(&self) -> TypeDefinition { + TypeDefinition::new(Type::Function { + parameter_types: vec![Type::String], + return_type: Box::new(Type::String), + }) + } +} diff --git a/src/built_in_functions/type.rs b/src/built_in_functions/type.rs index 8ebffb1..b9ed893 100644 --- a/src/built_in_functions/type.rs +++ b/src/built_in_functions/type.rs @@ -1,8 +1,8 @@ -use crate::{BuiltInFunction, Error, List, Map, Result, Value}; +use crate::{BuiltInFunction, Error, List, Map, Result, Type, TypeDefinition, Value}; -pub struct Type; +pub struct TypeFunction; -impl BuiltInFunction for Type { +impl BuiltInFunction for TypeFunction { fn name(&self) -> &'static str { "type" } @@ -33,6 +33,9 @@ impl BuiltInFunction for Type { } fn type_definition(&self) -> crate::TypeDefinition { - todo!() + TypeDefinition::new(Type::Function { + parameter_types: vec![Type::String], + return_type: Box::new(Type::Any), + }) } } diff --git a/src/error.rs b/src/error.rs index 1364c4f..6e2a681 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,7 +5,7 @@ use tree_sitter::{Node, Point}; -use crate::{value::Value, BuiltInFunction, Identifier, TypeDefinition}; +use crate::{value::Value, BuiltInFunction, Identifier, Type}; use std::{fmt, io, num::ParseFloatError, string::FromUtf8Error, sync::PoisonError, time}; @@ -21,15 +21,15 @@ pub enum Error { }, TypeCheck { - expected: TypeDefinition, - actual: TypeDefinition, + expected: Type, + actual: Type, location: Point, source: String, }, RuntimeTypeCheck { - expected: TypeDefinition, - actual: TypeDefinition, + expected: Type, + actual: Type, }, /// The 'assert' macro did not resolve successfully. diff --git a/src/value/function.rs b/src/value/function.rs index 48c6b78..2590a62 100644 --- a/src/value/function.rs +++ b/src/value/function.rs @@ -62,15 +62,11 @@ impl Function { println!("{key} {value}"); - type_definition.runtime_check(&value.r#type(context)?, context)?; function_context.variables_mut()?.insert(key.clone(), value); } let return_value = self.body.run(source, &function_context)?; - self.return_type - .runtime_check(&return_value.r#type(context)?, context)?; - Ok(return_value) } } @@ -90,11 +86,11 @@ impl AbstractTree for Function { (parameter_types, return_type) } else { return Err(Error::TypeCheck { - expected: TypeDefinition::new(Type::Function { + expected: Type::Function { parameter_types: Vec::with_capacity(0), return_type: Box::new(Type::Empty), - }), - actual: type_definition, + }, + actual: type_definition.take_inner(), location: type_node.start_position(), source: source[type_node.byte_range()].to_string(), }); diff --git a/tree-sitter-dust/corpus/async.txt b/tree-sitter-dust/corpus/async.txt index 73c87b6..46da4a9 100644 --- a/tree-sitter-dust/corpus/async.txt +++ b/tree-sitter-dust/corpus/async.txt @@ -12,7 +12,8 @@ async { (output 'Whaddup') } (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (value (string))))))))) diff --git a/tree-sitter-dust/corpus/for.txt b/tree-sitter-dust/corpus/for.txt index 431fdb1..db5fdab 100644 --- a/tree-sitter-dust/corpus/for.txt +++ b/tree-sitter-dust/corpus/for.txt @@ -28,7 +28,8 @@ for i in [1, 2, 3] { (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (identifier))))))))) @@ -60,6 +61,7 @@ for list in list_of_lists { (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (identifier)))))))))))) diff --git a/tree-sitter-dust/corpus/functions.txt b/tree-sitter-dust/corpus/functions.txt index eab53a7..a8041b1 100644 --- a/tree-sitter-dust/corpus/functions.txt +++ b/tree-sitter-dust/corpus/functions.txt @@ -58,7 +58,8 @@ Function Call (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (value (string))))))) @@ -89,13 +90,15 @@ Complex Function (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (identifier))))) (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (identifier))))))))))) @@ -118,7 +121,8 @@ Complex Function Call (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (value (string))) diff --git a/tree-sitter-dust/corpus/index.txt b/tree-sitter-dust/corpus/index.txt index 1177f84..39f0b62 100644 --- a/tree-sitter-dust/corpus/index.txt +++ b/tree-sitter-dust/corpus/index.txt @@ -109,7 +109,8 @@ x:(y):0 (identifier)) (expression (function_call - (identifier))))) + (expression + (identifier)))))) (expression (value (integer))))))) diff --git a/tree-sitter-dust/corpus/while.txt b/tree-sitter-dust/corpus/while.txt index 0afe892..b72f941 100644 --- a/tree-sitter-dust/corpus/while.txt +++ b/tree-sitter-dust/corpus/while.txt @@ -18,7 +18,8 @@ while true { (statement (expression (function_call - (identifier) + (expression + (identifier)) (expression (value (string)))))))))) diff --git a/tree-sitter-dust/corpus/yield.txt b/tree-sitter-dust/corpus/yield.txt index b653d76..7889ccd 100644 --- a/tree-sitter-dust/corpus/yield.txt +++ b/tree-sitter-dust/corpus/yield.txt @@ -13,7 +13,8 @@ Simple Yield (expression (value (integer))) - (identifier))))) + (expression + (identifier)))))) ================================================================================ Yield Chain @@ -33,6 +34,9 @@ x -> (foo) -> (bar) -> (abc) (yield (expression (identifier)) - (identifier))) - (identifier))) - (identifier))))) + (expression + (identifier)))) + (expression + (identifier)))) + (expression + (identifier)))))) diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 75898e8..91b01a7 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -361,24 +361,22 @@ module.exports = grammar({ function: $ => seq( $.type_definition, - seq( - '|', - repeat( - seq( - $.identifier, - optional(','), - ), + '|', + repeat( + seq( + $.identifier, + optional(','), ), - '|', - $.block, ), + '|', + $.block, ), function_call: $ => prec.right( seq( '(', - $.identifier, + $.expression, optional($._expression_list), ')', ), @@ -390,7 +388,7 @@ module.exports = grammar({ $.expression, '->', '(', - $.identifier, + $.expression, optional($._expression_list), ')', ), diff --git a/tree-sitter-dust/highlights.scm b/tree-sitter-dust/highlights.scm index d099ef3..4bbedd4 100644 --- a/tree-sitter-dust/highlights.scm +++ b/tree-sitter-dust/highlights.scm @@ -36,7 +36,6 @@ "if" "else" "for" - "transform" "in" "function" ] @keyword diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index b569d28..fca5c40 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -1223,7 +1223,7 @@ }, { "type": "SYMBOL", - "name": "identifier" + "name": "expression" }, { "type": "CHOICE", @@ -1264,7 +1264,7 @@ }, { "type": "SYMBOL", - "name": "identifier" + "name": "expression" }, { "type": "CHOICE", diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index 0f05ed5..573d455 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -181,10 +181,6 @@ { "type": "expression", "named": true - }, - { - "type": "identifier", - "named": true } ] } @@ -565,10 +561,6 @@ { "type": "expression", "named": true - }, - { - "type": "identifier", - "named": true } ] } diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index c786737..42b3073 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,7 +6,7 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 348 +#define STATE_COUNT 338 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 94 #define ALIAS_COUNT 0 @@ -697,351 +697,341 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, - [3] = 3, - [4] = 3, + [3] = 2, + [4] = 4, [5] = 5, - [6] = 5, + [6] = 6, [7] = 7, [8] = 7, - [9] = 5, + [9] = 6, [10] = 7, - [11] = 5, - [12] = 7, + [11] = 6, + [12] = 6, [13] = 7, - [14] = 5, - [15] = 15, + [14] = 6, + [15] = 7, [16] = 16, [17] = 17, [18] = 16, - [19] = 16, + [19] = 17, [20] = 17, - [21] = 17, - [22] = 16, + [21] = 16, + [22] = 17, [23] = 17, [24] = 16, - [25] = 17, + [25] = 16, [26] = 26, [27] = 27, [28] = 28, [29] = 29, - [30] = 26, + [30] = 30, [31] = 31, - [32] = 29, + [32] = 32, [33] = 33, - [34] = 27, - [35] = 35, + [34] = 32, + [35] = 30, [36] = 36, - [37] = 35, - [38] = 38, - [39] = 38, - [40] = 28, - [41] = 36, - [42] = 42, - [43] = 43, - [44] = 44, - [45] = 45, + [37] = 33, + [38] = 36, + [39] = 39, + [40] = 40, + [41] = 26, + [42] = 40, + [43] = 28, + [44] = 39, + [45] = 40, [46] = 46, - [47] = 47, - [48] = 48, + [47] = 39, + [48] = 31, [49] = 49, [50] = 50, [51] = 51, [52] = 52, [53] = 53, [54] = 54, - [55] = 55, + [55] = 50, [56] = 56, [57] = 57, [58] = 58, [59] = 59, [60] = 60, [61] = 61, - [62] = 51, + [62] = 62, [63] = 63, [64] = 64, - [65] = 64, - [66] = 64, + [65] = 65, + [66] = 66, [67] = 67, [68] = 68, - [69] = 67, + [69] = 69, [70] = 70, - [71] = 71, - [72] = 35, - [73] = 35, - [74] = 36, - [75] = 28, - [76] = 60, - [77] = 57, - [78] = 38, - [79] = 36, - [80] = 38, + [71] = 69, + [72] = 72, + [73] = 73, + [74] = 26, + [75] = 31, + [76] = 53, + [77] = 32, + [78] = 28, + [79] = 63, + [80] = 32, [81] = 28, - [82] = 49, - [83] = 54, - [84] = 47, - [85] = 55, - [86] = 86, + [82] = 26, + [83] = 31, + [84] = 60, + [85] = 85, + [86] = 68, [87] = 87, [88] = 52, - [89] = 63, + [89] = 62, [90] = 58, - [91] = 61, - [92] = 44, - [93] = 56, - [94] = 53, - [95] = 45, - [96] = 46, - [97] = 48, - [98] = 50, - [99] = 47, - [100] = 44, - [101] = 53, - [102] = 49, - [103] = 63, - [104] = 52, - [105] = 48, - [106] = 46, - [107] = 45, - [108] = 55, - [109] = 50, - [110] = 56, - [111] = 58, - [112] = 61, - [113] = 54, - [114] = 70, - [115] = 60, + [91] = 57, + [92] = 49, + [93] = 61, + [94] = 59, + [95] = 64, + [96] = 54, + [97] = 66, + [98] = 56, + [99] = 65, + [100] = 100, + [101] = 100, + [102] = 100, + [103] = 103, + [104] = 60, + [105] = 62, + [106] = 54, + [107] = 68, + [108] = 57, + [109] = 65, + [110] = 72, + [111] = 52, + [112] = 49, + [113] = 73, + [114] = 58, + [115] = 115, [116] = 116, - [117] = 71, - [118] = 57, - [119] = 119, - [120] = 28, - [121] = 35, - [122] = 122, - [123] = 38, - [124] = 36, - [125] = 35, - [126] = 126, - [127] = 127, + [117] = 61, + [118] = 59, + [119] = 56, + [120] = 66, + [121] = 64, + [122] = 32, + [123] = 26, + [124] = 28, + [125] = 63, + [126] = 32, + [127] = 53, [128] = 128, - [129] = 28, - [130] = 38, - [131] = 128, + [129] = 31, + [130] = 130, + [131] = 131, [132] = 132, - [133] = 126, - [134] = 134, - [135] = 132, - [136] = 42, - [137] = 137, - [138] = 36, - [139] = 137, - [140] = 126, - [141] = 137, - [142] = 132, - [143] = 127, - [144] = 127, - [145] = 145, - [146] = 128, - [147] = 60, - [148] = 43, - [149] = 57, - [150] = 60, - [151] = 151, - [152] = 57, - [153] = 153, + [133] = 133, + [134] = 46, + [135] = 131, + [136] = 131, + [137] = 130, + [138] = 132, + [139] = 139, + [140] = 133, + [141] = 132, + [142] = 130, + [143] = 133, + [144] = 144, + [145] = 26, + [146] = 31, + [147] = 28, + [148] = 53, + [149] = 53, + [150] = 63, + [151] = 67, + [152] = 152, + [153] = 63, [154] = 154, [155] = 155, [156] = 156, - [157] = 157, - [158] = 155, + [157] = 156, + [158] = 158, [159] = 159, - [160] = 157, - [161] = 155, + [160] = 156, + [161] = 161, [162] = 162, [163] = 163, - [164] = 154, - [165] = 35, - [166] = 156, - [167] = 167, - [168] = 163, - [169] = 156, - [170] = 170, - [171] = 159, - [172] = 172, - [173] = 157, - [174] = 155, - [175] = 36, - [176] = 176, - [177] = 157, - [178] = 155, - [179] = 176, - [180] = 162, - [181] = 181, - [182] = 157, - [183] = 28, - [184] = 172, - [185] = 156, - [186] = 163, - [187] = 154, - [188] = 156, - [189] = 157, - [190] = 155, - [191] = 191, + [164] = 164, + [165] = 165, + [166] = 162, + [167] = 158, + [168] = 168, + [169] = 159, + [170] = 156, + [171] = 158, + [172] = 159, + [173] = 163, + [174] = 174, + [175] = 156, + [176] = 164, + [177] = 155, + [178] = 178, + [179] = 158, + [180] = 159, + [181] = 161, + [182] = 168, + [183] = 183, + [184] = 159, + [185] = 158, + [186] = 165, + [187] = 159, + [188] = 163, + [189] = 155, + [190] = 165, + [191] = 183, [192] = 156, - [193] = 38, - [194] = 176, - [195] = 176, - [196] = 156, - [197] = 156, - [198] = 157, - [199] = 155, - [200] = 157, - [201] = 155, - [202] = 191, - [203] = 181, - [204] = 35, - [205] = 167, - [206] = 170, - [207] = 172, - [208] = 208, - [209] = 209, + [193] = 159, + [194] = 156, + [195] = 159, + [196] = 158, + [197] = 155, + [198] = 158, + [199] = 158, + [200] = 178, + [201] = 156, + [202] = 202, + [203] = 164, + [204] = 174, + [205] = 205, + [206] = 70, + [207] = 26, + [208] = 31, + [209] = 32, [210] = 210, [211] = 211, [212] = 212, [213] = 213, - [214] = 67, - [215] = 36, - [216] = 38, - [217] = 28, - [218] = 68, - [219] = 67, - [220] = 220, - [221] = 221, - [222] = 222, - [223] = 212, + [214] = 214, + [215] = 69, + [216] = 69, + [217] = 217, + [218] = 218, + [219] = 219, + [220] = 205, + [221] = 32, + [222] = 28, + [223] = 223, [224] = 224, [225] = 225, [226] = 226, [227] = 227, [228] = 228, [229] = 229, - [230] = 228, - [231] = 231, - [232] = 227, - [233] = 231, - [234] = 229, - [235] = 235, - [236] = 236, + [230] = 31, + [231] = 227, + [232] = 26, + [233] = 229, + [234] = 28, + [235] = 228, + [236] = 226, [237] = 237, [238] = 238, - [239] = 238, - [240] = 236, + [239] = 239, + [240] = 238, [241] = 241, - [242] = 241, - [243] = 238, - [244] = 236, - [245] = 245, - [246] = 245, - [247] = 245, + [242] = 242, + [243] = 243, + [244] = 242, + [245] = 241, + [246] = 243, + [247] = 223, [248] = 248, [249] = 249, [250] = 250, - [251] = 250, - [252] = 249, - [253] = 248, + [251] = 251, + [252] = 248, + [253] = 253, [254] = 254, [255] = 255, [256] = 256, [257] = 257, - [258] = 210, - [259] = 257, + [258] = 258, + [259] = 259, [260] = 260, [261] = 261, - [262] = 262, - [263] = 263, - [264] = 264, - [265] = 265, - [266] = 265, - [267] = 267, - [268] = 263, - [269] = 269, - [270] = 270, - [271] = 116, - [272] = 119, - [273] = 122, - [274] = 151, - [275] = 153, - [276] = 224, - [277] = 226, - [278] = 278, - [279] = 208, - [280] = 278, - [281] = 213, - [282] = 209, - [283] = 222, - [284] = 225, - [285] = 212, - [286] = 211, - [287] = 212, - [288] = 220, + [262] = 260, + [263] = 257, + [264] = 116, + [265] = 115, + [266] = 128, + [267] = 152, + [268] = 154, + [269] = 214, + [270] = 211, + [271] = 271, + [272] = 213, + [273] = 273, + [274] = 205, + [275] = 225, + [276] = 271, + [277] = 205, + [278] = 212, + [279] = 217, + [280] = 224, + [281] = 218, + [282] = 210, + [283] = 219, + [284] = 284, + [285] = 285, + [286] = 286, + [287] = 287, + [288] = 288, [289] = 289, - [290] = 221, + [290] = 286, [291] = 291, [292] = 292, [293] = 293, [294] = 294, - [295] = 293, - [296] = 296, - [297] = 297, + [295] = 295, + [296] = 287, + [297] = 294, [298] = 298, - [299] = 299, - [300] = 300, - [301] = 294, - [302] = 302, - [303] = 297, - [304] = 296, - [305] = 294, - [306] = 306, - [307] = 302, - [308] = 299, - [309] = 293, - [310] = 292, - [311] = 299, - [312] = 297, - [313] = 302, - [314] = 291, - [315] = 291, - [316] = 297, - [317] = 302, + [299] = 298, + [300] = 287, + [301] = 292, + [302] = 294, + [303] = 284, + [304] = 286, + [305] = 288, + [306] = 285, + [307] = 298, + [308] = 284, + [309] = 288, + [310] = 286, + [311] = 287, + [312] = 284, + [313] = 298, + [314] = 314, + [315] = 315, + [316] = 316, + [317] = 317, [318] = 318, - [319] = 291, - [320] = 299, - [321] = 321, + [319] = 317, + [320] = 318, + [321] = 317, [322] = 322, - [323] = 323, - [324] = 324, + [323] = 316, + [324] = 317, [325] = 325, - [326] = 325, + [326] = 316, [327] = 327, [328] = 328, - [329] = 325, - [330] = 327, - [331] = 325, - [332] = 332, - [333] = 328, - [334] = 334, - [335] = 327, - [336] = 325, - [337] = 334, - [338] = 328, - [339] = 339, - [340] = 340, - [341] = 341, - [342] = 327, - [343] = 340, - [344] = 340, - [345] = 345, - [346] = 332, - [347] = 345, + [329] = 322, + [330] = 330, + [331] = 327, + [332] = 328, + [333] = 333, + [334] = 318, + [335] = 335, + [336] = 316, + [337] = 317, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1124,7 +1114,6 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(22); if (lookahead == '%') ADVANCE(64); if (lookahead == '&') ADVANCE(8); - if (lookahead == ')') ADVANCE(55); if (lookahead == '*') ADVANCE(62); if (lookahead == '+') ADVANCE(57); if (lookahead == ',') ADVANCE(32); @@ -1152,7 +1141,32 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(22); if (lookahead == '%') ADVANCE(64); if (lookahead == '&') ADVANCE(8); - if (lookahead == ')') ADVANCE(55); + if (lookahead == '*') ADVANCE(62); + if (lookahead == '+') ADVANCE(57); + if (lookahead == ',') ADVANCE(32); + if (lookahead == '-') ADVANCE(58); + if (lookahead == '.') ADVANCE(10); + if (lookahead == '/') ADVANCE(63); + if (lookahead == ':') ADVANCE(52); + if (lookahead == ';') ADVANCE(31); + if (lookahead == '<') ADVANCE(71); + if (lookahead == '=') ADVANCE(50); + if (lookahead == '>') ADVANCE(70); + if (lookahead == '|') ADVANCE(23); + if (lookahead == '}') ADVANCE(30); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(3) + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(43); + END_STATE(); + case 4: + if (lookahead == '!') ADVANCE(11); + if (lookahead == '#') ADVANCE(22); + if (lookahead == '%') ADVANCE(64); + if (lookahead == '&') ADVANCE(8); if (lookahead == '*') ADVANCE(62); if (lookahead == '+') ADVANCE(56); if (lookahead == ',') ADVANCE(32); @@ -1168,31 +1182,6 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '{') ADVANCE(29); if (lookahead == '|') ADVANCE(23); if (lookahead == '}') ADVANCE(30); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(3) - if (('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(43); - END_STATE(); - case 4: - if (lookahead == '!') ADVANCE(11); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '%') ADVANCE(64); - if (lookahead == '&') ADVANCE(8); - if (lookahead == ')') ADVANCE(55); - if (lookahead == '*') ADVANCE(62); - if (lookahead == '+') ADVANCE(56); - if (lookahead == '-') ADVANCE(59); - if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(63); - if (lookahead == ':') ADVANCE(52); - if (lookahead == '<') ADVANCE(71); - if (lookahead == '=') ADVANCE(15); - if (lookahead == '>') ADVANCE(70); - if (lookahead == '{') ADVANCE(29); - if (lookahead == '|') ADVANCE(23); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1207,18 +1196,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '%') ADVANCE(64); if (lookahead == '&') ADVANCE(8); if (lookahead == '*') ADVANCE(62); - if (lookahead == '+') ADVANCE(57); - if (lookahead == ',') ADVANCE(32); - if (lookahead == '-') ADVANCE(58); + if (lookahead == '+') ADVANCE(56); + if (lookahead == '-') ADVANCE(59); if (lookahead == '.') ADVANCE(10); if (lookahead == '/') ADVANCE(63); if (lookahead == ':') ADVANCE(52); - if (lookahead == ';') ADVANCE(31); if (lookahead == '<') ADVANCE(71); - if (lookahead == '=') ADVANCE(50); + if (lookahead == '=') ADVANCE(15); if (lookahead == '>') ADVANCE(70); + if (lookahead == '{') ADVANCE(29); if (lookahead == '|') ADVANCE(23); - if (lookahead == '}') ADVANCE(30); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1837,41 +1824,41 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [36] = {.lex_state = 25}, [37] = {.lex_state = 25}, [38] = {.lex_state = 25}, - [39] = {.lex_state = 25}, - [40] = {.lex_state = 25}, + [39] = {.lex_state = 1}, + [40] = {.lex_state = 1}, [41] = {.lex_state = 25}, - [42] = {.lex_state = 25}, + [42] = {.lex_state = 1}, [43] = {.lex_state = 25}, - [44] = {.lex_state = 25}, - [45] = {.lex_state = 25}, + [44] = {.lex_state = 1}, + [45] = {.lex_state = 1}, [46] = {.lex_state = 25}, - [47] = {.lex_state = 25}, + [47] = {.lex_state = 1}, [48] = {.lex_state = 25}, [49] = {.lex_state = 25}, - [50] = {.lex_state = 25}, - [51] = {.lex_state = 1}, + [50] = {.lex_state = 1}, + [51] = {.lex_state = 25}, [52] = {.lex_state = 25}, [53] = {.lex_state = 25}, [54] = {.lex_state = 25}, - [55] = {.lex_state = 25}, + [55] = {.lex_state = 1}, [56] = {.lex_state = 25}, [57] = {.lex_state = 25}, [58] = {.lex_state = 25}, [59] = {.lex_state = 25}, [60] = {.lex_state = 25}, [61] = {.lex_state = 25}, - [62] = {.lex_state = 1}, + [62] = {.lex_state = 25}, [63] = {.lex_state = 25}, - [64] = {.lex_state = 1}, - [65] = {.lex_state = 1}, - [66] = {.lex_state = 1}, + [64] = {.lex_state = 25}, + [65] = {.lex_state = 25}, + [66] = {.lex_state = 25}, [67] = {.lex_state = 25}, [68] = {.lex_state = 25}, [69] = {.lex_state = 25}, [70] = {.lex_state = 25}, [71] = {.lex_state = 25}, - [72] = {.lex_state = 1}, - [73] = {.lex_state = 1}, + [72] = {.lex_state = 25}, + [73] = {.lex_state = 25}, [74] = {.lex_state = 1}, [75] = {.lex_state = 1}, [76] = {.lex_state = 1}, @@ -1897,62 +1884,62 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [96] = {.lex_state = 1}, [97] = {.lex_state = 1}, [98] = {.lex_state = 1}, - [99] = {.lex_state = 2}, - [100] = {.lex_state = 2}, - [101] = {.lex_state = 2}, - [102] = {.lex_state = 2}, - [103] = {.lex_state = 2}, + [99] = {.lex_state = 1}, + [100] = {.lex_state = 1}, + [101] = {.lex_state = 1}, + [102] = {.lex_state = 1}, + [103] = {.lex_state = 1}, [104] = {.lex_state = 2}, [105] = {.lex_state = 2}, [106] = {.lex_state = 2}, [107] = {.lex_state = 2}, [108] = {.lex_state = 2}, [109] = {.lex_state = 2}, - [110] = {.lex_state = 2}, + [110] = {.lex_state = 1}, [111] = {.lex_state = 2}, [112] = {.lex_state = 2}, - [113] = {.lex_state = 2}, - [114] = {.lex_state = 1}, - [115] = {.lex_state = 3}, + [113] = {.lex_state = 1}, + [114] = {.lex_state = 2}, + [115] = {.lex_state = 0}, [116] = {.lex_state = 0}, - [117] = {.lex_state = 1}, - [118] = {.lex_state = 3}, - [119] = {.lex_state = 0}, - [120] = {.lex_state = 5}, - [121] = {.lex_state = 5}, - [122] = {.lex_state = 0}, - [123] = {.lex_state = 5}, - [124] = {.lex_state = 5}, - [125] = {.lex_state = 5}, - [126] = {.lex_state = 1}, - [127] = {.lex_state = 1}, - [128] = {.lex_state = 1}, - [129] = {.lex_state = 5}, - [130] = {.lex_state = 5}, + [117] = {.lex_state = 2}, + [118] = {.lex_state = 2}, + [119] = {.lex_state = 2}, + [120] = {.lex_state = 2}, + [121] = {.lex_state = 2}, + [122] = {.lex_state = 3}, + [123] = {.lex_state = 3}, + [124] = {.lex_state = 3}, + [125] = {.lex_state = 4}, + [126] = {.lex_state = 3}, + [127] = {.lex_state = 4}, + [128] = {.lex_state = 0}, + [129] = {.lex_state = 3}, + [130] = {.lex_state = 1}, [131] = {.lex_state = 1}, [132] = {.lex_state = 1}, [133] = {.lex_state = 1}, - [134] = {.lex_state = 1}, + [134] = {.lex_state = 3}, [135] = {.lex_state = 1}, - [136] = {.lex_state = 5}, + [136] = {.lex_state = 1}, [137] = {.lex_state = 1}, - [138] = {.lex_state = 5}, + [138] = {.lex_state = 1}, [139] = {.lex_state = 1}, [140] = {.lex_state = 1}, [141] = {.lex_state = 1}, [142] = {.lex_state = 1}, [143] = {.lex_state = 1}, [144] = {.lex_state = 1}, - [145] = {.lex_state = 1}, - [146] = {.lex_state = 1}, - [147] = {.lex_state = 0}, - [148] = {.lex_state = 5}, - [149] = {.lex_state = 5}, - [150] = {.lex_state = 5}, - [151] = {.lex_state = 0}, + [145] = {.lex_state = 3}, + [146] = {.lex_state = 3}, + [147] = {.lex_state = 3}, + [148] = {.lex_state = 0}, + [149] = {.lex_state = 3}, + [150] = {.lex_state = 3}, + [151] = {.lex_state = 3}, [152] = {.lex_state = 0}, [153] = {.lex_state = 0}, - [154] = {.lex_state = 1}, + [154] = {.lex_state = 0}, [155] = {.lex_state = 1}, [156] = {.lex_state = 1}, [157] = {.lex_state = 1}, @@ -1963,7 +1950,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [162] = {.lex_state = 1}, [163] = {.lex_state = 1}, [164] = {.lex_state = 1}, - [165] = {.lex_state = 4}, + [165] = {.lex_state = 1}, [166] = {.lex_state = 1}, [167] = {.lex_state = 1}, [168] = {.lex_state = 1}, @@ -1973,7 +1960,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [172] = {.lex_state = 1}, [173] = {.lex_state = 1}, [174] = {.lex_state = 1}, - [175] = {.lex_state = 4}, + [175] = {.lex_state = 1}, [176] = {.lex_state = 1}, [177] = {.lex_state = 1}, [178] = {.lex_state = 1}, @@ -1981,7 +1968,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [180] = {.lex_state = 1}, [181] = {.lex_state = 1}, [182] = {.lex_state = 1}, - [183] = {.lex_state = 4}, + [183] = {.lex_state = 1}, [184] = {.lex_state = 1}, [185] = {.lex_state = 1}, [186] = {.lex_state = 1}, @@ -1991,7 +1978,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [190] = {.lex_state = 1}, [191] = {.lex_state = 1}, [192] = {.lex_state = 1}, - [193] = {.lex_state = 4}, + [193] = {.lex_state = 1}, [194] = {.lex_state = 1}, [195] = {.lex_state = 1}, [196] = {.lex_state = 1}, @@ -2002,150 +1989,140 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [201] = {.lex_state = 1}, [202] = {.lex_state = 1}, [203] = {.lex_state = 1}, - [204] = {.lex_state = 4}, - [205] = {.lex_state = 1}, - [206] = {.lex_state = 1}, - [207] = {.lex_state = 1}, - [208] = {.lex_state = 25}, - [209] = {.lex_state = 25}, + [204] = {.lex_state = 1}, + [205] = {.lex_state = 25}, + [206] = {.lex_state = 2}, + [207] = {.lex_state = 5}, + [208] = {.lex_state = 5}, + [209] = {.lex_state = 5}, [210] = {.lex_state = 25}, [211] = {.lex_state = 25}, [212] = {.lex_state = 25}, [213] = {.lex_state = 25}, - [214] = {.lex_state = 2}, - [215] = {.lex_state = 4}, - [216] = {.lex_state = 4}, - [217] = {.lex_state = 4}, - [218] = {.lex_state = 2}, - [219] = {.lex_state = 2}, + [214] = {.lex_state = 25}, + [215] = {.lex_state = 2}, + [216] = {.lex_state = 2}, + [217] = {.lex_state = 25}, + [218] = {.lex_state = 25}, + [219] = {.lex_state = 25}, [220] = {.lex_state = 25}, - [221] = {.lex_state = 25}, - [222] = {.lex_state = 25}, + [221] = {.lex_state = 5}, + [222] = {.lex_state = 5}, [223] = {.lex_state = 25}, [224] = {.lex_state = 25}, [225] = {.lex_state = 25}, - [226] = {.lex_state = 25}, + [226] = {.lex_state = 2}, [227] = {.lex_state = 2}, [228] = {.lex_state = 2}, [229] = {.lex_state = 2}, - [230] = {.lex_state = 2}, + [230] = {.lex_state = 5}, [231] = {.lex_state = 2}, - [232] = {.lex_state = 2}, + [232] = {.lex_state = 5}, [233] = {.lex_state = 2}, - [234] = {.lex_state = 2}, - [235] = {.lex_state = 1}, + [234] = {.lex_state = 5}, + [235] = {.lex_state = 2}, [236] = {.lex_state = 2}, - [237] = {.lex_state = 25}, - [238] = {.lex_state = 2}, - [239] = {.lex_state = 2}, - [240] = {.lex_state = 2}, - [241] = {.lex_state = 3}, - [242] = {.lex_state = 3}, - [243] = {.lex_state = 2}, - [244] = {.lex_state = 2}, - [245] = {.lex_state = 2}, - [246] = {.lex_state = 2}, - [247] = {.lex_state = 2}, + [237] = {.lex_state = 1}, + [238] = {.lex_state = 4}, + [239] = {.lex_state = 25}, + [240] = {.lex_state = 4}, + [241] = {.lex_state = 7}, + [242] = {.lex_state = 7}, + [243] = {.lex_state = 7}, + [244] = {.lex_state = 7}, + [245] = {.lex_state = 7}, + [246] = {.lex_state = 7}, + [247] = {.lex_state = 1}, [248] = {.lex_state = 7}, [249] = {.lex_state = 7}, [250] = {.lex_state = 7}, [251] = {.lex_state = 7}, [252] = {.lex_state = 7}, [253] = {.lex_state = 7}, - [254] = {.lex_state = 7}, - [255] = {.lex_state = 7}, - [256] = {.lex_state = 7}, - [257] = {.lex_state = 7}, + [254] = {.lex_state = 1}, + [255] = {.lex_state = 1}, + [256] = {.lex_state = 1}, + [257] = {.lex_state = 1}, [258] = {.lex_state = 1}, - [259] = {.lex_state = 7}, - [260] = {.lex_state = 7}, + [259] = {.lex_state = 1}, + [260] = {.lex_state = 1}, [261] = {.lex_state = 1}, [262] = {.lex_state = 1}, [263] = {.lex_state = 1}, - [264] = {.lex_state = 1}, - [265] = {.lex_state = 1}, - [266] = {.lex_state = 1}, - [267] = {.lex_state = 1}, - [268] = {.lex_state = 1}, + [264] = {.lex_state = 4}, + [265] = {.lex_state = 4}, + [266] = {.lex_state = 4}, + [267] = {.lex_state = 4}, + [268] = {.lex_state = 4}, [269] = {.lex_state = 1}, [270] = {.lex_state = 1}, - [271] = {.lex_state = 3}, - [272] = {.lex_state = 3}, - [273] = {.lex_state = 3}, - [274] = {.lex_state = 3}, - [275] = {.lex_state = 3}, - [276] = {.lex_state = 1}, + [271] = {.lex_state = 25}, + [272] = {.lex_state = 1}, + [273] = {.lex_state = 7}, + [274] = {.lex_state = 1}, + [275] = {.lex_state = 1}, + [276] = {.lex_state = 25}, [277] = {.lex_state = 1}, - [278] = {.lex_state = 25}, + [278] = {.lex_state = 1}, [279] = {.lex_state = 1}, - [280] = {.lex_state = 25}, + [280] = {.lex_state = 1}, [281] = {.lex_state = 1}, [282] = {.lex_state = 1}, [283] = {.lex_state = 1}, [284] = {.lex_state = 1}, [285] = {.lex_state = 1}, - [286] = {.lex_state = 1}, - [287] = {.lex_state = 1}, + [286] = {.lex_state = 7}, + [287] = {.lex_state = 7}, [288] = {.lex_state = 1}, - [289] = {.lex_state = 7}, - [290] = {.lex_state = 1}, - [291] = {.lex_state = 1}, + [289] = {.lex_state = 1}, + [290] = {.lex_state = 7}, + [291] = {.lex_state = 7}, [292] = {.lex_state = 1}, [293] = {.lex_state = 1}, [294] = {.lex_state = 1}, - [295] = {.lex_state = 1}, - [296] = {.lex_state = 1}, - [297] = {.lex_state = 7}, - [298] = {.lex_state = 7}, + [295] = {.lex_state = 7}, + [296] = {.lex_state = 7}, + [297] = {.lex_state = 1}, + [298] = {.lex_state = 1}, [299] = {.lex_state = 1}, - [300] = {.lex_state = 1}, + [300] = {.lex_state = 7}, [301] = {.lex_state = 1}, - [302] = {.lex_state = 7}, - [303] = {.lex_state = 7}, - [304] = {.lex_state = 1}, + [302] = {.lex_state = 1}, + [303] = {.lex_state = 1}, + [304] = {.lex_state = 7}, [305] = {.lex_state = 1}, [306] = {.lex_state = 1}, - [307] = {.lex_state = 7}, + [307] = {.lex_state = 1}, [308] = {.lex_state = 1}, [309] = {.lex_state = 1}, - [310] = {.lex_state = 1}, - [311] = {.lex_state = 1}, - [312] = {.lex_state = 7}, - [313] = {.lex_state = 7}, - [314] = {.lex_state = 1}, + [310] = {.lex_state = 7}, + [311] = {.lex_state = 7}, + [312] = {.lex_state = 1}, + [313] = {.lex_state = 1}, + [314] = {.lex_state = 7}, [315] = {.lex_state = 1}, - [316] = {.lex_state = 7}, - [317] = {.lex_state = 7}, - [318] = {.lex_state = 7}, - [319] = {.lex_state = 1}, - [320] = {.lex_state = 1}, - [321] = {.lex_state = 1}, - [322] = {.lex_state = 7}, - [323] = {.lex_state = 7}, + [316] = {.lex_state = 0}, + [317] = {.lex_state = 0}, + [318] = {.lex_state = 0}, + [319] = {.lex_state = 0}, + [320] = {.lex_state = 0}, + [321] = {.lex_state = 0}, + [322] = {.lex_state = 1}, + [323] = {.lex_state = 0}, [324] = {.lex_state = 0}, [325] = {.lex_state = 0}, [326] = {.lex_state = 0}, [327] = {.lex_state = 0}, - [328] = {.lex_state = 0}, - [329] = {.lex_state = 0}, - [330] = {.lex_state = 0}, + [328] = {.lex_state = 1}, + [329] = {.lex_state = 1}, + [330] = {.lex_state = 7}, [331] = {.lex_state = 0}, [332] = {.lex_state = 1}, [333] = {.lex_state = 0}, - [334] = {.lex_state = 1}, - [335] = {.lex_state = 0}, + [334] = {.lex_state = 0}, + [335] = {.lex_state = 25}, [336] = {.lex_state = 0}, - [337] = {.lex_state = 1}, - [338] = {.lex_state = 0}, - [339] = {.lex_state = 25}, - [340] = {.lex_state = 1}, - [341] = {.lex_state = 0}, - [342] = {.lex_state = 0}, - [343] = {.lex_state = 1}, - [344] = {.lex_state = 1}, - [345] = {.lex_state = 0}, - [346] = {.lex_state = 1}, - [347] = {.lex_state = 0}, + [337] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2207,31 +2184,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_str] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(324), - [sym_block] = STATE(212), - [sym_statement] = STATE(15), - [sym_expression] = STATE(69), - [sym_value] = STATE(50), - [sym_boolean] = STATE(58), - [sym_list] = STATE(58), - [sym_map] = STATE(58), - [sym_index] = STATE(43), - [sym_math] = STATE(50), - [sym_logic] = STATE(50), - [sym_assignment] = STATE(212), - [sym_index_assignment] = STATE(212), - [sym_if_else] = STATE(212), + [sym_root] = STATE(333), + [sym_block] = STATE(220), + [sym_statement] = STATE(5), + [sym_expression] = STATE(71), + [sym_value] = STATE(57), + [sym_boolean] = STATE(54), + [sym_list] = STATE(54), + [sym_map] = STATE(54), + [sym_index] = STATE(67), + [sym_math] = STATE(57), + [sym_logic] = STATE(57), + [sym_assignment] = STATE(220), + [sym_index_assignment] = STATE(220), + [sym_if_else] = STATE(220), [sym_if] = STATE(116), - [sym_match] = STATE(212), - [sym_while] = STATE(212), - [sym_for] = STATE(212), - [sym_return] = STATE(212), - [sym_use] = STATE(212), - [sym_type_definition] = STATE(342), - [sym_function] = STATE(58), - [sym_function_call] = STATE(50), - [sym_yield] = STATE(50), - [aux_sym_root_repeat1] = STATE(15), + [sym_match] = STATE(220), + [sym_while] = STATE(220), + [sym_for] = STATE(220), + [sym_return] = STATE(220), + [sym_use] = STATE(220), + [sym_type_definition] = STATE(336), + [sym_function] = STATE(54), + [sym_function_call] = STATE(57), + [sym_yield] = STATE(57), + [aux_sym_root_repeat1] = STATE(5), [sym_identifier] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -2255,215 +2232,215 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }; static const uint16_t ts_small_parse_table[] = { - [0] = 26, + [0] = 27, ACTIONS(3), 1, sym__comment, - ACTIONS(39), 1, - sym_identifier, - ACTIONS(42), 1, + ACTIONS(7), 1, anon_sym_async, - ACTIONS(45), 1, + ACTIONS(9), 1, anon_sym_LBRACE, - ACTIONS(48), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(57), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(60), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(63), 1, + ACTIONS(21), 1, anon_sym_LT, - ACTIONS(66), 1, + ACTIONS(23), 1, anon_sym_if, - ACTIONS(69), 1, + ACTIONS(25), 1, anon_sym_match, - ACTIONS(72), 1, + ACTIONS(27), 1, anon_sym_while, - ACTIONS(75), 1, + ACTIONS(29), 1, anon_sym_for, - ACTIONS(78), 1, + ACTIONS(31), 1, anon_sym_asyncfor, - ACTIONS(81), 1, + ACTIONS(33), 1, anon_sym_return, - ACTIONS(84), 1, + ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(39), 1, + anon_sym_RBRACE, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(288), 1, + aux_sym_map_repeat1, + STATE(336), 1, sym_type_definition, - ACTIONS(37), 2, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(15), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(54), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(57), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(220), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [100] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_match, + ACTIONS(27), 1, + anon_sym_while, + ACTIONS(29), 1, + anon_sym_for, + ACTIONS(31), 1, + anon_sym_asyncfor, + ACTIONS(33), 1, + anon_sym_return, + ACTIONS(35), 1, + anon_sym_use, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(41), 1, + anon_sym_RBRACE, + STATE(67), 1, + sym_index, + STATE(71), 1, + sym_expression, + STATE(116), 1, + sym_if, + STATE(305), 1, + aux_sym_map_repeat1, + STATE(336), 1, + sym_type_definition, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(8), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(54), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(57), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(220), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [200] = 26, + ACTIONS(3), 1, + sym__comment, + ACTIONS(45), 1, + sym_identifier, + ACTIONS(48), 1, + anon_sym_async, + ACTIONS(51), 1, + anon_sym_LBRACE, + ACTIONS(54), 1, + sym_integer, + ACTIONS(63), 1, + anon_sym_LBRACK, + ACTIONS(66), 1, + anon_sym_LPAREN, + ACTIONS(69), 1, + anon_sym_LT, + ACTIONS(72), 1, + anon_sym_if, + ACTIONS(75), 1, + anon_sym_match, + ACTIONS(78), 1, + anon_sym_while, + ACTIONS(81), 1, + anon_sym_for, + ACTIONS(84), 1, + anon_sym_asyncfor, + ACTIONS(87), 1, + anon_sym_return, + ACTIONS(90), 1, + anon_sym_use, + STATE(67), 1, + sym_index, + STATE(71), 1, + sym_expression, + STATE(116), 1, + sym_if, + STATE(336), 1, + sym_type_definition, + ACTIONS(43), 2, ts_builtin_sym_end, anon_sym_RBRACE, - ACTIONS(51), 2, + ACTIONS(57), 2, sym_float, sym_string, - ACTIONS(54), 2, + ACTIONS(60), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [98] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_match, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_asyncfor, - ACTIONS(33), 1, - anon_sym_return, - ACTIONS(35), 1, - anon_sym_use, - ACTIONS(87), 1, - sym_identifier, - ACTIONS(89), 1, - anon_sym_RBRACE, - STATE(43), 1, - sym_index, - STATE(69), 1, - sym_expression, - STATE(116), 1, - sym_if, - STATE(295), 1, - aux_sym_map_repeat1, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(5), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(212), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [198] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_match, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_asyncfor, - ACTIONS(33), 1, - anon_sym_return, - ACTIONS(35), 1, - anon_sym_use, - ACTIONS(87), 1, - sym_identifier, - ACTIONS(91), 1, - anon_sym_RBRACE, - STATE(43), 1, - sym_index, - STATE(69), 1, - sym_expression, - STATE(116), 1, - sym_if, - STATE(309), 1, - aux_sym_map_repeat1, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2505,14 +2482,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 1, anon_sym_use, ACTIONS(93), 1, - anon_sym_RBRACE, - STATE(43), 1, + ts_builtin_sym_end, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2520,21 +2497,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2577,13 +2554,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(95), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2591,21 +2568,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2648,13 +2625,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(97), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2662,21 +2639,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2719,13 +2696,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(99), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2733,21 +2710,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2790,13 +2767,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(101), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2804,21 +2781,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2861,13 +2838,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(103), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2875,21 +2852,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2932,13 +2909,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(105), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -2946,21 +2923,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3003,13 +2980,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(107), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3017,21 +2994,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3074,13 +3051,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(109), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3088,21 +3065,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3145,13 +3122,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(111), 1, anon_sym_RBRACE, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3159,21 +3136,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3215,14 +3192,14 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 1, anon_sym_use, ACTIONS(113), 1, - ts_builtin_sym_end, - STATE(43), 1, + anon_sym_RBRACE, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3230,21 +3207,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(2), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3285,13 +3262,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3299,21 +3276,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(7), 2, + STATE(6), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3354,13 +3331,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3368,21 +3345,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(15), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3423,13 +3400,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3437,21 +3414,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(10), 2, + STATE(14), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3492,13 +3469,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3509,18 +3486,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(13), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3561,13 +3538,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3575,21 +3552,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(11), 2, + STATE(7), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3630,13 +3607,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3644,21 +3621,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(14), 2, + STATE(12), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3699,13 +3676,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3713,21 +3690,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(12), 2, + STATE(10), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3768,13 +3745,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3782,21 +3759,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(6), 2, + STATE(8), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3837,13 +3814,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, sym_index, - STATE(69), 1, + STATE(71), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -3851,21 +3828,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(8), 2, + STATE(9), 2, sym_statement, aux_sym_root_repeat1, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(212), 9, + STATE(220), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3906,152 +3883,317 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, + STATE(67), 1, + sym_index, + STATE(71), 1, + sym_expression, + STATE(116), 1, + sym_if, + STATE(336), 1, + sym_type_definition, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(11), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(54), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(57), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(220), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2305] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(119), 1, + anon_sym_COLON, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(117), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(115), 22, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [2360] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(121), 1, + sym_identifier, + ACTIONS(123), 1, + anon_sym_async, + ACTIONS(125), 1, + anon_sym_LBRACE, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(137), 1, + anon_sym_if, + ACTIONS(139), 1, + anon_sym_match, + ACTIONS(141), 1, + anon_sym_while, + ACTIONS(143), 1, + anon_sym_for, + ACTIONS(145), 1, + anon_sym_asyncfor, + ACTIONS(147), 1, + anon_sym_return, + ACTIONS(149), 1, + anon_sym_use, + STATE(151), 1, + sym_index, + STATE(216), 1, + sym_expression, + STATE(264), 1, + sym_if, + STATE(289), 1, + sym_statement, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(277), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2453] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(153), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(151), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [2506] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(121), 1, + sym_identifier, + ACTIONS(123), 1, + anon_sym_async, + ACTIONS(125), 1, + anon_sym_LBRACE, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(137), 1, + anon_sym_if, + ACTIONS(139), 1, + anon_sym_match, + ACTIONS(141), 1, + anon_sym_while, + ACTIONS(143), 1, + anon_sym_for, + ACTIONS(145), 1, + anon_sym_asyncfor, + ACTIONS(147), 1, + anon_sym_return, + ACTIONS(149), 1, + anon_sym_use, + STATE(151), 1, + sym_index, + STATE(216), 1, + sym_expression, + STATE(264), 1, + sym_if, + STATE(289), 1, + sym_statement, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(277), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2599] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(23), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_match, + ACTIONS(27), 1, + anon_sym_while, + ACTIONS(29), 1, + anon_sym_for, + ACTIONS(31), 1, + anon_sym_asyncfor, + ACTIONS(33), 1, + anon_sym_return, + ACTIONS(35), 1, + anon_sym_use, + STATE(67), 1, sym_index, STATE(69), 1, sym_expression, STATE(116), 1, sym_if, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(5), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(212), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2305] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(115), 1, - sym_identifier, - ACTIONS(117), 1, - anon_sym_async, - ACTIONS(119), 1, - anon_sym_LBRACE, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_match, - ACTIONS(135), 1, - anon_sym_while, - ACTIONS(137), 1, - anon_sym_for, - ACTIONS(139), 1, - anon_sym_asyncfor, - ACTIONS(141), 1, - anon_sym_return, - ACTIONS(143), 1, - anon_sym_use, - STATE(148), 1, - sym_index, - STATE(219), 1, - sym_expression, - STATE(271), 1, - sym_if, - STATE(276), 1, - sym_statement, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(285), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2398] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(23), 1, - anon_sym_if, - ACTIONS(25), 1, - anon_sym_match, - ACTIONS(27), 1, - anon_sym_while, - ACTIONS(29), 1, - anon_sym_for, - ACTIONS(31), 1, - anon_sym_asyncfor, - ACTIONS(33), 1, - anon_sym_return, - ACTIONS(35), 1, - anon_sym_use, - STATE(43), 1, - sym_index, - STATE(67), 1, - sym_expression, - STATE(116), 1, - sym_if, STATE(213), 1, sym_statement, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -4059,18 +4201,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(223), 9, + STATE(205), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4080,14 +4222,68 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [2491] = 5, + [2692] = 11, ACTIONS(3), 1, sym__comment, - STATE(160), 1, - sym_math_operator, - STATE(161), 1, + ACTIONS(119), 1, + anon_sym_COLON, + ACTIONS(167), 1, + anon_sym_DASH_GT, + STATE(179), 1, sym_logic_operator, - ACTIONS(147), 16, + STATE(180), 1, + sym_math_operator, + ACTIONS(159), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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(155), 12, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + ACTIONS(157), 12, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [2757] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(171), 16, anon_sym_async, sym_identifier, sym_integer, @@ -4104,7 +4300,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(145), 23, + ACTIONS(169), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -4128,7 +4324,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [2544] = 25, + [2810] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4159,15 +4355,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, - sym_index, STATE(67), 1, + sym_index, + STATE(69), 1, sym_expression, STATE(116), 1, sym_if, - STATE(226), 1, + STATE(219), 1, sym_statement, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -4175,18 +4371,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(223), 9, + STATE(205), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4196,7 +4392,260 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [2637] = 25, + [2903] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(173), 1, + anon_sym_DOT_DOT, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(171), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(169), 22, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [2958] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(121), 1, + sym_identifier, + ACTIONS(123), 1, + anon_sym_async, + ACTIONS(125), 1, + anon_sym_LBRACE, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(137), 1, + anon_sym_if, + ACTIONS(139), 1, + anon_sym_match, + ACTIONS(141), 1, + anon_sym_while, + ACTIONS(143), 1, + anon_sym_for, + ACTIONS(145), 1, + anon_sym_asyncfor, + ACTIONS(147), 1, + anon_sym_return, + ACTIONS(149), 1, + anon_sym_use, + STATE(151), 1, + sym_index, + STATE(215), 1, + sym_expression, + STATE(264), 1, + sym_if, + STATE(272), 1, + sym_statement, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(274), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3051] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(121), 1, + sym_identifier, + ACTIONS(123), 1, + anon_sym_async, + ACTIONS(125), 1, + anon_sym_LBRACE, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(137), 1, + anon_sym_if, + ACTIONS(139), 1, + anon_sym_match, + ACTIONS(141), 1, + anon_sym_while, + ACTIONS(143), 1, + anon_sym_for, + ACTIONS(145), 1, + anon_sym_asyncfor, + ACTIONS(147), 1, + anon_sym_return, + ACTIONS(149), 1, + anon_sym_use, + STATE(151), 1, + sym_index, + STATE(215), 1, + sym_expression, + STATE(264), 1, + sym_if, + STATE(278), 1, + sym_statement, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(274), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3144] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(121), 1, + sym_identifier, + ACTIONS(123), 1, + anon_sym_async, + ACTIONS(125), 1, + anon_sym_LBRACE, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(137), 1, + anon_sym_if, + ACTIONS(139), 1, + anon_sym_match, + ACTIONS(141), 1, + anon_sym_while, + ACTIONS(143), 1, + anon_sym_for, + ACTIONS(145), 1, + anon_sym_asyncfor, + ACTIONS(147), 1, + anon_sym_return, + ACTIONS(149), 1, + anon_sym_use, + STATE(151), 1, + sym_index, + STATE(215), 1, + sym_expression, + STATE(264), 1, + sym_if, + STATE(283), 1, + sym_statement, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(274), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3237] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4227,15 +4676,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(35), 1, anon_sym_use, - STATE(43), 1, - sym_index, STATE(67), 1, + sym_index, + STATE(69), 1, sym_expression, STATE(116), 1, sym_if, - STATE(224), 1, + STATE(212), 1, sym_statement, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -4243,18 +4692,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 5, + STATE(57), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(223), 9, + STATE(205), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4264,539 +4713,146 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [2730] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(115), 1, - sym_identifier, - ACTIONS(117), 1, - anon_sym_async, - ACTIONS(119), 1, - anon_sym_LBRACE, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_match, - ACTIONS(135), 1, - anon_sym_while, - ACTIONS(137), 1, - anon_sym_for, - ACTIONS(139), 1, - anon_sym_asyncfor, - ACTIONS(141), 1, - anon_sym_return, - ACTIONS(143), 1, - anon_sym_use, - STATE(148), 1, - sym_index, - STATE(214), 1, - sym_expression, - STATE(271), 1, - sym_if, - STATE(306), 1, - sym_statement, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(287), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2823] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(115), 1, - sym_identifier, - ACTIONS(117), 1, - anon_sym_async, - ACTIONS(119), 1, - anon_sym_LBRACE, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_match, - ACTIONS(135), 1, - anon_sym_while, - ACTIONS(137), 1, - anon_sym_for, - ACTIONS(139), 1, - anon_sym_asyncfor, - ACTIONS(141), 1, - anon_sym_return, - ACTIONS(143), 1, - anon_sym_use, - STATE(148), 1, - sym_index, - STATE(219), 1, - sym_expression, - STATE(271), 1, - sym_if, - STATE(277), 1, - sym_statement, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(285), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2916] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(115), 1, - sym_identifier, - ACTIONS(117), 1, - anon_sym_async, - ACTIONS(119), 1, - anon_sym_LBRACE, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_match, - ACTIONS(135), 1, - anon_sym_while, - ACTIONS(137), 1, - anon_sym_for, - ACTIONS(139), 1, - anon_sym_asyncfor, - ACTIONS(141), 1, - anon_sym_return, - ACTIONS(143), 1, - anon_sym_use, - STATE(148), 1, - sym_index, - STATE(214), 1, - sym_expression, - STATE(271), 1, - sym_if, - STATE(306), 1, - sym_statement, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(287), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3009] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(115), 1, - sym_identifier, - ACTIONS(117), 1, - anon_sym_async, - ACTIONS(119), 1, - anon_sym_LBRACE, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_match, - ACTIONS(135), 1, - anon_sym_while, - ACTIONS(137), 1, - anon_sym_for, - ACTIONS(139), 1, - anon_sym_asyncfor, - ACTIONS(141), 1, - anon_sym_return, - ACTIONS(143), 1, - anon_sym_use, - STATE(148), 1, - sym_index, - STATE(219), 1, - sym_expression, - STATE(271), 1, - sym_if, - STATE(281), 1, - sym_statement, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(285), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3102] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(153), 1, - anon_sym_DOT_DOT, - STATE(160), 1, - sym_math_operator, - STATE(161), 1, - sym_logic_operator, - ACTIONS(151), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(149), 22, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3157] = 6, + [3330] = 23, ACTIONS(3), 1, sym__comment, ACTIONS(159), 1, - anon_sym_COLON, - STATE(160), 1, - sym_math_operator, - STATE(161), 1, - sym_logic_operator, - ACTIONS(157), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, anon_sym_DASH, + ACTIONS(165), 1, anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(155), 22, - ts_builtin_sym_end, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(191), 1, + anon_sym_RPAREN, + ACTIONS(193), 1, + anon_sym_LT, + ACTIONS(195), 1, + anon_sym_DASH_GT, + STATE(87), 1, + sym_expression, + STATE(142), 1, + aux_sym__expression_list, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_DOT_DOT, - anon_sym_LPAREN, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3212] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(160), 1, - sym_math_operator, - STATE(161), 1, - sym_logic_operator, - ACTIONS(151), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(149), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3265] = 11, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3418] = 23, ACTIONS(3), 1, sym__comment, ACTIONS(159), 1, - anon_sym_COLON, - ACTIONS(173), 1, - anon_sym_DASH_GT, - STATE(160), 1, - sym_math_operator, - STATE(161), 1, - sym_logic_operator, - ACTIONS(165), 2, - anon_sym_PLUS, anon_sym_DASH, - ACTIONS(171), 2, + ACTIONS(165), 1, anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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(161), 12, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - ACTIONS(163), 12, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [3330] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(173), 1, - anon_sym_DASH_GT, ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(187), 1, anon_sym_COLON, - STATE(155), 1, - sym_logic_operator, - STATE(182), 1, - sym_math_operator, - ACTIONS(165), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(171), 2, - anon_sym_GT, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(193), 1, anon_sym_LT, - ACTIONS(167), 3, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(197), 1, + anon_sym_RPAREN, + STATE(87), 1, + sym_expression, + STATE(141), 1, + aux_sym__expression_list, + STATE(164), 1, + sym_logic_operator, + STATE(202), 1, + sym_math_operator, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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(161), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - ACTIONS(163), 12, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [3394] = 5, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3506] = 6, ACTIONS(3), 1, sym__comment, - STATE(155), 1, + ACTIONS(199), 1, + anon_sym_COLON, + STATE(185), 1, sym_logic_operator, - STATE(182), 1, + STATE(187), 1, sym_math_operator, - ACTIONS(147), 16, + ACTIONS(117), 16, anon_sym_async, sym_identifier, sym_integer, @@ -4813,7 +4869,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(145), 22, + ACTIONS(115), 21, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -4821,7 +4877,6 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, - anon_sym_COLON, anon_sym_LPAREN, anon_sym_STAR, anon_sym_SLASH, @@ -4836,16 +4891,79 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3446] = 6, + [3560] = 23, ACTIONS(3), 1, sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(165), 1, + anon_sym_GT, ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(187), 1, anon_sym_COLON, - STATE(155), 1, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(193), 1, + anon_sym_LT, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(201), 1, + anon_sym_RPAREN, + STATE(87), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + STATE(176), 1, sym_logic_operator, - STATE(182), 1, + STATE(202), 1, sym_math_operator, - ACTIONS(157), 16, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3648] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(185), 1, + sym_logic_operator, + STATE(187), 1, + sym_math_operator, + ACTIONS(153), 16, anon_sym_async, sym_identifier, sym_integer, @@ -4862,7 +4980,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(155), 21, + ACTIONS(151), 22, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -4870,6 +4988,7 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, + anon_sym_COLON, anon_sym_LPAREN, anon_sym_STAR, anon_sym_SLASH, @@ -4884,21 +5003,151 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3500] = 8, + [3700] = 23, ACTIONS(3), 1, sym__comment, - ACTIONS(181), 1, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(165), 1, + anon_sym_GT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(193), 1, + anon_sym_LT, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(203), 1, + anon_sym_RPAREN, + STATE(87), 1, + sym_expression, + STATE(137), 1, + aux_sym__expression_list, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3788] = 23, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(165), 1, + anon_sym_GT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(193), 1, + anon_sym_LT, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(205), 1, + anon_sym_RPAREN, + STATE(87), 1, + sym_expression, + STATE(132), 1, + aux_sym__expression_list, + STATE(202), 1, + sym_math_operator, + STATE(203), 1, + sym_logic_operator, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3876] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(211), 1, anon_sym_EQ, - ACTIONS(183), 1, + ACTIONS(213), 1, anon_sym_LT, STATE(30), 1, sym_assignment_operator, - STATE(278), 1, + STATE(276), 1, sym_type_definition, - ACTIONS(185), 2, + ACTIONS(215), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(179), 14, + ACTIONS(209), 14, anon_sym_async, sym_identifier, sym_integer, @@ -4913,7 +5162,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(177), 20, + ACTIONS(207), 20, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -4934,428 +5183,128 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3558] = 6, + [3934] = 23, ACTIONS(3), 1, sym__comment, - ACTIONS(181), 1, - anon_sym_EQ, - STATE(27), 1, - sym_assignment_operator, - ACTIONS(185), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(179), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, + ACTIONS(159), 1, anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(177), 20, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_LPAREN, - 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_asyncfor, - anon_sym_DASH_GT, - [3611] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(189), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(187), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3658] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(193), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(191), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3705] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(197), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(195), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3752] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(201), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(199), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3799] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(205), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(203), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3846] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(209), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(207), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3893] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(177), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [3940] = 22, - ACTIONS(3), 1, - sym__comment, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(171), 1, anon_sym_GT, - ACTIONS(211), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(215), 1, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(187), 1, anon_sym_COLON, - ACTIONS(217), 1, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(193), 1, anon_sym_LT, - ACTIONS(219), 1, + ACTIONS(195), 1, anon_sym_DASH_GT, - STATE(71), 1, - aux_sym_match_repeat1, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, - sym_logic_operator, - STATE(242), 1, + ACTIONS(217), 1, + anon_sym_RPAREN, + STATE(87), 1, sym_expression, - STATE(327), 1, + STATE(130), 1, + aux_sym__expression_list, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + STATE(323), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(111), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - ACTIONS(169), 6, + ACTIONS(163), 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, - STATE(109), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [4025] = 3, + [4022] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 16, + ACTIONS(167), 1, + anon_sym_DASH_GT, + ACTIONS(199), 1, + anon_sym_COLON, + STATE(185), 1, + sym_logic_operator, + STATE(187), 1, + sym_math_operator, + ACTIONS(159), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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(155), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + ACTIONS(157), 12, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [4086] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(221), 16, anon_sym_async, sym_identifier, sym_integer, @@ -5372,7 +5321,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(221), 23, + ACTIONS(219), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5396,28 +5345,99 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4072] = 3, + [4133] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(227), 16, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(165), 1, + anon_sym_GT, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(193), 1, + anon_sym_LT, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(110), 1, + aux_sym_match_repeat1, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + STATE(238), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [4218] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(213), 1, + anon_sym_LT, + ACTIONS(227), 1, + anon_sym_EQ, + STATE(30), 1, + sym_assignment_operator, + STATE(276), 1, + sym_type_definition, + ACTIONS(215), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(209), 14, anon_sym_async, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, - anon_sym_LT, anon_sym_if, anon_sym_match, anon_sym_while, anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(225), 23, - ts_builtin_sym_end, + ACTIONS(207), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -5425,7 +5445,6 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_COLON, - anon_sym_DOT_DOT, anon_sym_LPAREN, anon_sym_STAR, anon_sym_SLASH, @@ -5436,11 +5455,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4119] = 3, + [4275] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(231), 16, @@ -5484,7 +5501,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4166] = 3, + [4322] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(235), 16, @@ -5528,7 +5545,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4213] = 3, + [4369] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(239), 16, @@ -5572,7 +5589,70 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4260] = 3, + [4416] = 22, + ACTIONS(3), 1, + sym__comment, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(165), 1, + anon_sym_GT, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(193), 1, + anon_sym_LT, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(72), 1, + aux_sym_match_repeat1, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + STATE(240), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(163), 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, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [4501] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(243), 16, @@ -5616,7 +5696,51 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4307] = 3, + [4548] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(209), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(207), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4595] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(247), 16, @@ -5660,59 +5784,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4354] = 8, + [4642] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(183), 1, - anon_sym_LT, - ACTIONS(249), 1, - anon_sym_EQ, - STATE(30), 1, - sym_assignment_operator, - STATE(278), 1, - sym_type_definition, - ACTIONS(185), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(179), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - ACTIONS(177), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_LPAREN, - 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_asyncfor, - anon_sym_DASH_GT, - [4411] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(253), 16, + ACTIONS(251), 16, anon_sym_async, sym_identifier, sym_integer, @@ -5729,7 +5804,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(251), 23, + ACTIONS(249), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5753,10 +5828,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4458] = 3, + [4689] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(257), 16, + ACTIONS(255), 16, anon_sym_async, sym_identifier, sym_integer, @@ -5773,7 +5848,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(255), 23, + ACTIONS(253), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5797,73 +5872,321 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4505] = 22, + [4736] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(121), 1, + ACTIONS(259), 16, + anon_sym_async, + sym_identifier, sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(165), 1, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, anon_sym_DASH, - ACTIONS(171), 1, anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(257), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4783] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(263), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(261), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4830] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(267), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(265), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4877] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(271), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(269), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4924] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(275), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(273), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4971] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(279), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(277), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5018] = 6, + ACTIONS(3), 1, + sym__comment, ACTIONS(211), 1, + anon_sym_EQ, + STATE(38), 1, + sym_assignment_operator, + ACTIONS(215), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(209), 15, + anon_sym_async, sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - ACTIONS(215), 1, - anon_sym_COLON, - ACTIONS(217), 1, - anon_sym_LT, - ACTIONS(219), 1, - anon_sym_DASH_GT, - STATE(117), 1, - aux_sym_match_repeat1, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, - sym_logic_operator, - STATE(241), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, + sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(167), 4, anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + ACTIONS(207), 20, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_LPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - ACTIONS(169), 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, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [4590] = 3, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5071] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(261), 16, + ACTIONS(283), 16, anon_sym_async, sym_identifier, sym_integer, @@ -5880,7 +6203,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - ACTIONS(259), 23, + ACTIONS(281), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5904,205 +6227,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4637] = 17, + [5118] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(183), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(277), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(127), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(179), 2, + ACTIONS(159), 1, anon_sym_DASH, - anon_sym_GT, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(177), 12, - 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, - anon_sym_DASH_GT, - [4711] = 17, - ACTIONS(3), 1, - sym__comment, - ACTIONS(183), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(279), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(144), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(179), 2, - anon_sym_DASH, - anon_sym_GT, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(177), 12, - 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, - anon_sym_DASH_GT, - [4785] = 17, - ACTIONS(3), 1, - sym__comment, - ACTIONS(183), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(281), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(143), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(179), 2, - anon_sym_DASH, - anon_sym_GT, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(177), 12, - 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, - anon_sym_DASH_GT, - [4859] = 11, - ACTIONS(3), 1, - sym__comment, ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(171), 1, anon_sym_GT, - ACTIONS(173), 1, + ACTIONS(167), 1, anon_sym_DASH_GT, - ACTIONS(175), 1, + ACTIONS(199), 1, anon_sym_COLON, - STATE(155), 1, + STATE(185), 1, sym_logic_operator, - STATE(182), 1, + STATE(187), 1, sym_math_operator, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 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(283), 9, + ACTIONS(285), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6112,7 +6264,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(285), 12, + ACTIONS(287), 12, anon_sym_async, sym_identifier, sym_integer, @@ -6125,86 +6277,86 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [4920] = 11, + [5179] = 11, ACTIONS(3), 1, sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(167), 1, + anon_sym_DASH_GT, + ACTIONS(199), 1, + anon_sym_COLON, + STATE(185), 1, + sym_logic_operator, + STATE(187), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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(289), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(291), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [5240] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(173), 1, - anon_sym_DASH_GT, - ACTIONS(175), 1, - anon_sym_COLON, - STATE(155), 1, - sym_logic_operator, - STATE(182), 1, - sym_math_operator, - ACTIONS(171), 2, anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(167), 1, + anon_sym_DASH_GT, + ACTIONS(199), 1, + anon_sym_COLON, + ACTIONS(293), 1, + anon_sym_SEMI, + STATE(185), 1, + sym_logic_operator, + STATE(187), 1, + sym_math_operator, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 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(287), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(289), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [4981] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(171), 1, - anon_sym_GT, - ACTIONS(173), 1, - anon_sym_DASH_GT, - ACTIONS(175), 1, - anon_sym_COLON, - ACTIONS(291), 1, - anon_sym_SEMI, - STATE(155), 1, - sym_logic_operator, - STATE(182), 1, - sym_math_operator, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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(283), 8, + ACTIONS(285), 8, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6213,7 +6365,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(285), 12, + ACTIONS(287), 12, anon_sym_async, sym_identifier, sym_integer, @@ -6226,103 +6378,51 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [5044] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(295), 1, - sym_identifier, - ACTIONS(300), 1, - anon_sym_LBRACE, - ACTIONS(303), 1, - sym_integer, - ACTIONS(312), 1, - anon_sym_LBRACK, - ACTIONS(315), 1, - anon_sym_LPAREN, - ACTIONS(318), 1, - anon_sym_LT, - STATE(70), 1, - aux_sym_match_repeat1, - STATE(242), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(306), 2, - sym_float, - sym_string, - ACTIONS(309), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(293), 4, - ts_builtin_sym_end, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_asyncfor, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(298), 7, - anon_sym_async, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [5112] = 16, + [5303] = 16, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(135), 1, anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(223), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(225), 1, anon_sym_LBRACE, - STATE(70), 1, + STATE(73), 1, aux_sym_match_repeat1, - STATE(242), 1, + STATE(240), 1, sym_expression, - STATE(327), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - ACTIONS(321), 4, + ACTIONS(295), 4, ts_builtin_sym_end, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_asyncfor, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - ACTIONS(323), 7, + ACTIONS(297), 7, anon_sym_async, anon_sym_if, anon_sym_match, @@ -6330,91 +6430,68 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [5180] = 5, + [5371] = 16, ACTIONS(3), 1, sym__comment, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(151), 7, + ACTIONS(301), 1, sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(149), 21, + ACTIONS(306), 1, anon_sym_LBRACE, - anon_sym_COMMA, + ACTIONS(309), 1, + sym_integer, + ACTIONS(318), 1, + anon_sym_LBRACK, + ACTIONS(321), 1, + anon_sym_LPAREN, + ACTIONS(324), 1, + anon_sym_LT, + STATE(73), 1, + aux_sym_match_repeat1, + STATE(240), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(312), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [5222] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(325), 1, - anon_sym_DOT_DOT, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(151), 7, - sym_identifier, - sym_integer, + ACTIONS(315), 2, anon_sym_true, anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(149), 20, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [5266] = 6, + ACTIONS(299), 4, + ts_builtin_sym_end, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_asyncfor, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(304), 7, + anon_sym_async, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [5439] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(327), 1, anon_sym_COLON, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, + STATE(171), 1, sym_logic_operator, - ACTIONS(157), 7, + STATE(172), 1, + sym_math_operator, + ACTIONS(117), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6422,7 +6499,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(155), 20, + ACTIONS(115), 20, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -6443,47 +6520,53 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5310] = 5, + [5483] = 11, ACTIONS(3), 1, sym__comment, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(147), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, + ACTIONS(159), 1, anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(145), 21, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(327), 1, anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, + STATE(171), 1, + sym_logic_operator, + STATE(172), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(157), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + ACTIONS(163), 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, - anon_sym_DASH_GT, - [5352] = 3, + ACTIONS(155), 9, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + [5537] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(253), 7, + ACTIONS(235), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6491,7 +6574,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(251), 23, + ACTIONS(233), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -6515,10 +6598,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5390] = 3, + [5575] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(243), 7, + STATE(171), 1, + sym_logic_operator, + STATE(172), 1, + sym_math_operator, + ACTIONS(171), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6526,7 +6613,77 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(241), 23, + ACTIONS(169), 21, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [5617] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(171), 1, + sym_logic_operator, + STATE(172), 1, + sym_math_operator, + ACTIONS(153), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(151), 21, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [5659] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(267), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(265), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -6550,59 +6707,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5428] = 11, + [5697] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(219), 1, - anon_sym_DASH_GT, - ACTIONS(327), 1, - anon_sym_COLON, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(163), 4, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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(161), 9, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, + ACTIONS(329), 1, anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5482] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(215), 1, - anon_sym_COLON, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, + STATE(171), 1, sym_logic_operator, - ACTIONS(157), 7, + STATE(172), 1, + sym_math_operator, + ACTIONS(171), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6610,84 +6724,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(155), 19, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [5525] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(215), 1, - anon_sym_COLON, - ACTIONS(219), 1, - anon_sym_DASH_GT, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(163), 4, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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(161), 8, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5578] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, - sym_logic_operator, - ACTIONS(147), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(145), 20, + ACTIONS(169), 20, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -6708,10 +6745,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5619] = 3, + [5741] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(209), 7, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(153), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6719,7 +6760,118 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(207), 21, + ACTIONS(151), 20, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [5782] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(187), 1, + anon_sym_COLON, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(117), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(115), 19, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [5825] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(195), 1, + anon_sym_DASH_GT, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(157), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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(155), 8, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + [5878] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(255), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(253), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -6741,7 +6893,124 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5655] = 3, + [5914] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(165), 1, + anon_sym_GT, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(335), 1, + anon_sym_COMMA, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(331), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_LT, + ACTIONS(163), 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(333), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + [5968] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(283), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(281), 21, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [6004] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(341), 1, + anon_sym_COMMA, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(337), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(163), 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(339), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + [6058] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(231), 7, @@ -6774,10 +7043,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5691] = 3, + [6094] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(201), 7, + ACTIONS(263), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6785,7 +7054,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(199), 21, + ACTIONS(261), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -6807,190 +7076,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5727] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(235), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(233), 21, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [5763] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(171), 1, - anon_sym_GT, - ACTIONS(215), 1, - anon_sym_COLON, - ACTIONS(219), 1, - anon_sym_DASH_GT, - ACTIONS(333), 1, - anon_sym_COMMA, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, - sym_logic_operator, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(329), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_LT, - ACTIONS(169), 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(331), 6, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - [5817] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(215), 1, - anon_sym_COLON, - ACTIONS(219), 1, - anon_sym_DASH_GT, - ACTIONS(339), 1, - anon_sym_COMMA, - STATE(157), 1, - sym_math_operator, - STATE(158), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(335), 4, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - ACTIONS(169), 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(337), 6, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5871] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(221), 21, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [5907] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(261), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(259), 21, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [5943] = 3, + [6130] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(247), 7, @@ -7023,10 +7109,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5979] = 3, + [6166] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(257), 7, + ACTIONS(209), 7, sym_identifier, sym_integer, anon_sym_true, @@ -7034,7 +7120,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(255), 21, + ACTIONS(207), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -7056,10 +7142,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6015] = 3, + [6202] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(189), 7, + ACTIONS(221), 7, sym_identifier, sym_integer, anon_sym_true, @@ -7067,7 +7153,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(187), 21, + ACTIONS(219), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -7089,7 +7175,106 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6051] = 3, + [6238] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(259), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(257), 21, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [6274] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(251), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(249), 21, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [6310] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(271), 7, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(269), 21, + anon_sym_LBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + 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, + anon_sym_DASH_GT, + [6346] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(239), 7, @@ -7122,10 +7307,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6087] = 3, + [6382] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(227), 7, + ACTIONS(279), 7, sym_identifier, sym_integer, anon_sym_true, @@ -7133,7 +7318,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(225), 21, + ACTIONS(277), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -7155,10 +7340,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6123] = 3, + [6418] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(193), 7, + ACTIONS(243), 7, sym_identifier, sym_integer, anon_sym_true, @@ -7166,7 +7351,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(191), 21, + ACTIONS(241), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -7188,10 +7373,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6159] = 3, + [6454] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(197), 7, + ACTIONS(275), 7, sym_identifier, sym_integer, anon_sym_true, @@ -7199,7 +7384,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(195), 21, + ACTIONS(273), 21, anon_sym_LBRACE, anon_sym_COMMA, sym_float, @@ -7221,10 +7406,139 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6195] = 3, + [6490] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(205), 7, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(343), 1, + anon_sym_RPAREN, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(157), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(155), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(163), 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, + [6543] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(345), 1, + anon_sym_RPAREN, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(157), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(155), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(163), 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, + [6596] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(187), 1, + anon_sym_COLON, + ACTIONS(195), 1, + anon_sym_DASH_GT, + ACTIONS(347), 1, + anon_sym_RPAREN, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(157), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(155), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(163), 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, + [6649] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(187), 1, + anon_sym_COLON, + STATE(184), 1, + sym_math_operator, + STATE(198), 1, + sym_logic_operator, + ACTIONS(117), 7, sym_identifier, sym_integer, anon_sym_true, @@ -7232,15 +7546,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(203), 21, + ACTIONS(115), 17, anon_sym_LBRACE, - anon_sym_COMMA, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_PLUS, @@ -7254,43 +7564,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6231] = 3, + [6690] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 7, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(177), 21, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - 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, - anon_sym_DASH_GT, - [6267] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(201), 7, + ACTIONS(255), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7298,14 +7575,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(199), 20, + ACTIONS(253), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7319,10 +7595,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6302] = 3, + [6724] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(189), 7, + ACTIONS(263), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7330,14 +7606,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(187), 20, + ACTIONS(261), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7351,295 +7626,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6337] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(227), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(225), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6372] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(209), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(207), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6407] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(261), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(259), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6442] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(221), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6477] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(205), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(203), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6512] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(197), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(195), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6547] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(193), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(191), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6582] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(235), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(233), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6617] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(177), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [6652] = 3, + [6758] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(239), 7, @@ -7650,14 +7637,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(237), 20, + ACTIONS(237), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7671,10 +7657,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6687] = 3, + [6792] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(247), 7, + ACTIONS(283), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7682,14 +7668,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(245), 20, + ACTIONS(281), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7703,10 +7688,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6722] = 3, + [6826] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(257), 7, + ACTIONS(209), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7714,14 +7699,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(255), 20, + ACTIONS(207), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7735,7 +7719,81 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6757] = 3, + [6860] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(275), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(273), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [6894] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(113), 1, + aux_sym_match_repeat1, + STATE(238), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(295), 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [6952] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(231), 7, @@ -7746,14 +7804,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(229), 20, + ACTIONS(229), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7767,68 +7824,98 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6792] = 15, + [6986] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(295), 1, + ACTIONS(221), 7, + anon_sym_async, sym_identifier, - ACTIONS(300), 1, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(219), 19, anon_sym_LBRACE, - ACTIONS(303), 1, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7020] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(301), 1, + sym_identifier, + ACTIONS(306), 1, + anon_sym_LBRACE, + ACTIONS(309), 1, sym_integer, - ACTIONS(312), 1, - anon_sym_LBRACK, - ACTIONS(315), 1, - anon_sym_LPAREN, ACTIONS(318), 1, + anon_sym_LBRACK, + ACTIONS(321), 1, + anon_sym_LPAREN, + ACTIONS(324), 1, anon_sym_LT, - STATE(114), 1, + STATE(113), 1, aux_sym_match_repeat1, - STATE(241), 1, + STATE(238), 1, sym_expression, - STATE(327), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(306), 2, + ACTIONS(312), 2, sym_float, sym_string, - ACTIONS(309), 2, + ACTIONS(315), 2, anon_sym_true, anon_sym_false, - ACTIONS(293), 3, + ACTIONS(299), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [6850] = 3, + [7078] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(253), 6, + ACTIONS(247), 7, anon_sym_async, sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - anon_sym_else, - ACTIONS(251), 20, + ACTIONS(245), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, anon_sym_DOT_DOT, - anon_sym_RPAREN, - anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7838,128 +7925,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - anon_sym_elseif, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6884] = 7, + [7112] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(345), 1, + ACTIONS(353), 1, anon_sym_elseif, - ACTIONS(347), 1, + ACTIONS(355), 1, anon_sym_else, - STATE(225), 1, + STATE(218), 1, sym_else, - STATE(119), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(341), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(343), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [6926] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(114), 1, - aux_sym_match_repeat1, - STATE(241), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(321), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [6984] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(243), 6, - anon_sym_async, - sym_identifier, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_else, - ACTIONS(241), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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, - anon_sym_elseif, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [7018] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(345), 1, - anon_sym_elseif, - ACTIONS(347), 1, - anon_sym_else, - STATE(222), 1, - sym_else, - STATE(122), 2, + STATE(128), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(349), 10, @@ -7985,80 +7964,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [7060] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(200), 1, - sym_math_operator, - STATE(201), 1, - sym_logic_operator, - ACTIONS(147), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(145), 18, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_COLON, - anon_sym_DOT_DOT, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [7097] = 6, + [7154] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(353), 1, - anon_sym_DOT_DOT, - STATE(200), 1, - sym_math_operator, - STATE(201), 1, - sym_logic_operator, - ACTIONS(151), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(149), 17, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [7136] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(359), 1, anon_sym_elseif, - STATE(122), 2, + ACTIONS(355), 1, + anon_sym_else, + STATE(225), 1, + sym_else, + STATE(115), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(355), 10, + ACTIONS(357), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8069,7 +7987,383 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LT, anon_sym_asyncfor, - ACTIONS(357), 12, + ACTIONS(359), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [7196] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(259), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(257), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7230] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(251), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(249), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7264] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(243), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(241), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7298] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(279), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(277), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7332] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(271), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(269), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7366] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(361), 1, + anon_sym_DOT_DOT, + STATE(193), 1, + sym_math_operator, + STATE(199), 1, + sym_logic_operator, + ACTIONS(171), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(169), 17, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + 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, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [7405] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(363), 1, + anon_sym_COLON, + STATE(193), 1, + sym_math_operator, + STATE(199), 1, + sym_logic_operator, + ACTIONS(117), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(115), 17, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [7444] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(193), 1, + sym_math_operator, + STATE(199), 1, + sym_logic_operator, + ACTIONS(153), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(151), 18, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [7481] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(267), 6, + anon_sym_async, + sym_identifier, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_else, + ACTIONS(265), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + 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, + anon_sym_elseif, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7514] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(193), 1, + sym_math_operator, + STATE(199), 1, + sym_logic_operator, + ACTIONS(171), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(169), 18, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_COLON, + anon_sym_DOT_DOT, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [7551] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(235), 6, + anon_sym_async, + sym_identifier, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_else, + ACTIONS(233), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + 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, + anon_sym_elseif, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [7584] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(369), 1, + anon_sym_elseif, + STATE(128), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(365), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(367), 12, anon_sym_async, sym_identifier, sym_integer, @@ -8082,524 +8376,227 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [7173] = 11, + [7621] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(163), 1, + ACTIONS(157), 1, anon_sym_EQ, - ACTIONS(362), 1, + ACTIONS(363), 1, anon_sym_COLON, - ACTIONS(364), 1, - anon_sym_DASH_GT, - STATE(200), 1, - sym_math_operator, - STATE(201), 1, - sym_logic_operator, - ACTIONS(165), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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(161), 7, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [7222] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(362), 1, - anon_sym_COLON, - STATE(200), 1, - sym_math_operator, - STATE(201), 1, - sym_logic_operator, - ACTIONS(157), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 17, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_DOT_DOT, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [7261] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(200), 1, - sym_math_operator, - STATE(201), 1, - sym_logic_operator, - ACTIONS(151), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(149), 18, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_COLON, - anon_sym_DOT_DOT, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [7298] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(366), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(134), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7354] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(368), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(134), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7410] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(370), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(140), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7466] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(189), 1, - sym_math_operator, - STATE(190), 1, - sym_logic_operator, - ACTIONS(147), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(145), 17, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [7502] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(163), 1, - anon_sym_EQ, - ACTIONS(364), 1, - anon_sym_DASH_GT, ACTIONS(372), 1, - anon_sym_COLON, - STATE(189), 1, + anon_sym_DASH_GT, + STATE(193), 1, sym_math_operator, - STATE(190), 1, + STATE(199), 1, sym_logic_operator, - ACTIONS(165), 2, + ACTIONS(159), 2, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(171), 2, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 3, + ACTIONS(161), 3, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(161), 6, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(169), 6, + ACTIONS(163), 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, - [7550] = 15, + ACTIONS(155), 7, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [7670] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, ACTIONS(374), 1, anon_sym_RPAREN, STATE(87), 1, sym_expression, - STATE(133), 1, + STATE(144), 1, aux_sym__expression_list, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7606] = 15, + [7726] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, ACTIONS(376), 1, anon_sym_RBRACK, - STATE(86), 1, + STATE(85), 1, sym_expression, - STATE(139), 1, + STATE(140), 1, aux_sym_list_repeat1, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7662] = 15, + [7782] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, ACTIONS(378), 1, anon_sym_RPAREN, STATE(87), 1, sym_expression, - STATE(134), 1, + STATE(144), 1, aux_sym__expression_list, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7718] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(380), 1, - sym_identifier, - ACTIONS(383), 1, - anon_sym_LBRACE, - ACTIONS(386), 1, - sym_integer, - ACTIONS(395), 1, - anon_sym_LBRACK, - ACTIONS(398), 1, - anon_sym_LPAREN, - ACTIONS(401), 1, - anon_sym_RPAREN, - ACTIONS(403), 1, - anon_sym_LT, - STATE(87), 1, - sym_expression, - STATE(134), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(389), 2, - sym_float, - sym_string, - ACTIONS(392), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7774] = 15, + [7838] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, - ACTIONS(406), 1, + ACTIONS(380), 1, anon_sym_RBRACK, - STATE(86), 1, + STATE(85), 1, sym_expression, - STATE(141), 1, + STATE(139), 1, aux_sym_list_repeat1, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7830] = 8, + [7894] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(181), 1, + ACTIONS(211), 1, anon_sym_EQ, - ACTIONS(183), 1, + ACTIONS(213), 1, anon_sym_LT, - STATE(26), 1, + STATE(35), 1, sym_assignment_operator, - STATE(280), 1, + STATE(271), 1, sym_type_definition, - ACTIONS(185), 2, + ACTIONS(215), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(179), 3, + ACTIONS(209), 3, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, - ACTIONS(177), 15, + ACTIONS(207), 15, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -8615,451 +8612,499 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7872] = 15, + [7936] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, + ACTIONS(382), 1, + anon_sym_RBRACK, + STATE(85), 1, + sym_expression, + STATE(133), 1, + aux_sym_list_repeat1, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [7992] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(384), 1, + anon_sym_RBRACK, + STATE(85), 1, + sym_expression, + STATE(143), 1, + aux_sym_list_repeat1, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8048] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(386), 1, + anon_sym_RPAREN, + STATE(87), 1, + sym_expression, + STATE(144), 1, + aux_sym__expression_list, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8104] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(388), 1, + anon_sym_RPAREN, + STATE(87), 1, + sym_expression, + STATE(144), 1, + aux_sym__expression_list, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8160] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(390), 1, + sym_identifier, + ACTIONS(393), 1, + anon_sym_LBRACE, + ACTIONS(396), 1, + sym_integer, + ACTIONS(405), 1, + anon_sym_LBRACK, ACTIONS(408), 1, anon_sym_RBRACK, - STATE(86), 1, - sym_expression, - STATE(145), 1, - aux_sym_list_repeat1, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7928] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(372), 1, - anon_sym_COLON, - STATE(189), 1, - sym_math_operator, - STATE(190), 1, - sym_logic_operator, - ACTIONS(157), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 16, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [7966] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, ACTIONS(410), 1, - anon_sym_RBRACK, - STATE(86), 1, - sym_expression, - STATE(145), 1, - aux_sym_list_repeat1, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8022] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, anon_sym_LPAREN, - ACTIONS(412), 1, - anon_sym_RPAREN, - STATE(87), 1, - sym_expression, - STATE(134), 1, - aux_sym__expression_list, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8078] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, + ACTIONS(413), 1, anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(414), 1, - anon_sym_RBRACK, - STATE(86), 1, + STATE(85), 1, sym_expression, - STATE(145), 1, + STATE(139), 1, aux_sym_list_repeat1, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(399), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(402), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8134] = 15, + [8216] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, ACTIONS(416), 1, anon_sym_RBRACK, - STATE(86), 1, + STATE(85), 1, sym_expression, - STATE(137), 1, + STATE(139), 1, aux_sym_list_repeat1, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8190] = 15, + [8272] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, ACTIONS(418), 1, anon_sym_RPAREN, STATE(87), 1, sym_expression, - STATE(134), 1, + STATE(144), 1, aux_sym__expression_list, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8246] = 15, + [8328] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, ACTIONS(420), 1, anon_sym_RPAREN, STATE(87), 1, sym_expression, - STATE(134), 1, + STATE(144), 1, aux_sym__expression_list, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8302] = 15, + [8384] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(422), 1, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, sym_identifier, - ACTIONS(425), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(428), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(437), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(440), 1, + ACTIONS(189), 1, + anon_sym_LPAREN, + ACTIONS(422), 1, anon_sym_RBRACK, + STATE(85), 1, + sym_expression, + STATE(139), 1, + aux_sym_list_repeat1, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8440] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(427), 1, + anon_sym_LBRACE, + ACTIONS(430), 1, + sym_integer, + ACTIONS(439), 1, + anon_sym_LBRACK, ACTIONS(442), 1, anon_sym_LPAREN, ACTIONS(445), 1, - anon_sym_LT, - STATE(86), 1, - sym_expression, - STATE(145), 1, - aux_sym_list_repeat1, - STATE(335), 1, - sym_type_definition, - ACTIONS(431), 2, - sym_float, - sym_string, - ACTIONS(434), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8358] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - ACTIONS(448), 1, anon_sym_RPAREN, + ACTIONS(447), 1, + anon_sym_LT, STATE(87), 1, sym_expression, - STATE(126), 1, + STATE(144), 1, aux_sym__expression_list, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(433), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(436), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8414] = 3, + [8496] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(251), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(253), 12, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8445] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(181), 1, + ACTIONS(450), 1, + anon_sym_COLON, + STATE(158), 1, + sym_logic_operator, + STATE(159), 1, + sym_math_operator, + ACTIONS(117), 5, anon_sym_EQ, - STATE(34), 1, - sym_assignment_operator, - ACTIONS(185), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(179), 4, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(177), 15, + ACTIONS(115), 16, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [8534] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(157), 1, + anon_sym_EQ, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(450), 1, + anon_sym_COLON, + STATE(158), 1, + sym_logic_operator, + STATE(159), 1, + sym_math_operator, + ACTIONS(159), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(155), 6, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(163), 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, + [8582] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(158), 1, + sym_logic_operator, + STATE(159), 1, + sym_math_operator, + ACTIONS(153), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(151), 17, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -9074,17 +9119,47 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, anon_sym_DASH_GT, - [8482] = 3, + [8618] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(243), 5, + ACTIONS(233), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(235), 12, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8649] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(235), 5, anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(241), 18, + ACTIONS(233), 18, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -9103,16 +9178,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - [8513] = 3, + [8680] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(253), 5, + ACTIONS(267), 5, anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(251), 18, + ACTIONS(265), 18, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -9131,515 +9206,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - [8544] = 3, + [8711] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(450), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(452), 12, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8575] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(241), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(243), 12, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8606] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(454), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(456), 12, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8637] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(236), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8687] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, - ACTIONS(460), 1, - anon_sym_LBRACE, - STATE(39), 1, - sym_expression, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8737] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - STATE(73), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8787] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - STATE(79), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8837] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - STATE(80), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8887] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(233), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8937] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, - ACTIONS(460), 1, - anon_sym_LBRACE, + anon_sym_EQ, STATE(36), 1, - sym_expression, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8987] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, - ACTIONS(460), 1, - anon_sym_LBRACE, - STATE(38), 1, - sym_expression, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9037] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(230), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9087] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(243), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9137] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(244), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9187] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(177), 1, - sym_math_operator, - STATE(178), 1, - sym_logic_operator, - ACTIONS(151), 3, + sym_assignment_operator, + ACTIONS(215), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(209), 4, + anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(149), 17, - anon_sym_async, - anon_sym_LBRACE, + ACTIONS(207), 15, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9649,594 +9236,351 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - anon_sym_EQ_GT, anon_sym_DASH_GT, - [9221] = 13, + [8748] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, + ACTIONS(452), 11, + ts_builtin_sym_end, anon_sym_LBRACE, - STATE(165), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, + anon_sym_RBRACE, + anon_sym_SEMI, sym_float, sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9271] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, anon_sym_LBRACK, - ACTIONS(275), 1, anon_sym_LPAREN, - STATE(62), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9321] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(238), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9371] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, - ACTIONS(460), 1, - anon_sym_LBRACE, - STATE(37), 1, - sym_expression, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9421] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(232), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9471] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(231), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9521] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(213), 1, - anon_sym_LBRACE, - ACTIONS(462), 1, - sym_identifier, - STATE(246), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9571] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - STATE(74), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9621] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - STATE(78), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9671] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(464), 1, - anon_sym_COLON, - STATE(177), 1, - sym_math_operator, - STATE(178), 1, - sym_logic_operator, - ACTIONS(157), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 16, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(454), 12, anon_sym_async, - anon_sym_LBRACE, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9707] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(217), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, + sym_integer, anon_sym_true, anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9757] = 13, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8779] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, + ACTIONS(265), 11, + ts_builtin_sym_end, anon_sym_LBRACE, - STATE(175), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, + anon_sym_RBRACE, + anon_sym_SEMI, sym_float, sym_string, - ACTIONS(125), 2, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(267), 12, + anon_sym_async, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9807] = 13, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8810] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, + ACTIONS(456), 11, + ts_builtin_sym_end, anon_sym_LBRACE, - STATE(193), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, + anon_sym_RBRACE, + anon_sym_SEMI, sym_float, sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9857] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, - anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, anon_sym_LBRACK, - ACTIONS(275), 1, anon_sym_LPAREN, - STATE(81), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, + anon_sym_LT, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(458), 12, + anon_sym_async, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9907] = 13, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8841] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(228), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9957] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, sym_integer, - ACTIONS(127), 1, + ACTIONS(133), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(135), 1, anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(223), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(225), 1, anon_sym_LBRACE, STATE(234), 1, sym_expression, - STATE(327), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10007] = 13, + [8891] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(221), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8941] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(126), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8991] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(146), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9041] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(145), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9091] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(122), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9141] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(233), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9191] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -10247,13 +9591,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, ACTIONS(460), 1, + sym_identifier, + ACTIONS(462), 1, anon_sym_LBRACE, - STATE(41), 1, + STATE(70), 1, sym_expression, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -10261,78 +9605,678 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 6, + STATE(57), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10057] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(177), 1, - sym_math_operator, - STATE(178), 1, - sym_logic_operator, - ACTIONS(147), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(145), 17, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - 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, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [10091] = 13, + [9241] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(213), 1, - anon_sym_LBRACE, - ACTIONS(466), 1, + ACTIONS(175), 1, sym_identifier, - STATE(247), 1, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(39), 1, sym_expression, - STATE(327), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9291] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(101), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9341] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(40), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9391] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(206), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9441] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(208), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9491] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(55), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9541] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(207), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9591] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(80), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9641] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(75), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9691] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(74), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9741] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(47), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9791] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(231), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9841] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(460), 1, + sym_identifier, + ACTIONS(462), 1, + anon_sym_LBRACE, + STATE(32), 1, + sym_expression, + STATE(336), 1, + sym_type_definition, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(54), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(57), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9891] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(102), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9941] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9991] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(235), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10041] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(460), 1, + sym_identifier, + ACTIONS(462), 1, + anon_sym_LBRACE, + STATE(31), 1, + sym_expression, + STATE(336), 1, + sym_type_definition, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(54), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(57), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10091] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(460), 1, + sym_identifier, + ACTIONS(462), 1, + anon_sym_LBRACE, + STATE(26), 1, + sym_expression, + STATE(336), 1, + sym_type_definition, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(54), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(57), 6, sym_value, sym_index, sym_math, @@ -10342,34 +10286,34 @@ static const uint16_t ts_small_parse_table[] = { [10141] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(458), 1, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, sym_identifier, - ACTIONS(460), 1, + ACTIONS(225), 1, anon_sym_LBRACE, - STATE(35), 1, + STATE(229), 1, sym_expression, - STATE(342), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(13), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - STATE(58), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 6, + STATE(108), 6, sym_value, sym_index, sym_math, @@ -10381,32 +10325,32 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - STATE(239), 1, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(50), 1, sym_expression, - STATE(327), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(91), 6, sym_value, sym_index, sym_math, @@ -10418,32 +10362,32 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(135), 1, anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(223), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(225), 1, anon_sym_LBRACE, - STATE(240), 1, + STATE(226), 1, sym_expression, - STATE(327), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, @@ -10455,32 +10399,32 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - STATE(121), 1, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(82), 1, sym_expression, - STATE(330), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(91), 6, sym_value, sym_index, sym_math, @@ -10490,34 +10434,34 @@ static const uint16_t ts_small_parse_table[] = { [10341] = 13, ACTIONS(3), 1, sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(460), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(462), 1, anon_sym_LBRACE, - STATE(138), 1, + STATE(48), 1, sym_expression, - STATE(330), 1, + STATE(336), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(57), 6, sym_value, sym_index, sym_math, @@ -10529,32 +10473,32 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - STATE(130), 1, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(42), 1, sym_expression, - STATE(330), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(91), 6, sym_value, sym_index, sym_math, @@ -10564,34 +10508,34 @@ static const uint16_t ts_small_parse_table[] = { [10441] = 13, ACTIONS(3), 1, sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(460), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(462), 1, anon_sym_LBRACE, - STATE(218), 1, + STATE(41), 1, sym_expression, - STATE(330), 1, + STATE(336), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(57), 6, sym_value, sym_index, sym_math, @@ -10603,110 +10547,39 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(263), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(265), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - ACTIONS(267), 1, + ACTIONS(179), 1, sym_integer, - ACTIONS(273), 1, + ACTIONS(185), 1, anon_sym_LBRACK, - ACTIONS(275), 1, + ACTIONS(189), 1, anon_sym_LPAREN, - STATE(72), 1, + STATE(44), 1, sym_expression, - STATE(335), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(269), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(271), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(98), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10541] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(464), 1, - anon_sym_COLON, - STATE(177), 1, - sym_math_operator, - STATE(178), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(161), 5, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_DOT_DOT, - anon_sym_RPAREN, - anon_sym_EQ_GT, - ACTIONS(169), 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, - [10585] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(129), 1, - sym_expression, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10635] = 13, + [10541] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -10717,13 +10590,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, ACTIONS(460), 1, + sym_identifier, + ACTIONS(462), 1, anon_sym_LBRACE, - STATE(40), 1, + STATE(43), 1, sym_expression, - STATE(342), 1, + STATE(336), 1, sym_type_definition, ACTIONS(13), 2, sym_float, @@ -10731,332 +10604,649 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(58), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(50), 6, + STATE(57), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10685] = 13, + [10591] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(175), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(177), 1, anon_sym_LBRACE, - STATE(125), 1, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(45), 1, sym_expression, - STATE(330), 1, + STATE(323), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(181), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(183), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(96), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(91), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10735] = 13, + [10641] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(135), 1, anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(223), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(225), 1, anon_sym_LBRACE, - STATE(204), 1, + STATE(236), 1, sym_expression, - STATE(327), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10785] = 13, + [10691] = 13, ACTIONS(3), 1, sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(460), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(462), 1, anon_sym_LBRACE, - STATE(215), 1, + STATE(34), 1, sym_expression, - STATE(327), 1, + STATE(336), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(54), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(57), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10835] = 13, + [10741] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(216), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10885] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, sym_integer, - ACTIONS(127), 1, + ACTIONS(133), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(135), 1, anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(223), 1, sym_identifier, - ACTIONS(213), 1, - anon_sym_LBRACE, - STATE(124), 1, - sym_expression, - STATE(330), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10935] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, + ACTIONS(225), 1, anon_sym_LBRACE, STATE(123), 1, sym_expression, - STATE(330), 1, + STATE(316), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10985] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(458), 1, - sym_identifier, - ACTIONS(460), 1, - anon_sym_LBRACE, - STATE(68), 1, - sym_expression, - STATE(342), 1, - sym_type_definition, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(58), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(50), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11035] = 13, + [10791] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(21), 1, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, anon_sym_LBRACK, - ACTIONS(129), 1, + ACTIONS(135), 1, anon_sym_LPAREN, - ACTIONS(211), 1, + ACTIONS(223), 1, sym_identifier, - ACTIONS(213), 1, + ACTIONS(225), 1, anon_sym_LBRACE, - STATE(229), 1, + STATE(209), 1, sym_expression, - STATE(327), 1, + STATE(326), 1, sym_type_definition, - ACTIONS(123), 2, + ACTIONS(129), 2, sym_float, sym_string, - ACTIONS(125), 2, + ACTIONS(131), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(106), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(109), 6, + STATE(108), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [11085] = 6, + [10841] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(468), 1, - anon_sym_DOT_DOT, - STATE(177), 1, - sym_math_operator, - STATE(178), 1, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(232), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10891] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(230), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10941] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(147), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10991] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(83), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11041] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(129), 1, + sym_expression, + STATE(316), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11091] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(228), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11141] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(77), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11191] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(103), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11241] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(175), 1, + sym_identifier, + ACTIONS(177), 1, + anon_sym_LBRACE, + ACTIONS(179), 1, + sym_integer, + ACTIONS(185), 1, + anon_sym_LBRACK, + ACTIONS(189), 1, + anon_sym_LPAREN, + STATE(100), 1, + sym_expression, + STATE(323), 1, + sym_type_definition, + ACTIONS(181), 2, + sym_float, + sym_string, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(91), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11291] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(21), 1, + anon_sym_LT, + ACTIONS(127), 1, + sym_integer, + ACTIONS(133), 1, + anon_sym_LBRACK, + ACTIONS(135), 1, + anon_sym_LPAREN, + ACTIONS(223), 1, + sym_identifier, + ACTIONS(225), 1, + anon_sym_LBRACE, + STATE(227), 1, + sym_expression, + STATE(326), 1, + sym_type_definition, + ACTIONS(129), 2, + sym_float, + sym_string, + ACTIONS(131), 2, + anon_sym_true, + anon_sym_false, + STATE(106), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(108), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11341] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(285), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(287), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [11370] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(450), 1, + anon_sym_COLON, + STATE(158), 1, sym_logic_operator, - ACTIONS(151), 3, + STATE(159), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(289), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + ACTIONS(163), 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, + [11413] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(464), 1, + anon_sym_COLON, + STATE(167), 1, + sym_logic_operator, + STATE(169), 1, + sym_math_operator, + ACTIONS(117), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(149), 16, + ACTIONS(115), 15, anon_sym_async, anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_RPAREN, + anon_sym_DOT_DOT, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -11069,118 +11259,95 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [11121] = 13, + [11448] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(21), 1, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(464), 1, + anon_sym_COLON, + STATE(167), 1, + sym_logic_operator, + STATE(169), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_GT, anon_sym_LT, - ACTIONS(263), 1, - sym_identifier, - ACTIONS(265), 1, + ACTIONS(155), 4, + anon_sym_async, anon_sym_LBRACE, - ACTIONS(267), 1, - sym_integer, - ACTIONS(273), 1, - anon_sym_LBRACK, - ACTIONS(275), 1, - anon_sym_LPAREN, - STATE(51), 1, - sym_expression, - STATE(335), 1, - sym_type_definition, - ACTIONS(269), 2, - sym_float, - sym_string, - ACTIONS(271), 2, - anon_sym_true, - anon_sym_false, - STATE(90), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(98), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11171] = 13, + anon_sym_DOT_DOT, + anon_sym_EQ_GT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [11491] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(21), 1, + ACTIONS(466), 1, + anon_sym_DOT_DOT, + STATE(167), 1, + sym_logic_operator, + STATE(169), 1, + sym_math_operator, + ACTIONS(171), 3, + anon_sym_DASH, + anon_sym_GT, anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(211), 1, - sym_identifier, - ACTIONS(213), 1, + ACTIONS(169), 15, + anon_sym_async, anon_sym_LBRACE, - STATE(227), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, - sym_float, - sym_string, - ACTIONS(125), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11221] = 13, + 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, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [11526] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(21), 1, - anon_sym_LT, - ACTIONS(121), 1, - sym_integer, - ACTIONS(127), 1, - anon_sym_LBRACK, - ACTIONS(129), 1, - anon_sym_LPAREN, - ACTIONS(213), 1, + ACTIONS(468), 10, + ts_builtin_sym_end, anon_sym_LBRACE, - ACTIONS(470), 1, - sym_identifier, - STATE(245), 1, - sym_expression, - STATE(327), 1, - sym_type_definition, - ACTIONS(123), 2, + anon_sym_RBRACE, + anon_sym_SEMI, sym_float, sym_string, - ACTIONS(125), 2, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(470), 11, + anon_sym_async, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(109), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11271] = 3, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [11555] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(472), 10, @@ -11206,7 +11373,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11300] = 3, + [11584] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(476), 10, @@ -11232,7 +11399,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11329] = 3, + [11613] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(480), 10, @@ -11258,7 +11425,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11358] = 3, + [11642] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(484), 10, @@ -11284,171 +11451,194 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11387] = 4, + [11671] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(291), 1, - anon_sym_SEMI, - ACTIONS(283), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(285), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [11418] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(488), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(490), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [11447] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, + ACTIONS(159), 1, anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, ACTIONS(372), 1, - anon_sym_COLON, - ACTIONS(492), 1, - anon_sym_SEMI, - STATE(189), 1, - sym_math_operator, - STATE(190), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(283), 3, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_identifier, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [11492] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(494), 1, - anon_sym_COLON, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(157), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 15, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_RPAREN, - 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, - anon_sym_EQ_GT, anon_sym_DASH_GT, - [11527] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, + ACTIONS(450), 1, anon_sym_COLON, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, + STATE(158), 1, sym_logic_operator, - ACTIONS(171), 2, + STATE(159), 1, + sym_math_operator, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, ACTIONS(161), 4, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_RPAREN, - anon_sym_EQ_GT, - ACTIONS(167), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(285), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + ACTIONS(163), 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, - [11570] = 5, + [11714] = 11, ACTIONS(3), 1, sym__comment, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(450), 1, + anon_sym_COLON, + ACTIONS(488), 1, + anon_sym_SEMI, + STATE(158), 1, sym_logic_operator, - ACTIONS(147), 3, + STATE(159), 1, + sym_math_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(285), 3, + anon_sym_RBRACE, + anon_sym_COMMA, + sym_identifier, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [11759] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(490), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(492), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [11788] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(494), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(496), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [11817] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(498), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(500), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [11846] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(293), 1, + anon_sym_SEMI, + ACTIONS(285), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_LT, + anon_sym_asyncfor, + ACTIONS(287), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [11877] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(167), 1, + sym_logic_operator, + STATE(169), 1, + sym_math_operator, + ACTIONS(171), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(145), 16, + ACTIONS(169), 16, anon_sym_async, anon_sym_LBRACE, anon_sym_COLON, - anon_sym_RPAREN, + anon_sym_DOT_DOT, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -11461,76 +11651,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [11603] = 10, + [11910] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(372), 1, - anon_sym_COLON, - STATE(189), 1, - sym_math_operator, - STATE(190), 1, + STATE(167), 1, sym_logic_operator, - ACTIONS(171), 2, + STATE(169), 1, + sym_math_operator, + ACTIONS(153), 3, + anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(151), 16, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(287), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - ACTIONS(169), 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, - [11646] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, + anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(372), 1, - anon_sym_COLON, - STATE(189), 1, - sym_math_operator, - STATE(190), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(283), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - ACTIONS(169), 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, - [11689] = 3, + [11943] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(496), 10, + ACTIONS(502), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -11541,7 +11693,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LT, anon_sym_asyncfor, - ACTIONS(498), 11, + ACTIONS(504), 11, anon_sym_async, sym_identifier, sym_integer, @@ -11553,10 +11705,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11718] = 3, + [11972] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(500), 10, + ACTIONS(506), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -11567,7 +11719,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LT, anon_sym_asyncfor, - ACTIONS(502), 11, + ACTIONS(508), 11, anon_sym_async, sym_identifier, sym_integer, @@ -11579,85 +11731,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11747] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(504), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(506), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [11776] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(283), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(285), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [11805] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(508), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(510), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [11834] = 3, + [12001] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(349), 10, @@ -11683,162 +11757,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [11863] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(512), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_LT, - anon_sym_asyncfor, - ACTIONS(514), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [11892] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(516), 1, - anon_sym_async, - ACTIONS(518), 1, - anon_sym_LBRACE, - STATE(151), 1, - sym_block, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [11938] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(516), 1, - anon_sym_async, - ACTIONS(518), 1, - anon_sym_LBRACE, - STATE(153), 1, - sym_block, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [11984] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(520), 1, - anon_sym_async, - ACTIONS(522), 1, - anon_sym_LBRACE, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - STATE(208), 1, - sym_block, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, [12030] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, + ACTIONS(159), 1, anon_sym_DASH, - ACTIONS(364), 1, + ACTIONS(372), 1, anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(524), 1, + ACTIONS(510), 1, anon_sym_async, - ACTIONS(526), 1, + ACTIONS(512), 1, anon_sym_LBRACE, - STATE(198), 1, + ACTIONS(514), 1, + anon_sym_COLON, + STATE(195), 1, sym_math_operator, - STATE(199), 1, + STATE(196), 1, sym_logic_operator, - STATE(275), 1, + STATE(267), 1, sym_block, - ACTIONS(171), 2, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -11848,31 +11794,31 @@ static const uint16_t ts_small_parse_table[] = { [12076] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, + ACTIONS(159), 1, anon_sym_DASH, - ACTIONS(364), 1, + ACTIONS(372), 1, anon_sym_DASH_GT, - ACTIONS(494), 1, + ACTIONS(514), 1, anon_sym_COLON, - ACTIONS(528), 1, + ACTIONS(516), 1, anon_sym_async, - ACTIONS(530), 1, + ACTIONS(518), 1, anon_sym_LBRACE, - STATE(198), 1, + STATE(195), 1, sym_math_operator, - STATE(199), 1, + STATE(196), 1, sym_logic_operator, - STATE(288), 1, + STATE(224), 1, sym_block, - ACTIONS(171), 2, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -11882,31 +11828,31 @@ static const uint16_t ts_small_parse_table[] = { [12122] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, + ACTIONS(159), 1, anon_sym_DASH, - ACTIONS(364), 1, + ACTIONS(372), 1, anon_sym_DASH_GT, - ACTIONS(494), 1, + ACTIONS(514), 1, anon_sym_COLON, - ACTIONS(524), 1, + ACTIONS(520), 1, anon_sym_async, - ACTIONS(526), 1, + ACTIONS(522), 1, anon_sym_LBRACE, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - STATE(274), 1, + STATE(154), 1, sym_block, - ACTIONS(171), 2, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -11916,91 +11862,280 @@ static const uint16_t ts_small_parse_table[] = { [12168] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, + ACTIONS(159), 1, anon_sym_DASH, - ACTIONS(364), 1, + ACTIONS(372), 1, anon_sym_DASH_GT, - ACTIONS(494), 1, + ACTIONS(514), 1, + anon_sym_COLON, + ACTIONS(524), 1, + anon_sym_async, + ACTIONS(526), 1, + anon_sym_LBRACE, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + STATE(270), 1, + sym_block, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [12214] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(514), 1, + anon_sym_COLON, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(155), 3, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_EQ_GT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [12256] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(514), 1, + anon_sym_COLON, + ACTIONS(524), 1, + anon_sym_async, + ACTIONS(526), 1, + anon_sym_LBRACE, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + STATE(280), 1, + sym_block, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [12302] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(514), 1, + anon_sym_COLON, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + ACTIONS(117), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(115), 14, + anon_sym_async, + anon_sym_LBRACE, + 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, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [12336] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(514), 1, + anon_sym_COLON, + ACTIONS(516), 1, + anon_sym_async, + ACTIONS(518), 1, + anon_sym_LBRACE, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + STATE(211), 1, + sym_block, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [12382] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + ACTIONS(153), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(151), 15, + anon_sym_async, + anon_sym_LBRACE, + 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, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [12414] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(510), 1, + anon_sym_async, + ACTIONS(512), 1, + anon_sym_LBRACE, + ACTIONS(514), 1, + anon_sym_COLON, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + STATE(268), 1, + sym_block, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [12460] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(514), 1, anon_sym_COLON, ACTIONS(520), 1, anon_sym_async, ACTIONS(522), 1, anon_sym_LBRACE, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - STATE(220), 1, + STATE(152), 1, sym_block, - ACTIONS(171), 2, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 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, - [12214] = 12, + [12506] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(528), 1, - anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - STATE(279), 1, - sym_block, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12260] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(538), 1, + ACTIONS(534), 1, anon_sym_fn, - STATE(323), 1, + STATE(330), 1, sym_type, - ACTIONS(532), 4, + ACTIONS(528), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(534), 6, + ACTIONS(530), 6, anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_LT, - ACTIONS(536), 7, + ACTIONS(532), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -12008,40 +12143,40 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12293] = 10, + [12539] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(165), 1, + ACTIONS(159), 1, anon_sym_DASH, - ACTIONS(364), 1, + ACTIONS(372), 1, anon_sym_DASH_GT, - ACTIONS(494), 1, + ACTIONS(514), 1, anon_sym_COLON, - ACTIONS(540), 1, - anon_sym_RPAREN, - STATE(198), 1, + ACTIONS(536), 1, + anon_sym_EQ_GT, + STATE(195), 1, sym_math_operator, - STATE(199), 1, + STATE(196), 1, sym_logic_operator, - ACTIONS(171), 2, + ACTIONS(165), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(167), 4, + ACTIONS(161), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(169), 6, + ACTIONS(163), 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, - [12333] = 3, + [12579] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(544), 7, + ACTIONS(540), 7, anon_sym_LBRACE, sym_float, sym_string, @@ -12049,7 +12184,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LT, anon_sym_asyncfor, - ACTIONS(542), 11, + ACTIONS(538), 11, anon_sym_async, sym_identifier, sym_integer, @@ -12061,514 +12196,190 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [12359] = 7, + [12605] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(494), 1, + ACTIONS(159), 1, + anon_sym_DASH, + ACTIONS(372), 1, + anon_sym_DASH_GT, + ACTIONS(514), 1, anon_sym_COLON, + ACTIONS(542), 1, + anon_sym_EQ_GT, + STATE(195), 1, + sym_math_operator, + STATE(196), 1, + sym_logic_operator, + ACTIONS(165), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(161), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(163), 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, + [12645] = 7, + ACTIONS(3), 1, + sym__comment, ACTIONS(546), 1, - anon_sym_RPAREN, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(157), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 11, - 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, - anon_sym_DASH_GT, - [12393] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(548), 1, - anon_sym_RPAREN, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(157), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 11, - 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, - anon_sym_DASH_GT, - [12427] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(550), 1, - anon_sym_RPAREN, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12467] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, + anon_sym_LBRACK, ACTIONS(552), 1, - anon_sym_EQ_GT, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12507] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(554), 1, - anon_sym_EQ_GT, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12547] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(556), 1, - anon_sym_RPAREN, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(157), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(155), 11, - 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, - anon_sym_DASH_GT, - [12581] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - ACTIONS(558), 1, - anon_sym_RPAREN, - STATE(198), 1, - sym_math_operator, - STATE(199), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12621] = 9, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - STATE(154), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12658] = 9, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - STATE(163), 1, - sym_math_operator, - STATE(164), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12695] = 9, - ACTIONS(3), 1, - sym__comment, - ACTIONS(165), 1, - anon_sym_DASH, - ACTIONS(364), 1, - anon_sym_DASH_GT, - ACTIONS(494), 1, - anon_sym_COLON, - STATE(186), 1, - sym_math_operator, - STATE(187), 1, - sym_logic_operator, - ACTIONS(171), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(167), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(169), 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, - [12732] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(566), 1, anon_sym_fn, - ACTIONS(568), 1, - anon_sym_DASH_GT, - STATE(249), 1, + STATE(241), 1, aux_sym_type_repeat1, - STATE(257), 1, - sym_type, - ACTIONS(560), 3, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_GT, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12765] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(566), 1, - anon_sym_fn, - ACTIONS(572), 1, - anon_sym_DASH_GT, - STATE(250), 1, - aux_sym_type_repeat1, - STATE(257), 1, - sym_type, - ACTIONS(570), 3, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_GT, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12798] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(576), 1, - anon_sym_LBRACK, - ACTIONS(582), 1, - anon_sym_fn, - STATE(250), 1, - aux_sym_type_repeat1, - STATE(257), 1, - sym_type, - ACTIONS(574), 4, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_GT, - anon_sym_DASH_GT, - ACTIONS(579), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12829] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(576), 1, - anon_sym_LBRACK, - ACTIONS(582), 1, - anon_sym_fn, - STATE(251), 1, - aux_sym_type_repeat1, - STATE(259), 1, - sym_type, - ACTIONS(574), 3, - anon_sym_RBRACK, - anon_sym_GT, - anon_sym_DASH_GT, - ACTIONS(579), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12859] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(566), 1, - anon_sym_fn, - ACTIONS(585), 1, - anon_sym_DASH_GT, - STATE(251), 1, - aux_sym_type_repeat1, - STATE(259), 1, - sym_type, - ACTIONS(570), 2, - anon_sym_RBRACK, - anon_sym_GT, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12891] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(566), 1, - anon_sym_fn, - ACTIONS(587), 1, - anon_sym_DASH_GT, STATE(252), 1, - aux_sym_type_repeat1, - STATE(259), 1, sym_type, - ACTIONS(560), 2, - anon_sym_RBRACK, - anon_sym_GT, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12923] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(574), 13, + ACTIONS(544), 4, anon_sym_COMMA, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_GT, + anon_sym_DASH_GT, + ACTIONS(549), 7, anon_sym_any, anon_sym_bool, anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [12942] = 2, + [12676] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(560), 13, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(561), 1, + anon_sym_fn, + ACTIONS(563), 1, + anon_sym_DASH_GT, + STATE(243), 1, + aux_sym_type_repeat1, + STATE(252), 1, + sym_type, + ACTIONS(555), 3, anon_sym_COMMA, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_GT, + ACTIONS(559), 7, anon_sym_any, anon_sym_bool, anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [12961] = 2, + [12709] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(589), 13, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(561), 1, + anon_sym_fn, + ACTIONS(567), 1, + anon_sym_DASH_GT, + STATE(241), 1, + aux_sym_type_repeat1, + STATE(252), 1, + sym_type, + ACTIONS(565), 3, anon_sym_COMMA, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_GT, + ACTIONS(559), 7, anon_sym_any, anon_sym_bool, anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [12980] = 3, + [12742] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(591), 1, - anon_sym_COMMA, - ACTIONS(594), 12, + ACTIONS(557), 1, anon_sym_LBRACK, + ACTIONS(561), 1, + anon_sym_fn, + ACTIONS(569), 1, + anon_sym_DASH_GT, + STATE(246), 1, + aux_sym_type_repeat1, + STATE(248), 1, + sym_type, + ACTIONS(555), 2, anon_sym_RBRACK, anon_sym_GT, + ACTIONS(559), 7, anon_sym_any, anon_sym_bool, anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [13001] = 3, + [12774] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(482), 4, + ACTIONS(546), 1, + anon_sym_LBRACK, + ACTIONS(552), 1, + anon_sym_fn, + STATE(245), 1, + aux_sym_type_repeat1, + STATE(248), 1, + sym_type, + ACTIONS(544), 3, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_DASH_GT, + ACTIONS(549), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12804] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(561), 1, + anon_sym_fn, + ACTIONS(571), 1, + anon_sym_DASH_GT, + STATE(245), 1, + aux_sym_type_repeat1, + STATE(248), 1, + sym_type, + ACTIONS(565), 2, + anon_sym_RBRACK, + anon_sym_GT, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12836] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(504), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(480), 9, + ACTIONS(502), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -12578,12 +12389,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_LT, - [13022] = 3, + [12857] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(596), 1, + ACTIONS(573), 1, anon_sym_COMMA, - ACTIONS(594), 12, + ACTIONS(575), 12, anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_GT, @@ -12596,10 +12407,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13043] = 2, + [12878] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(598), 13, + ACTIONS(577), 13, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, @@ -12613,15 +12424,100 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13062] = 3, + [12897] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(600), 4, + ACTIONS(579), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12916] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(555), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12935] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(581), 1, + anon_sym_COMMA, + ACTIONS(575), 12, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12956] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(544), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12975] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(584), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(401), 7, + ACTIONS(408), 7, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_LT, + [12994] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(586), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(445), 7, anon_sym_LBRACE, sym_float, sym_string, @@ -12629,310 +12525,212 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_LT, - [13081] = 3, + [13013] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(602), 4, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(588), 1, + anon_sym_fn, + STATE(330), 1, + sym_type, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13035] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(561), 1, + anon_sym_fn, + STATE(250), 1, + sym_type, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13057] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(528), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(440), 7, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_LT, - [13100] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(566), 1, - anon_sym_fn, - STATE(256), 1, - sym_type, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [13122] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(604), 1, - anon_sym_fn, - STATE(341), 1, - sym_type, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [13144] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(566), 1, - anon_sym_fn, - STATE(260), 1, - sym_type, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [13166] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(604), 1, - anon_sym_fn, - STATE(260), 1, - sym_type, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [13188] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(604), 1, - anon_sym_fn, - STATE(323), 1, - sym_type, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [13210] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_LBRACK, - ACTIONS(604), 1, - anon_sym_fn, - STATE(256), 1, - sym_type, - ACTIONS(564), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [13232] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(606), 4, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - ACTIONS(608), 6, + ACTIONS(530), 6, anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_LT, - [13250] = 3, + [13075] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(532), 4, + ACTIONS(590), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(534), 6, + ACTIONS(592), 6, anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_LT, - [13268] = 7, + [13093] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(343), 1, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(561), 1, + anon_sym_fn, + STATE(249), 1, + sym_type, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13115] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(588), 1, + anon_sym_fn, + STATE(325), 1, + sym_type, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13137] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(588), 1, + anon_sym_fn, + STATE(249), 1, + sym_type, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13159] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 1, + anon_sym_LBRACK, + ACTIONS(588), 1, + anon_sym_fn, + STATE(250), 1, + sym_type, + ACTIONS(559), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13181] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(359), 1, sym_identifier, - ACTIONS(610), 1, + ACTIONS(594), 1, anon_sym_elseif, - ACTIONS(612), 1, + ACTIONS(596), 1, anon_sym_else, - STATE(284), 1, + STATE(275), 1, sym_else, - STATE(272), 2, + STATE(265), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(341), 3, + ACTIONS(357), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [13293] = 7, + [13206] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(351), 1, sym_identifier, - ACTIONS(610), 1, + ACTIONS(594), 1, anon_sym_elseif, - ACTIONS(612), 1, + ACTIONS(596), 1, anon_sym_else, - STATE(283), 1, + STATE(281), 1, sym_else, - STATE(273), 2, + STATE(266), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(349), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [13318] = 5, + [13231] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(614), 1, + ACTIONS(598), 1, anon_sym_elseif, - ACTIONS(357), 2, + ACTIONS(367), 2, sym_identifier, anon_sym_else, - STATE(273), 2, + STATE(266), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(355), 3, + ACTIONS(365), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [13338] = 3, + [13251] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(452), 2, + ACTIONS(454), 2, sym_identifier, anon_sym_else, - ACTIONS(450), 4, + ACTIONS(452), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_elseif, - [13352] = 3, + [13265] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(456), 2, + ACTIONS(458), 2, sym_identifier, anon_sym_else, - ACTIONS(454), 4, + ACTIONS(456), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_elseif, - [13366] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(508), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13376] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(512), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13386] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(29), 1, - sym_assignment_operator, - ACTIONS(185), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [13398] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(472), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13408] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(32), 1, - sym_assignment_operator, - ACTIONS(185), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [13420] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(488), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13430] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(476), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13440] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(504), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13450] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(349), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13460] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(283), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13470] = 2, + [13279] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(484), 4, @@ -12940,103 +12738,220 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [13480] = 3, + [13289] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(492), 1, - anon_sym_SEMI, - ACTIONS(283), 3, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_identifier, - [13492] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(496), 4, + ACTIONS(472), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [13502] = 2, + [13299] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(617), 4, + STATE(37), 1, + sym_assignment_operator, + ACTIONS(215), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [13311] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(480), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13321] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(601), 4, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_PIPE, - [13512] = 2, + [13331] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(500), 4, + ACTIONS(285), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [13522] = 4, + [13341] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(349), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13351] = 3, + ACTIONS(3), 1, + sym__comment, + STATE(33), 1, + sym_assignment_operator, + ACTIONS(215), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [13363] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(488), 1, + anon_sym_SEMI, + ACTIONS(285), 3, + anon_sym_RBRACE, + anon_sym_COMMA, + sym_identifier, + [13375] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(476), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13385] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(490), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13395] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(506), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13405] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(494), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13415] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(468), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13425] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(498), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [13435] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(510), 1, + anon_sym_async, + ACTIONS(512), 1, + anon_sym_LBRACE, + STATE(119), 1, + sym_block, + [13448] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(516), 1, + anon_sym_async, + ACTIONS(518), 1, + anon_sym_LBRACE, + STATE(223), 1, + sym_block, + [13461] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(603), 1, + sym_identifier, + ACTIONS(605), 1, + anon_sym_PIPE, + STATE(291), 1, + aux_sym_identifier_list_repeat1, + [13474] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(603), 1, + sym_identifier, + ACTIONS(607), 1, + anon_sym_PIPE, + STATE(290), 1, + aux_sym_identifier_list_repeat1, + [13487] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + sym_identifier, + ACTIONS(611), 1, + anon_sym_RBRACE, + STATE(293), 1, + aux_sym_map_repeat1, + [13500] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(615), 1, + anon_sym_COMMA, + ACTIONS(613), 2, + anon_sym_RBRACE, + sym_identifier, + [13511] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(603), 1, + sym_identifier, + ACTIONS(617), 1, + anon_sym_PIPE, + STATE(291), 1, + aux_sym_identifier_list_repeat1, + [13524] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(619), 1, + sym_identifier, + ACTIONS(622), 1, + anon_sym_PIPE, + STATE(291), 1, + aux_sym_identifier_list_repeat1, + [13537] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(524), 1, anon_sym_async, ACTIONS(526), 1, anon_sym_LBRACE, - STATE(103), 1, + STATE(279), 1, sym_block, - [13535] = 4, + [13550] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, - anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(258), 1, - sym_block, - [13548] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(619), 1, - sym_identifier, - ACTIONS(621), 1, - anon_sym_RBRACE, - STATE(300), 1, - aux_sym_map_repeat1, - [13561] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(91), 1, - anon_sym_RBRACE, - ACTIONS(619), 1, - sym_identifier, - STATE(309), 1, - aux_sym_map_repeat1, - [13574] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(619), 1, - sym_identifier, - ACTIONS(623), 1, - anon_sym_RBRACE, - STATE(300), 1, - aux_sym_map_repeat1, - [13587] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(528), 1, - anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(282), 1, - sym_block, - [13600] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(625), 1, + ACTIONS(624), 1, sym_identifier, ACTIONS(627), 1, - anon_sym_PIPE, - STATE(318), 1, - aux_sym_identifier_list_repeat1, - [13613] = 3, + anon_sym_RBRACE, + STATE(293), 1, + aux_sym_map_repeat1, + [13563] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(41), 1, + anon_sym_RBRACE, + ACTIONS(609), 1, + sym_identifier, + STATE(305), 1, + aux_sym_map_repeat1, + [13576] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(631), 1, @@ -13044,346 +12959,296 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(629), 2, sym_identifier, anon_sym_PIPE, - [13624] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(520), 1, - anon_sym_async, - ACTIONS(522), 1, - anon_sym_LBRACE, - STATE(49), 1, - sym_block, - [13637] = 4, + [13587] = 4, ACTIONS(3), 1, sym__comment, + ACTIONS(603), 1, + sym_identifier, ACTIONS(633), 1, - sym_identifier, - ACTIONS(636), 1, - anon_sym_RBRACE, - STATE(300), 1, - aux_sym_map_repeat1, - [13650] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(89), 1, - anon_sym_RBRACE, - ACTIONS(619), 1, - sym_identifier, - STATE(295), 1, - aux_sym_map_repeat1, - [13663] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(625), 1, - sym_identifier, - ACTIONS(638), 1, anon_sym_PIPE, - STATE(303), 1, + STATE(286), 1, aux_sym_identifier_list_repeat1, - [13676] = 4, + [13600] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(625), 1, + ACTIONS(609), 1, sym_identifier, - ACTIONS(640), 1, - anon_sym_PIPE, - STATE(318), 1, - aux_sym_identifier_list_repeat1, - [13689] = 4, + ACTIONS(635), 1, + anon_sym_RBRACE, + STATE(309), 1, + aux_sym_map_repeat1, + [13613] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(520), 1, + ACTIONS(510), 1, anon_sym_async, - ACTIONS(522), 1, + ACTIONS(512), 1, anon_sym_LBRACE, - STATE(209), 1, + STATE(118), 1, sym_block, - [13702] = 4, + [13626] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(619), 1, - sym_identifier, - ACTIONS(642), 1, - anon_sym_RBRACE, - STATE(293), 1, - aux_sym_map_repeat1, - [13715] = 3, + ACTIONS(516), 1, + anon_sym_async, + ACTIONS(518), 1, + anon_sym_LBRACE, + STATE(59), 1, + sym_block, + [13639] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(646), 1, - anon_sym_COMMA, - ACTIONS(644), 2, - anon_sym_RBRACE, + ACTIONS(603), 1, sym_identifier, - [13726] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(625), 1, - sym_identifier, - ACTIONS(648), 1, + ACTIONS(637), 1, anon_sym_PIPE, - STATE(312), 1, + STATE(304), 1, aux_sym_identifier_list_repeat1, - [13739] = 4, + [13652] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(516), 1, + anon_sym_async, + ACTIONS(518), 1, + anon_sym_LBRACE, + STATE(217), 1, + sym_block, + [13665] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(39), 1, + anon_sym_RBRACE, + ACTIONS(609), 1, + sym_identifier, + STATE(288), 1, + aux_sym_map_repeat1, + [13678] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(524), 1, anon_sym_async, ACTIONS(526), 1, anon_sym_LBRACE, - STATE(102), 1, + STATE(98), 1, sym_block, - [13752] = 4, + [13691] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(619), 1, + ACTIONS(603), 1, sym_identifier, - ACTIONS(650), 1, + ACTIONS(639), 1, + anon_sym_PIPE, + STATE(291), 1, + aux_sym_identifier_list_repeat1, + [13704] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + sym_identifier, + ACTIONS(641), 1, anon_sym_RBRACE, - STATE(300), 1, + STATE(293), 1, aux_sym_map_repeat1, - [13765] = 4, + [13717] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(520), 1, + ACTIONS(524), 1, anon_sym_async, - ACTIONS(522), 1, + ACTIONS(526), 1, anon_sym_LBRACE, - STATE(210), 1, + STATE(247), 1, sym_block, - [13778] = 4, + [13730] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, + ACTIONS(524), 1, anon_sym_async, - ACTIONS(530), 1, + ACTIONS(526), 1, anon_sym_LBRACE, - STATE(82), 1, + STATE(94), 1, sym_block, - [13791] = 4, + [13743] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(625), 1, + ACTIONS(516), 1, + anon_sym_async, + ACTIONS(518), 1, + anon_sym_LBRACE, + STATE(56), 1, + sym_block, + [13756] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, sym_identifier, - ACTIONS(652), 1, - anon_sym_PIPE, - STATE(318), 1, - aux_sym_identifier_list_repeat1, - [13804] = 4, + ACTIONS(643), 1, + anon_sym_RBRACE, + STATE(293), 1, + aux_sym_map_repeat1, + [13769] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(625), 1, + ACTIONS(603), 1, sym_identifier, - ACTIONS(654), 1, + ACTIONS(645), 1, anon_sym_PIPE, - STATE(297), 1, + STATE(291), 1, aux_sym_identifier_list_repeat1, - [13817] = 4, + [13782] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, - anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(89), 1, - sym_block, - [13830] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(520), 1, - anon_sym_async, - ACTIONS(522), 1, - anon_sym_LBRACE, - STATE(63), 1, - sym_block, - [13843] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(625), 1, + ACTIONS(603), 1, sym_identifier, - ACTIONS(656), 1, + ACTIONS(647), 1, anon_sym_PIPE, - STATE(318), 1, + STATE(310), 1, aux_sym_identifier_list_repeat1, - [13856] = 4, + [13795] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(625), 1, - sym_identifier, - ACTIONS(658), 1, - anon_sym_PIPE, - STATE(316), 1, - aux_sym_identifier_list_repeat1, - [13869] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(660), 1, - sym_identifier, - ACTIONS(663), 1, - anon_sym_PIPE, - STATE(318), 1, - aux_sym_identifier_list_repeat1, - [13882] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(665), 1, + ACTIONS(649), 1, anon_sym_async, - ACTIONS(667), 1, + ACTIONS(651), 1, anon_sym_LBRACE, - STATE(103), 1, + STATE(119), 1, sym_block, - [13895] = 4, + [13808] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(665), 1, + ACTIONS(649), 1, anon_sym_async, - ACTIONS(667), 1, + ACTIONS(651), 1, anon_sym_LBRACE, - STATE(102), 1, + STATE(118), 1, sym_block, - [13908] = 2, + [13821] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(669), 2, + ACTIONS(622), 2, + sym_identifier, + anon_sym_PIPE, + [13829] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(653), 2, anon_sym_RBRACE, sym_identifier, - [13916] = 2, + [13837] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(663), 2, - sym_identifier, + ACTIONS(655), 1, anon_sym_PIPE, - [13924] = 2, + [13844] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(657), 1, + anon_sym_LBRACE, + [13851] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(659), 1, + anon_sym_LPAREN, + [13858] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(661), 1, + anon_sym_LBRACE, + [13865] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(663), 1, + anon_sym_LPAREN, + [13872] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(665), 1, + anon_sym_LBRACE, + [13879] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(667), 1, + sym_identifier, + [13886] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(669), 1, + anon_sym_PIPE, + [13893] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(671), 1, - anon_sym_GT, - [13931] = 2, + anon_sym_LBRACE, + [13900] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(673), 1, - ts_builtin_sym_end, - [13938] = 2, + anon_sym_RBRACK, + [13907] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(675), 1, - anon_sym_LBRACE, - [13945] = 2, + anon_sym_PIPE, + [13914] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(677), 1, - anon_sym_LBRACE, - [13952] = 2, + sym_string, + [13921] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(679), 1, - anon_sym_PIPE, - [13959] = 2, + anon_sym_in, + [13928] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(681), 1, - anon_sym_LPAREN, - [13966] = 2, + sym_identifier, + [13935] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(683), 1, - anon_sym_LBRACE, - [13973] = 2, + anon_sym_GT, + [13942] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(685), 1, - anon_sym_PIPE, - [13980] = 2, + sym_string, + [13949] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(687), 1, - anon_sym_LBRACE, - [13987] = 2, + anon_sym_in, + [13956] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(689), 1, - sym_identifier, - [13994] = 2, + ts_builtin_sym_end, + [13963] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(691), 1, anon_sym_LPAREN, - [14001] = 2, + [13970] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(693), 1, - anon_sym_in, - [14008] = 2, + anon_sym_EQ, + [13977] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_PIPE, - [14015] = 2, + [13984] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(697), 1, anon_sym_LBRACE, - [14022] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(699), 1, - anon_sym_in, - [14029] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(701), 1, - anon_sym_LPAREN, - [14036] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(703), 1, - anon_sym_EQ, - [14043] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(705), 1, - sym_identifier, - [14050] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(707), 1, - anon_sym_RBRACK, - [14057] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(709), 1, - anon_sym_PIPE, - [14064] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(711), 1, - sym_identifier, - [14071] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(713), 1, - sym_identifier, - [14078] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(715), 1, - sym_string, - [14085] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(717), 1, - sym_identifier, - [14092] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(719), 1, - sym_string, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 98, - [SMALL_STATE(4)] = 198, + [SMALL_STATE(3)] = 100, + [SMALL_STATE(4)] = 200, [SMALL_STATE(5)] = 298, [SMALL_STATE(6)] = 395, [SMALL_STATE(7)] = 492, @@ -13406,667 +13271,646 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(24)] = 2117, [SMALL_STATE(25)] = 2211, [SMALL_STATE(26)] = 2305, - [SMALL_STATE(27)] = 2398, - [SMALL_STATE(28)] = 2491, - [SMALL_STATE(29)] = 2544, - [SMALL_STATE(30)] = 2637, - [SMALL_STATE(31)] = 2730, - [SMALL_STATE(32)] = 2823, - [SMALL_STATE(33)] = 2916, - [SMALL_STATE(34)] = 3009, - [SMALL_STATE(35)] = 3102, - [SMALL_STATE(36)] = 3157, - [SMALL_STATE(37)] = 3212, - [SMALL_STATE(38)] = 3265, + [SMALL_STATE(27)] = 2360, + [SMALL_STATE(28)] = 2453, + [SMALL_STATE(29)] = 2506, + [SMALL_STATE(30)] = 2599, + [SMALL_STATE(31)] = 2692, + [SMALL_STATE(32)] = 2757, + [SMALL_STATE(33)] = 2810, + [SMALL_STATE(34)] = 2903, + [SMALL_STATE(35)] = 2958, + [SMALL_STATE(36)] = 3051, + [SMALL_STATE(37)] = 3144, + [SMALL_STATE(38)] = 3237, [SMALL_STATE(39)] = 3330, - [SMALL_STATE(40)] = 3394, - [SMALL_STATE(41)] = 3446, - [SMALL_STATE(42)] = 3500, - [SMALL_STATE(43)] = 3558, - [SMALL_STATE(44)] = 3611, - [SMALL_STATE(45)] = 3658, - [SMALL_STATE(46)] = 3705, - [SMALL_STATE(47)] = 3752, - [SMALL_STATE(48)] = 3799, - [SMALL_STATE(49)] = 3846, - [SMALL_STATE(50)] = 3893, - [SMALL_STATE(51)] = 3940, - [SMALL_STATE(52)] = 4025, - [SMALL_STATE(53)] = 4072, - [SMALL_STATE(54)] = 4119, - [SMALL_STATE(55)] = 4166, - [SMALL_STATE(56)] = 4213, - [SMALL_STATE(57)] = 4260, - [SMALL_STATE(58)] = 4307, - [SMALL_STATE(59)] = 4354, - [SMALL_STATE(60)] = 4411, - [SMALL_STATE(61)] = 4458, - [SMALL_STATE(62)] = 4505, - [SMALL_STATE(63)] = 4590, - [SMALL_STATE(64)] = 4637, - [SMALL_STATE(65)] = 4711, - [SMALL_STATE(66)] = 4785, - [SMALL_STATE(67)] = 4859, - [SMALL_STATE(68)] = 4920, - [SMALL_STATE(69)] = 4981, - [SMALL_STATE(70)] = 5044, - [SMALL_STATE(71)] = 5112, - [SMALL_STATE(72)] = 5180, - [SMALL_STATE(73)] = 5222, - [SMALL_STATE(74)] = 5266, - [SMALL_STATE(75)] = 5310, - [SMALL_STATE(76)] = 5352, - [SMALL_STATE(77)] = 5390, - [SMALL_STATE(78)] = 5428, - [SMALL_STATE(79)] = 5482, - [SMALL_STATE(80)] = 5525, - [SMALL_STATE(81)] = 5578, - [SMALL_STATE(82)] = 5619, - [SMALL_STATE(83)] = 5655, - [SMALL_STATE(84)] = 5691, - [SMALL_STATE(85)] = 5727, - [SMALL_STATE(86)] = 5763, - [SMALL_STATE(87)] = 5817, - [SMALL_STATE(88)] = 5871, - [SMALL_STATE(89)] = 5907, - [SMALL_STATE(90)] = 5943, - [SMALL_STATE(91)] = 5979, - [SMALL_STATE(92)] = 6015, - [SMALL_STATE(93)] = 6051, - [SMALL_STATE(94)] = 6087, - [SMALL_STATE(95)] = 6123, - [SMALL_STATE(96)] = 6159, - [SMALL_STATE(97)] = 6195, - [SMALL_STATE(98)] = 6231, - [SMALL_STATE(99)] = 6267, - [SMALL_STATE(100)] = 6302, - [SMALL_STATE(101)] = 6337, - [SMALL_STATE(102)] = 6372, - [SMALL_STATE(103)] = 6407, - [SMALL_STATE(104)] = 6442, - [SMALL_STATE(105)] = 6477, - [SMALL_STATE(106)] = 6512, - [SMALL_STATE(107)] = 6547, - [SMALL_STATE(108)] = 6582, - [SMALL_STATE(109)] = 6617, - [SMALL_STATE(110)] = 6652, - [SMALL_STATE(111)] = 6687, - [SMALL_STATE(112)] = 6722, - [SMALL_STATE(113)] = 6757, - [SMALL_STATE(114)] = 6792, - [SMALL_STATE(115)] = 6850, - [SMALL_STATE(116)] = 6884, - [SMALL_STATE(117)] = 6926, - [SMALL_STATE(118)] = 6984, - [SMALL_STATE(119)] = 7018, - [SMALL_STATE(120)] = 7060, - [SMALL_STATE(121)] = 7097, - [SMALL_STATE(122)] = 7136, - [SMALL_STATE(123)] = 7173, - [SMALL_STATE(124)] = 7222, - [SMALL_STATE(125)] = 7261, - [SMALL_STATE(126)] = 7298, - [SMALL_STATE(127)] = 7354, - [SMALL_STATE(128)] = 7410, - [SMALL_STATE(129)] = 7466, - [SMALL_STATE(130)] = 7502, - [SMALL_STATE(131)] = 7550, - [SMALL_STATE(132)] = 7606, - [SMALL_STATE(133)] = 7662, - [SMALL_STATE(134)] = 7718, - [SMALL_STATE(135)] = 7774, - [SMALL_STATE(136)] = 7830, - [SMALL_STATE(137)] = 7872, - [SMALL_STATE(138)] = 7928, - [SMALL_STATE(139)] = 7966, - [SMALL_STATE(140)] = 8022, - [SMALL_STATE(141)] = 8078, - [SMALL_STATE(142)] = 8134, - [SMALL_STATE(143)] = 8190, - [SMALL_STATE(144)] = 8246, - [SMALL_STATE(145)] = 8302, - [SMALL_STATE(146)] = 8358, - [SMALL_STATE(147)] = 8414, - [SMALL_STATE(148)] = 8445, - [SMALL_STATE(149)] = 8482, - [SMALL_STATE(150)] = 8513, - [SMALL_STATE(151)] = 8544, - [SMALL_STATE(152)] = 8575, - [SMALL_STATE(153)] = 8606, - [SMALL_STATE(154)] = 8637, - [SMALL_STATE(155)] = 8687, - [SMALL_STATE(156)] = 8737, - [SMALL_STATE(157)] = 8787, - [SMALL_STATE(158)] = 8837, - [SMALL_STATE(159)] = 8887, - [SMALL_STATE(160)] = 8937, - [SMALL_STATE(161)] = 8987, - [SMALL_STATE(162)] = 9037, - [SMALL_STATE(163)] = 9087, - [SMALL_STATE(164)] = 9137, - [SMALL_STATE(165)] = 9187, - [SMALL_STATE(166)] = 9221, - [SMALL_STATE(167)] = 9271, - [SMALL_STATE(168)] = 9321, - [SMALL_STATE(169)] = 9371, - [SMALL_STATE(170)] = 9421, - [SMALL_STATE(171)] = 9471, - [SMALL_STATE(172)] = 9521, - [SMALL_STATE(173)] = 9571, - [SMALL_STATE(174)] = 9621, - [SMALL_STATE(175)] = 9671, - [SMALL_STATE(176)] = 9707, - [SMALL_STATE(177)] = 9757, - [SMALL_STATE(178)] = 9807, - [SMALL_STATE(179)] = 9857, - [SMALL_STATE(180)] = 9907, - [SMALL_STATE(181)] = 9957, - [SMALL_STATE(182)] = 10007, - [SMALL_STATE(183)] = 10057, - [SMALL_STATE(184)] = 10091, - [SMALL_STATE(185)] = 10141, - [SMALL_STATE(186)] = 10191, - [SMALL_STATE(187)] = 10241, - [SMALL_STATE(188)] = 10291, - [SMALL_STATE(189)] = 10341, - [SMALL_STATE(190)] = 10391, - [SMALL_STATE(191)] = 10441, - [SMALL_STATE(192)] = 10491, - [SMALL_STATE(193)] = 10541, - [SMALL_STATE(194)] = 10585, - [SMALL_STATE(195)] = 10635, - [SMALL_STATE(196)] = 10685, - [SMALL_STATE(197)] = 10735, - [SMALL_STATE(198)] = 10785, - [SMALL_STATE(199)] = 10835, - [SMALL_STATE(200)] = 10885, - [SMALL_STATE(201)] = 10935, - [SMALL_STATE(202)] = 10985, - [SMALL_STATE(203)] = 11035, - [SMALL_STATE(204)] = 11085, - [SMALL_STATE(205)] = 11121, - [SMALL_STATE(206)] = 11171, - [SMALL_STATE(207)] = 11221, - [SMALL_STATE(208)] = 11271, - [SMALL_STATE(209)] = 11300, - [SMALL_STATE(210)] = 11329, - [SMALL_STATE(211)] = 11358, - [SMALL_STATE(212)] = 11387, - [SMALL_STATE(213)] = 11418, - [SMALL_STATE(214)] = 11447, - [SMALL_STATE(215)] = 11492, - [SMALL_STATE(216)] = 11527, - [SMALL_STATE(217)] = 11570, - [SMALL_STATE(218)] = 11603, - [SMALL_STATE(219)] = 11646, - [SMALL_STATE(220)] = 11689, - [SMALL_STATE(221)] = 11718, - [SMALL_STATE(222)] = 11747, - [SMALL_STATE(223)] = 11776, - [SMALL_STATE(224)] = 11805, - [SMALL_STATE(225)] = 11834, - [SMALL_STATE(226)] = 11863, - [SMALL_STATE(227)] = 11892, - [SMALL_STATE(228)] = 11938, - [SMALL_STATE(229)] = 11984, - [SMALL_STATE(230)] = 12030, - [SMALL_STATE(231)] = 12076, - [SMALL_STATE(232)] = 12122, - [SMALL_STATE(233)] = 12168, - [SMALL_STATE(234)] = 12214, - [SMALL_STATE(235)] = 12260, - [SMALL_STATE(236)] = 12293, - [SMALL_STATE(237)] = 12333, - [SMALL_STATE(238)] = 12359, - [SMALL_STATE(239)] = 12393, - [SMALL_STATE(240)] = 12427, - [SMALL_STATE(241)] = 12467, - [SMALL_STATE(242)] = 12507, - [SMALL_STATE(243)] = 12547, - [SMALL_STATE(244)] = 12581, - [SMALL_STATE(245)] = 12621, - [SMALL_STATE(246)] = 12658, - [SMALL_STATE(247)] = 12695, - [SMALL_STATE(248)] = 12732, - [SMALL_STATE(249)] = 12765, - [SMALL_STATE(250)] = 12798, - [SMALL_STATE(251)] = 12829, - [SMALL_STATE(252)] = 12859, - [SMALL_STATE(253)] = 12891, - [SMALL_STATE(254)] = 12923, - [SMALL_STATE(255)] = 12942, - [SMALL_STATE(256)] = 12961, - [SMALL_STATE(257)] = 12980, - [SMALL_STATE(258)] = 13001, - [SMALL_STATE(259)] = 13022, - [SMALL_STATE(260)] = 13043, - [SMALL_STATE(261)] = 13062, - [SMALL_STATE(262)] = 13081, - [SMALL_STATE(263)] = 13100, - [SMALL_STATE(264)] = 13122, - [SMALL_STATE(265)] = 13144, - [SMALL_STATE(266)] = 13166, - [SMALL_STATE(267)] = 13188, - [SMALL_STATE(268)] = 13210, - [SMALL_STATE(269)] = 13232, - [SMALL_STATE(270)] = 13250, - [SMALL_STATE(271)] = 13268, - [SMALL_STATE(272)] = 13293, - [SMALL_STATE(273)] = 13318, - [SMALL_STATE(274)] = 13338, - [SMALL_STATE(275)] = 13352, - [SMALL_STATE(276)] = 13366, - [SMALL_STATE(277)] = 13376, - [SMALL_STATE(278)] = 13386, - [SMALL_STATE(279)] = 13398, - [SMALL_STATE(280)] = 13408, - [SMALL_STATE(281)] = 13420, - [SMALL_STATE(282)] = 13430, - [SMALL_STATE(283)] = 13440, - [SMALL_STATE(284)] = 13450, - [SMALL_STATE(285)] = 13460, - [SMALL_STATE(286)] = 13470, - [SMALL_STATE(287)] = 13480, - [SMALL_STATE(288)] = 13492, - [SMALL_STATE(289)] = 13502, - [SMALL_STATE(290)] = 13512, - [SMALL_STATE(291)] = 13522, - [SMALL_STATE(292)] = 13535, - [SMALL_STATE(293)] = 13548, - [SMALL_STATE(294)] = 13561, - [SMALL_STATE(295)] = 13574, + [SMALL_STATE(40)] = 3418, + [SMALL_STATE(41)] = 3506, + [SMALL_STATE(42)] = 3560, + [SMALL_STATE(43)] = 3648, + [SMALL_STATE(44)] = 3700, + [SMALL_STATE(45)] = 3788, + [SMALL_STATE(46)] = 3876, + [SMALL_STATE(47)] = 3934, + [SMALL_STATE(48)] = 4022, + [SMALL_STATE(49)] = 4086, + [SMALL_STATE(50)] = 4133, + [SMALL_STATE(51)] = 4218, + [SMALL_STATE(52)] = 4275, + [SMALL_STATE(53)] = 4322, + [SMALL_STATE(54)] = 4369, + [SMALL_STATE(55)] = 4416, + [SMALL_STATE(56)] = 4501, + [SMALL_STATE(57)] = 4548, + [SMALL_STATE(58)] = 4595, + [SMALL_STATE(59)] = 4642, + [SMALL_STATE(60)] = 4689, + [SMALL_STATE(61)] = 4736, + [SMALL_STATE(62)] = 4783, + [SMALL_STATE(63)] = 4830, + [SMALL_STATE(64)] = 4877, + [SMALL_STATE(65)] = 4924, + [SMALL_STATE(66)] = 4971, + [SMALL_STATE(67)] = 5018, + [SMALL_STATE(68)] = 5071, + [SMALL_STATE(69)] = 5118, + [SMALL_STATE(70)] = 5179, + [SMALL_STATE(71)] = 5240, + [SMALL_STATE(72)] = 5303, + [SMALL_STATE(73)] = 5371, + [SMALL_STATE(74)] = 5439, + [SMALL_STATE(75)] = 5483, + [SMALL_STATE(76)] = 5537, + [SMALL_STATE(77)] = 5575, + [SMALL_STATE(78)] = 5617, + [SMALL_STATE(79)] = 5659, + [SMALL_STATE(80)] = 5697, + [SMALL_STATE(81)] = 5741, + [SMALL_STATE(82)] = 5782, + [SMALL_STATE(83)] = 5825, + [SMALL_STATE(84)] = 5878, + [SMALL_STATE(85)] = 5914, + [SMALL_STATE(86)] = 5968, + [SMALL_STATE(87)] = 6004, + [SMALL_STATE(88)] = 6058, + [SMALL_STATE(89)] = 6094, + [SMALL_STATE(90)] = 6130, + [SMALL_STATE(91)] = 6166, + [SMALL_STATE(92)] = 6202, + [SMALL_STATE(93)] = 6238, + [SMALL_STATE(94)] = 6274, + [SMALL_STATE(95)] = 6310, + [SMALL_STATE(96)] = 6346, + [SMALL_STATE(97)] = 6382, + [SMALL_STATE(98)] = 6418, + [SMALL_STATE(99)] = 6454, + [SMALL_STATE(100)] = 6490, + [SMALL_STATE(101)] = 6543, + [SMALL_STATE(102)] = 6596, + [SMALL_STATE(103)] = 6649, + [SMALL_STATE(104)] = 6690, + [SMALL_STATE(105)] = 6724, + [SMALL_STATE(106)] = 6758, + [SMALL_STATE(107)] = 6792, + [SMALL_STATE(108)] = 6826, + [SMALL_STATE(109)] = 6860, + [SMALL_STATE(110)] = 6894, + [SMALL_STATE(111)] = 6952, + [SMALL_STATE(112)] = 6986, + [SMALL_STATE(113)] = 7020, + [SMALL_STATE(114)] = 7078, + [SMALL_STATE(115)] = 7112, + [SMALL_STATE(116)] = 7154, + [SMALL_STATE(117)] = 7196, + [SMALL_STATE(118)] = 7230, + [SMALL_STATE(119)] = 7264, + [SMALL_STATE(120)] = 7298, + [SMALL_STATE(121)] = 7332, + [SMALL_STATE(122)] = 7366, + [SMALL_STATE(123)] = 7405, + [SMALL_STATE(124)] = 7444, + [SMALL_STATE(125)] = 7481, + [SMALL_STATE(126)] = 7514, + [SMALL_STATE(127)] = 7551, + [SMALL_STATE(128)] = 7584, + [SMALL_STATE(129)] = 7621, + [SMALL_STATE(130)] = 7670, + [SMALL_STATE(131)] = 7726, + [SMALL_STATE(132)] = 7782, + [SMALL_STATE(133)] = 7838, + [SMALL_STATE(134)] = 7894, + [SMALL_STATE(135)] = 7936, + [SMALL_STATE(136)] = 7992, + [SMALL_STATE(137)] = 8048, + [SMALL_STATE(138)] = 8104, + [SMALL_STATE(139)] = 8160, + [SMALL_STATE(140)] = 8216, + [SMALL_STATE(141)] = 8272, + [SMALL_STATE(142)] = 8328, + [SMALL_STATE(143)] = 8384, + [SMALL_STATE(144)] = 8440, + [SMALL_STATE(145)] = 8496, + [SMALL_STATE(146)] = 8534, + [SMALL_STATE(147)] = 8582, + [SMALL_STATE(148)] = 8618, + [SMALL_STATE(149)] = 8649, + [SMALL_STATE(150)] = 8680, + [SMALL_STATE(151)] = 8711, + [SMALL_STATE(152)] = 8748, + [SMALL_STATE(153)] = 8779, + [SMALL_STATE(154)] = 8810, + [SMALL_STATE(155)] = 8841, + [SMALL_STATE(156)] = 8891, + [SMALL_STATE(157)] = 8941, + [SMALL_STATE(158)] = 8991, + [SMALL_STATE(159)] = 9041, + [SMALL_STATE(160)] = 9091, + [SMALL_STATE(161)] = 9141, + [SMALL_STATE(162)] = 9191, + [SMALL_STATE(163)] = 9241, + [SMALL_STATE(164)] = 9291, + [SMALL_STATE(165)] = 9341, + [SMALL_STATE(166)] = 9391, + [SMALL_STATE(167)] = 9441, + [SMALL_STATE(168)] = 9491, + [SMALL_STATE(169)] = 9541, + [SMALL_STATE(170)] = 9591, + [SMALL_STATE(171)] = 9641, + [SMALL_STATE(172)] = 9691, + [SMALL_STATE(173)] = 9741, + [SMALL_STATE(174)] = 9791, + [SMALL_STATE(175)] = 9841, + [SMALL_STATE(176)] = 9891, + [SMALL_STATE(177)] = 9941, + [SMALL_STATE(178)] = 9991, + [SMALL_STATE(179)] = 10041, + [SMALL_STATE(180)] = 10091, + [SMALL_STATE(181)] = 10141, + [SMALL_STATE(182)] = 10191, + [SMALL_STATE(183)] = 10241, + [SMALL_STATE(184)] = 10291, + [SMALL_STATE(185)] = 10341, + [SMALL_STATE(186)] = 10391, + [SMALL_STATE(187)] = 10441, + [SMALL_STATE(188)] = 10491, + [SMALL_STATE(189)] = 10541, + [SMALL_STATE(190)] = 10591, + [SMALL_STATE(191)] = 10641, + [SMALL_STATE(192)] = 10691, + [SMALL_STATE(193)] = 10741, + [SMALL_STATE(194)] = 10791, + [SMALL_STATE(195)] = 10841, + [SMALL_STATE(196)] = 10891, + [SMALL_STATE(197)] = 10941, + [SMALL_STATE(198)] = 10991, + [SMALL_STATE(199)] = 11041, + [SMALL_STATE(200)] = 11091, + [SMALL_STATE(201)] = 11141, + [SMALL_STATE(202)] = 11191, + [SMALL_STATE(203)] = 11241, + [SMALL_STATE(204)] = 11291, + [SMALL_STATE(205)] = 11341, + [SMALL_STATE(206)] = 11370, + [SMALL_STATE(207)] = 11413, + [SMALL_STATE(208)] = 11448, + [SMALL_STATE(209)] = 11491, + [SMALL_STATE(210)] = 11526, + [SMALL_STATE(211)] = 11555, + [SMALL_STATE(212)] = 11584, + [SMALL_STATE(213)] = 11613, + [SMALL_STATE(214)] = 11642, + [SMALL_STATE(215)] = 11671, + [SMALL_STATE(216)] = 11714, + [SMALL_STATE(217)] = 11759, + [SMALL_STATE(218)] = 11788, + [SMALL_STATE(219)] = 11817, + [SMALL_STATE(220)] = 11846, + [SMALL_STATE(221)] = 11877, + [SMALL_STATE(222)] = 11910, + [SMALL_STATE(223)] = 11943, + [SMALL_STATE(224)] = 11972, + [SMALL_STATE(225)] = 12001, + [SMALL_STATE(226)] = 12030, + [SMALL_STATE(227)] = 12076, + [SMALL_STATE(228)] = 12122, + [SMALL_STATE(229)] = 12168, + [SMALL_STATE(230)] = 12214, + [SMALL_STATE(231)] = 12256, + [SMALL_STATE(232)] = 12302, + [SMALL_STATE(233)] = 12336, + [SMALL_STATE(234)] = 12382, + [SMALL_STATE(235)] = 12414, + [SMALL_STATE(236)] = 12460, + [SMALL_STATE(237)] = 12506, + [SMALL_STATE(238)] = 12539, + [SMALL_STATE(239)] = 12579, + [SMALL_STATE(240)] = 12605, + [SMALL_STATE(241)] = 12645, + [SMALL_STATE(242)] = 12676, + [SMALL_STATE(243)] = 12709, + [SMALL_STATE(244)] = 12742, + [SMALL_STATE(245)] = 12774, + [SMALL_STATE(246)] = 12804, + [SMALL_STATE(247)] = 12836, + [SMALL_STATE(248)] = 12857, + [SMALL_STATE(249)] = 12878, + [SMALL_STATE(250)] = 12897, + [SMALL_STATE(251)] = 12916, + [SMALL_STATE(252)] = 12935, + [SMALL_STATE(253)] = 12956, + [SMALL_STATE(254)] = 12975, + [SMALL_STATE(255)] = 12994, + [SMALL_STATE(256)] = 13013, + [SMALL_STATE(257)] = 13035, + [SMALL_STATE(258)] = 13057, + [SMALL_STATE(259)] = 13075, + [SMALL_STATE(260)] = 13093, + [SMALL_STATE(261)] = 13115, + [SMALL_STATE(262)] = 13137, + [SMALL_STATE(263)] = 13159, + [SMALL_STATE(264)] = 13181, + [SMALL_STATE(265)] = 13206, + [SMALL_STATE(266)] = 13231, + [SMALL_STATE(267)] = 13251, + [SMALL_STATE(268)] = 13265, + [SMALL_STATE(269)] = 13279, + [SMALL_STATE(270)] = 13289, + [SMALL_STATE(271)] = 13299, + [SMALL_STATE(272)] = 13311, + [SMALL_STATE(273)] = 13321, + [SMALL_STATE(274)] = 13331, + [SMALL_STATE(275)] = 13341, + [SMALL_STATE(276)] = 13351, + [SMALL_STATE(277)] = 13363, + [SMALL_STATE(278)] = 13375, + [SMALL_STATE(279)] = 13385, + [SMALL_STATE(280)] = 13395, + [SMALL_STATE(281)] = 13405, + [SMALL_STATE(282)] = 13415, + [SMALL_STATE(283)] = 13425, + [SMALL_STATE(284)] = 13435, + [SMALL_STATE(285)] = 13448, + [SMALL_STATE(286)] = 13461, + [SMALL_STATE(287)] = 13474, + [SMALL_STATE(288)] = 13487, + [SMALL_STATE(289)] = 13500, + [SMALL_STATE(290)] = 13511, + [SMALL_STATE(291)] = 13524, + [SMALL_STATE(292)] = 13537, + [SMALL_STATE(293)] = 13550, + [SMALL_STATE(294)] = 13563, + [SMALL_STATE(295)] = 13576, [SMALL_STATE(296)] = 13587, [SMALL_STATE(297)] = 13600, [SMALL_STATE(298)] = 13613, - [SMALL_STATE(299)] = 13624, - [SMALL_STATE(300)] = 13637, - [SMALL_STATE(301)] = 13650, - [SMALL_STATE(302)] = 13663, - [SMALL_STATE(303)] = 13676, - [SMALL_STATE(304)] = 13689, - [SMALL_STATE(305)] = 13702, - [SMALL_STATE(306)] = 13715, - [SMALL_STATE(307)] = 13726, - [SMALL_STATE(308)] = 13739, - [SMALL_STATE(309)] = 13752, - [SMALL_STATE(310)] = 13765, - [SMALL_STATE(311)] = 13778, - [SMALL_STATE(312)] = 13791, - [SMALL_STATE(313)] = 13804, - [SMALL_STATE(314)] = 13817, - [SMALL_STATE(315)] = 13830, - [SMALL_STATE(316)] = 13843, - [SMALL_STATE(317)] = 13856, - [SMALL_STATE(318)] = 13869, - [SMALL_STATE(319)] = 13882, - [SMALL_STATE(320)] = 13895, - [SMALL_STATE(321)] = 13908, - [SMALL_STATE(322)] = 13916, - [SMALL_STATE(323)] = 13924, - [SMALL_STATE(324)] = 13931, - [SMALL_STATE(325)] = 13938, - [SMALL_STATE(326)] = 13945, - [SMALL_STATE(327)] = 13952, - [SMALL_STATE(328)] = 13959, - [SMALL_STATE(329)] = 13966, - [SMALL_STATE(330)] = 13973, - [SMALL_STATE(331)] = 13980, - [SMALL_STATE(332)] = 13987, - [SMALL_STATE(333)] = 13994, - [SMALL_STATE(334)] = 14001, - [SMALL_STATE(335)] = 14008, - [SMALL_STATE(336)] = 14015, - [SMALL_STATE(337)] = 14022, - [SMALL_STATE(338)] = 14029, - [SMALL_STATE(339)] = 14036, - [SMALL_STATE(340)] = 14043, - [SMALL_STATE(341)] = 14050, - [SMALL_STATE(342)] = 14057, - [SMALL_STATE(343)] = 14064, - [SMALL_STATE(344)] = 14071, - [SMALL_STATE(345)] = 14078, - [SMALL_STATE(346)] = 14085, - [SMALL_STATE(347)] = 14092, + [SMALL_STATE(299)] = 13626, + [SMALL_STATE(300)] = 13639, + [SMALL_STATE(301)] = 13652, + [SMALL_STATE(302)] = 13665, + [SMALL_STATE(303)] = 13678, + [SMALL_STATE(304)] = 13691, + [SMALL_STATE(305)] = 13704, + [SMALL_STATE(306)] = 13717, + [SMALL_STATE(307)] = 13730, + [SMALL_STATE(308)] = 13743, + [SMALL_STATE(309)] = 13756, + [SMALL_STATE(310)] = 13769, + [SMALL_STATE(311)] = 13782, + [SMALL_STATE(312)] = 13795, + [SMALL_STATE(313)] = 13808, + [SMALL_STATE(314)] = 13821, + [SMALL_STATE(315)] = 13829, + [SMALL_STATE(316)] = 13837, + [SMALL_STATE(317)] = 13844, + [SMALL_STATE(318)] = 13851, + [SMALL_STATE(319)] = 13858, + [SMALL_STATE(320)] = 13865, + [SMALL_STATE(321)] = 13872, + [SMALL_STATE(322)] = 13879, + [SMALL_STATE(323)] = 13886, + [SMALL_STATE(324)] = 13893, + [SMALL_STATE(325)] = 13900, + [SMALL_STATE(326)] = 13907, + [SMALL_STATE(327)] = 13914, + [SMALL_STATE(328)] = 13921, + [SMALL_STATE(329)] = 13928, + [SMALL_STATE(330)] = 13935, + [SMALL_STATE(331)] = 13942, + [SMALL_STATE(332)] = 13949, + [SMALL_STATE(333)] = 13956, + [SMALL_STATE(334)] = 13963, + [SMALL_STATE(335)] = 13970, + [SMALL_STATE(336)] = 13977, + [SMALL_STATE(337)] = 13984, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), - [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(336), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(205), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), - [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [39] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(42), - [42] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(336), - [45] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(3), - [48] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(58), - [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(58), - [54] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(61), - [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(142), - [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(207), - [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(267), - [66] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(206), - [69] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(205), - [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(203), - [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(346), - [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(346), - [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(202), - [84] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(345), - [87] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), - [89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136), - [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(326), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [125] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), - [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170), - [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), - [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181), - [137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(332), - [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), - [141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(347), - [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), - [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), - [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), - [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), - [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), - [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(270), - [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), - [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [179] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(237), - [183] = {.entry = {.count = 1, .reusable = false}}, SHIFT(267), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), - [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 5), - [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), - [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 5), - [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 5), - [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [211] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), - [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), - [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [217] = {.entry = {.count = 1, .reusable = false}}, SHIFT(235), - [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), - [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), - [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), - [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), - [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), - [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [239] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), - [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [249] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), - [251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), - [253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), - [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), - [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), - [263] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), - [267] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [271] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), - [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), - [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), - [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), - [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), - [295] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(109), - [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [300] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(294), - [303] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(111), - [306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(111), - [309] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(112), - [312] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(135), - [315] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(184), - [318] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(267), - [321] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), - [323] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 3), - [325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), - [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), - [337] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [341] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [343] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [347] = {.entry = {.count = 1, .reusable = false}}, SHIFT(304), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(317), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(329), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(331), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [43] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [45] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(46), + [48] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(317), + [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(2), + [54] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), + [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), + [60] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(68), + [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(136), + [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(190), + [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(256), + [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(191), + [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(168), + [78] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(161), + [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(329), + [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(329), + [87] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(162), + [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(331), + [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), + [123] = {.entry = {.count = 1, .reusable = false}}, SHIFT(337), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), + [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107), + [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), + [139] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), + [141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181), + [143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(322), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), + [147] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), + [149] = {.entry = {.count = 1, .reusable = false}}, SHIFT(327), + [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259), + [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), + [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), + [169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [179] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), + [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [183] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [193] = {.entry = {.count = 1, .reusable = false}}, SHIFT(237), + [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [211] = {.entry = {.count = 1, .reusable = false}}, SHIFT(239), + [213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256), + [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), + [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [239] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), + [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), + [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [255] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), + [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), + [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), + [267] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), + [269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), + [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), + [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 5), + [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [287] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), + [291] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), + [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 3), + [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), + [301] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(108), + [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), + [306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(294), + [309] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(106), + [312] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(106), + [315] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(107), + [318] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(131), + [321] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(165), + [324] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(256), + [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [331] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [337] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), + [339] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), [351] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [357] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [359] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(180), - [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), - [366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [380] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(98), - [383] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(305), - [386] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(90), - [389] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(90), - [392] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(91), - [395] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(132), - [398] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(172), - [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), - [403] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(267), - [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [422] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(98), - [425] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(305), - [428] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(90), - [431] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(90), - [434] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(91), - [437] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(132), - [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [442] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(172), - [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(267), - [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), - [452] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), - [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), - [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), - [458] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), - [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), - [462] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [466] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [470] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [355] = {.entry = {.count = 1, .reusable = false}}, SHIFT(301), + [357] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [359] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [369] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(200), + [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [390] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(91), + [393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(297), + [396] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(96), + [399] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(96), + [402] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(86), + [405] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(135), + [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [410] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(186), + [413] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(256), + [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [424] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(91), + [427] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(297), + [430] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(96), + [433] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(96), + [436] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(86), + [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(135), + [442] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(186), + [445] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), + [447] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(256), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), + [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), + [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), + [460] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), - [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), - [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), - [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), - [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), - [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), - [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), - [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), - [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), - [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [506] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [510] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [512] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), - [514] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), - [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), - [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [532] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [536] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), - [538] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), - [540] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), - [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [554] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), - [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), - [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), - [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [570] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), - [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), - [574] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [576] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(264), - [579] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(255), - [582] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(248), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [591] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), SHIFT_REPEAT(254), - [594] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), - [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), - [600] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), - [602] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [606] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [608] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [612] = {.entry = {.count = 1, .reusable = false}}, SHIFT(296), - [614] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(162), - [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), - [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), + [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), + [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), + [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), + [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), + [500] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [506] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [508] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), + [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [528] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [532] = {.entry = {.count = 1, .reusable = false}}, SHIFT(251), + [534] = {.entry = {.count = 1, .reusable = false}}, SHIFT(244), + [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306), + [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), + [546] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(261), + [549] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(251), + [552] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(242), + [555] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [565] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), + [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [575] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), + [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), + [581] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), SHIFT_REPEAT(253), + [584] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [586] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), + [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [590] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [592] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [596] = {.entry = {.count = 1, .reusable = false}}, SHIFT(292), + [598] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(178), + [601] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), + [619] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(295), + [622] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), + [624] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(335), + [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), - [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), - [633] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(339), - [636] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), - [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [644] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), - [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), - [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), - [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), - [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), - [660] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(298), - [663] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), - [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), - [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [669] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [673] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), - [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), - [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), - [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), + [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), + [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), + [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), + [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [653] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), + [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), + [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), + [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), + [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [689] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343), - [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), - [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), - [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), }; #ifdef __cplusplus