From b064d23719171f744bb2a083e48a148e7f7f877f Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 6 Dec 2023 13:48:38 -0500 Subject: [PATCH] Implement type system; Modify use; Write docs --- src/abstract_tree/for.rs | 1 + src/abstract_tree/identifier.rs | 4 + src/abstract_tree/match.rs | 88 +- src/abstract_tree/statement.rs | 37 +- src/abstract_tree/use.rs | 11 +- src/built_in_functions/mod.rs | 8 +- tree-sitter-dust/corpus/match.txt | 34 + tree-sitter-dust/grammar.js | 4 +- tree-sitter-dust/src/grammar.json | 10 +- tree-sitter-dust/src/node-types.json | 4 +- tree-sitter-dust/src/parser.c | 17157 +++++++++++++------------ 11 files changed, 8865 insertions(+), 8493 deletions(-) create mode 100644 tree-sitter-dust/corpus/match.txt diff --git a/src/abstract_tree/for.rs b/src/abstract_tree/for.rs index 7271125..057d2f5 100644 --- a/src/abstract_tree/for.rs +++ b/src/abstract_tree/for.rs @@ -4,6 +4,7 @@ use tree_sitter::Node; use crate::{AbstractTree, Block, Error, Expression, Identifier, Map, Result, Type, Value}; +/// Abstract representation of a for loop statement. #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct For { is_async: bool, diff --git a/src/abstract_tree/identifier.rs b/src/abstract_tree/identifier.rs index b377629..78af224 100644 --- a/src/abstract_tree/identifier.rs +++ b/src/abstract_tree/identifier.rs @@ -3,6 +3,10 @@ use tree_sitter::Node; use crate::{AbstractTree, Error, Map, Result, Type, Value, BUILT_IN_FUNCTIONS}; +/// A string by which a variable is known to a context. +/// +/// Every variable is a key-value pair. An identifier holds the key part of that +/// pair. Its inner value can be used to retrieve a Value instance from a Map. #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Identifier(String); diff --git a/src/abstract_tree/match.rs b/src/abstract_tree/match.rs index a361e14..6dedf50 100644 --- a/src/abstract_tree/match.rs +++ b/src/abstract_tree/match.rs @@ -6,21 +6,97 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Map, Result, Type, Value}; +use crate::{AbstractTree, Error, Expression, Map, Result, Statement, Type, Value}; +/// Abstract representation of a match statement. #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] -pub struct Match {} +pub struct Match { + matcher: Expression, + options: Vec<(Expression, Statement)>, +} impl AbstractTree for Match { - fn from_syntax_node(_source: &str, _node: Node, _context: &Map) -> Result { - todo!() + fn from_syntax_node(source: &str, node: Node, context: &Map) -> Result { + Error::expect_syntax_node(source, "match", node)?; + + let matcher_node = node.child(1).unwrap(); + let matcher = Expression::from_syntax_node(source, matcher_node, context)?; + + let mut options = Vec::new(); + let mut previous_expression = None; + + for index in 2..node.child_count() { + let child = node.child(index).unwrap(); + + if child.kind() == "expression" { + previous_expression = Some(Expression::from_syntax_node(source, child, context)?); + } + + if child.kind() == "statement" { + if let Some(expression) = &previous_expression { + let statement = Statement::from_syntax_node(source, child, context)?; + + options.push((expression.clone(), statement)); + } + } + } + + Ok(Match { matcher, options }) } - fn run(&self, _source: &str, _context: &Map) -> Result { - todo!() + fn run(&self, source: &str, context: &Map) -> Result { + let matcher_value = self.matcher.run(source, context)?; + + for (expression, statement) in &self.options { + let option_value = expression.run(source, context)?; + + if matcher_value == option_value { + return statement.run(source, context); + } + } + + Ok(Value::Empty) } fn expected_type(&self, _context: &Map) -> Result { todo!() } } + +#[cfg(test)] +mod tests { + use crate::{evaluate, Value}; + + #[test] + fn evaluate_match() { + let test = evaluate( + " + match 1 { + 3 => false + 2 => { false } + 1 => true + } + ", + ) + .unwrap(); + + assert_eq!(Value::Boolean(true), test); + } + + #[test] + fn evaluate_match_assignment() { + let test = evaluate( + " + x = match 1 { + 3 => false + 2 => { false } + 1 => true + } + x + ", + ) + .unwrap(); + + assert_eq!(Value::Boolean(true), test); + } +} diff --git a/src/abstract_tree/statement.rs b/src/abstract_tree/statement.rs index eb5e346..006e191 100644 --- a/src/abstract_tree/statement.rs +++ b/src/abstract_tree/statement.rs @@ -34,32 +34,39 @@ impl AbstractTree for Statement { "return" => { let expression_node = child.child(1).unwrap(); - Ok(Statement::Return(Expression::from_syntax_node(source, expression_node, context)?)) - }, + Ok(Statement::Return(Expression::from_syntax_node( + source, + expression_node, + context, + )?)) + } "expression" => Ok(Statement::Expression(Expression::from_syntax_node( - source, child, context + source, child, context, )?)), "if_else" => Ok(Statement::IfElse(Box::new(IfElse::from_syntax_node( - source, child, context - )?))), - "tool" => Ok(Statement::IfElse(Box::new(IfElse::from_syntax_node( - source, child, context + source, child, context, )?))), "while" => Ok(Statement::While(Box::new(While::from_syntax_node( - source, child, context + source, child, context, )?))), "block" => Ok(Statement::Block(Box::new(Block::from_syntax_node( - source, child, context + source, child, context, )?))), "for" => Ok(Statement::For(Box::new(For::from_syntax_node( - source, child, context - )?))), - "use" => Ok(Statement::Use(Use::from_syntax_node(source, child, context)?)), - "index_assignment" => Ok(Statement::IndexAssignment(Box::new(IndexAssignment::from_syntax_node( - source, child, context + source, child, context, )?))), + "use" => Ok(Statement::Use(Use::from_syntax_node( + source, child, context, + )?)), + "index_assignment" => Ok(Statement::IndexAssignment(Box::new( + IndexAssignment::from_syntax_node(source, child, context)?, + ))), + "match" => Ok(Statement::Match(Match::from_syntax_node( + source, child, context, + )?)), _ => Err(Error::UnexpectedSyntaxNode { - expected: "assignment, expression, if...else, while, for, transform, filter, tool, async, find, remove, select, insert, index_assignment or yield", + expected: + "assignment, expression, block, return, if...else, while, for, index_assignment or match", actual: child.kind(), location: child.start_position(), relevant_source: source[child.byte_range()].to_string(), diff --git a/src/abstract_tree/use.rs b/src/abstract_tree/use.rs index 28adfd7..a022174 100644 --- a/src/abstract_tree/use.rs +++ b/src/abstract_tree/use.rs @@ -5,6 +5,11 @@ use tree_sitter::Node; use crate::{evaluate_with_context, AbstractTree, Error, Map, Result, Type, Value}; +/// Abstract representation of a use statement. +/// +/// Use will evaluate the Dust file at the given path. It will create an empty +/// context to do so, then apply every value from that context to the current +/// context. #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Use { path: String, @@ -20,12 +25,16 @@ impl AbstractTree for Use { Ok(Use { path }) } - fn run(&self, _source: &str, _context: &Map) -> Result { + fn run(&self, _source: &str, context: &Map) -> Result { let file_contents = read_to_string(&self.path)?; let mut file_context = Map::new(); evaluate_with_context(&file_contents, &mut file_context)?; + for (key, value) in file_context.variables()?.iter() { + context.variables_mut()?.insert(key.clone(), value.clone()); + } + Ok(Value::Map(file_context)) } diff --git a/src/built_in_functions/mod.rs b/src/built_in_functions/mod.rs index 02f8871..8aaabfc 100644 --- a/src/built_in_functions/mod.rs +++ b/src/built_in_functions/mod.rs @@ -1,3 +1,4 @@ +/// Built-in functions that are available to all Dust programs. use crate::{Map, Result, Type, Value}; mod assert; @@ -9,7 +10,11 @@ mod output; mod random; mod r#type; -pub const BUILT_IN_FUNCTIONS: [&dyn BuiltInFunction; 14] = [ +/// All built-in functions recognized by the interpreter. +/// +/// This is the public interface to access built-in functions by iterating over +/// the references it holds. +pub const BUILT_IN_FUNCTIONS: [&dyn BuiltInFunction; 15] = [ &assert::Assert, &assert::AssertEqual, &collections::Length, @@ -18,6 +23,7 @@ pub const BUILT_IN_FUNCTIONS: [&dyn BuiltInFunction; 14] = [ &fs::Read, &fs::Write, &fs::Append, + &network::Download, &output::Output, &random::Random, &random::RandomBoolean, diff --git a/tree-sitter-dust/corpus/match.txt b/tree-sitter-dust/corpus/match.txt new file mode 100644 index 0000000..de59933 --- /dev/null +++ b/tree-sitter-dust/corpus/match.txt @@ -0,0 +1,34 @@ +================================================================================ +Match Values +================================================================================ + +match x { + 1 => { + true + } + 2 => false +} + +-------------------------------------------------------------------------------- + +(root + (statement + (match + (expression + (identifier)) + (expression + (value + (integer))) + (statement + (block + (statement + (expression + (value + (boolean)))))) + (expression + (value + (integer))) + (statement + (expression + (value + (boolean))))))) diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 9234c04..ef61a47 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -282,13 +282,15 @@ module.exports = grammar({ seq( 'match', $.expression, + '{', repeat1( seq( $.expression, '=>', - $.block, + $.statement, ), ), + '}', ), ), diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index 66ac998..eac1bd9 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -886,6 +886,10 @@ "type": "SYMBOL", "name": "expression" }, + { + "type": "STRING", + "value": "{" + }, { "type": "REPEAT1", "content": { @@ -901,10 +905,14 @@ }, { "type": "SYMBOL", - "name": "block" + "name": "statement" } ] } + }, + { + "type": "STRING", + "value": "}" } ] } diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index 85a143a..1ba272f 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -328,11 +328,11 @@ "required": true, "types": [ { - "type": "block", + "type": "expression", "named": true }, { - "type": "expression", + "type": "statement", "named": true } ] diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index ce3bb0d..14fa34d 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 334 +#define STATE_COUNT 325 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 94 #define ALIAS_COUNT 0 @@ -697,337 +697,328 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, - [3] = 3, + [3] = 2, [4] = 2, [5] = 5, [6] = 6, [7] = 7, - [8] = 8, + [8] = 6, [9] = 7, - [10] = 5, - [11] = 11, - [12] = 5, - [13] = 8, + [10] = 10, + [11] = 7, + [12] = 6, + [13] = 7, [14] = 14, - [15] = 5, - [16] = 8, - [17] = 17, - [18] = 8, - [19] = 5, - [20] = 8, + [15] = 15, + [16] = 6, + [17] = 7, + [18] = 18, + [19] = 10, + [20] = 6, [21] = 21, - [22] = 21, + [22] = 14, [23] = 23, - [24] = 6, - [25] = 21, + [24] = 23, + [25] = 25, [26] = 23, - [27] = 23, - [28] = 21, + [27] = 25, + [28] = 25, [29] = 23, - [30] = 14, - [31] = 21, - [32] = 23, - [33] = 17, + [30] = 15, + [31] = 25, + [32] = 18, + [33] = 23, [34] = 34, - [35] = 35, + [35] = 25, [36] = 36, [37] = 37, [38] = 38, [39] = 39, [40] = 40, - [41] = 41, + [41] = 37, [42] = 42, [43] = 43, - [44] = 44, + [44] = 42, [45] = 45, [46] = 46, [47] = 47, [48] = 48, [49] = 49, [50] = 50, - [51] = 51, - [52] = 48, - [53] = 53, - [54] = 49, - [55] = 46, + [51] = 39, + [52] = 52, + [53] = 37, + [54] = 54, + [55] = 38, [56] = 56, - [57] = 48, - [58] = 51, + [57] = 57, + [58] = 58, [59] = 59, [60] = 60, [61] = 61, [62] = 62, [63] = 63, [64] = 64, - [65] = 49, - [66] = 50, - [67] = 67, - [68] = 67, - [69] = 69, - [70] = 69, + [65] = 43, + [66] = 38, + [67] = 42, + [68] = 43, + [69] = 39, + [70] = 70, [71] = 71, [72] = 72, [73] = 73, - [74] = 45, - [75] = 7, - [76] = 14, - [77] = 17, - [78] = 6, - [79] = 62, - [80] = 7, - [81] = 6, - [82] = 17, - [83] = 14, - [84] = 56, - [85] = 40, - [86] = 86, + [74] = 73, + [75] = 10, + [76] = 10, + [77] = 14, + [78] = 18, + [79] = 15, + [80] = 18, + [81] = 15, + [82] = 14, + [83] = 71, + [84] = 64, + [85] = 60, + [86] = 45, [87] = 47, - [88] = 60, - [89] = 63, - [90] = 35, - [91] = 38, - [92] = 42, - [93] = 93, - [94] = 59, - [95] = 36, - [96] = 64, - [97] = 53, - [98] = 37, - [99] = 43, - [100] = 100, - [101] = 101, - [102] = 101, - [103] = 101, - [104] = 37, - [105] = 59, - [106] = 63, - [107] = 107, - [108] = 40, - [109] = 47, - [110] = 43, - [111] = 53, - [112] = 60, - [113] = 113, - [114] = 64, - [115] = 36, - [116] = 56, - [117] = 35, - [118] = 38, - [119] = 42, - [120] = 45, - [121] = 17, - [122] = 62, - [123] = 123, - [124] = 73, - [125] = 14, - [126] = 7, - [127] = 6, - [128] = 7, - [129] = 72, - [130] = 17, - [131] = 6, - [132] = 34, - [133] = 14, - [134] = 134, - [135] = 135, + [88] = 54, + [89] = 49, + [90] = 46, + [91] = 63, + [92] = 59, + [93] = 52, + [94] = 70, + [95] = 57, + [96] = 62, + [97] = 36, + [98] = 40, + [99] = 34, + [100] = 61, + [101] = 73, + [102] = 102, + [103] = 103, + [104] = 73, + [105] = 72, + [106] = 106, + [107] = 106, + [108] = 14, + [109] = 109, + [110] = 106, + [111] = 15, + [112] = 10, + [113] = 18, + [114] = 10, + [115] = 15, + [116] = 14, + [117] = 18, + [118] = 36, + [119] = 46, + [120] = 49, + [121] = 60, + [122] = 122, + [123] = 59, + [124] = 64, + [125] = 63, + [126] = 57, + [127] = 54, + [128] = 52, + [129] = 62, + [130] = 70, + [131] = 131, + [132] = 45, + [133] = 71, + [134] = 40, + [135] = 47, [136] = 136, - [137] = 137, - [138] = 134, + [137] = 34, + [138] = 138, [139] = 139, - [140] = 136, - [141] = 45, - [142] = 62, - [143] = 41, + [140] = 140, + [141] = 141, + [142] = 142, + [143] = 143, [144] = 144, - [145] = 137, - [146] = 146, - [147] = 136, - [148] = 139, - [149] = 137, - [150] = 134, - [151] = 45, - [152] = 139, - [153] = 62, - [154] = 154, + [145] = 61, + [146] = 143, + [147] = 138, + [148] = 144, + [149] = 138, + [150] = 150, + [151] = 144, + [152] = 152, + [153] = 49, + [154] = 59, [155] = 155, - [156] = 156, - [157] = 157, - [158] = 156, - [159] = 159, + [156] = 141, + [157] = 150, + [158] = 141, + [159] = 143, [160] = 160, - [161] = 159, - [162] = 156, - [163] = 157, + [161] = 160, + [162] = 162, + [163] = 73, [164] = 164, - [165] = 165, + [165] = 72, [166] = 166, [167] = 167, [168] = 168, - [169] = 6, - [170] = 159, - [171] = 156, - [172] = 159, - [173] = 156, - [174] = 165, - [175] = 175, - [176] = 166, - [177] = 177, - [178] = 160, - [179] = 159, - [180] = 168, - [181] = 156, - [182] = 182, - [183] = 183, + [169] = 169, + [170] = 170, + [171] = 164, + [172] = 172, + [173] = 173, + [174] = 174, + [175] = 166, + [176] = 176, + [177] = 170, + [178] = 169, + [179] = 170, + [180] = 169, + [181] = 181, + [182] = 172, + [183] = 162, [184] = 184, - [185] = 185, - [186] = 167, - [187] = 157, - [188] = 164, - [189] = 189, - [190] = 167, - [191] = 69, - [192] = 192, - [193] = 193, - [194] = 194, - [195] = 157, - [196] = 168, - [197] = 159, - [198] = 177, + [185] = 174, + [186] = 184, + [187] = 176, + [188] = 188, + [189] = 170, + [190] = 169, + [191] = 176, + [192] = 173, + [193] = 73, + [194] = 167, + [195] = 195, + [196] = 196, + [197] = 166, + [198] = 198, [199] = 199, - [200] = 165, - [201] = 157, - [202] = 7, - [203] = 159, - [204] = 157, - [205] = 157, - [206] = 71, - [207] = 175, - [208] = 168, - [209] = 209, - [210] = 182, - [211] = 156, - [212] = 183, - [213] = 166, - [214] = 17, - [215] = 69, - [216] = 216, - [217] = 156, + [200] = 168, + [201] = 169, + [202] = 170, + [203] = 168, + [204] = 169, + [205] = 168, + [206] = 181, + [207] = 170, + [208] = 188, + [209] = 168, + [210] = 210, + [211] = 211, + [212] = 174, + [213] = 213, + [214] = 214, + [215] = 181, + [216] = 168, + [217] = 217, [218] = 218, - [219] = 159, - [220] = 14, + [219] = 219, + [220] = 172, [221] = 221, - [222] = 7, - [223] = 223, - [224] = 155, - [225] = 157, - [226] = 6, - [227] = 17, - [228] = 14, - [229] = 229, - [230] = 230, + [222] = 222, + [223] = 222, + [224] = 224, + [225] = 225, + [226] = 226, + [227] = 224, + [228] = 225, + [229] = 226, + [230] = 131, [231] = 231, - [232] = 232, - [233] = 229, - [234] = 230, - [235] = 232, - [236] = 231, - [237] = 237, - [238] = 238, - [239] = 237, - [240] = 240, + [232] = 231, + [233] = 122, + [234] = 234, + [235] = 235, + [236] = 136, + [237] = 59, + [238] = 49, + [239] = 142, + [240] = 152, [241] = 241, [242] = 242, - [243] = 243, - [244] = 244, - [245] = 218, - [246] = 246, + [243] = 213, + [244] = 198, + [245] = 196, + [246] = 195, [247] = 247, [248] = 248, [249] = 249, - [250] = 250, + [250] = 184, [251] = 251, - [252] = 252, - [253] = 253, - [254] = 254, - [255] = 255, - [256] = 256, - [257] = 257, - [258] = 258, - [259] = 259, - [260] = 113, - [261] = 107, - [262] = 123, - [263] = 146, - [264] = 154, - [265] = 192, - [266] = 209, - [267] = 189, - [268] = 199, - [269] = 194, + [252] = 214, + [253] = 217, + [254] = 219, + [255] = 218, + [256] = 211, + [257] = 184, + [258] = 210, + [259] = 199, + [260] = 260, + [261] = 261, + [262] = 262, + [263] = 263, + [264] = 264, + [265] = 265, + [266] = 266, + [267] = 267, + [268] = 268, + [269] = 269, [270] = 270, - [271] = 164, - [272] = 193, - [273] = 164, - [274] = 223, - [275] = 184, - [276] = 221, - [277] = 185, - [278] = 270, + [271] = 271, + [272] = 272, + [273] = 273, + [274] = 274, + [275] = 274, + [276] = 274, + [277] = 277, + [278] = 278, [279] = 279, [280] = 280, [281] = 281, - [282] = 280, - [283] = 283, + [282] = 282, + [283] = 277, [284] = 284, [285] = 285, - [286] = 286, - [287] = 279, - [288] = 288, - [289] = 280, + [286] = 282, + [287] = 280, + [288] = 277, + [289] = 289, [290] = 290, - [291] = 285, - [292] = 290, - [293] = 293, - [294] = 285, - [295] = 295, - [296] = 296, - [297] = 279, - [298] = 296, - [299] = 285, - [300] = 280, - [301] = 301, - [302] = 295, - [303] = 284, - [304] = 283, - [305] = 290, - [306] = 284, - [307] = 296, - [308] = 279, - [309] = 290, + [291] = 291, + [292] = 292, + [293] = 280, + [294] = 282, + [295] = 290, + [296] = 289, + [297] = 285, + [298] = 284, + [299] = 289, + [300] = 290, + [301] = 285, + [302] = 302, + [303] = 303, + [304] = 304, + [305] = 305, + [306] = 306, + [307] = 307, + [308] = 308, + [309] = 309, [310] = 310, [311] = 311, - [312] = 312, - [313] = 313, + [312] = 307, + [313] = 309, [314] = 314, [315] = 315, - [316] = 313, + [316] = 311, [317] = 315, - [318] = 318, - [319] = 315, - [320] = 320, - [321] = 321, - [322] = 320, + [318] = 309, + [319] = 314, + [320] = 315, + [321] = 309, + [322] = 309, [323] = 314, - [324] = 312, - [325] = 318, - [326] = 314, - [327] = 327, - [328] = 313, - [329] = 315, - [330] = 313, - [331] = 331, - [332] = 332, - [333] = 315, + [324] = 305, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1038,31 +1029,31 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (eof) ADVANCE(25); if (lookahead == '!') ADVANCE(11); if (lookahead == '"') ADVANCE(6); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); if (lookahead == '\'') ADVANCE(9); if (lookahead == '(') ADVANCE(52); if (lookahead == ')') ADVANCE(53); - if (lookahead == '*') ADVANCE(60); + if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); if (lookahead == ',') ADVANCE(31); if (lookahead == '-') ADVANCE(58); if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); + if (lookahead == '/') ADVANCE(60); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); if (lookahead == ':') ADVANCE(50); if (lookahead == ';') ADVANCE(30); - if (lookahead == '<') ADVANCE(69); + if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(49); - if (lookahead == '>') ADVANCE(68); + if (lookahead == '>') ADVANCE(67); if (lookahead == '[') ADVANCE(46); if (lookahead == ']') ADVANCE(47); - if (lookahead == '`') ADVANCE(15); + if (lookahead == '`') ADVANCE(14); if (lookahead == 'a') ADVANCE(39); if (lookahead == 'e') ADVANCE(37); if (lookahead == '{') ADVANCE(28); - if (lookahead == '|') ADVANCE(78); + if (lookahead == '|') ADVANCE(77); if (lookahead == '}') ADVANCE(29); if (lookahead == '\t' || lookahead == '\n' || @@ -1074,29 +1065,29 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 1: if (lookahead == '!') ADVANCE(11); if (lookahead == '"') ADVANCE(6); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); if (lookahead == '\'') ADVANCE(9); if (lookahead == '(') ADVANCE(52); if (lookahead == ')') ADVANCE(53); - if (lookahead == '*') ADVANCE(60); - if (lookahead == '+') ADVANCE(54); + if (lookahead == '*') ADVANCE(59); + if (lookahead == '+') ADVANCE(55); if (lookahead == ',') ADVANCE(31); - if (lookahead == '-') ADVANCE(59); + if (lookahead == '-') ADVANCE(58); if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); + if (lookahead == '/') ADVANCE(60); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); if (lookahead == ':') ADVANCE(50); if (lookahead == ';') ADVANCE(30); - if (lookahead == '<') ADVANCE(69); - if (lookahead == '=') ADVANCE(12); - if (lookahead == '>') ADVANCE(68); + if (lookahead == '<') ADVANCE(68); + if (lookahead == '=') ADVANCE(48); + if (lookahead == '>') ADVANCE(67); if (lookahead == '[') ADVANCE(46); if (lookahead == ']') ADVANCE(47); - if (lookahead == '`') ADVANCE(15); + if (lookahead == '`') ADVANCE(14); if (lookahead == '{') ADVANCE(28); - if (lookahead == '|') ADVANCE(22); + if (lookahead == '|') ADVANCE(21); if (lookahead == '}') ADVANCE(29); if (lookahead == '\t' || lookahead == '\n' || @@ -1107,22 +1098,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 2: if (lookahead == '!') ADVANCE(11); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); - if (lookahead == '*') ADVANCE(60); + if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); if (lookahead == ',') ADVANCE(31); if (lookahead == '-') ADVANCE(56); if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); + if (lookahead == '/') ADVANCE(60); if (lookahead == ':') ADVANCE(50); if (lookahead == ';') ADVANCE(30); - if (lookahead == '<') ADVANCE(69); + if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(49); - if (lookahead == '>') ADVANCE(68); + if (lookahead == '>') ADVANCE(67); if (lookahead == '{') ADVANCE(28); - if (lookahead == '|') ADVANCE(22); + if (lookahead == '|') ADVANCE(21); if (lookahead == '}') ADVANCE(29); if (lookahead == '\t' || lookahead == '\n' || @@ -1134,21 +1125,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 3: if (lookahead == '!') ADVANCE(11); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); - if (lookahead == '*') ADVANCE(60); + if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); if (lookahead == ',') ADVANCE(31); if (lookahead == '-') ADVANCE(56); - if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); + if (lookahead == '/') ADVANCE(60); if (lookahead == ':') ADVANCE(50); if (lookahead == ';') ADVANCE(30); - if (lookahead == '<') ADVANCE(69); + if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(48); - if (lookahead == '>') ADVANCE(68); - if (lookahead == '|') ADVANCE(22); + if (lookahead == '>') ADVANCE(67); + if (lookahead == '|') ADVANCE(21); if (lookahead == '}') ADVANCE(29); if (lookahead == '\t' || lookahead == '\n' || @@ -1160,70 +1150,59 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 4: if (lookahead == '!') ADVANCE(11); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); - if (lookahead == '*') ADVANCE(60); + if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(54); - if (lookahead == ',') ADVANCE(31); if (lookahead == '-') ADVANCE(57); - if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); + if (lookahead == '/') ADVANCE(60); if (lookahead == ':') ADVANCE(50); - if (lookahead == ';') ADVANCE(30); - if (lookahead == '<') ADVANCE(69); - if (lookahead == '=') ADVANCE(13); - if (lookahead == '>') ADVANCE(68); - if (lookahead == 'e') ADVANCE(37); - if (lookahead == '{') ADVANCE(28); - if (lookahead == '|') ADVANCE(22); - if (lookahead == '}') ADVANCE(29); + if (lookahead == '<') ADVANCE(68); + if (lookahead == '=') ADVANCE(12); + if (lookahead == '>') ADVANCE(67); + if (lookahead == '|') ADVANCE(21); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(4) - if (('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(42); END_STATE(); case 5: - if (lookahead == '!') ADVANCE(11); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); - if (lookahead == '&') ADVANCE(8); - if (lookahead == '*') ADVANCE(60); - if (lookahead == '+') ADVANCE(54); - if (lookahead == '-') ADVANCE(57); - if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); - if (lookahead == ':') ADVANCE(50); - if (lookahead == '<') ADVANCE(69); - if (lookahead == '=') ADVANCE(13); - if (lookahead == '>') ADVANCE(68); + if (lookahead == '"') ADVANCE(6); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '\'') ADVANCE(9); + if (lookahead == '(') ADVANCE(52); + if (lookahead == ',') ADVANCE(31); + if (lookahead == '-') ADVANCE(22); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); + if (lookahead == ';') ADVANCE(30); + if (lookahead == '>') ADVANCE(66); + if (lookahead == '[') ADVANCE(46); + if (lookahead == '`') ADVANCE(14); + if (lookahead == 'e') ADVANCE(37); if (lookahead == '{') ADVANCE(28); - if (lookahead == '|') ADVANCE(22); + if (lookahead == '}') ADVANCE(29); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(5) if (('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(42); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(42); END_STATE(); case 6: if (lookahead == '"') ADVANCE(45); if (lookahead != 0) ADVANCE(6); END_STATE(); case 7: - if (lookahead == '#') ADVANCE(21); + if (lookahead == '#') ADVANCE(20); if (lookahead == '(') ADVANCE(52); if (lookahead == ')') ADVANCE(53); if (lookahead == ',') ADVANCE(31); - if (lookahead == '-') ADVANCE(14); - if (lookahead == '>') ADVANCE(67); + if (lookahead == '-') ADVANCE(13); + if (lookahead == '>') ADVANCE(66); if (lookahead == '[') ADVANCE(46); if (lookahead == ']') ADVANCE(47); - if (lookahead == '|') ADVANCE(78); + if (lookahead == '|') ADVANCE(77); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1233,7 +1212,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('a' <= lookahead && lookahead <= 'z')) ADVANCE(42); END_STATE(); case 8: - if (lookahead == '&') ADVANCE(65); + if (lookahead == '&') ADVANCE(64); END_STATE(); case 9: if (lookahead == '\'') ADVANCE(45); @@ -1243,45 +1222,45 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '.') ADVANCE(51); END_STATE(); case 11: - if (lookahead == '=') ADVANCE(64); + if (lookahead == '=') ADVANCE(63); END_STATE(); case 12: - if (lookahead == '=') ADVANCE(63); + if (lookahead == '=') ADVANCE(62); + if (lookahead == '>') ADVANCE(74); END_STATE(); case 13: - if (lookahead == '=') ADVANCE(63); - if (lookahead == '>') ADVANCE(75); + if (lookahead == '>') ADVANCE(76); END_STATE(); case 14: - if (lookahead == '>') ADVANCE(77); + if (lookahead == '`') ADVANCE(45); + if (lookahead != 0) ADVANCE(14); END_STATE(); case 15: - if (lookahead == '`') ADVANCE(45); - if (lookahead != 0) ADVANCE(15); + if (lookahead == 'f') ADVANCE(18); END_STATE(); case 16: - if (lookahead == 'f') ADVANCE(19); + if (lookahead == 'f') ADVANCE(73); END_STATE(); case 17: - if (lookahead == 'f') ADVANCE(74); + if (lookahead == 'i') ADVANCE(16); END_STATE(); case 18: - if (lookahead == 'i') ADVANCE(17); + if (lookahead == 'o') ADVANCE(19); END_STATE(); case 19: - if (lookahead == 'o') ADVANCE(20); + if (lookahead == 'r') ADVANCE(75); END_STATE(); case 20: - if (lookahead == 'r') ADVANCE(76); - END_STATE(); - case 21: if (lookahead == '|') ADVANCE(27); if (lookahead == '\n' || lookahead == '#') ADVANCE(26); - if (lookahead != 0) ADVANCE(21); + if (lookahead != 0) ADVANCE(20); + END_STATE(); + case 21: + if (lookahead == '|') ADVANCE(65); END_STATE(); case 22: - if (lookahead == '|') ADVANCE(66); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); END_STATE(); case 23: if (('0' <= lookahead && lookahead <= '9')) ADVANCE(44); @@ -1290,27 +1269,27 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (eof) ADVANCE(25); if (lookahead == '!') ADVANCE(11); if (lookahead == '"') ADVANCE(6); - if (lookahead == '#') ADVANCE(21); - if (lookahead == '%') ADVANCE(62); + if (lookahead == '#') ADVANCE(20); + if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); if (lookahead == '\'') ADVANCE(9); if (lookahead == '(') ADVANCE(52); - if (lookahead == '*') ADVANCE(60); + if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); if (lookahead == '-') ADVANCE(58); if (lookahead == '.') ADVANCE(10); - if (lookahead == '/') ADVANCE(61); + if (lookahead == '/') ADVANCE(60); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); if (lookahead == ':') ADVANCE(50); if (lookahead == ';') ADVANCE(30); - if (lookahead == '<') ADVANCE(69); + if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(48); - if (lookahead == '>') ADVANCE(68); + if (lookahead == '>') ADVANCE(67); if (lookahead == '[') ADVANCE(46); - if (lookahead == '`') ADVANCE(15); + if (lookahead == '`') ADVANCE(14); if (lookahead == 'a') ADVANCE(39); if (lookahead == '{') ADVANCE(28); - if (lookahead == '|') ADVANCE(22); + if (lookahead == '|') ADVANCE(21); if (lookahead == '}') ADVANCE(29); if (lookahead == '\t' || lookahead == '\n' || @@ -1330,7 +1309,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '|') ADVANCE(27); if (lookahead == '\n' || lookahead == '#') ADVANCE(26); - if (lookahead != 0) ADVANCE(21); + if (lookahead != 0) ADVANCE(20); END_STATE(); case 28: ACCEPT_TOKEN(anon_sym_LBRACE); @@ -1349,7 +1328,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 33: ACCEPT_TOKEN(sym_identifier); - if (lookahead == ' ') ADVANCE(18); + if (lookahead == ' ') ADVANCE(17); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || @@ -1357,7 +1336,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 34: ACCEPT_TOKEN(sym_identifier); - if (lookahead == ' ') ADVANCE(16); + if (lookahead == ' ') ADVANCE(15); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || @@ -1446,12 +1425,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 48: ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(63); + if (lookahead == '=') ADVANCE(62); END_STATE(); case 49: ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(63); - if (lookahead == '>') ADVANCE(75); + if (lookahead == '=') ADVANCE(62); + if (lookahead == '>') ADVANCE(74); END_STATE(); case 50: ACCEPT_TOKEN(anon_sym_COLON); @@ -1470,85 +1449,80 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 55: ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '=') ADVANCE(72); + if (lookahead == '=') ADVANCE(71); END_STATE(); case 56: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(73); - if (lookahead == '>') ADVANCE(77); + if (lookahead == '=') ADVANCE(72); + if (lookahead == '>') ADVANCE(76); END_STATE(); case 57: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '>') ADVANCE(77); + if (lookahead == '>') ADVANCE(76); END_STATE(); case 58: ACCEPT_TOKEN(anon_sym_DASH); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); - if (lookahead == '=') ADVANCE(73); - if (lookahead == '>') ADVANCE(77); + if (lookahead == '=') ADVANCE(72); + if (lookahead == '>') ADVANCE(76); END_STATE(); case 59: - ACCEPT_TOKEN(anon_sym_DASH); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); - if (lookahead == '>') ADVANCE(77); - END_STATE(); - case 60: ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); - case 61: + case 60: ACCEPT_TOKEN(anon_sym_SLASH); END_STATE(); - case 62: + case 61: ACCEPT_TOKEN(anon_sym_PERCENT); END_STATE(); - case 63: + case 62: ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); - case 64: + case 63: ACCEPT_TOKEN(anon_sym_BANG_EQ); END_STATE(); - case 65: + case 64: ACCEPT_TOKEN(anon_sym_AMP_AMP); END_STATE(); - case 66: + case 65: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); END_STATE(); + case 66: + ACCEPT_TOKEN(anon_sym_GT); + END_STATE(); case 67: ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(69); END_STATE(); case 68: - ACCEPT_TOKEN(anon_sym_GT); + ACCEPT_TOKEN(anon_sym_LT); if (lookahead == '=') ADVANCE(70); END_STATE(); case 69: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '=') ADVANCE(71); - END_STATE(); - case 70: ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); - case 71: + case 70: ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); - case 72: + case 71: ACCEPT_TOKEN(anon_sym_PLUS_EQ); END_STATE(); - case 73: + case 72: ACCEPT_TOKEN(anon_sym_DASH_EQ); END_STATE(); - case 74: + case 73: ACCEPT_TOKEN(anon_sym_elseif); END_STATE(); - case 75: + case 74: ACCEPT_TOKEN(anon_sym_EQ_GT); END_STATE(); - case 76: + case 75: ACCEPT_TOKEN(anon_sym_asyncfor); END_STATE(); - case 77: + case 76: ACCEPT_TOKEN(anon_sym_DASH_GT); END_STATE(); - case 78: + case 77: ACCEPT_TOKEN(anon_sym_PIPE); END_STATE(); default: @@ -1811,27 +1785,27 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [34] = {.lex_state = 24}, [35] = {.lex_state = 24}, [36] = {.lex_state = 24}, - [37] = {.lex_state = 24}, + [37] = {.lex_state = 1}, [38] = {.lex_state = 24}, [39] = {.lex_state = 24}, [40] = {.lex_state = 24}, - [41] = {.lex_state = 24}, - [42] = {.lex_state = 24}, + [41] = {.lex_state = 1}, + [42] = {.lex_state = 1}, [43] = {.lex_state = 24}, - [44] = {.lex_state = 24}, + [44] = {.lex_state = 1}, [45] = {.lex_state = 24}, [46] = {.lex_state = 24}, [47] = {.lex_state = 24}, - [48] = {.lex_state = 1}, - [49] = {.lex_state = 1}, + [48] = {.lex_state = 24}, + [49] = {.lex_state = 24}, [50] = {.lex_state = 24}, [51] = {.lex_state = 24}, - [52] = {.lex_state = 1}, - [53] = {.lex_state = 24}, - [54] = {.lex_state = 1}, + [52] = {.lex_state = 24}, + [53] = {.lex_state = 1}, + [54] = {.lex_state = 24}, [55] = {.lex_state = 24}, [56] = {.lex_state = 24}, - [57] = {.lex_state = 1}, + [57] = {.lex_state = 24}, [58] = {.lex_state = 24}, [59] = {.lex_state = 24}, [60] = {.lex_state = 24}, @@ -1839,16 +1813,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [62] = {.lex_state = 24}, [63] = {.lex_state = 24}, [64] = {.lex_state = 24}, - [65] = {.lex_state = 1}, + [65] = {.lex_state = 24}, [66] = {.lex_state = 24}, [67] = {.lex_state = 1}, - [68] = {.lex_state = 1}, + [68] = {.lex_state = 24}, [69] = {.lex_state = 24}, [70] = {.lex_state = 24}, [71] = {.lex_state = 24}, [72] = {.lex_state = 24}, [73] = {.lex_state = 24}, - [74] = {.lex_state = 1}, + [74] = {.lex_state = 24}, [75] = {.lex_state = 1}, [76] = {.lex_state = 1}, [77] = {.lex_state = 1}, @@ -1878,55 +1852,55 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [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 = 0}, + [104] = {.lex_state = 1}, + [105] = {.lex_state = 1}, + [106] = {.lex_state = 1}, + [107] = {.lex_state = 1}, [108] = {.lex_state = 2}, - [109] = {.lex_state = 2}, - [110] = {.lex_state = 2}, + [109] = {.lex_state = 1}, + [110] = {.lex_state = 1}, [111] = {.lex_state = 2}, [112] = {.lex_state = 2}, - [113] = {.lex_state = 0}, + [113] = {.lex_state = 2}, [114] = {.lex_state = 2}, [115] = {.lex_state = 2}, [116] = {.lex_state = 2}, [117] = {.lex_state = 2}, [118] = {.lex_state = 2}, [119] = {.lex_state = 2}, - [120] = {.lex_state = 4}, - [121] = {.lex_state = 3}, - [122] = {.lex_state = 4}, - [123] = {.lex_state = 0}, - [124] = {.lex_state = 1}, - [125] = {.lex_state = 3}, - [126] = {.lex_state = 3}, - [127] = {.lex_state = 3}, - [128] = {.lex_state = 3}, - [129] = {.lex_state = 1}, - [130] = {.lex_state = 3}, - [131] = {.lex_state = 3}, - [132] = {.lex_state = 3}, - [133] = {.lex_state = 3}, - [134] = {.lex_state = 1}, - [135] = {.lex_state = 1}, - [136] = {.lex_state = 1}, - [137] = {.lex_state = 1}, + [120] = {.lex_state = 2}, + [121] = {.lex_state = 2}, + [122] = {.lex_state = 0}, + [123] = {.lex_state = 2}, + [124] = {.lex_state = 2}, + [125] = {.lex_state = 2}, + [126] = {.lex_state = 2}, + [127] = {.lex_state = 2}, + [128] = {.lex_state = 2}, + [129] = {.lex_state = 2}, + [130] = {.lex_state = 2}, + [131] = {.lex_state = 0}, + [132] = {.lex_state = 2}, + [133] = {.lex_state = 2}, + [134] = {.lex_state = 2}, + [135] = {.lex_state = 2}, + [136] = {.lex_state = 0}, + [137] = {.lex_state = 3}, [138] = {.lex_state = 1}, [139] = {.lex_state = 1}, [140] = {.lex_state = 1}, - [141] = {.lex_state = 3}, - [142] = {.lex_state = 3}, - [143] = {.lex_state = 3}, + [141] = {.lex_state = 1}, + [142] = {.lex_state = 0}, + [143] = {.lex_state = 1}, [144] = {.lex_state = 1}, - [145] = {.lex_state = 1}, - [146] = {.lex_state = 0}, + [145] = {.lex_state = 3}, + [146] = {.lex_state = 1}, [147] = {.lex_state = 1}, [148] = {.lex_state = 1}, [149] = {.lex_state = 1}, [150] = {.lex_state = 1}, - [151] = {.lex_state = 0}, - [152] = {.lex_state = 1}, + [151] = {.lex_state = 1}, + [152] = {.lex_state = 0}, [153] = {.lex_state = 0}, [154] = {.lex_state = 0}, [155] = {.lex_state = 1}, @@ -1937,13 +1911,13 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [160] = {.lex_state = 1}, [161] = {.lex_state = 1}, [162] = {.lex_state = 1}, - [163] = {.lex_state = 1}, - [164] = {.lex_state = 24}, - [165] = {.lex_state = 1}, + [163] = {.lex_state = 2}, + [164] = {.lex_state = 1}, + [165] = {.lex_state = 2}, [166] = {.lex_state = 1}, [167] = {.lex_state = 1}, [168] = {.lex_state = 1}, - [169] = {.lex_state = 5}, + [169] = {.lex_state = 1}, [170] = {.lex_state = 1}, [171] = {.lex_state = 1}, [172] = {.lex_state = 1}, @@ -1959,73 +1933,73 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [182] = {.lex_state = 1}, [183] = {.lex_state = 1}, [184] = {.lex_state = 24}, - [185] = {.lex_state = 24}, - [186] = {.lex_state = 1}, + [185] = {.lex_state = 1}, + [186] = {.lex_state = 24}, [187] = {.lex_state = 1}, - [188] = {.lex_state = 24}, - [189] = {.lex_state = 24}, + [188] = {.lex_state = 1}, + [189] = {.lex_state = 1}, [190] = {.lex_state = 1}, - [191] = {.lex_state = 2}, - [192] = {.lex_state = 24}, - [193] = {.lex_state = 24}, - [194] = {.lex_state = 24}, - [195] = {.lex_state = 1}, - [196] = {.lex_state = 1}, + [191] = {.lex_state = 1}, + [192] = {.lex_state = 1}, + [193] = {.lex_state = 2}, + [194] = {.lex_state = 1}, + [195] = {.lex_state = 24}, + [196] = {.lex_state = 24}, [197] = {.lex_state = 1}, - [198] = {.lex_state = 1}, + [198] = {.lex_state = 24}, [199] = {.lex_state = 24}, [200] = {.lex_state = 1}, [201] = {.lex_state = 1}, - [202] = {.lex_state = 5}, + [202] = {.lex_state = 1}, [203] = {.lex_state = 1}, [204] = {.lex_state = 1}, [205] = {.lex_state = 1}, - [206] = {.lex_state = 2}, + [206] = {.lex_state = 1}, [207] = {.lex_state = 1}, [208] = {.lex_state = 1}, - [209] = {.lex_state = 24}, - [210] = {.lex_state = 1}, - [211] = {.lex_state = 1}, + [209] = {.lex_state = 1}, + [210] = {.lex_state = 24}, + [211] = {.lex_state = 24}, [212] = {.lex_state = 1}, - [213] = {.lex_state = 1}, - [214] = {.lex_state = 5}, - [215] = {.lex_state = 2}, + [213] = {.lex_state = 24}, + [214] = {.lex_state = 24}, + [215] = {.lex_state = 1}, [216] = {.lex_state = 1}, - [217] = {.lex_state = 1}, + [217] = {.lex_state = 24}, [218] = {.lex_state = 24}, - [219] = {.lex_state = 1}, - [220] = {.lex_state = 5}, - [221] = {.lex_state = 24}, - [222] = {.lex_state = 5}, - [223] = {.lex_state = 24}, - [224] = {.lex_state = 1}, - [225] = {.lex_state = 1}, - [226] = {.lex_state = 5}, - [227] = {.lex_state = 5}, - [228] = {.lex_state = 5}, + [219] = {.lex_state = 24}, + [220] = {.lex_state = 1}, + [221] = {.lex_state = 1}, + [222] = {.lex_state = 2}, + [223] = {.lex_state = 2}, + [224] = {.lex_state = 2}, + [225] = {.lex_state = 2}, + [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}, - [233] = {.lex_state = 2}, - [234] = {.lex_state = 2}, - [235] = {.lex_state = 2}, - [236] = {.lex_state = 2}, - [237] = {.lex_state = 4}, - [238] = {.lex_state = 24}, - [239] = {.lex_state = 4}, - [240] = {.lex_state = 7}, + [233] = {.lex_state = 5}, + [234] = {.lex_state = 4}, + [235] = {.lex_state = 24}, + [236] = {.lex_state = 5}, + [237] = {.lex_state = 5}, + [238] = {.lex_state = 5}, + [239] = {.lex_state = 5}, + [240] = {.lex_state = 5}, [241] = {.lex_state = 7}, [242] = {.lex_state = 7}, - [243] = {.lex_state = 7}, - [244] = {.lex_state = 7}, + [243] = {.lex_state = 1}, + [244] = {.lex_state = 1}, [245] = {.lex_state = 1}, - [246] = {.lex_state = 7}, - [247] = {.lex_state = 1}, - [248] = {.lex_state = 1}, - [249] = {.lex_state = 1}, + [246] = {.lex_state = 1}, + [247] = {.lex_state = 7}, + [248] = {.lex_state = 7}, + [249] = {.lex_state = 7}, [250] = {.lex_state = 1}, - [251] = {.lex_state = 1}, + [251] = {.lex_state = 7}, [252] = {.lex_state = 1}, [253] = {.lex_state = 1}, [254] = {.lex_state = 1}, @@ -2034,80 +2008,71 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [257] = {.lex_state = 1}, [258] = {.lex_state = 1}, [259] = {.lex_state = 1}, - [260] = {.lex_state = 4}, - [261] = {.lex_state = 4}, - [262] = {.lex_state = 4}, - [263] = {.lex_state = 4}, - [264] = {.lex_state = 4}, + [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}, [269] = {.lex_state = 1}, - [270] = {.lex_state = 24}, + [270] = {.lex_state = 1}, [271] = {.lex_state = 1}, [272] = {.lex_state = 1}, [273] = {.lex_state = 1}, - [274] = {.lex_state = 1}, - [275] = {.lex_state = 1}, - [276] = {.lex_state = 1}, - [277] = {.lex_state = 1}, - [278] = {.lex_state = 24}, + [274] = {.lex_state = 24}, + [275] = {.lex_state = 24}, + [276] = {.lex_state = 24}, + [277] = {.lex_state = 7}, + [278] = {.lex_state = 7}, [279] = {.lex_state = 1}, - [280] = {.lex_state = 7}, + [280] = {.lex_state = 1}, [281] = {.lex_state = 24}, - [282] = {.lex_state = 7}, - [283] = {.lex_state = 1}, + [282] = {.lex_state = 1}, + [283] = {.lex_state = 7}, [284] = {.lex_state = 1}, - [285] = {.lex_state = 7}, + [285] = {.lex_state = 1}, [286] = {.lex_state = 1}, [287] = {.lex_state = 1}, - [288] = {.lex_state = 1}, - [289] = {.lex_state = 7}, - [290] = {.lex_state = 1}, - [291] = {.lex_state = 7}, - [292] = {.lex_state = 1}, - [293] = {.lex_state = 7}, - [294] = {.lex_state = 7}, - [295] = {.lex_state = 1}, + [288] = {.lex_state = 7}, + [289] = {.lex_state = 1}, + [290] = {.lex_state = 7}, + [291] = {.lex_state = 1}, + [292] = {.lex_state = 7}, + [293] = {.lex_state = 1}, + [294] = {.lex_state = 1}, + [295] = {.lex_state = 7}, [296] = {.lex_state = 1}, [297] = {.lex_state = 1}, [298] = {.lex_state = 1}, - [299] = {.lex_state = 7}, + [299] = {.lex_state = 1}, [300] = {.lex_state = 7}, - [301] = {.lex_state = 7}, - [302] = {.lex_state = 1}, + [301] = {.lex_state = 1}, + [302] = {.lex_state = 7}, [303] = {.lex_state = 1}, - [304] = {.lex_state = 1}, + [304] = {.lex_state = 0}, [305] = {.lex_state = 1}, - [306] = {.lex_state = 1}, - [307] = {.lex_state = 1}, - [308] = {.lex_state = 1}, - [309] = {.lex_state = 1}, - [310] = {.lex_state = 1}, - [311] = {.lex_state = 7}, - [312] = {.lex_state = 1}, + [306] = {.lex_state = 5}, + [307] = {.lex_state = 0}, + [308] = {.lex_state = 0}, + [309] = {.lex_state = 0}, + [310] = {.lex_state = 24}, + [311] = {.lex_state = 1}, + [312] = {.lex_state = 0}, [313] = {.lex_state = 0}, [314] = {.lex_state = 0}, [315] = {.lex_state = 0}, - [316] = {.lex_state = 0}, + [316] = {.lex_state = 1}, [317] = {.lex_state = 0}, - [318] = {.lex_state = 1}, + [318] = {.lex_state = 0}, [319] = {.lex_state = 0}, [320] = {.lex_state = 0}, - [321] = {.lex_state = 7}, + [321] = {.lex_state = 0}, [322] = {.lex_state = 0}, [323] = {.lex_state = 0}, [324] = {.lex_state = 1}, - [325] = {.lex_state = 1}, - [326] = {.lex_state = 0}, - [327] = {.lex_state = 0}, - [328] = {.lex_state = 0}, - [329] = {.lex_state = 0}, - [330] = {.lex_state = 0}, - [331] = {.lex_state = 24}, - [332] = {.lex_state = 0}, - [333] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2169,30 +2134,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_PIPE] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(332), - [sym_block] = STATE(164), - [sym_statement] = STATE(11), - [sym_expression] = STATE(70), - [sym_value] = STATE(40), - [sym_boolean] = STATE(53), - [sym_list] = STATE(53), - [sym_map] = STATE(53), - [sym_index] = STATE(41), - [sym_math] = STATE(40), - [sym_logic] = STATE(40), - [sym_assignment] = STATE(164), - [sym_index_assignment] = STATE(164), - [sym_if_else] = STATE(164), - [sym_if] = STATE(107), - [sym_match] = STATE(164), - [sym_while] = STATE(164), - [sym_for] = STATE(164), - [sym_return] = STATE(164), - [sym_use] = STATE(164), - [sym_function] = STATE(53), - [sym_function_call] = STATE(40), - [sym_yield] = STATE(40), - [aux_sym_root_repeat1] = STATE(11), + [sym_root] = STATE(308), + [sym_block] = STATE(184), + [sym_statement] = STATE(21), + [sym_expression] = STATE(74), + [sym_value] = STATE(62), + [sym_boolean] = STATE(40), + [sym_list] = STATE(40), + [sym_map] = STATE(40), + [sym_index] = STATE(61), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(184), + [sym_index_assignment] = STATE(184), + [sym_if_else] = STATE(184), + [sym_if] = STATE(131), + [sym_match] = STATE(184), + [sym_while] = STATE(184), + [sym_for] = STATE(184), + [sym_return] = STATE(184), + [sym_use] = STATE(184), + [sym_function] = STATE(40), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [aux_sym_root_repeat1] = STATE(21), [sym_identifier] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -2249,13 +2214,13 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(39), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, - STATE(296), 1, + STATE(299), 1, aux_sym_map_repeat1, ACTIONS(13), 2, sym_float, @@ -2263,21 +2228,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(5), 2, + STATE(9), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2287,77 +2252,7 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [97] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(46), 1, - anon_sym_async, - ACTIONS(49), 1, - anon_sym_LBRACE, - ACTIONS(52), 1, - sym_integer, - ACTIONS(61), 1, - anon_sym_LBRACK, - ACTIONS(64), 1, - anon_sym_LPAREN, - ACTIONS(67), 1, - anon_sym_if, - ACTIONS(70), 1, - anon_sym_match, - ACTIONS(73), 1, - anon_sym_while, - ACTIONS(76), 1, - anon_sym_for, - ACTIONS(79), 1, - anon_sym_asyncfor, - ACTIONS(82), 1, - anon_sym_return, - ACTIONS(85), 1, - anon_sym_use, - ACTIONS(88), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(41), 2, - ts_builtin_sym_end, - anon_sym_RBRACE, - ACTIONS(55), 2, - sym_float, - sym_string, - ACTIONS(58), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [192] = 26, + [97] = 26, ACTIONS(3), 1, sym__comment, ACTIONS(7), 1, @@ -2388,15 +2283,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_fn, ACTIONS(37), 1, sym_identifier, - ACTIONS(91), 1, + ACTIONS(41), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, - STATE(298), 1, + STATE(296), 1, aux_sym_map_repeat1, ACTIONS(13), 2, sym_float, @@ -2404,21 +2299,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(15), 2, + STATE(9), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2428,7 +2323,148 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [289] = 25, + [194] = 26, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_RBRACE, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + STATE(289), 1, + aux_sym_map_repeat1, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(17), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [291] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(47), 1, + sym_identifier, + ACTIONS(50), 1, + anon_sym_async, + ACTIONS(53), 1, + anon_sym_LBRACE, + ACTIONS(56), 1, + sym_integer, + ACTIONS(65), 1, + anon_sym_LBRACK, + ACTIONS(68), 1, + anon_sym_LPAREN, + ACTIONS(71), 1, + anon_sym_if, + ACTIONS(74), 1, + anon_sym_match, + ACTIONS(77), 1, + anon_sym_while, + ACTIONS(80), 1, + anon_sym_for, + ACTIONS(83), 1, + anon_sym_asyncfor, + ACTIONS(86), 1, + anon_sym_return, + ACTIONS(89), 1, + anon_sym_use, + ACTIONS(92), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(45), 2, + ts_builtin_sym_end, + anon_sym_RBRACE, + ACTIONS(59), 2, + sym_float, + sym_string, + ACTIONS(62), 2, + anon_sym_true, + anon_sym_false, + STATE(5), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [386] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -2459,13 +2495,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(35), 1, anon_sym_fn, - ACTIONS(93), 1, + ACTIONS(95), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -2473,21 +2509,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2497,106 +2533,7 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [383] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(179), 1, - sym_logic_operator, - STATE(181), 1, - sym_math_operator, - ACTIONS(97), 17, - 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, - anon_sym_fn, - ACTIONS(95), 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, - [437] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(103), 1, - anon_sym_DOT_DOT, - STATE(179), 1, - sym_logic_operator, - STATE(181), 1, - sym_math_operator, - ACTIONS(101), 17, - 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, - anon_sym_fn, - ACTIONS(99), 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, - [493] = 25, + [480] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -2627,13 +2564,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(35), 1, anon_sym_fn, - ACTIONS(105), 1, + ACTIONS(97), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -2641,21 +2578,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2665,14 +2602,152 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [587] = 5, + [574] = 25, ACTIONS(3), 1, sym__comment, - STATE(179), 1, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(99), 1, + anon_sym_RBRACE, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + 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(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [668] = 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(101), 1, + anon_sym_RBRACE, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + 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(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [762] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(189), 1, sym_logic_operator, - STATE(181), 1, + STATE(190), 1, sym_math_operator, - ACTIONS(101), 17, + ACTIONS(105), 17, anon_sym_async, sym_identifier, sym_integer, @@ -2690,7 +2765,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - ACTIONS(99), 23, + ACTIONS(103), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -2714,7 +2789,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [641] = 25, + [816] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -2747,11 +2822,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_fn, ACTIONS(107), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -2759,21 +2834,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2783,7 +2858,7 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [735] = 25, + [910] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -2815,12 +2890,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 1, anon_sym_fn, ACTIONS(109), 1, - ts_builtin_sym_end, - STATE(41), 1, + anon_sym_RBRACE, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -2828,21 +2903,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2852,7 +2927,7 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [829] = 25, + [1004] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -2885,11 +2960,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_fn, ACTIONS(111), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -2897,21 +2972,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2921,85 +2996,14 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [923] = 25, + [1098] = 5, 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(113), 1, - anon_sym_RBRACE, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1017] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(119), 1, - anon_sym_COLON, - STATE(179), 1, + STATE(189), 1, sym_logic_operator, - STATE(181), 1, + STATE(190), 1, sym_math_operator, - ACTIONS(117), 17, + ACTIONS(115), 17, anon_sym_async, sym_identifier, sym_integer, @@ -3017,7 +3021,58 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - ACTIONS(115), 22, + ACTIONS(113), 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, + [1152] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(121), 1, + anon_sym_COLON, + STATE(189), 1, + sym_logic_operator, + STATE(190), 1, + sym_math_operator, + ACTIONS(119), 17, + 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, + anon_sym_fn, + ACTIONS(117), 22, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -3040,76 +3095,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [1073] = 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(121), 1, - anon_sym_RBRACE, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1167] = 25, + [1208] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -3142,11 +3128,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_fn, ACTIONS(123), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -3154,21 +3140,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3178,35 +3164,104 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [1261] = 11, + [1302] = 25, ACTIONS(3), 1, sym__comment, - ACTIONS(119), 1, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(125), 1, + anon_sym_RBRACE, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + 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(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [1396] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(121), 1, anon_sym_COLON, - ACTIONS(137), 1, + ACTIONS(139), 1, anon_sym_DASH_GT, - STATE(179), 1, + STATE(189), 1, sym_logic_operator, - STATE(181), 1, + STATE(190), 1, sym_math_operator, - ACTIONS(129), 2, + ACTIONS(131), 2, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(135), 2, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 3, + ACTIONS(133), 3, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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(125), 12, + ACTIONS(127), 12, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -3219,7 +3274,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_asyncfor, - ACTIONS(127), 13, + ACTIONS(129), 13, anon_sym_async, sym_identifier, sym_integer, @@ -3233,145 +3288,57 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [1327] = 25, + [1462] = 6, 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(139), 1, - anon_sym_RBRACE, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1421] = 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, ACTIONS(141), 1, - anon_sym_RBRACE, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, + anon_sym_DOT_DOT, + STATE(189), 1, + sym_logic_operator, + STATE(190), 1, + sym_math_operator, + ACTIONS(105), 17, + anon_sym_async, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1515] = 25, + 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, + anon_sym_fn, + ACTIONS(103), 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, + [1518] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -3404,711 +3371,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_fn, ACTIONS(143), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1609] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(10), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1700] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - 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(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1791] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(13), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [1882] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(203), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(97), 17, - 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, - anon_sym_fn, - ACTIONS(95), 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, - [1935] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(19), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2026] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2117] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(16), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2208] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(12), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2299] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, - sym_if, - 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(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(164), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [2390] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(145), 1, - anon_sym_COLON, - STATE(203), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(117), 17, - 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, - anon_sym_fn, - ACTIONS(115), 21, - 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_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, - [2445] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(70), 1, - sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -4119,18 +3386,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4140,7 +3407,7 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [2536] = 24, + [1612] = 25, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4171,11 +3438,128 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(35), 1, anon_sym_fn, - STATE(41), 1, + ACTIONS(145), 1, + ts_builtin_sym_end, + STATE(61), 1, sym_index, - STATE(70), 1, + STATE(74), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, + sym_if, + 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(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [1706] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(204), 1, + sym_math_operator, + STATE(207), 1, + sym_logic_operator, + ACTIONS(115), 17, + 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, + anon_sym_fn, + ACTIONS(113), 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, + [1759] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, sym_if, ACTIONS(13), 2, sym_float, @@ -4186,18 +3570,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(20), 2, sym_statement, aux_sym_root_repeat1, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(164), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4207,348 +3591,64 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [2627] = 11, + [1850] = 24, ACTIONS(3), 1, sym__comment, - ACTIONS(137), 1, - anon_sym_DASH_GT, - ACTIONS(145), 1, - anon_sym_COLON, - STATE(203), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(129), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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(125), 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(127), 13, - anon_sym_async, + ACTIONS(5), 1, 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, - anon_sym_fn, - [2692] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(151), 1, - anon_sym_EQ, - ACTIONS(153), 1, - anon_sym_LT, - STATE(46), 1, - sym_assignment_operator, - STATE(270), 1, - sym_type_definition, - ACTIONS(155), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(149), 15, + ACTIONS(7), 1, 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, - anon_sym_fn, - ACTIONS(147), 20, - ts_builtin_sym_end, + ACTIONS(9), 1, 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, - [2751] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(159), 17, - anon_sym_async, - sym_identifier, + ACTIONS(11), 1, 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, - anon_sym_fn, - ACTIONS(157), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, + ACTIONS(17), 1, anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, + ACTIONS(19), 1, 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, - [2799] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(163), 17, - 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, + ACTIONS(21), 1, anon_sym_if, + ACTIONS(23), 1, anon_sym_match, + ACTIONS(25), 1, anon_sym_while, + ACTIONS(27), 1, anon_sym_for, - anon_sym_return, - anon_sym_use, - anon_sym_fn, - ACTIONS(161), 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, + ACTIONS(29), 1, anon_sym_asyncfor, - anon_sym_DASH_GT, - [2847] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(167), 17, - 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, + ACTIONS(31), 1, anon_sym_return, + ACTIONS(33), 1, anon_sym_use, + ACTIONS(35), 1, anon_sym_fn, - ACTIONS(165), 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, - [2895] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(171), 17, - 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, - anon_sym_fn, - ACTIONS(169), 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, - [2943] = 24, - ACTIONS(3), 1, - sym__comment, - ACTIONS(173), 1, - sym_identifier, - ACTIONS(175), 1, - anon_sym_async, - ACTIONS(177), 1, - anon_sym_LBRACE, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(189), 1, - anon_sym_if, - ACTIONS(191), 1, - anon_sym_match, - ACTIONS(193), 1, - anon_sym_while, - ACTIONS(195), 1, - anon_sym_for, - ACTIONS(197), 1, - anon_sym_asyncfor, - ACTIONS(199), 1, - anon_sym_return, - ACTIONS(201), 1, - anon_sym_use, - ACTIONS(203), 1, - anon_sym_fn, - STATE(143), 1, + STATE(61), 1, sym_index, - STATE(191), 1, + STATE(74), 1, sym_expression, - STATE(261), 1, + STATE(131), 1, sym_if, - STATE(288), 1, - sym_statement, - ACTIONS(181), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(6), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(271), 9, + STATE(184), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4558,10 +3658,351 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [3033] = 3, + [1941] = 24, ACTIONS(3), 1, sym__comment, - ACTIONS(149), 17, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(13), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2032] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + 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(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2123] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(9), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2214] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(17), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2305] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(16), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2396] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(147), 1, + anon_sym_COLON, + STATE(204), 1, + sym_math_operator, + STATE(207), 1, + sym_logic_operator, + ACTIONS(119), 17, anon_sym_async, sym_identifier, sym_integer, @@ -4579,7 +4020,356 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - ACTIONS(147), 23, + ACTIONS(117), 21, + 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_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, + [2451] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + 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(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2542] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(139), 1, + anon_sym_DASH_GT, + ACTIONS(147), 1, + anon_sym_COLON, + STATE(204), 1, + sym_math_operator, + STATE(207), 1, + sym_logic_operator, + ACTIONS(131), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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(127), 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(129), 13, + 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, + anon_sym_fn, + [2607] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(12), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2698] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(153), 1, + anon_sym_EQ, + ACTIONS(155), 1, + anon_sym_LT, + STATE(55), 1, + sym_assignment_operator, + STATE(276), 1, + sym_type_definition, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 15, + 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, + anon_sym_fn, + ACTIONS(149), 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, + [2757] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(74), 1, + sym_expression, + STATE(131), 1, + sym_if, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(7), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(184), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [2848] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(161), 17, + 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, + anon_sym_fn, + ACTIONS(159), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -4603,55 +4393,203 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3081] = 6, + [2896] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(151), 1, - anon_sym_EQ, - STATE(58), 1, - sym_assignment_operator, - ACTIONS(155), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(149), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, + ACTIONS(131), 1, anon_sym_DASH, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_RPAREN, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(183), 1, + anon_sym_fn, + STATE(103), 1, + sym_expression, + STATE(148), 1, + aux_sym__expression_list, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - anon_sym_fn, - ACTIONS(147), 20, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(169), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_LPAREN, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(133), 4, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(135), 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(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [2982] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, anon_sym_asyncfor, - anon_sym_DASH_GT, - [3135] = 3, + ACTIONS(201), 1, + anon_sym_return, + ACTIONS(203), 1, + anon_sym_use, + STATE(100), 1, + sym_index, + STATE(104), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(256), 1, + sym_statement, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(257), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3072] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(201), 1, + anon_sym_return, + ACTIONS(203), 1, + anon_sym_use, + STATE(100), 1, + sym_index, + STATE(104), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(254), 1, + sym_statement, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(257), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3162] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(207), 17, @@ -4696,102 +4634,265 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3183] = 3, + [3210] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(211), 17, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, + ACTIONS(131), 1, anon_sym_DASH, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(209), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(144), 1, + aux_sym__expression_list, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - anon_sym_fn, - ACTIONS(209), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(169), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(133), 4, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(135), 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, - [3231] = 8, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3296] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(153), 1, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(211), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(147), 1, + aux_sym__expression_list, + STATE(174), 1, + sym_logic_operator, + STATE(221), 1, + sym_math_operator, + ACTIONS(137), 2, + anon_sym_GT, anon_sym_LT, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(135), 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(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3382] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(201), 1, + anon_sym_return, + ACTIONS(203), 1, + anon_sym_use, + STATE(100), 1, + sym_index, + STATE(104), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(243), 1, + sym_statement, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(257), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3472] = 22, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(183), 1, + anon_sym_fn, ACTIONS(213), 1, - anon_sym_EQ, - STATE(46), 1, - sym_assignment_operator, - STATE(270), 1, - sym_type_definition, - ACTIONS(155), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(149), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, - anon_sym_DASH, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + STATE(212), 1, + sym_logic_operator, + STATE(221), 1, + sym_math_operator, + ACTIONS(137), 2, anon_sym_GT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - anon_sym_fn, - ACTIONS(147), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + anon_sym_LT, + ACTIONS(169), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_LPAREN, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(133), 4, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(135), 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_asyncfor, - anon_sym_DASH_GT, - [3289] = 3, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [3558] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(217), 17, @@ -4836,73 +4937,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3337] = 24, - 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_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_return, - ACTIONS(33), 1, - anon_sym_use, - ACTIONS(35), 1, - anon_sym_fn, - STATE(41), 1, - sym_index, - STATE(69), 1, - sym_expression, - STATE(107), 1, - sym_if, - STATE(223), 1, - sym_statement, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(188), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3427] = 3, + [3606] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(221), 17, @@ -4947,331 +4982,295 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3475] = 22, + [3654] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(223), 1, + ACTIONS(225), 17, + anon_sym_async, sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, sym_integer, - ACTIONS(233), 1, + 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, + anon_sym_fn, + ACTIONS(223), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, anon_sym_LBRACK, - ACTIONS(235), 1, anon_sym_COLON, - ACTIONS(237), 1, + 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, + [3702] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(203), 1, + anon_sym_use, + ACTIONS(227), 1, + sym_identifier, + ACTIONS(229), 1, + anon_sym_LBRACE, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, ACTIONS(239), 1, - anon_sym_RPAREN, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(243), 1, - anon_sym_fn, - STATE(93), 1, - sym_expression, - STATE(138), 1, - aux_sym__expression_list, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - ACTIONS(133), 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(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [3561] = 22, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(237), 1, anon_sym_LPAREN, ACTIONS(241), 1, - anon_sym_DASH_GT, + anon_sym_return, ACTIONS(243), 1, anon_sym_fn, - ACTIONS(245), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, STATE(145), 1, - aux_sym__expression_list, - STATE(213), 1, - sym_logic_operator, - STATE(216), 1, - sym_math_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(229), 2, + sym_index, + STATE(193), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(279), 1, + sym_statement, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - ACTIONS(131), 4, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(250), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3792] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(247), 17, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - ACTIONS(133), 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(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [3647] = 24, - ACTIONS(3), 1, - sym__comment, - ACTIONS(173), 1, - sym_identifier, - ACTIONS(175), 1, - anon_sym_async, - ACTIONS(177), 1, - anon_sym_LBRACE, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(189), 1, - anon_sym_if, - ACTIONS(191), 1, - anon_sym_match, - ACTIONS(193), 1, - anon_sym_while, - ACTIONS(195), 1, - anon_sym_for, - ACTIONS(197), 1, - anon_sym_asyncfor, - ACTIONS(199), 1, - anon_sym_return, - ACTIONS(201), 1, - anon_sym_use, - ACTIONS(203), 1, - anon_sym_fn, - STATE(143), 1, - sym_index, - STATE(215), 1, - sym_expression, - STATE(261), 1, - sym_if, - STATE(275), 1, - sym_statement, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(108), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(273), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3737] = 24, - ACTIONS(3), 1, - sym__comment, - ACTIONS(173), 1, - sym_identifier, - ACTIONS(175), 1, - anon_sym_async, - ACTIONS(177), 1, - anon_sym_LBRACE, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(189), 1, - anon_sym_if, - ACTIONS(191), 1, - anon_sym_match, - ACTIONS(193), 1, - anon_sym_while, - ACTIONS(195), 1, - anon_sym_for, - ACTIONS(197), 1, - anon_sym_asyncfor, - ACTIONS(199), 1, - anon_sym_return, - ACTIONS(201), 1, - anon_sym_use, - ACTIONS(203), 1, - anon_sym_fn, - STATE(143), 1, - sym_index, - STATE(215), 1, - sym_expression, - STATE(261), 1, - sym_if, - STATE(268), 1, - sym_statement, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(108), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(273), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3827] = 22, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, anon_sym_DASH, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(247), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, - STATE(150), 1, - aux_sym__expression_list, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(229), 2, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + anon_sym_fn, + ACTIONS(245), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, sym_float, sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(131), 4, - anon_sym_PLUS, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - ACTIONS(133), 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(85), 6, - sym_value, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [3840] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(185), 1, + sym_identifier, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(201), 1, + anon_sym_return, + ACTIONS(203), 1, + anon_sym_use, + STATE(100), 1, sym_index, + STATE(101), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(265), 1, + sym_statement, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 5, + sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - [3913] = 3, + STATE(250), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3930] = 24, + 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_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_return, + ACTIONS(33), 1, + anon_sym_use, + ACTIONS(35), 1, + anon_sym_fn, + STATE(61), 1, + sym_index, + STATE(73), 1, + sym_expression, + STATE(131), 1, + sym_if, + STATE(219), 1, + sym_statement, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(186), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [4020] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(251), 17, @@ -5316,137 +5315,71 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [3961] = 22, + [4068] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(235), 1, + ACTIONS(175), 1, anon_sym_COLON, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(241), 1, + ACTIONS(181), 1, anon_sym_DASH_GT, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, ACTIONS(253), 1, anon_sym_RPAREN, - STATE(93), 1, + STATE(103), 1, sym_expression, - STATE(149), 1, + STATE(151), 1, aux_sym__expression_list, - STATE(166), 1, - sym_logic_operator, - STATE(216), 1, + STATE(169), 1, sym_math_operator, - ACTIONS(135), 2, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(229), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - ACTIONS(133), 6, + ACTIONS(135), 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(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [4047] = 24, - ACTIONS(3), 1, - sym__comment, - ACTIONS(173), 1, - sym_identifier, - ACTIONS(175), 1, - anon_sym_async, - ACTIONS(177), 1, - anon_sym_LBRACE, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(189), 1, - anon_sym_if, - ACTIONS(191), 1, - anon_sym_match, - ACTIONS(193), 1, - anon_sym_while, - ACTIONS(195), 1, - anon_sym_for, - ACTIONS(197), 1, - anon_sym_asyncfor, - ACTIONS(199), 1, - anon_sym_return, - ACTIONS(201), 1, - anon_sym_use, - ACTIONS(203), 1, - anon_sym_fn, - STATE(143), 1, - sym_index, - STATE(215), 1, - sym_expression, - STATE(261), 1, - sym_if, - STATE(274), 1, - sym_statement, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(108), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(273), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [4137] = 3, + [4154] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(257), 17, @@ -5491,71 +5424,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4185] = 22, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(259), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, - STATE(134), 1, - aux_sym__expression_list, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - ACTIONS(133), 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(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [4271] = 24, + [4202] = 24, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -5586,13 +5455,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(35), 1, anon_sym_fn, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(69), 1, + STATE(73), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, - STATE(199), 1, + STATE(211), 1, sym_statement, ACTIONS(13), 2, sym_float, @@ -5600,18 +5469,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(188), 9, + STATE(186), 9, sym_block, sym_assignment, sym_index_assignment, @@ -5621,7 +5490,57 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [4361] = 3, + [4292] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(155), 1, + anon_sym_LT, + ACTIONS(259), 1, + anon_sym_EQ, + STATE(55), 1, + sym_assignment_operator, + STATE(276), 1, + sym_type_definition, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 15, + 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, + anon_sym_fn, + ACTIONS(149), 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, + [4350] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(263), 17, @@ -5666,7 +5585,73 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4409] = 3, + [4398] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(203), 1, + anon_sym_use, + ACTIONS(227), 1, + sym_identifier, + ACTIONS(229), 1, + anon_sym_LBRACE, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(241), 1, + anon_sym_return, + ACTIONS(243), 1, + anon_sym_fn, + STATE(145), 1, + sym_index, + STATE(193), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(279), 1, + sym_statement, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(250), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [4488] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(267), 17, @@ -5711,73 +5696,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4457] = 24, - ACTIONS(3), 1, - sym__comment, - ACTIONS(173), 1, - sym_identifier, - ACTIONS(175), 1, - anon_sym_async, - ACTIONS(177), 1, - anon_sym_LBRACE, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(189), 1, - anon_sym_if, - ACTIONS(191), 1, - anon_sym_match, - ACTIONS(193), 1, - anon_sym_while, - ACTIONS(195), 1, - anon_sym_for, - ACTIONS(197), 1, - anon_sym_asyncfor, - ACTIONS(199), 1, - anon_sym_return, - ACTIONS(201), 1, - anon_sym_use, - ACTIONS(203), 1, - anon_sym_fn, - STATE(143), 1, - sym_index, - STATE(191), 1, - sym_expression, - STATE(261), 1, - sym_if, - STATE(288), 1, - sym_statement, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(108), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(271), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [4547] = 3, + [4536] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(271), 17, @@ -5822,7 +5741,100 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4595] = 3, + [4584] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(153), 1, + anon_sym_EQ, + STATE(51), 1, + sym_assignment_operator, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + 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, + anon_sym_fn, + ACTIONS(149), 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, + [4638] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(151), 17, + 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, + anon_sym_fn, + 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, + [4686] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(275), 17, @@ -5867,7 +5879,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4643] = 3, + [4734] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(279), 17, @@ -5912,71 +5924,203 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4691] = 22, + [4782] = 24, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(203), 1, + anon_sym_use, ACTIONS(227), 1, + sym_identifier, + ACTIONS(229), 1, + anon_sym_LBRACE, + ACTIONS(231), 1, sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(235), 1, - anon_sym_COLON, ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, anon_sym_LPAREN, ACTIONS(241), 1, - anon_sym_DASH_GT, + anon_sym_return, ACTIONS(243), 1, anon_sym_fn, - ACTIONS(281), 1, - anon_sym_RPAREN, - STATE(93), 1, + STATE(145), 1, + sym_index, + STATE(163), 1, sym_expression, - STATE(137), 1, - aux_sym__expression_list, - STATE(176), 1, - sym_logic_operator, - STATE(216), 1, - sym_math_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(229), 2, + STATE(230), 1, + sym_if, + STATE(243), 1, + sym_statement, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(97), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - ACTIONS(133), 6, + STATE(129), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(257), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [4872] = 24, + ACTIONS(3), 1, + sym__comment, + ACTIONS(187), 1, + anon_sym_async, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(203), 1, + anon_sym_use, + ACTIONS(227), 1, + sym_identifier, + ACTIONS(229), 1, + anon_sym_LBRACE, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(241), 1, + anon_sym_return, + ACTIONS(243), 1, + anon_sym_fn, + STATE(145), 1, + sym_index, + STATE(163), 1, + sym_expression, + STATE(230), 1, + sym_if, + STATE(256), 1, + sym_statement, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 5, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(257), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [4962] = 22, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(281), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(149), 1, + aux_sym__expression_list, + STATE(185), 1, + sym_logic_operator, + STATE(221), 1, + sym_math_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + ACTIONS(135), 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(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [4777] = 24, + [5048] = 24, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6007,13 +6151,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(35), 1, anon_sym_fn, - STATE(41), 1, + STATE(61), 1, sym_index, - STATE(69), 1, + STATE(73), 1, sym_expression, - STATE(107), 1, + STATE(131), 1, sym_if, - STATE(184), 1, + STATE(213), 1, sym_statement, ACTIONS(13), 2, sym_float, @@ -6021,18 +6165,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 5, + STATE(62), 5, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(188), 9, + STATE(186), 9, sym_block, sym_assignment, sym_index_assignment, @@ -6042,159 +6186,191 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [4867] = 21, + [5138] = 24, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(283), 1, + anon_sym_async, + ACTIONS(191), 1, + anon_sym_if, + ACTIONS(193), 1, + anon_sym_match, + ACTIONS(195), 1, + anon_sym_while, + ACTIONS(197), 1, + anon_sym_for, + ACTIONS(199), 1, + anon_sym_asyncfor, + ACTIONS(203), 1, + anon_sym_use, + ACTIONS(227), 1, sym_identifier, - ACTIONS(285), 1, + ACTIONS(229), 1, anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(241), 1, + anon_sym_return, + ACTIONS(243), 1, anon_sym_fn, - STATE(124), 1, - aux_sym_match_repeat1, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - STATE(237), 1, + STATE(145), 1, + sym_index, + STATE(163), 1, sym_expression, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(181), 2, + STATE(230), 1, + sym_if, + STATE(254), 1, + sym_statement, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(111), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - ACTIONS(133), 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, + STATE(129), 5, sym_value, - sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [4950] = 21, + STATE(257), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [5228] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(283), 1, + ACTIONS(285), 17, + anon_sym_async, sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(73), 1, - aux_sym_match_repeat1, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - STATE(239), 1, - sym_expression, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, + sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(131), 4, + anon_sym_EQ, anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(111), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - ACTIONS(133), 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, - [5033] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, anon_sym_DASH, - ACTIONS(137), 1, - anon_sym_DASH_GT, - ACTIONS(145), 1, - anon_sym_COLON, - STATE(203), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(135), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + anon_sym_fn, + ACTIONS(283), 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, - ACTIONS(133), 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, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5276] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(289), 17, + 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, + anon_sym_fn, + ACTIONS(287), 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, + [5324] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(139), 1, + anon_sym_DASH_GT, + ACTIONS(147), 1, + anon_sym_COLON, + STATE(204), 1, + sym_math_operator, + STATE(207), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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(291), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6204,7 +6380,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(291), 12, + ACTIONS(293), 12, anon_sym_async, sym_identifier, sym_integer, @@ -6217,80 +6393,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [5095] = 12, + [5386] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(137), 1, + ACTIONS(139), 1, anon_sym_DASH_GT, - ACTIONS(145), 1, + ACTIONS(147), 1, anon_sym_COLON, - ACTIONS(293), 1, - anon_sym_SEMI, - STATE(203), 1, - sym_logic_operator, - STATE(211), 1, + STATE(204), 1, sym_math_operator, - ACTIONS(135), 2, + STATE(207), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 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), 8, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(291), 12, - 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, - anon_sym_fn, - [5159] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(137), 1, - anon_sym_DASH_GT, - ACTIONS(145), 1, - anon_sym_COLON, - STATE(203), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -6320,150 +6444,1461 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [5221] = 15, + [5448] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(139), 1, + anon_sym_DASH_GT, + ACTIONS(147), 1, + anon_sym_COLON, + ACTIONS(299), 1, + anon_sym_SEMI, + STATE(204), 1, + sym_math_operator, + STATE(207), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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(295), 8, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(297), 12, + 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, + anon_sym_fn, + [5512] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(105), 10, + 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_fn, + ACTIONS(103), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [5560] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(301), 1, + anon_sym_DOT_DOT, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(105), 10, sym_identifier, - ACTIONS(306), 1, - anon_sym_LBRACE, - ACTIONS(309), 1, sym_integer, - ACTIONS(318), 1, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_fn, + ACTIONS(103), 23, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_LPAREN, + 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_DASH_GT, + [5610] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(115), 10, + 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_fn, + ACTIONS(113), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [5658] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(303), 1, + anon_sym_COLON, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(131), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(129), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_fn, + ACTIONS(135), 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(127), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [5718] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(303), 1, + anon_sym_COLON, + STATE(179), 1, + sym_logic_operator, + STATE(180), 1, + sym_math_operator, + ACTIONS(119), 10, + 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_fn, + ACTIONS(117), 23, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + 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_DASH_GT, + [5768] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(131), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(129), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_fn, + ACTIONS(135), 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(127), 12, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [5827] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(175), 1, + anon_sym_COLON, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(119), 10, + 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_fn, + ACTIONS(117), 22, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + 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_DASH_GT, + [5876] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(115), 10, + 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_fn, + ACTIONS(113), 23, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_LPAREN, + 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_DASH_GT, + [5923] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(289), 10, + 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_fn, + ACTIONS(287), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [5965] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(279), 10, + 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_fn, + ACTIONS(277), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6007] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(271), 10, + 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_fn, + ACTIONS(269), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6049] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(217), 10, + 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_fn, + ACTIONS(215), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6091] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(225), 10, + 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_fn, + ACTIONS(223), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6133] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(257), 10, + 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_fn, + ACTIONS(255), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6175] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(247), 10, + 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_fn, + ACTIONS(245), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6217] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(221), 10, + 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_fn, + ACTIONS(219), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6259] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(275), 10, + 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_fn, + ACTIONS(273), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6301] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(267), 10, + 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_fn, + ACTIONS(265), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6343] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(251), 10, + 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_fn, + ACTIONS(249), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6385] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(285), 10, + 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_fn, + ACTIONS(283), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6427] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(263), 10, + 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_fn, + ACTIONS(261), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6469] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(151), 10, + 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_fn, + ACTIONS(149), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6511] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(161), 10, + 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_fn, + ACTIONS(159), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6553] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(207), 10, + 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_fn, + ACTIONS(205), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + 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_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, + [6595] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(153), 1, + anon_sym_EQ, + ACTIONS(155), 1, + anon_sym_LT, + STATE(38), 1, + sym_assignment_operator, + STATE(275), 1, + sym_type_definition, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 8, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_fn, + ACTIONS(149), 18, + 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_DASH_GT, + [6645] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(153), 1, + anon_sym_EQ, + STATE(39), 1, + sym_assignment_operator, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_fn, + ACTIONS(149), 18, + 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_DASH_GT, + [6690] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(305), 1, + anon_sym_SEMI, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(297), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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(295), 6, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [6745] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(311), 1, + anon_sym_COMMA, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(307), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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(309), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + [6800] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(317), 1, + anon_sym_COMMA, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(313), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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(315), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + [6855] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(297), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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(295), 7, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [6908] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(293), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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(291), 7, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [6961] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(319), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(127), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(129), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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, + [7015] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, ACTIONS(321), 1, - anon_sym_LPAREN, - ACTIONS(324), 1, - anon_sym_fn, - STATE(72), 1, - aux_sym_match_repeat1, - STATE(239), 1, - sym_expression, - ACTIONS(312), 2, - sym_float, - sym_string, - ACTIONS(315), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(299), 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(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, - [5286] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(72), 1, - aux_sym_match_repeat1, - STATE(239), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(327), 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(108), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(329), 7, - anon_sym_async, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [5351] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(217), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(215), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - 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, - [5390] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(172), 1, - sym_logic_operator, - STATE(173), 1, + STATE(169), 1, sym_math_operator, - ACTIONS(101), 8, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(127), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(129), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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, + [7069] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(177), 1, + sym_logic_operator, + STATE(178), 1, + sym_math_operator, + ACTIONS(115), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(113), 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, + [7109] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(175), 1, + anon_sym_COLON, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(119), 8, sym_identifier, sym_integer, anon_sym_true, @@ -6472,15 +7907,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LT, anon_sym_fn, - ACTIONS(99), 21, + ACTIONS(117), 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, @@ -6494,35 +7925,218 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [5433] = 6, + [7151] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(175), 1, + anon_sym_COLON, + ACTIONS(181), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_math_operator, + STATE(170), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(127), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(129), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(135), 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, + [7205] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(325), 1, + anon_sym_COLON, + STATE(177), 1, + sym_logic_operator, + STATE(178), 1, + sym_math_operator, + ACTIONS(119), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(117), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + 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, + [7247] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(327), 1, + anon_sym_DOT_DOT, + STATE(177), 1, + sym_logic_operator, + STATE(178), 1, + sym_math_operator, + ACTIONS(105), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(103), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + 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_EQ_GT, + anon_sym_DASH_GT, + [7289] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(325), 1, + anon_sym_COLON, + ACTIONS(329), 1, + anon_sym_DASH_GT, + STATE(177), 1, + sym_logic_operator, + STATE(178), 1, + sym_math_operator, + ACTIONS(131), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(129), 3, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + ACTIONS(133), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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(127), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + [7341] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(177), 1, + sym_logic_operator, + STATE(178), 1, + sym_math_operator, + ACTIONS(105), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(103), 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, + [7381] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(331), 1, anon_sym_COLON, - STATE(172), 1, - sym_logic_operator, - STATE(173), 1, + STATE(201), 1, sym_math_operator, - ACTIONS(117), 8, + STATE(202), 1, + sym_logic_operator, + ACTIONS(119), 7, + 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_fn, - ACTIONS(115), 20, + ACTIONS(117), 17, anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -6532,1010 +8146,88 @@ 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_EQ_GT, anon_sym_DASH_GT, - [5478] = 11, + [7422] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(115), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, anon_sym_DASH, - ACTIONS(241), 1, + anon_sym_GT, + anon_sym_LT, + ACTIONS(113), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + 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_EQ_GT, + anon_sym_DASH_GT, + [7461] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(329), 1, anon_sym_DASH_GT, ACTIONS(331), 1, anon_sym_COLON, - STATE(172), 1, - sym_logic_operator, - STATE(173), 1, + STATE(201), 1, sym_math_operator, - ACTIONS(135), 2, + STATE(202), 1, + sym_logic_operator, + ACTIONS(131), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, + ACTIONS(129), 3, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + ACTIONS(133), 3, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(127), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 6, + ACTIONS(135), 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(125), 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, - [5533] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(172), 1, - sym_logic_operator, - STATE(173), 1, - sym_math_operator, - ACTIONS(97), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(95), 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, - [5576] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(271), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(269), 23, + ACTIONS(127), 7, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, 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, - [5615] = 6, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + [7512] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(333), 1, - anon_sym_DOT_DOT, - STATE(172), 1, - sym_logic_operator, - STATE(173), 1, - sym_math_operator, - ACTIONS(101), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(99), 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, - [5660] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(97), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(95), 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, - [5702] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(127), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 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(125), 8, - anon_sym_LBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5756] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(235), 1, - anon_sym_COLON, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(117), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - 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, - [5800] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(257), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(255), 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, - [5837] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(149), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(147), 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, - [5874] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(339), 1, - anon_sym_COMMA, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(335), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 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_RBRACK, - anon_sym_LPAREN, - [5929] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(221), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(219), 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, - [5966] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(267), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(265), 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, - [6003] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(275), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(273), 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, - [6040] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(159), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(157), 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, - [6077] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(171), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - 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, - [6114] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(207), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(205), 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, - [6151] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(345), 1, - anon_sym_COMMA, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(341), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 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(343), 6, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [6206] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(263), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(261), 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, - [6243] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(163), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(161), 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, - [6280] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(279), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(277), 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, - [6317] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(251), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - 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, - [6354] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(167), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(165), 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, - [6391] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(211), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(209), 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, - [6428] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(235), 1, - anon_sym_COLON, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(117), 8, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_fn, - ACTIONS(115), 17, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - 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, - [6470] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(347), 1, - anon_sym_RPAREN, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(125), 5, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - ACTIONS(127), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 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, - [6524] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(349), 1, - anon_sym_RPAREN, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(125), 5, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - ACTIONS(127), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 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, - [6578] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(235), 1, - anon_sym_COLON, - ACTIONS(241), 1, - anon_sym_DASH_GT, - ACTIONS(351), 1, - anon_sym_RPAREN, - STATE(158), 1, - sym_math_operator, - STATE(159), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(125), 5, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - ACTIONS(127), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(133), 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, - [6632] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(167), 7, + ACTIONS(161), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7543,7 +8235,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(165), 19, + ACTIONS(159), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7563,135 +8255,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6666] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(263), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(261), 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, - [6700] = 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, - [6734] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(357), 1, - anon_sym_elseif, - ACTIONS(359), 1, - anon_sym_else, - STATE(185), 1, - sym_else, - STATE(113), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(353), 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(355), 12, - 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, - anon_sym_fn, - [6776] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(149), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(147), 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, - [6810] = 3, + [7546] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(221), 7, @@ -7722,10 +8286,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6844] = 3, + [7580] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(211), 7, + ACTIONS(247), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7733,7 +8297,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(209), 19, + ACTIONS(245), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7753,10 +8317,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6878] = 3, + [7614] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(251), 7, + ACTIONS(271), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7764,7 +8328,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(249), 19, + ACTIONS(269), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7784,7 +8348,42 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6912] = 3, + [7648] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(337), 1, + anon_sym_elseif, + ACTIONS(339), 1, + anon_sym_else, + STATE(214), 1, + sym_else, + STATE(136), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(333), 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(335), 12, + 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, + anon_sym_fn, + [7690] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(267), 7, @@ -7815,42 +8414,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [6946] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(357), 1, - anon_sym_elseif, - ACTIONS(359), 1, - anon_sym_else, - STATE(193), 1, - sym_else, - STATE(123), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(361), 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(363), 12, - 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, - anon_sym_fn, - [6988] = 3, + [7724] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(279), 7, @@ -7881,10 +8445,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [7022] = 3, + [7758] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(163), 7, + ACTIONS(275), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7892,7 +8456,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(161), 19, + ACTIONS(273), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7912,7 +8476,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [7056] = 3, + [7792] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(263), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(261), 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, + [7826] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(257), 7, @@ -7943,10 +8538,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [7090] = 3, + [7860] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(159), 7, + ACTIONS(251), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7954,7 +8549,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(157), 19, + ACTIONS(249), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7974,10 +8569,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [7124] = 3, + [7894] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(171), 7, + ACTIONS(151), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -7985,7 +8580,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(169), 19, + ACTIONS(149), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8005,7 +8600,135 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [7158] = 3, + [7928] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(285), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(283), 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, + [7962] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(337), 1, + anon_sym_elseif, + ACTIONS(339), 1, + anon_sym_else, + STATE(210), 1, + sym_else, + STATE(122), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(341), 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(343), 12, + 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, + anon_sym_fn, + [8004] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(217), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(215), 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, + [8038] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(289), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(287), 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, + [8072] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(207), 7, @@ -8036,24 +8759,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [7192] = 3, + [8106] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(217), 6, + ACTIONS(225), 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(215), 19, + ACTIONS(223), 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, @@ -8063,86 +8786,19 @@ 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_EQ_GT, - anon_sym_DASH_GT, - [7225] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(127), 1, - anon_sym_EQ, - ACTIONS(365), 1, - anon_sym_COLON, - ACTIONS(367), 1, - anon_sym_DASH_GT, - STATE(217), 1, - sym_math_operator, - STATE(219), 1, - sym_logic_operator, - ACTIONS(129), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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(125), 7, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_DOT_DOT, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [7274] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(271), 6, - anon_sym_async, - sym_identifier, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_else, - ACTIONS(269), 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, - [7307] = 5, + [8140] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(373), 1, + ACTIONS(349), 1, anon_sym_elseif, - STATE(123), 2, + STATE(136), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(369), 9, + ACTIONS(345), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8152,7 +8808,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(371), 13, + ACTIONS(347), 13, anon_sym_async, sym_identifier, sym_integer, @@ -8166,340 +8822,30 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [7344] = 14, + [8177] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(129), 1, - aux_sym_match_repeat1, - STATE(237), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(327), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - STATE(111), 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, - [7399] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(365), 1, - anon_sym_COLON, - STATE(217), 1, - sym_math_operator, - STATE(219), 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, - [7438] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(217), 1, - sym_math_operator, - STATE(219), 1, - sym_logic_operator, - ACTIONS(101), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(99), 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, - [7475] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(217), 1, - sym_math_operator, - STATE(219), 1, - sym_logic_operator, - ACTIONS(97), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(95), 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, - [7512] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(376), 1, - anon_sym_DOT_DOT, - STATE(217), 1, - sym_math_operator, - STATE(219), 1, - sym_logic_operator, - ACTIONS(101), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(99), 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, - [7551] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(301), 1, - sym_identifier, - ACTIONS(306), 1, - anon_sym_LBRACE, - ACTIONS(309), 1, - sym_integer, - ACTIONS(318), 1, - anon_sym_LBRACK, - ACTIONS(321), 1, - anon_sym_LPAREN, - ACTIONS(324), 1, - anon_sym_fn, - STATE(129), 1, - aux_sym_match_repeat1, - STATE(237), 1, - sym_expression, - ACTIONS(312), 2, - sym_float, - sym_string, - ACTIONS(315), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(299), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - STATE(111), 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, - [7606] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(127), 1, - anon_sym_EQ, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(378), 1, - anon_sym_COLON, - STATE(161), 1, - sym_logic_operator, - STATE(162), 1, - sym_math_operator, - ACTIONS(129), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(125), 6, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(133), 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, - [7654] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(161), 1, - sym_logic_operator, - STATE(162), 1, - sym_math_operator, - ACTIONS(97), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(95), 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, - [7690] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(151), 1, - anon_sym_EQ, ACTIONS(153), 1, - anon_sym_LT, - STATE(55), 1, - sym_assignment_operator, - STATE(278), 1, - sym_type_definition, - ACTIONS(155), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(149), 3, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - ACTIONS(147), 15, - 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_DASH_GT, - [7732] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(378), 1, - anon_sym_COLON, - STATE(161), 1, - sym_logic_operator, - STATE(162), 1, - sym_math_operator, - ACTIONS(117), 5, anon_sym_EQ, + ACTIONS(155), 1, + anon_sym_LT, + STATE(66), 1, + sym_assignment_operator, + STATE(274), 1, + sym_type_definition, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 3, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, - anon_sym_LT, - ACTIONS(115), 16, + ACTIONS(149), 15, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, + anon_sym_COLON, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -8509,55 +8855,94 @@ 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, - [7770] = 14, + [8219] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, - ACTIONS(380), 1, + ACTIONS(352), 1, anon_sym_RPAREN, - STATE(93), 1, + STATE(103), 1, sym_expression, - STATE(135), 1, + STATE(139), 1, aux_sym__expression_list, - ACTIONS(229), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7823] = 14, + [8272] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(382), 1, + ACTIONS(354), 1, sym_identifier, - ACTIONS(385), 1, + ACTIONS(357), 1, anon_sym_LBRACE, + ACTIONS(360), 1, + sym_integer, + ACTIONS(369), 1, + anon_sym_LBRACK, + ACTIONS(372), 1, + anon_sym_LPAREN, + ACTIONS(375), 1, + anon_sym_RPAREN, + ACTIONS(377), 1, + anon_sym_fn, + STATE(103), 1, + sym_expression, + STATE(139), 1, + aux_sym__expression_list, + ACTIONS(363), 2, + sym_float, + sym_string, + ACTIONS(366), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8325] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(380), 1, + sym_identifier, + ACTIONS(383), 1, + anon_sym_LBRACE, + ACTIONS(386), 1, + anon_sym_RBRACE, ACTIONS(388), 1, sym_integer, ACTIONS(397), 1, @@ -8565,1594 +8950,1279 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(400), 1, anon_sym_LPAREN, ACTIONS(403), 1, - anon_sym_RPAREN, - ACTIONS(405), 1, anon_sym_fn, - STATE(93), 1, + STATE(140), 1, + aux_sym_match_repeat1, + STATE(234), 1, sym_expression, - STATE(135), 1, - aux_sym__expression_list, ACTIONS(391), 2, sym_float, sym_string, ACTIONS(394), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7876] = 14, + [8378] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, - ACTIONS(408), 1, + ACTIONS(406), 1, anon_sym_RBRACK, - STATE(86), 1, + STATE(102), 1, sym_expression, - STATE(152), 1, + STATE(155), 1, aux_sym_list_repeat1, - ACTIONS(229), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [7929] = 14, + [8431] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, + ACTIONS(408), 10, + ts_builtin_sym_end, anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, anon_sym_LBRACK, - ACTIONS(237), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(410), 13, + 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, anon_sym_fn, - ACTIONS(410), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7982] = 14, + [8462] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, ACTIONS(412), 1, - anon_sym_RPAREN, - STATE(93), 1, + anon_sym_RBRACK, + STATE(102), 1, sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(229), 2, + STATE(156), 1, + aux_sym_list_repeat1, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8035] = 14, + [8515] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, ACTIONS(414), 1, - anon_sym_RBRACK, - STATE(86), 1, + anon_sym_RPAREN, + STATE(103), 1, sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(229), 2, + STATE(139), 1, + aux_sym__expression_list, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8088] = 14, + [8568] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(153), 1, + anon_sym_EQ, + STATE(69), 1, + sym_assignment_operator, + ACTIONS(157), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 4, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(149), 15, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, sym_identifier, - ACTIONS(225), 1, + 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_DASH_GT, + [8605] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, ACTIONS(416), 1, anon_sym_RBRACK, - STATE(86), 1, + STATE(102), 1, + sym_expression, + STATE(158), 1, + aux_sym_list_repeat1, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8658] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(418), 1, + anon_sym_RPAREN, + STATE(103), 1, sym_expression, STATE(139), 1, - aux_sym_list_repeat1, - ACTIONS(229), 2, + aux_sym__expression_list, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [8141] = 3, + [8711] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(217), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(215), 18, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, + ACTIONS(163), 1, 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, - [8172] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(271), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(269), 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, - [8203] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(151), 1, - anon_sym_EQ, - STATE(51), 1, - sym_assignment_operator, - ACTIONS(155), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(149), 4, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(147), 15, - 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_DASH_GT, - [8240] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(418), 1, - sym_identifier, - ACTIONS(421), 1, + ACTIONS(165), 1, anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(420), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(139), 1, + aux_sym__expression_list, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8764] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(422), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(139), 1, + aux_sym__expression_list, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8817] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + ACTIONS(428), 1, + anon_sym_RBRACE, + STATE(140), 1, + aux_sym_match_repeat1, + STATE(234), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8870] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, sym_integer, - ACTIONS(433), 1, + ACTIONS(173), 1, anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(430), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_expression, + STATE(139), 1, + aux_sym__expression_list, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8923] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(432), 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_elseif, + anon_sym_asyncfor, + ACTIONS(434), 13, + 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, + anon_sym_fn, + [8954] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(245), 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_elseif, + anon_sym_asyncfor, + ACTIONS(247), 13, + 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, + anon_sym_fn, + [8985] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(265), 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_elseif, + anon_sym_asyncfor, + ACTIONS(267), 13, + 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, + anon_sym_fn, + [9016] = 14, + ACTIONS(3), 1, + sym__comment, ACTIONS(436), 1, - anon_sym_RBRACK, - ACTIONS(438), 1, - anon_sym_LPAREN, - ACTIONS(441), 1, - anon_sym_fn, - STATE(86), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(427), 2, - sym_float, - sym_string, - ACTIONS(430), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8293] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(439), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(442), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(451), 1, anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(444), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8346] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(446), 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_elseif, - anon_sym_asyncfor, - ACTIONS(448), 13, - 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, - anon_sym_fn, - [8377] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(450), 1, - anon_sym_RBRACK, - STATE(86), 1, - sym_expression, - STATE(148), 1, - aux_sym_list_repeat1, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8430] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(452), 1, - anon_sym_RBRACK, - STATE(86), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8483] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, ACTIONS(454), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8536] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(456), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8589] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(215), 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_elseif, - anon_sym_asyncfor, - ACTIONS(217), 13, - 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, - anon_sym_fn, - [8620] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - ACTIONS(458), 1, anon_sym_RBRACK, - STATE(86), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8673] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(269), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, + ACTIONS(456), 1, anon_sym_LPAREN, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(271), 13, - 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, - anon_sym_fn, - [8704] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(460), 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_elseif, - anon_sym_asyncfor, - ACTIONS(462), 13, - 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, - anon_sym_fn, - [8735] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(232), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [8782] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(228), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [8829] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(80), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8876] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(83), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8923] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(82), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8970] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(464), 1, - sym_identifier, - ACTIONS(466), 1, - anon_sym_LBRACE, - STATE(71), 1, - sym_expression, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9017] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(130), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9064] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(133), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9111] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(128), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9158] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(293), 1, - anon_sym_SEMI, - ACTIONS(289), 8, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(291), 12, - 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, - anon_sym_fn, - [9189] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(52), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9236] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(459), 1, anon_sym_fn, STATE(102), 1, sym_expression, - ACTIONS(229), 2, + STATE(155), 1, + aux_sym_list_repeat1, + ACTIONS(445), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(448), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9283] = 12, + [9069] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(462), 1, + anon_sym_RBRACK, + STATE(102), 1, + sym_expression, + STATE(155), 1, + aux_sym_list_repeat1, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9122] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, anon_sym_LPAREN, ACTIONS(243), 1, anon_sym_fn, - STATE(54), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9330] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(464), 1, + ACTIONS(424), 1, sym_identifier, - ACTIONS(466), 1, + ACTIONS(426), 1, anon_sym_LBRACE, - STATE(24), 1, + ACTIONS(464), 1, + anon_sym_RBRACE, + STATE(140), 1, + aux_sym_match_repeat1, + STATE(234), 1, sym_expression, - ACTIONS(13), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(53), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9377] = 5, + [9175] = 14, ACTIONS(3), 1, sym__comment, - STATE(170), 1, - sym_logic_operator, - STATE(171), 1, - sym_math_operator, - ACTIONS(97), 3, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(466), 1, + anon_sym_RBRACK, + STATE(102), 1, + sym_expression, + STATE(155), 1, + aux_sym_list_repeat1, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9228] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + ACTIONS(468), 1, + anon_sym_RBRACK, + STATE(102), 1, + sym_expression, + STATE(141), 1, + aux_sym_list_repeat1, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9281] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(157), 1, + aux_sym_match_repeat1, + STATE(234), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9331] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(150), 1, + aux_sym_match_repeat1, + STATE(234), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9381] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(224), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9428] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(95), 16, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, + ACTIONS(295), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + ACTIONS(135), 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_EQ_GT, + [9471] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(231), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9518] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, anon_sym_DASH_GT, - [9410] = 12, + ACTIONS(331), 1, + anon_sym_COLON, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(291), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + ACTIONS(135), 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, + [9561] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(285), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, anon_sym_fn, - STATE(214), 1, + STATE(44), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9457] = 12, + [9608] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(220), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9504] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, anon_sym_LPAREN, ACTIONS(243), 1, anon_sym_fn, - STATE(77), 1, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(226), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9551] = 12, + [9655] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, STATE(76), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9598] = 12, + [9702] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(57), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9645] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(231), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9692] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(103), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9739] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(233), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9786] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(206), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [9833] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(464), 1, - sym_identifier, - ACTIONS(466), 1, - anon_sym_LBRACE, - STATE(17), 1, - sym_expression, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9880] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, STATE(81), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9927] = 12, + [9749] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(80), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9796] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(232), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9843] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(37), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9890] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(223), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9937] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(107), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9984] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(42), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10031] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -10163,11 +10233,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(35), 1, anon_sym_fn, - ACTIONS(464), 1, + ACTIONS(470), 1, sym_identifier, - ACTIONS(466), 1, + ACTIONS(472), 1, anon_sym_LBRACE, - STATE(14), 1, + STATE(72), 1, sym_expression, ACTIONS(13), 2, sym_float, @@ -10175,102 +10245,278 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 6, + STATE(62), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [9974] = 12, + [10078] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(234), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [10021] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, anon_sym_LPAREN, ACTIONS(243), 1, anon_sym_fn, - STATE(67), 1, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(113), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10068] = 3, + [10125] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(468), 9, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(111), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10172] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(78), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10219] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(79), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10266] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(82), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10313] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(53), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10360] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(227), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10407] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(299), 1, + anon_sym_SEMI, + ACTIONS(295), 8, 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(470), 12, + ACTIONS(297), 12, anon_sym_async, sym_identifier, sym_integer, @@ -10283,10 +10529,45 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [10097] = 3, + [10438] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(361), 9, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(106), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10485] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(295), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -10296,7 +10577,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(363), 12, + ACTIONS(297), 12, anon_sym_async, sym_identifier, sym_integer, @@ -10309,42 +10590,77 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [10126] = 12, + [10514] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, anon_sym_LPAREN, ACTIONS(243), 1, anon_sym_fn, - STATE(65), 1, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(165), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10173] = 12, + [10561] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(228), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10608] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -10355,11 +10671,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(35), 1, anon_sym_fn, - ACTIONS(464), 1, + ACTIONS(470), 1, sym_identifier, - ACTIONS(466), 1, + ACTIONS(472), 1, anon_sym_LBRACE, - STATE(9), 1, + STATE(18), 1, sym_expression, ACTIONS(13), 2, sym_float, @@ -10367,140 +10683,219 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 6, + STATE(62), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10220] = 3, + [10655] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(289), 9, - ts_builtin_sym_end, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(470), 1, + sym_identifier, + ACTIONS(472), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + STATE(15), 1, + sym_expression, + ACTIONS(13), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(291), 12, - anon_sym_async, - sym_identifier, - sym_integer, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - anon_sym_fn, - [10249] = 3, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10702] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(472), 9, - ts_builtin_sym_end, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(105), 1, + sym_expression, + ACTIONS(169), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(474), 12, - anon_sym_async, - sym_identifier, - sym_integer, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - anon_sym_fn, - [10278] = 12, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10749] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, anon_sym_LPAREN, ACTIONS(243), 1, anon_sym_fn, - STATE(49), 1, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(222), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10325] = 11, + [10796] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(378), 1, - anon_sym_COLON, - ACTIONS(476), 1, + ACTIONS(305), 1, anon_sym_SEMI, - STATE(161), 1, - sym_logic_operator, - STATE(162), 1, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, + STATE(201), 1, sym_math_operator, - ACTIONS(135), 2, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(289), 3, + ACTIONS(295), 3, anon_sym_RBRACE, anon_sym_COMMA, sym_identifier, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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, - [10370] = 3, + [10841] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(229), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10888] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(474), 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(476), 12, + 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, + anon_sym_fn, + [10917] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(478), 9, @@ -10526,7 +10921,42 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [10399] = 3, + [10946] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(67), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10993] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(482), 9, @@ -10552,7 +10982,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [10428] = 3, + [11022] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(486), 9, @@ -10578,147 +11008,383 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [10457] = 12, + [11051] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(185), 1, + ACTIONS(237), 1, anon_sym_LBRACK, - ACTIONS(187), 1, + ACTIONS(239), 1, anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(243), 1, anon_sym_fn, - STATE(202), 1, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(112), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10504] = 12, + [11098] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(185), 1, + ACTIONS(237), 1, anon_sym_LBRACK, - ACTIONS(187), 1, + ACTIONS(239), 1, anon_sym_LPAREN, - ACTIONS(203), 1, + ACTIONS(243), 1, anon_sym_fn, - ACTIONS(283), 1, + ACTIONS(424), 1, sym_identifier, - ACTIONS(285), 1, + ACTIONS(426), 1, anon_sym_LBRACE, - STATE(131), 1, + STATE(115), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10551] = 12, + [11145] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, + ACTIONS(231), 1, sym_integer, - ACTIONS(185), 1, + ACTIONS(237), 1, anon_sym_LBRACK, - ACTIONS(187), 1, + ACTIONS(239), 1, anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(243), 1, anon_sym_fn, - STATE(227), 1, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(117), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(233), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(235), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10598] = 12, + [11192] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(185), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(187), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(35), 1, anon_sym_fn, - STATE(229), 1, + ACTIONS(470), 1, + sym_identifier, + ACTIONS(472), 1, + anon_sym_LBRACE, + STATE(19), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(62), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10645] = 3, + [11239] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(470), 1, + sym_identifier, + ACTIONS(472), 1, + anon_sym_LBRACE, + STATE(30), 1, + sym_expression, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11286] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(114), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11333] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(470), 1, + sym_identifier, + ACTIONS(472), 1, + anon_sym_LBRACE, + STATE(22), 1, + sym_expression, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11380] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + sym_integer, + ACTIONS(17), 1, + anon_sym_LBRACK, + ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_fn, + ACTIONS(470), 1, + sym_identifier, + ACTIONS(472), 1, + anon_sym_LBRACE, + STATE(32), 1, + sym_expression, + ACTIONS(13), 2, + sym_float, + sym_string, + ACTIONS(15), 2, + anon_sym_true, + anon_sym_false, + STATE(40), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(62), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11427] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(225), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(129), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11474] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(163), 1, + sym_identifier, + ACTIONS(165), 1, + anon_sym_LBRACE, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + anon_sym_fn, + STATE(75), 1, + sym_expression, + ACTIONS(169), 2, + sym_float, + sym_string, + ACTIONS(171), 2, + anon_sym_true, + anon_sym_false, + STATE(98), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(96), 6, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11521] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(333), 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(335), 12, + 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, + anon_sym_fn, + [11550] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(490), 9, @@ -10744,317 +11410,45 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [10674] = 12, + [11579] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(223), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(225), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(227), 1, + ACTIONS(167), 1, sym_integer, - ACTIONS(233), 1, + ACTIONS(173), 1, anon_sym_LBRACK, - ACTIONS(237), 1, + ACTIONS(177), 1, anon_sym_LPAREN, - ACTIONS(243), 1, + ACTIONS(183), 1, anon_sym_fn, - STATE(48), 1, + STATE(110), 1, sym_expression, - ACTIONS(229), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(231), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(97), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(85), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [10721] = 12, + [11626] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(126), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [10768] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(494), 1, - anon_sym_DOT_DOT, - STATE(170), 1, - sym_logic_operator, - STATE(171), 1, - sym_math_operator, - ACTIONS(101), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(99), 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, - [10803] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(464), 1, - sym_identifier, - ACTIONS(466), 1, - anon_sym_LBRACE, - STATE(33), 1, - sym_expression, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10850] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(75), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10897] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(35), 1, - anon_sym_fn, - ACTIONS(464), 1, - sym_identifier, - ACTIONS(466), 1, - anon_sym_LBRACE, - STATE(7), 1, - sym_expression, - ACTIONS(13), 2, - sym_float, - sym_string, - ACTIONS(15), 2, - anon_sym_true, - anon_sym_false, - STATE(53), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(40), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10944] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(378), 1, - anon_sym_COLON, - STATE(161), 1, - sym_logic_operator, - STATE(162), 1, - sym_math_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(295), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - ACTIONS(133), 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, - [10987] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(236), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [11034] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(226), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [11081] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(496), 9, + ACTIONS(494), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -11064,7 +11458,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(498), 12, + ACTIONS(496), 12, anon_sym_async, sym_identifier, sym_integer, @@ -11077,42 +11471,68 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [11110] = 12, + [11655] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, + ACTIONS(498), 9, + ts_builtin_sym_end, anon_sym_LBRACE, - ACTIONS(287), 1, - anon_sym_fn, - STATE(230), 1, - sym_expression, - ACTIONS(181), 2, + anon_sym_RBRACE, + anon_sym_SEMI, sym_float, sym_string, - ACTIONS(183), 2, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(500), 12, + anon_sym_async, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(111), 4, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + anon_sym_fn, + [11684] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(231), 1, + sym_integer, + ACTIONS(237), 1, + anon_sym_LBRACK, + ACTIONS(239), 1, + anon_sym_LPAREN, + ACTIONS(243), 1, + anon_sym_fn, + ACTIONS(424), 1, + sym_identifier, + ACTIONS(426), 1, + anon_sym_LBRACE, + STATE(116), 1, + sym_expression, + ACTIONS(233), 2, + sym_float, + sym_string, + ACTIONS(235), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(129), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [11157] = 12, + [11731] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -11123,11 +11543,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(35), 1, anon_sym_fn, - ACTIONS(464), 1, + ACTIONS(470), 1, sym_identifier, - ACTIONS(466), 1, + ACTIONS(472), 1, anon_sym_LBRACE, - STATE(30), 1, + STATE(10), 1, sym_expression, ACTIONS(13), 2, sym_float, @@ -11135,225 +11555,19 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(53), 4, + STATE(40), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(40), 6, + STATE(62), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [11204] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(68), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11251] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(101), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11298] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(500), 1, - anon_sym_COLON, - STATE(170), 1, - sym_logic_operator, - STATE(171), 1, - sym_math_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(125), 4, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_DOT_DOT, - anon_sym_EQ_GT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [11341] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(378), 1, - anon_sym_COLON, - STATE(161), 1, - sym_logic_operator, - STATE(162), 1, - sym_math_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 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(133), 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, - [11384] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(223), 1, - sym_identifier, - ACTIONS(225), 1, - anon_sym_LBRACE, - ACTIONS(227), 1, - sym_integer, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(237), 1, - anon_sym_LPAREN, - ACTIONS(243), 1, - anon_sym_fn, - STATE(100), 1, - sym_expression, - ACTIONS(229), 2, - sym_float, - sym_string, - ACTIONS(231), 2, - anon_sym_true, - anon_sym_false, - STATE(97), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(85), 6, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11431] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(125), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [11478] = 3, + [11778] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(502), 9, @@ -11379,71 +11593,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [11507] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(203), 1, - anon_sym_fn, - ACTIONS(283), 1, - sym_identifier, - ACTIONS(285), 1, - anon_sym_LBRACE, - STATE(121), 1, - sym_expression, - ACTIONS(181), 2, - sym_float, - sym_string, - ACTIONS(183), 2, - anon_sym_true, - anon_sym_false, - STATE(111), 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, - [11554] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(500), 1, - anon_sym_COLON, - STATE(170), 1, - sym_logic_operator, - STATE(171), 1, - sym_math_operator, - ACTIONS(117), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(115), 15, - anon_sym_async, - anon_sym_LBRACE, - 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_EQ_GT, - anon_sym_DASH_GT, - [11589] = 3, + [11807] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(506), 9, @@ -11469,35 +11619,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [11618] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(170), 1, - sym_logic_operator, - STATE(171), 1, - sym_math_operator, - ACTIONS(101), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(99), 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, - 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, - [11651] = 3, + [11836] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(510), 9, @@ -11523,476 +11645,503 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [11680] = 12, + [11865] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(285), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, anon_sym_fn, - STATE(235), 1, + STATE(41), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [11727] = 12, + [11912] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(179), 1, - sym_integer, - ACTIONS(185), 1, - anon_sym_LBRACK, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(283), 1, + ACTIONS(163), 1, sym_identifier, - ACTIONS(285), 1, + ACTIONS(165), 1, anon_sym_LBRACE, - ACTIONS(287), 1, + ACTIONS(167), 1, + sym_integer, + ACTIONS(173), 1, + anon_sym_LBRACK, + ACTIONS(177), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, anon_sym_fn, - STATE(222), 1, + STATE(109), 1, sym_expression, - ACTIONS(181), 2, + ACTIONS(169), 2, sym_float, sym_string, - ACTIONS(183), 2, + ACTIONS(171), 2, anon_sym_true, anon_sym_false, - STATE(111), 4, + STATE(98), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(108), 6, + STATE(96), 6, sym_value, sym_index, sym_math, sym_logic, sym_function_call, sym_yield, - [11774] = 5, + [11959] = 12, ACTIONS(3), 1, sym__comment, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - ACTIONS(97), 3, + ACTIONS(131), 1, anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(95), 15, - anon_sym_async, - anon_sym_LBRACE, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, 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, - [11806] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, ACTIONS(514), 1, - anon_sym_COLON, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(125), 3, anon_sym_async, - anon_sym_LBRACE, - anon_sym_EQ_GT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [11848] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(514), 1, - anon_sym_COLON, - STATE(156), 1, - sym_math_operator, - STATE(197), 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, - [11882] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(514), 1, - anon_sym_COLON, ACTIONS(516), 1, - anon_sym_async, + anon_sym_LBRACE, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + STATE(255), 1, + sym_block, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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, + [12005] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, ACTIONS(518), 1, - anon_sym_LBRACE, - STATE(154), 1, - sym_block, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [11928] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(514), 1, - anon_sym_COLON, + anon_sym_async, ACTIONS(520), 1, + anon_sym_LBRACE, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + STATE(218), 1, + sym_block, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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, + [12051] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, + ACTIONS(518), 1, anon_sym_async, + ACTIONS(520), 1, + anon_sym_LBRACE, + STATE(195), 1, + sym_block, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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, + [12097] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, ACTIONS(522), 1, - anon_sym_LBRACE, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - STATE(209), 1, - sym_block, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [11974] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(514), 1, - anon_sym_COLON, + anon_sym_async, ACTIONS(524), 1, - anon_sym_async, - ACTIONS(526), 1, anon_sym_LBRACE, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - STATE(276), 1, + STATE(152), 1, sym_block, - ACTIONS(135), 2, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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, - [12020] = 12, + [12143] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(367), 1, + ACTIONS(329), 1, anon_sym_DASH_GT, - ACTIONS(514), 1, + ACTIONS(331), 1, anon_sym_COLON, - ACTIONS(528), 1, + ACTIONS(522), 1, anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - STATE(263), 1, - sym_block, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [12066] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(514), 1, - anon_sym_COLON, - ACTIONS(528), 1, - anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - STATE(264), 1, - sym_block, - ACTIONS(135), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [12112] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, - anon_sym_DASH_GT, - ACTIONS(514), 1, - anon_sym_COLON, ACTIONS(524), 1, - anon_sym_async, - ACTIONS(526), 1, anon_sym_LBRACE, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - STATE(266), 1, + STATE(142), 1, sym_block, - ACTIONS(135), 2, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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, - [12158] = 12, + [12189] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(367), 1, + ACTIONS(329), 1, anon_sym_DASH_GT, - ACTIONS(514), 1, + ACTIONS(331), 1, anon_sym_COLON, + ACTIONS(514), 1, + anon_sym_async, ACTIONS(516), 1, - anon_sym_async, - ACTIONS(518), 1, anon_sym_LBRACE, - STATE(146), 1, - sym_block, - STATE(156), 1, + STATE(201), 1, sym_math_operator, - STATE(197), 1, + STATE(202), 1, sym_logic_operator, - ACTIONS(135), 2, + STATE(246), 1, + sym_block, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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, - [12204] = 12, + [12235] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(367), 1, + ACTIONS(329), 1, anon_sym_DASH_GT, - ACTIONS(514), 1, + ACTIONS(331), 1, anon_sym_COLON, - ACTIONS(520), 1, + ACTIONS(526), 1, anon_sym_async, - ACTIONS(522), 1, + ACTIONS(528), 1, anon_sym_LBRACE, - STATE(156), 1, + STATE(201), 1, sym_math_operator, - STATE(197), 1, + STATE(202), 1, sym_logic_operator, - STATE(221), 1, + STATE(240), 1, sym_block, - ACTIONS(135), 2, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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, - [12250] = 10, + [12281] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, + ACTIONS(131), 1, anon_sym_DASH, - ACTIONS(367), 1, + ACTIONS(329), 1, anon_sym_DASH_GT, - ACTIONS(514), 1, + ACTIONS(331), 1, anon_sym_COLON, + ACTIONS(526), 1, + anon_sym_async, + ACTIONS(528), 1, + anon_sym_LBRACE, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + STATE(239), 1, + sym_block, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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, + [12327] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(530), 1, + anon_sym_elseif, ACTIONS(532), 1, - anon_sym_EQ_GT, - STATE(156), 1, + anon_sym_else, + STATE(258), 1, + sym_else, + STATE(233), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(343), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(341), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [12361] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, + ACTIONS(534), 1, + anon_sym_LBRACE, + STATE(201), 1, sym_math_operator, - STATE(197), 1, + STATE(202), 1, sym_logic_operator, - ACTIONS(135), 2, + ACTIONS(137), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(131), 4, + ACTIONS(133), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(133), 6, + ACTIONS(135), 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, - [12290] = 3, + [12401] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(536), 6, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, + ACTIONS(536), 1, + anon_sym_LBRACE, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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, + [12441] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(530), 1, + anon_sym_elseif, + ACTIONS(532), 1, + anon_sym_else, + STATE(252), 1, + sym_else, + STATE(236), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(335), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(333), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [12475] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(131), 1, + anon_sym_DASH, + ACTIONS(329), 1, + anon_sym_DASH_GT, + ACTIONS(331), 1, + anon_sym_COLON, + ACTIONS(538), 1, + anon_sym_EQ_GT, + STATE(201), 1, + sym_math_operator, + STATE(202), 1, + sym_logic_operator, + ACTIONS(137), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(133), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 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, + [12515] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(542), 6, anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(534), 12, + ACTIONS(540), 12, anon_sym_async, sym_identifier, sym_integer, @@ -12005,42 +12154,135 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, anon_sym_use, anon_sym_fn, - [12316] = 10, + [12541] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(129), 1, - anon_sym_DASH, - ACTIONS(367), 1, + ACTIONS(544), 1, + anon_sym_elseif, + STATE(236), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(347), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_fn, + ACTIONS(345), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [12570] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(267), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_fn, + ACTIONS(265), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_elseif, + [12593] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(247), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_fn, + ACTIONS(245), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_elseif, + [12616] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(410), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_fn, + ACTIONS(408), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_elseif, + [12639] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(434), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_fn, + ACTIONS(432), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_elseif, + [12662] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(549), 1, anon_sym_DASH_GT, - ACTIONS(514), 1, - anon_sym_COLON, - ACTIONS(538), 1, - anon_sym_EQ_GT, - STATE(156), 1, - sym_math_operator, - STATE(197), 1, - sym_logic_operator, - ACTIONS(135), 2, + ACTIONS(547), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_GT, - anon_sym_LT, - ACTIONS(131), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(133), 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, - [12356] = 3, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12684] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(542), 1, + ACTIONS(553), 1, anon_sym_DASH_GT, - ACTIONS(540), 13, + ACTIONS(551), 13, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, @@ -12054,63 +12296,82 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12378] = 3, + [12706] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(546), 1, - anon_sym_DASH_GT, - ACTIONS(544), 13, + ACTIONS(496), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(494), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12400] = 2, + [12727] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(540), 13, + ACTIONS(484), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(482), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12419] = 2, + [12748] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(548), 13, + ACTIONS(480), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(478), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12438] = 2, + [12769] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(550), 13, + ACTIONS(476), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(474), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [12790] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(555), 13, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, @@ -12124,7 +12385,95 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12457] = 3, + [12809] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12828] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(559), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12847] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(305), 1, + anon_sym_SEMI, + ACTIONS(297), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(295), 7, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [12870] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(551), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12889] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(500), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(498), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [12910] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(504), 5, @@ -12142,58 +12491,128 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_LPAREN, - [12478] = 2, + [12931] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(552), 13, + ACTIONS(512), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(510), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12497] = 7, + [12952] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(554), 1, + ACTIONS(508), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(506), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, - ACTIONS(556), 1, anon_sym_LPAREN, - ACTIONS(558), 1, - anon_sym_RPAREN, - STATE(249), 1, - aux_sym_type_repeat1, - STATE(251), 1, - sym_type, - ACTIONS(560), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12525] = 7, + [12973] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(562), 1, + ACTIONS(492), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(490), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, anon_sym_LBRACK, + anon_sym_LPAREN, + [12994] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(297), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(295), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [13015] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(335), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(333), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [13036] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(488), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(486), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [13057] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(561), 1, + anon_sym_LBRACK, + ACTIONS(563), 1, + anon_sym_LPAREN, ACTIONS(565), 1, - anon_sym_LPAREN, - ACTIONS(568), 1, anon_sym_RPAREN, - STATE(248), 1, + STATE(261), 1, aux_sym_type_repeat1, - STATE(251), 1, + STATE(263), 1, sym_type, - ACTIONS(570), 7, + ACTIONS(567), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -12201,20 +12620,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12553] = 7, + [13085] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(554), 1, + ACTIONS(561), 1, anon_sym_LBRACK, - ACTIONS(556), 1, + ACTIONS(563), 1, anon_sym_LPAREN, - ACTIONS(573), 1, + ACTIONS(569), 1, anon_sym_RPAREN, - STATE(248), 1, + STATE(262), 1, aux_sym_type_repeat1, - STATE(251), 1, + STATE(263), 1, sym_type, - ACTIONS(560), 7, + ACTIONS(567), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -12222,28 +12641,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12581] = 3, + [13113] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(575), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(403), 6, - anon_sym_LBRACE, - sym_float, - sym_string, + ACTIONS(571), 1, anon_sym_LBRACK, + ACTIONS(574), 1, anon_sym_LPAREN, - anon_sym_RPAREN, - [12600] = 3, - ACTIONS(3), 1, - sym__comment, ACTIONS(577), 1, + anon_sym_RPAREN, + STATE(262), 1, + aux_sym_type_repeat1, + STATE(263), 1, + sym_type, + ACTIONS(579), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13141] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(582), 1, anon_sym_COMMA, - ACTIONS(579), 10, + ACTIONS(584), 10, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_RPAREN, @@ -12254,32 +12678,64 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12619] = 3, + [13160] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(581), 5, + ACTIONS(586), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_fn, - ACTIONS(436), 6, + ACTIONS(454), 6, anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, - [12638] = 5, + [13179] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(554), 1, + ACTIONS(588), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(590), 6, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, anon_sym_LBRACK, - ACTIONS(556), 1, anon_sym_LPAREN, - STATE(327), 1, + [13198] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(592), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(375), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + [13217] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(561), 1, + anon_sym_LBRACK, + ACTIONS(563), 1, + anon_sym_LPAREN, + STATE(249), 1, sym_type, - ACTIONS(560), 7, + ACTIONS(567), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -12287,10 +12743,57 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12660] = 2, + [13239] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(568), 10, + ACTIONS(594), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(596), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [13257] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(598), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_fn, + ACTIONS(600), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + [13275] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(561), 1, + anon_sym_LBRACK, + ACTIONS(563), 1, + anon_sym_LPAREN, + STATE(248), 1, + sym_type, + ACTIONS(567), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [13297] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(577), 10, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_RPAREN, @@ -12301,31 +12804,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12676] = 3, + [13313] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(583), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(585), 5, - anon_sym_LBRACE, - sym_float, - sym_string, + ACTIONS(561), 1, anon_sym_LBRACK, + ACTIONS(563), 1, anon_sym_LPAREN, - [12694] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(554), 1, - anon_sym_LBRACK, - ACTIONS(556), 1, - anon_sym_LPAREN, - STATE(243), 1, + STATE(306), 1, sym_type, - ACTIONS(560), 7, + ACTIONS(567), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -12333,31 +12821,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12716] = 3, + [13335] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(587), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_fn, - ACTIONS(589), 5, - anon_sym_LBRACE, - sym_float, - sym_string, + ACTIONS(561), 1, anon_sym_LBRACK, + ACTIONS(563), 1, anon_sym_LPAREN, - [12734] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(554), 1, - anon_sym_LBRACK, - ACTIONS(556), 1, - anon_sym_LPAREN, - STATE(321), 1, + STATE(304), 1, sym_type, - ACTIONS(560), 7, + ACTIONS(567), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -12365,943 +12838,697 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12756] = 5, + [13357] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(554), 1, - anon_sym_LBRACK, - ACTIONS(556), 1, - anon_sym_LPAREN, - STATE(246), 1, - sym_type, - ACTIONS(560), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [12778] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(363), 1, - sym_identifier, - ACTIONS(591), 1, - anon_sym_elseif, - ACTIONS(593), 1, - anon_sym_else, - STATE(272), 1, - sym_else, - STATE(262), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(361), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - [12803] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(355), 1, - sym_identifier, - ACTIONS(591), 1, - anon_sym_elseif, - ACTIONS(593), 1, - anon_sym_else, - STATE(277), 1, - sym_else, - STATE(260), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(353), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - [12828] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(595), 1, - anon_sym_elseif, - ACTIONS(371), 2, - sym_identifier, - anon_sym_else, - STATE(262), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(369), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - [12848] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(448), 2, - sym_identifier, - anon_sym_else, - ACTIONS(446), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_elseif, - [12862] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(462), 2, - sym_identifier, - anon_sym_else, - ACTIONS(460), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_elseif, - [12876] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(478), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12886] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(496), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12896] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(472), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12906] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(490), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12916] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(486), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12926] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(66), 1, + STATE(65), 1, sym_assignment_operator, - ACTIONS(155), 3, + ACTIONS(157), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [12938] = 3, + [13369] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(476), 1, - anon_sym_SEMI, - ACTIONS(289), 3, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_identifier, - [12950] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(482), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12960] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(289), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12970] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(510), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12980] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(468), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [12990] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(506), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13000] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(361), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [13010] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(50), 1, + STATE(43), 1, sym_assignment_operator, - ACTIONS(155), 3, + ACTIONS(157), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [13022] = 4, + [13381] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, - anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(114), 1, - sym_block, - [13035] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - sym_identifier, - ACTIONS(600), 1, - anon_sym_PIPE, - STATE(299), 1, - aux_sym_function_repeat1, - [13048] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(602), 3, + STATE(68), 1, + sym_assignment_operator, + ACTIONS(157), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [13057] = 4, + [13393] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(598), 1, + ACTIONS(602), 1, sym_identifier, ACTIONS(604), 1, anon_sym_PIPE, - STATE(285), 1, + STATE(278), 1, aux_sym_function_repeat1, - [13070] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(520), 1, - anon_sym_async, - ACTIONS(522), 1, - anon_sym_LBRACE, - STATE(218), 1, - sym_block, - [13083] = 4, + [13406] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(606), 1, sym_identifier, - ACTIONS(608), 1, - anon_sym_RBRACE, - STATE(307), 1, - aux_sym_map_repeat1, - [13096] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - sym_identifier, - ACTIONS(610), 1, + ACTIONS(609), 1, anon_sym_PIPE, - STATE(293), 1, + STATE(278), 1, aux_sym_function_repeat1, - [13109] = 4, + [13419] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(612), 1, - sym_identifier, - ACTIONS(615), 1, - anon_sym_RBRACE, - STATE(286), 1, - aux_sym_map_repeat1, - [13122] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(524), 1, - anon_sym_async, - ACTIONS(526), 1, - anon_sym_LBRACE, - STATE(96), 1, - sym_block, - [13135] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(619), 1, + ACTIONS(613), 1, anon_sym_COMMA, - ACTIONS(617), 2, + ACTIONS(611), 2, anon_sym_RBRACE, sym_identifier, - [13146] = 4, + [13430] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(598), 1, + ACTIONS(615), 1, + anon_sym_async, + ACTIONS(617), 1, + anon_sym_LBRACE, + STATE(132), 1, + sym_block, + [13443] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(619), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [13452] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(615), 1, + anon_sym_async, + ACTIONS(617), 1, + anon_sym_LBRACE, + STATE(127), 1, + sym_block, + [13465] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(602), 1, sym_identifier, ACTIONS(621), 1, anon_sym_PIPE, - STATE(294), 1, + STATE(278), 1, aux_sym_function_repeat1, - [13159] = 4, + [13478] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, + ACTIONS(518), 1, anon_sym_async, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(105), 1, - sym_block, - [13172] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - sym_identifier, - ACTIONS(623), 1, - anon_sym_PIPE, - STATE(293), 1, - aux_sym_function_repeat1, - [13185] = 4, - ACTIONS(3), 1, - sym__comment, ACTIONS(520), 1, - anon_sym_async, - ACTIONS(522), 1, anon_sym_LBRACE, - STATE(59), 1, + STATE(217), 1, sym_block, - [13198] = 4, + [13491] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(625), 1, - sym_identifier, - ACTIONS(628), 1, - anon_sym_PIPE, - STATE(293), 1, - aux_sym_function_repeat1, - [13211] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - sym_identifier, - ACTIONS(630), 1, - anon_sym_PIPE, - STATE(293), 1, - aux_sym_function_repeat1, - [13224] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(524), 1, - anon_sym_async, - ACTIONS(526), 1, - anon_sym_LBRACE, - STATE(269), 1, - sym_block, - [13237] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(606), 1, - sym_identifier, - ACTIONS(632), 1, + ACTIONS(41), 1, anon_sym_RBRACE, - STATE(286), 1, + ACTIONS(623), 1, + sym_identifier, + STATE(296), 1, aux_sym_map_repeat1, - [13250] = 4, + [13504] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(520), 1, + ACTIONS(514), 1, anon_sym_async, - ACTIONS(522), 1, + ACTIONS(516), 1, anon_sym_LBRACE, - STATE(64), 1, + STATE(88), 1, sym_block, - [13263] = 4, + [13517] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(606), 1, + ACTIONS(518), 1, + anon_sym_async, + ACTIONS(520), 1, + anon_sym_LBRACE, + STATE(45), 1, + sym_block, + [13530] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(602), 1, + sym_identifier, + ACTIONS(625), 1, + anon_sym_PIPE, + STATE(278), 1, + aux_sym_function_repeat1, + [13543] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(623), 1, + sym_identifier, + ACTIONS(627), 1, + anon_sym_RBRACE, + STATE(291), 1, + aux_sym_map_repeat1, + [13556] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(602), 1, + sym_identifier, + ACTIONS(629), 1, + anon_sym_PIPE, + STATE(277), 1, + aux_sym_function_repeat1, + [13569] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(631), 1, sym_identifier, ACTIONS(634), 1, anon_sym_RBRACE, - STATE(286), 1, - aux_sym_map_repeat1, - [13276] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - sym_identifier, - ACTIONS(636), 1, - anon_sym_PIPE, - STATE(293), 1, - aux_sym_function_repeat1, - [13289] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - sym_identifier, - ACTIONS(638), 1, - anon_sym_PIPE, STATE(291), 1, - aux_sym_function_repeat1, - [13302] = 3, + aux_sym_map_repeat1, + [13582] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(642), 1, + ACTIONS(638), 1, anon_sym_COMMA, - ACTIONS(640), 2, + ACTIONS(636), 2, sym_identifier, anon_sym_PIPE, - [13313] = 4, + [13593] = 4, ACTIONS(3), 1, sym__comment, + ACTIONS(514), 1, + anon_sym_async, + ACTIONS(516), 1, + anon_sym_LBRACE, + STATE(86), 1, + sym_block, + [13606] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(518), 1, + anon_sym_async, ACTIONS(520), 1, - anon_sym_async, - ACTIONS(522), 1, anon_sym_LBRACE, - STATE(194), 1, + STATE(54), 1, sym_block, - [13326] = 4, + [13619] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(91), 1, - anon_sym_RBRACE, - ACTIONS(606), 1, + ACTIONS(602), 1, sym_identifier, - STATE(298), 1, + ACTIONS(640), 1, + anon_sym_PIPE, + STATE(288), 1, + aux_sym_function_repeat1, + [13632] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(623), 1, + sym_identifier, + ACTIONS(642), 1, + anon_sym_RBRACE, + STATE(291), 1, aux_sym_map_repeat1, - [13339] = 4, + [13645] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(524), 1, - anon_sym_async, - ACTIONS(526), 1, - anon_sym_LBRACE, - STATE(245), 1, - sym_block, - [13352] = 4, + ACTIONS(43), 1, + anon_sym_RBRACE, + ACTIONS(623), 1, + sym_identifier, + STATE(289), 1, + aux_sym_map_repeat1, + [13658] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(524), 1, + ACTIONS(514), 1, anon_sym_async, - ACTIONS(526), 1, + ACTIONS(516), 1, anon_sym_LBRACE, - STATE(94), 1, + STATE(253), 1, sym_block, - [13365] = 4, + [13671] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(623), 1, + sym_identifier, + ACTIONS(644), 1, + anon_sym_RBRACE, + STATE(291), 1, + aux_sym_map_repeat1, + [13684] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(602), 1, + sym_identifier, + ACTIONS(646), 1, + anon_sym_PIPE, + STATE(283), 1, + aux_sym_function_repeat1, + [13697] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(39), 1, anon_sym_RBRACE, - ACTIONS(606), 1, + ACTIONS(623), 1, sym_identifier, - STATE(296), 1, + STATE(299), 1, aux_sym_map_repeat1, - [13378] = 4, + [13710] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(606), 1, - sym_identifier, - ACTIONS(644), 1, - anon_sym_RBRACE, - STATE(286), 1, - aux_sym_map_repeat1, - [13391] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(646), 1, - anon_sym_async, - ACTIONS(648), 1, - anon_sym_LBRACE, - STATE(114), 1, - sym_block, - [13404] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(646), 1, - anon_sym_async, - ACTIONS(648), 1, - anon_sym_LBRACE, - STATE(105), 1, - sym_block, - [13417] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(650), 2, - anon_sym_RBRACE, - sym_identifier, - [13425] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(628), 2, + ACTIONS(609), 2, sym_identifier, anon_sym_PIPE, - [13433] = 2, + [13718] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(648), 2, + anon_sym_RBRACE, + sym_identifier, + [13726] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(650), 1, + anon_sym_RBRACK, + [13733] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(652), 1, - anon_sym_in, - [13440] = 2, + sym_identifier, + [13740] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(654), 1, - anon_sym_PIPE, - [13447] = 2, + anon_sym_GT, + [13747] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(656), 1, - anon_sym_LPAREN, - [13454] = 2, + sym_string, + [13754] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(658), 1, - anon_sym_LBRACE, - [13461] = 2, + ts_builtin_sym_end, + [13761] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(660), 1, - anon_sym_PIPE, - [13468] = 2, + anon_sym_LBRACE, + [13768] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(662), 1, - anon_sym_LBRACE, - [13475] = 2, + anon_sym_EQ, + [13775] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(664), 1, - sym_identifier, - [13482] = 2, + anon_sym_in, + [13782] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(666), 1, - anon_sym_LBRACE, - [13489] = 2, + sym_string, + [13789] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(668), 1, - sym_string, - [13496] = 2, + anon_sym_LBRACE, + [13796] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(670), 1, - anon_sym_GT, - [13503] = 2, + anon_sym_PIPE, + [13803] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(672), 1, - sym_string, - [13510] = 2, + anon_sym_LPAREN, + [13810] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(674), 1, - anon_sym_LPAREN, - [13517] = 2, + anon_sym_in, + [13817] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(676), 1, - anon_sym_in, - [13524] = 2, + anon_sym_LPAREN, + [13824] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(678), 1, - sym_identifier, - [13531] = 2, + anon_sym_LBRACE, + [13831] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(680), 1, - anon_sym_LPAREN, - [13538] = 2, + anon_sym_PIPE, + [13838] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(682), 1, - anon_sym_RBRACK, - [13545] = 2, + anon_sym_LPAREN, + [13845] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(684), 1, - anon_sym_PIPE, - [13552] = 2, + anon_sym_LBRACE, + [13852] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(686), 1, anon_sym_LBRACE, - [13559] = 2, + [13859] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(688), 1, anon_sym_PIPE, - [13566] = 2, + [13866] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(690), 1, - anon_sym_EQ, - [13573] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(692), 1, - ts_builtin_sym_end, - [13580] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(694), 1, - anon_sym_LBRACE, + sym_identifier, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, [SMALL_STATE(3)] = 97, - [SMALL_STATE(4)] = 192, - [SMALL_STATE(5)] = 289, - [SMALL_STATE(6)] = 383, - [SMALL_STATE(7)] = 437, - [SMALL_STATE(8)] = 493, - [SMALL_STATE(9)] = 587, - [SMALL_STATE(10)] = 641, - [SMALL_STATE(11)] = 735, - [SMALL_STATE(12)] = 829, - [SMALL_STATE(13)] = 923, - [SMALL_STATE(14)] = 1017, - [SMALL_STATE(15)] = 1073, - [SMALL_STATE(16)] = 1167, - [SMALL_STATE(17)] = 1261, - [SMALL_STATE(18)] = 1327, - [SMALL_STATE(19)] = 1421, - [SMALL_STATE(20)] = 1515, - [SMALL_STATE(21)] = 1609, - [SMALL_STATE(22)] = 1700, - [SMALL_STATE(23)] = 1791, - [SMALL_STATE(24)] = 1882, - [SMALL_STATE(25)] = 1935, - [SMALL_STATE(26)] = 2026, - [SMALL_STATE(27)] = 2117, - [SMALL_STATE(28)] = 2208, - [SMALL_STATE(29)] = 2299, - [SMALL_STATE(30)] = 2390, - [SMALL_STATE(31)] = 2445, - [SMALL_STATE(32)] = 2536, - [SMALL_STATE(33)] = 2627, - [SMALL_STATE(34)] = 2692, - [SMALL_STATE(35)] = 2751, - [SMALL_STATE(36)] = 2799, - [SMALL_STATE(37)] = 2847, - [SMALL_STATE(38)] = 2895, - [SMALL_STATE(39)] = 2943, - [SMALL_STATE(40)] = 3033, - [SMALL_STATE(41)] = 3081, - [SMALL_STATE(42)] = 3135, - [SMALL_STATE(43)] = 3183, - [SMALL_STATE(44)] = 3231, - [SMALL_STATE(45)] = 3289, - [SMALL_STATE(46)] = 3337, - [SMALL_STATE(47)] = 3427, - [SMALL_STATE(48)] = 3475, - [SMALL_STATE(49)] = 3561, - [SMALL_STATE(50)] = 3647, - [SMALL_STATE(51)] = 3737, - [SMALL_STATE(52)] = 3827, - [SMALL_STATE(53)] = 3913, - [SMALL_STATE(54)] = 3961, - [SMALL_STATE(55)] = 4047, - [SMALL_STATE(56)] = 4137, - [SMALL_STATE(57)] = 4185, - [SMALL_STATE(58)] = 4271, - [SMALL_STATE(59)] = 4361, - [SMALL_STATE(60)] = 4409, - [SMALL_STATE(61)] = 4457, - [SMALL_STATE(62)] = 4547, - [SMALL_STATE(63)] = 4595, - [SMALL_STATE(64)] = 4643, - [SMALL_STATE(65)] = 4691, - [SMALL_STATE(66)] = 4777, - [SMALL_STATE(67)] = 4867, - [SMALL_STATE(68)] = 4950, - [SMALL_STATE(69)] = 5033, - [SMALL_STATE(70)] = 5095, - [SMALL_STATE(71)] = 5159, - [SMALL_STATE(72)] = 5221, - [SMALL_STATE(73)] = 5286, - [SMALL_STATE(74)] = 5351, - [SMALL_STATE(75)] = 5390, - [SMALL_STATE(76)] = 5433, - [SMALL_STATE(77)] = 5478, - [SMALL_STATE(78)] = 5533, - [SMALL_STATE(79)] = 5576, - [SMALL_STATE(80)] = 5615, - [SMALL_STATE(81)] = 5660, - [SMALL_STATE(82)] = 5702, - [SMALL_STATE(83)] = 5756, - [SMALL_STATE(84)] = 5800, - [SMALL_STATE(85)] = 5837, - [SMALL_STATE(86)] = 5874, - [SMALL_STATE(87)] = 5929, - [SMALL_STATE(88)] = 5966, - [SMALL_STATE(89)] = 6003, - [SMALL_STATE(90)] = 6040, - [SMALL_STATE(91)] = 6077, - [SMALL_STATE(92)] = 6114, - [SMALL_STATE(93)] = 6151, - [SMALL_STATE(94)] = 6206, - [SMALL_STATE(95)] = 6243, - [SMALL_STATE(96)] = 6280, - [SMALL_STATE(97)] = 6317, - [SMALL_STATE(98)] = 6354, - [SMALL_STATE(99)] = 6391, - [SMALL_STATE(100)] = 6428, - [SMALL_STATE(101)] = 6470, - [SMALL_STATE(102)] = 6524, - [SMALL_STATE(103)] = 6578, - [SMALL_STATE(104)] = 6632, - [SMALL_STATE(105)] = 6666, - [SMALL_STATE(106)] = 6700, - [SMALL_STATE(107)] = 6734, - [SMALL_STATE(108)] = 6776, - [SMALL_STATE(109)] = 6810, - [SMALL_STATE(110)] = 6844, - [SMALL_STATE(111)] = 6878, - [SMALL_STATE(112)] = 6912, - [SMALL_STATE(113)] = 6946, - [SMALL_STATE(114)] = 6988, - [SMALL_STATE(115)] = 7022, - [SMALL_STATE(116)] = 7056, - [SMALL_STATE(117)] = 7090, - [SMALL_STATE(118)] = 7124, - [SMALL_STATE(119)] = 7158, - [SMALL_STATE(120)] = 7192, - [SMALL_STATE(121)] = 7225, - [SMALL_STATE(122)] = 7274, - [SMALL_STATE(123)] = 7307, - [SMALL_STATE(124)] = 7344, - [SMALL_STATE(125)] = 7399, - [SMALL_STATE(126)] = 7438, - [SMALL_STATE(127)] = 7475, - [SMALL_STATE(128)] = 7512, - [SMALL_STATE(129)] = 7551, - [SMALL_STATE(130)] = 7606, - [SMALL_STATE(131)] = 7654, - [SMALL_STATE(132)] = 7690, - [SMALL_STATE(133)] = 7732, - [SMALL_STATE(134)] = 7770, - [SMALL_STATE(135)] = 7823, - [SMALL_STATE(136)] = 7876, - [SMALL_STATE(137)] = 7929, - [SMALL_STATE(138)] = 7982, - [SMALL_STATE(139)] = 8035, - [SMALL_STATE(140)] = 8088, - [SMALL_STATE(141)] = 8141, - [SMALL_STATE(142)] = 8172, - [SMALL_STATE(143)] = 8203, - [SMALL_STATE(144)] = 8240, - [SMALL_STATE(145)] = 8293, - [SMALL_STATE(146)] = 8346, - [SMALL_STATE(147)] = 8377, - [SMALL_STATE(148)] = 8430, - [SMALL_STATE(149)] = 8483, - [SMALL_STATE(150)] = 8536, - [SMALL_STATE(151)] = 8589, - [SMALL_STATE(152)] = 8620, - [SMALL_STATE(153)] = 8673, - [SMALL_STATE(154)] = 8704, - [SMALL_STATE(155)] = 8735, - [SMALL_STATE(156)] = 8782, - [SMALL_STATE(157)] = 8829, - [SMALL_STATE(158)] = 8876, - [SMALL_STATE(159)] = 8923, - [SMALL_STATE(160)] = 8970, - [SMALL_STATE(161)] = 9017, - [SMALL_STATE(162)] = 9064, - [SMALL_STATE(163)] = 9111, - [SMALL_STATE(164)] = 9158, - [SMALL_STATE(165)] = 9189, - [SMALL_STATE(166)] = 9236, - [SMALL_STATE(167)] = 9283, - [SMALL_STATE(168)] = 9330, - [SMALL_STATE(169)] = 9377, - [SMALL_STATE(170)] = 9410, - [SMALL_STATE(171)] = 9457, - [SMALL_STATE(172)] = 9504, - [SMALL_STATE(173)] = 9551, - [SMALL_STATE(174)] = 9598, - [SMALL_STATE(175)] = 9645, - [SMALL_STATE(176)] = 9692, - [SMALL_STATE(177)] = 9739, - [SMALL_STATE(178)] = 9786, - [SMALL_STATE(179)] = 9833, - [SMALL_STATE(180)] = 9880, - [SMALL_STATE(181)] = 9927, - [SMALL_STATE(182)] = 9974, - [SMALL_STATE(183)] = 10021, - [SMALL_STATE(184)] = 10068, - [SMALL_STATE(185)] = 10097, - [SMALL_STATE(186)] = 10126, - [SMALL_STATE(187)] = 10173, - [SMALL_STATE(188)] = 10220, - [SMALL_STATE(189)] = 10249, - [SMALL_STATE(190)] = 10278, - [SMALL_STATE(191)] = 10325, - [SMALL_STATE(192)] = 10370, - [SMALL_STATE(193)] = 10399, - [SMALL_STATE(194)] = 10428, - [SMALL_STATE(195)] = 10457, - [SMALL_STATE(196)] = 10504, - [SMALL_STATE(197)] = 10551, - [SMALL_STATE(198)] = 10598, - [SMALL_STATE(199)] = 10645, - [SMALL_STATE(200)] = 10674, - [SMALL_STATE(201)] = 10721, - [SMALL_STATE(202)] = 10768, - [SMALL_STATE(203)] = 10803, - [SMALL_STATE(204)] = 10850, - [SMALL_STATE(205)] = 10897, - [SMALL_STATE(206)] = 10944, - [SMALL_STATE(207)] = 10987, - [SMALL_STATE(208)] = 11034, - [SMALL_STATE(209)] = 11081, - [SMALL_STATE(210)] = 11110, - [SMALL_STATE(211)] = 11157, - [SMALL_STATE(212)] = 11204, - [SMALL_STATE(213)] = 11251, - [SMALL_STATE(214)] = 11298, - [SMALL_STATE(215)] = 11341, - [SMALL_STATE(216)] = 11384, - [SMALL_STATE(217)] = 11431, - [SMALL_STATE(218)] = 11478, - [SMALL_STATE(219)] = 11507, - [SMALL_STATE(220)] = 11554, - [SMALL_STATE(221)] = 11589, - [SMALL_STATE(222)] = 11618, - [SMALL_STATE(223)] = 11651, - [SMALL_STATE(224)] = 11680, - [SMALL_STATE(225)] = 11727, - [SMALL_STATE(226)] = 11774, - [SMALL_STATE(227)] = 11806, - [SMALL_STATE(228)] = 11848, - [SMALL_STATE(229)] = 11882, - [SMALL_STATE(230)] = 11928, - [SMALL_STATE(231)] = 11974, - [SMALL_STATE(232)] = 12020, - [SMALL_STATE(233)] = 12066, - [SMALL_STATE(234)] = 12112, - [SMALL_STATE(235)] = 12158, - [SMALL_STATE(236)] = 12204, - [SMALL_STATE(237)] = 12250, - [SMALL_STATE(238)] = 12290, - [SMALL_STATE(239)] = 12316, - [SMALL_STATE(240)] = 12356, - [SMALL_STATE(241)] = 12378, - [SMALL_STATE(242)] = 12400, - [SMALL_STATE(243)] = 12419, - [SMALL_STATE(244)] = 12438, - [SMALL_STATE(245)] = 12457, - [SMALL_STATE(246)] = 12478, - [SMALL_STATE(247)] = 12497, - [SMALL_STATE(248)] = 12525, - [SMALL_STATE(249)] = 12553, - [SMALL_STATE(250)] = 12581, - [SMALL_STATE(251)] = 12600, - [SMALL_STATE(252)] = 12619, - [SMALL_STATE(253)] = 12638, - [SMALL_STATE(254)] = 12660, - [SMALL_STATE(255)] = 12676, - [SMALL_STATE(256)] = 12694, - [SMALL_STATE(257)] = 12716, - [SMALL_STATE(258)] = 12734, - [SMALL_STATE(259)] = 12756, - [SMALL_STATE(260)] = 12778, - [SMALL_STATE(261)] = 12803, - [SMALL_STATE(262)] = 12828, - [SMALL_STATE(263)] = 12848, - [SMALL_STATE(264)] = 12862, - [SMALL_STATE(265)] = 12876, - [SMALL_STATE(266)] = 12886, - [SMALL_STATE(267)] = 12896, - [SMALL_STATE(268)] = 12906, - [SMALL_STATE(269)] = 12916, - [SMALL_STATE(270)] = 12926, - [SMALL_STATE(271)] = 12938, - [SMALL_STATE(272)] = 12950, - [SMALL_STATE(273)] = 12960, - [SMALL_STATE(274)] = 12970, - [SMALL_STATE(275)] = 12980, - [SMALL_STATE(276)] = 12990, - [SMALL_STATE(277)] = 13000, - [SMALL_STATE(278)] = 13010, - [SMALL_STATE(279)] = 13022, - [SMALL_STATE(280)] = 13035, - [SMALL_STATE(281)] = 13048, - [SMALL_STATE(282)] = 13057, - [SMALL_STATE(283)] = 13070, - [SMALL_STATE(284)] = 13083, - [SMALL_STATE(285)] = 13096, - [SMALL_STATE(286)] = 13109, - [SMALL_STATE(287)] = 13122, - [SMALL_STATE(288)] = 13135, - [SMALL_STATE(289)] = 13146, - [SMALL_STATE(290)] = 13159, - [SMALL_STATE(291)] = 13172, - [SMALL_STATE(292)] = 13185, - [SMALL_STATE(293)] = 13198, - [SMALL_STATE(294)] = 13211, - [SMALL_STATE(295)] = 13224, - [SMALL_STATE(296)] = 13237, - [SMALL_STATE(297)] = 13250, - [SMALL_STATE(298)] = 13263, - [SMALL_STATE(299)] = 13276, - [SMALL_STATE(300)] = 13289, - [SMALL_STATE(301)] = 13302, - [SMALL_STATE(302)] = 13313, - [SMALL_STATE(303)] = 13326, - [SMALL_STATE(304)] = 13339, - [SMALL_STATE(305)] = 13352, - [SMALL_STATE(306)] = 13365, - [SMALL_STATE(307)] = 13378, - [SMALL_STATE(308)] = 13391, - [SMALL_STATE(309)] = 13404, - [SMALL_STATE(310)] = 13417, - [SMALL_STATE(311)] = 13425, - [SMALL_STATE(312)] = 13433, - [SMALL_STATE(313)] = 13440, - [SMALL_STATE(314)] = 13447, - [SMALL_STATE(315)] = 13454, - [SMALL_STATE(316)] = 13461, - [SMALL_STATE(317)] = 13468, - [SMALL_STATE(318)] = 13475, - [SMALL_STATE(319)] = 13482, - [SMALL_STATE(320)] = 13489, - [SMALL_STATE(321)] = 13496, - [SMALL_STATE(322)] = 13503, - [SMALL_STATE(323)] = 13510, - [SMALL_STATE(324)] = 13517, - [SMALL_STATE(325)] = 13524, - [SMALL_STATE(326)] = 13531, - [SMALL_STATE(327)] = 13538, - [SMALL_STATE(328)] = 13545, - [SMALL_STATE(329)] = 13552, - [SMALL_STATE(330)] = 13559, - [SMALL_STATE(331)] = 13566, - [SMALL_STATE(332)] = 13573, - [SMALL_STATE(333)] = 13580, + [SMALL_STATE(4)] = 194, + [SMALL_STATE(5)] = 291, + [SMALL_STATE(6)] = 386, + [SMALL_STATE(7)] = 480, + [SMALL_STATE(8)] = 574, + [SMALL_STATE(9)] = 668, + [SMALL_STATE(10)] = 762, + [SMALL_STATE(11)] = 816, + [SMALL_STATE(12)] = 910, + [SMALL_STATE(13)] = 1004, + [SMALL_STATE(14)] = 1098, + [SMALL_STATE(15)] = 1152, + [SMALL_STATE(16)] = 1208, + [SMALL_STATE(17)] = 1302, + [SMALL_STATE(18)] = 1396, + [SMALL_STATE(19)] = 1462, + [SMALL_STATE(20)] = 1518, + [SMALL_STATE(21)] = 1612, + [SMALL_STATE(22)] = 1706, + [SMALL_STATE(23)] = 1759, + [SMALL_STATE(24)] = 1850, + [SMALL_STATE(25)] = 1941, + [SMALL_STATE(26)] = 2032, + [SMALL_STATE(27)] = 2123, + [SMALL_STATE(28)] = 2214, + [SMALL_STATE(29)] = 2305, + [SMALL_STATE(30)] = 2396, + [SMALL_STATE(31)] = 2451, + [SMALL_STATE(32)] = 2542, + [SMALL_STATE(33)] = 2607, + [SMALL_STATE(34)] = 2698, + [SMALL_STATE(35)] = 2757, + [SMALL_STATE(36)] = 2848, + [SMALL_STATE(37)] = 2896, + [SMALL_STATE(38)] = 2982, + [SMALL_STATE(39)] = 3072, + [SMALL_STATE(40)] = 3162, + [SMALL_STATE(41)] = 3210, + [SMALL_STATE(42)] = 3296, + [SMALL_STATE(43)] = 3382, + [SMALL_STATE(44)] = 3472, + [SMALL_STATE(45)] = 3558, + [SMALL_STATE(46)] = 3606, + [SMALL_STATE(47)] = 3654, + [SMALL_STATE(48)] = 3702, + [SMALL_STATE(49)] = 3792, + [SMALL_STATE(50)] = 3840, + [SMALL_STATE(51)] = 3930, + [SMALL_STATE(52)] = 4020, + [SMALL_STATE(53)] = 4068, + [SMALL_STATE(54)] = 4154, + [SMALL_STATE(55)] = 4202, + [SMALL_STATE(56)] = 4292, + [SMALL_STATE(57)] = 4350, + [SMALL_STATE(58)] = 4398, + [SMALL_STATE(59)] = 4488, + [SMALL_STATE(60)] = 4536, + [SMALL_STATE(61)] = 4584, + [SMALL_STATE(62)] = 4638, + [SMALL_STATE(63)] = 4686, + [SMALL_STATE(64)] = 4734, + [SMALL_STATE(65)] = 4782, + [SMALL_STATE(66)] = 4872, + [SMALL_STATE(67)] = 4962, + [SMALL_STATE(68)] = 5048, + [SMALL_STATE(69)] = 5138, + [SMALL_STATE(70)] = 5228, + [SMALL_STATE(71)] = 5276, + [SMALL_STATE(72)] = 5324, + [SMALL_STATE(73)] = 5386, + [SMALL_STATE(74)] = 5448, + [SMALL_STATE(75)] = 5512, + [SMALL_STATE(76)] = 5560, + [SMALL_STATE(77)] = 5610, + [SMALL_STATE(78)] = 5658, + [SMALL_STATE(79)] = 5718, + [SMALL_STATE(80)] = 5768, + [SMALL_STATE(81)] = 5827, + [SMALL_STATE(82)] = 5876, + [SMALL_STATE(83)] = 5923, + [SMALL_STATE(84)] = 5965, + [SMALL_STATE(85)] = 6007, + [SMALL_STATE(86)] = 6049, + [SMALL_STATE(87)] = 6091, + [SMALL_STATE(88)] = 6133, + [SMALL_STATE(89)] = 6175, + [SMALL_STATE(90)] = 6217, + [SMALL_STATE(91)] = 6259, + [SMALL_STATE(92)] = 6301, + [SMALL_STATE(93)] = 6343, + [SMALL_STATE(94)] = 6385, + [SMALL_STATE(95)] = 6427, + [SMALL_STATE(96)] = 6469, + [SMALL_STATE(97)] = 6511, + [SMALL_STATE(98)] = 6553, + [SMALL_STATE(99)] = 6595, + [SMALL_STATE(100)] = 6645, + [SMALL_STATE(101)] = 6690, + [SMALL_STATE(102)] = 6745, + [SMALL_STATE(103)] = 6800, + [SMALL_STATE(104)] = 6855, + [SMALL_STATE(105)] = 6908, + [SMALL_STATE(106)] = 6961, + [SMALL_STATE(107)] = 7015, + [SMALL_STATE(108)] = 7069, + [SMALL_STATE(109)] = 7109, + [SMALL_STATE(110)] = 7151, + [SMALL_STATE(111)] = 7205, + [SMALL_STATE(112)] = 7247, + [SMALL_STATE(113)] = 7289, + [SMALL_STATE(114)] = 7341, + [SMALL_STATE(115)] = 7381, + [SMALL_STATE(116)] = 7422, + [SMALL_STATE(117)] = 7461, + [SMALL_STATE(118)] = 7512, + [SMALL_STATE(119)] = 7546, + [SMALL_STATE(120)] = 7580, + [SMALL_STATE(121)] = 7614, + [SMALL_STATE(122)] = 7648, + [SMALL_STATE(123)] = 7690, + [SMALL_STATE(124)] = 7724, + [SMALL_STATE(125)] = 7758, + [SMALL_STATE(126)] = 7792, + [SMALL_STATE(127)] = 7826, + [SMALL_STATE(128)] = 7860, + [SMALL_STATE(129)] = 7894, + [SMALL_STATE(130)] = 7928, + [SMALL_STATE(131)] = 7962, + [SMALL_STATE(132)] = 8004, + [SMALL_STATE(133)] = 8038, + [SMALL_STATE(134)] = 8072, + [SMALL_STATE(135)] = 8106, + [SMALL_STATE(136)] = 8140, + [SMALL_STATE(137)] = 8177, + [SMALL_STATE(138)] = 8219, + [SMALL_STATE(139)] = 8272, + [SMALL_STATE(140)] = 8325, + [SMALL_STATE(141)] = 8378, + [SMALL_STATE(142)] = 8431, + [SMALL_STATE(143)] = 8462, + [SMALL_STATE(144)] = 8515, + [SMALL_STATE(145)] = 8568, + [SMALL_STATE(146)] = 8605, + [SMALL_STATE(147)] = 8658, + [SMALL_STATE(148)] = 8711, + [SMALL_STATE(149)] = 8764, + [SMALL_STATE(150)] = 8817, + [SMALL_STATE(151)] = 8870, + [SMALL_STATE(152)] = 8923, + [SMALL_STATE(153)] = 8954, + [SMALL_STATE(154)] = 8985, + [SMALL_STATE(155)] = 9016, + [SMALL_STATE(156)] = 9069, + [SMALL_STATE(157)] = 9122, + [SMALL_STATE(158)] = 9175, + [SMALL_STATE(159)] = 9228, + [SMALL_STATE(160)] = 9281, + [SMALL_STATE(161)] = 9331, + [SMALL_STATE(162)] = 9381, + [SMALL_STATE(163)] = 9428, + [SMALL_STATE(164)] = 9471, + [SMALL_STATE(165)] = 9518, + [SMALL_STATE(166)] = 9561, + [SMALL_STATE(167)] = 9608, + [SMALL_STATE(168)] = 9655, + [SMALL_STATE(169)] = 9702, + [SMALL_STATE(170)] = 9749, + [SMALL_STATE(171)] = 9796, + [SMALL_STATE(172)] = 9843, + [SMALL_STATE(173)] = 9890, + [SMALL_STATE(174)] = 9937, + [SMALL_STATE(175)] = 9984, + [SMALL_STATE(176)] = 10031, + [SMALL_STATE(177)] = 10078, + [SMALL_STATE(178)] = 10125, + [SMALL_STATE(179)] = 10172, + [SMALL_STATE(180)] = 10219, + [SMALL_STATE(181)] = 10266, + [SMALL_STATE(182)] = 10313, + [SMALL_STATE(183)] = 10360, + [SMALL_STATE(184)] = 10407, + [SMALL_STATE(185)] = 10438, + [SMALL_STATE(186)] = 10485, + [SMALL_STATE(187)] = 10514, + [SMALL_STATE(188)] = 10561, + [SMALL_STATE(189)] = 10608, + [SMALL_STATE(190)] = 10655, + [SMALL_STATE(191)] = 10702, + [SMALL_STATE(192)] = 10749, + [SMALL_STATE(193)] = 10796, + [SMALL_STATE(194)] = 10841, + [SMALL_STATE(195)] = 10888, + [SMALL_STATE(196)] = 10917, + [SMALL_STATE(197)] = 10946, + [SMALL_STATE(198)] = 10993, + [SMALL_STATE(199)] = 11022, + [SMALL_STATE(200)] = 11051, + [SMALL_STATE(201)] = 11098, + [SMALL_STATE(202)] = 11145, + [SMALL_STATE(203)] = 11192, + [SMALL_STATE(204)] = 11239, + [SMALL_STATE(205)] = 11286, + [SMALL_STATE(206)] = 11333, + [SMALL_STATE(207)] = 11380, + [SMALL_STATE(208)] = 11427, + [SMALL_STATE(209)] = 11474, + [SMALL_STATE(210)] = 11521, + [SMALL_STATE(211)] = 11550, + [SMALL_STATE(212)] = 11579, + [SMALL_STATE(213)] = 11626, + [SMALL_STATE(214)] = 11655, + [SMALL_STATE(215)] = 11684, + [SMALL_STATE(216)] = 11731, + [SMALL_STATE(217)] = 11778, + [SMALL_STATE(218)] = 11807, + [SMALL_STATE(219)] = 11836, + [SMALL_STATE(220)] = 11865, + [SMALL_STATE(221)] = 11912, + [SMALL_STATE(222)] = 11959, + [SMALL_STATE(223)] = 12005, + [SMALL_STATE(224)] = 12051, + [SMALL_STATE(225)] = 12097, + [SMALL_STATE(226)] = 12143, + [SMALL_STATE(227)] = 12189, + [SMALL_STATE(228)] = 12235, + [SMALL_STATE(229)] = 12281, + [SMALL_STATE(230)] = 12327, + [SMALL_STATE(231)] = 12361, + [SMALL_STATE(232)] = 12401, + [SMALL_STATE(233)] = 12441, + [SMALL_STATE(234)] = 12475, + [SMALL_STATE(235)] = 12515, + [SMALL_STATE(236)] = 12541, + [SMALL_STATE(237)] = 12570, + [SMALL_STATE(238)] = 12593, + [SMALL_STATE(239)] = 12616, + [SMALL_STATE(240)] = 12639, + [SMALL_STATE(241)] = 12662, + [SMALL_STATE(242)] = 12684, + [SMALL_STATE(243)] = 12706, + [SMALL_STATE(244)] = 12727, + [SMALL_STATE(245)] = 12748, + [SMALL_STATE(246)] = 12769, + [SMALL_STATE(247)] = 12790, + [SMALL_STATE(248)] = 12809, + [SMALL_STATE(249)] = 12828, + [SMALL_STATE(250)] = 12847, + [SMALL_STATE(251)] = 12870, + [SMALL_STATE(252)] = 12889, + [SMALL_STATE(253)] = 12910, + [SMALL_STATE(254)] = 12931, + [SMALL_STATE(255)] = 12952, + [SMALL_STATE(256)] = 12973, + [SMALL_STATE(257)] = 12994, + [SMALL_STATE(258)] = 13015, + [SMALL_STATE(259)] = 13036, + [SMALL_STATE(260)] = 13057, + [SMALL_STATE(261)] = 13085, + [SMALL_STATE(262)] = 13113, + [SMALL_STATE(263)] = 13141, + [SMALL_STATE(264)] = 13160, + [SMALL_STATE(265)] = 13179, + [SMALL_STATE(266)] = 13198, + [SMALL_STATE(267)] = 13217, + [SMALL_STATE(268)] = 13239, + [SMALL_STATE(269)] = 13257, + [SMALL_STATE(270)] = 13275, + [SMALL_STATE(271)] = 13297, + [SMALL_STATE(272)] = 13313, + [SMALL_STATE(273)] = 13335, + [SMALL_STATE(274)] = 13357, + [SMALL_STATE(275)] = 13369, + [SMALL_STATE(276)] = 13381, + [SMALL_STATE(277)] = 13393, + [SMALL_STATE(278)] = 13406, + [SMALL_STATE(279)] = 13419, + [SMALL_STATE(280)] = 13430, + [SMALL_STATE(281)] = 13443, + [SMALL_STATE(282)] = 13452, + [SMALL_STATE(283)] = 13465, + [SMALL_STATE(284)] = 13478, + [SMALL_STATE(285)] = 13491, + [SMALL_STATE(286)] = 13504, + [SMALL_STATE(287)] = 13517, + [SMALL_STATE(288)] = 13530, + [SMALL_STATE(289)] = 13543, + [SMALL_STATE(290)] = 13556, + [SMALL_STATE(291)] = 13569, + [SMALL_STATE(292)] = 13582, + [SMALL_STATE(293)] = 13593, + [SMALL_STATE(294)] = 13606, + [SMALL_STATE(295)] = 13619, + [SMALL_STATE(296)] = 13632, + [SMALL_STATE(297)] = 13645, + [SMALL_STATE(298)] = 13658, + [SMALL_STATE(299)] = 13671, + [SMALL_STATE(300)] = 13684, + [SMALL_STATE(301)] = 13697, + [SMALL_STATE(302)] = 13710, + [SMALL_STATE(303)] = 13718, + [SMALL_STATE(304)] = 13726, + [SMALL_STATE(305)] = 13733, + [SMALL_STATE(306)] = 13740, + [SMALL_STATE(307)] = 13747, + [SMALL_STATE(308)] = 13754, + [SMALL_STATE(309)] = 13761, + [SMALL_STATE(310)] = 13768, + [SMALL_STATE(311)] = 13775, + [SMALL_STATE(312)] = 13782, + [SMALL_STATE(313)] = 13789, + [SMALL_STATE(314)] = 13796, + [SMALL_STATE(315)] = 13803, + [SMALL_STATE(316)] = 13810, + [SMALL_STATE(317)] = 13817, + [SMALL_STATE(318)] = 13824, + [SMALL_STATE(319)] = 13831, + [SMALL_STATE(320)] = 13838, + [SMALL_STATE(321)] = 13845, + [SMALL_STATE(322)] = 13852, + [SMALL_STATE(323)] = 13859, + [SMALL_STATE(324)] = 13866, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -13309,327 +13536,325 @@ static const TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(309), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(212), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(210), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(325), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(322), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(330), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(34), - [46] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(333), - [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), - [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(53), - [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(53), - [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(47), - [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(136), - [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(190), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(224), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(212), - [73] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(210), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(325), - [79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(325), - [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(160), - [85] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(322), - [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(330), - [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), - [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), - [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [101] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [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(187), - [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), - [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(257), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), - [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), - [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [151] = {.entry = {.count = 1, .reusable = false}}, SHIFT(238), - [153] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258), - [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), - [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [159] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 5), - [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), - [165] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), - [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), - [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), - [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319), - [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [179] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), - [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [183] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [189] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), - [191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), - [193] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), - [195] = {.entry = {.count = 1, .reusable = false}}, SHIFT(318), - [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), - [199] = {.entry = {.count = 1, .reusable = false}}, SHIFT(178), - [201] = {.entry = {.count = 1, .reusable = false}}, SHIFT(320), - [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(316), - [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), - [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), - [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), - [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), - [227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), - [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [231] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), - [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), - [243] = {.entry = {.count = 1, .reusable = false}}, SHIFT(328), - [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), - [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), - [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [267] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), - [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), - [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306), - [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), - [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [291] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), - [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), - [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(306), - [309] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(111), - [312] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(111), - [315] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(109), - [318] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(147), - [321] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(167), - [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(313), - [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), - [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 3), - [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [337] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), - [341] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), - [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [355] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), - [359] = {.entry = {.count = 1, .reusable = false}}, SHIFT(302), - [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), - [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), - [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [373] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(198), - [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [382] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(85), - [385] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(284), - [388] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(97), - [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(97), - [394] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(87), - [397] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(140), - [400] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(186), - [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), - [405] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(328), - [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [418] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(85), - [421] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(284), - [424] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(97), - [427] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(97), - [430] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(87), - [433] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(140), - [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [438] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(186), - [441] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(328), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), - [448] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), - [462] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), - [464] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), - [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), - [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), - [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), - [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), - [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), - [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), - [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), - [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), - [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), - [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), - [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), - [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}}, REDUCE(sym_assignment, 3), - [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), - [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), - [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), - [534] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), - [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), - [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), - [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), - [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), - [554] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), - [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [562] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(253), - [565] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(247), - [568] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [570] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(244), - [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), - [575] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), - [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), - [581] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [583] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [587] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [593] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295), - [595] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(177), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), - [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [602] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), - [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), - [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), - [612] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(331), - [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), - [625] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(301), - [628] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [634] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [636] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), - [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), - [640] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), - [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), - [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [650] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), - [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), - [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), - [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), - [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [692] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(171), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(305), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(176), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(312), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(323), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [47] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(34), + [50] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(309), + [53] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), + [56] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(40), + [59] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(40), + [62] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(71), + [65] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(159), + [68] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(166), + [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(167), + [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(171), + [77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(173), + [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(305), + [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(305), + [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(176), + [89] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(312), + [92] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(323), + [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), + [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [105] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [129] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), + [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), + [137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(268), + [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), + [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), + [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [153] = {.entry = {.count = 1, .reusable = false}}, SHIFT(235), + [155] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272), + [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), + [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), + [161] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), + [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), + [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), + [183] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314), + [185] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [187] = {.entry = {.count = 1, .reusable = false}}, SHIFT(318), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194), + [193] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164), + [195] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), + [197] = {.entry = {.count = 1, .reusable = false}}, SHIFT(324), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [201] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), + [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(307), + [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 5), + [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), + [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [231] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), + [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [235] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), + [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [241] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), + [243] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319), + [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), + [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), + [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), + [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [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_map, 3), + [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), + [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), + [293] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [307] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [313] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), + [315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [323] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(284), + [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}}, REDUCE(aux_sym_if_else_repeat1, 2), + [347] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [349] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(208), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [354] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(96), + [357] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(285), + [360] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(98), + [363] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(98), + [366] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(83), + [369] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(143), + [372] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(197), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), + [377] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(314), + [380] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(129), + [383] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(301), + [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), + [388] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(134), + [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(134), + [394] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(133), + [397] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(146), + [400] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(175), + [403] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(319), + [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), + [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [424] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), + [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), + [436] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(96), + [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(285), + [442] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(98), + [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(98), + [448] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(83), + [451] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(143), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(197), + [459] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(314), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [470] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), + [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), + [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [500] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), + [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [506] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), + [508] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), + [510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), + [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [532] = {.entry = {.count = 1, .reusable = false}}, SHIFT(298), + [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [540] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [542] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [544] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(188), + [547] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), + [551] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), + [555] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [559] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [571] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(273), + [574] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(260), + [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), + [579] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(247), + [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [584] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), + [586] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [588] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [590] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [592] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), + [594] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [596] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [598] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [600] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), + [606] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(292), + [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [611] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), + [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [631] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(310), + [634] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [636] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), + [648] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), + [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [658] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316), }; #ifdef __cplusplus