diff --git a/examples/async.ds b/examples/async.ds index 5e66524..279c4ff 100644 --- a/examples/async.ds +++ b/examples/async.ds @@ -1,7 +1,5 @@ -(output "This will print first.") - -create_random_numbers = |count | { - numbers = []; +create_random_numbers |count| { +mnumbers = []; while (length numbers) < count { numbers += (random_integer) @@ -10,6 +8,8 @@ create_random_numbers = |count | { (output "Made " + count + " numbers.") } +(output "This will print first.") + async { (create_random_numbers 1000) (create_random_numbers 100) diff --git a/examples/clue_solver.ds b/examples/clue_solver.ds index 301cc02..4f1c57d 100644 --- a/examples/clue_solver.ds +++ b/examples/clue_solver.ds @@ -4,25 +4,25 @@ all_cards = { weapons = ['Rope' 'Lead_Pipe' 'Knife'] } -is_ready_to_solve = |cards | { +is_ready_to_solve bool> |cards| { ((length cards:suspects) == 1) && ((length cards:rooms) == 1) && ((length cards:weapons) == 1) } -take_turn = |opponent_card , current_room , cards | { +take_turn map> |opponent_card current_room cards| { (remove_card opponent_card cards) (make_guess current_room cards) cards } -remove_card = |opponent_card , cards | { +remove_card |opponent_card cards| { cards:rooms -= opponent_card cards:suspects -= opponent_card cards:weapons -= opponent_card } -make_guess = |current_room , cards | { +make_guess |current_room cards| { if (is_ready_to_solve cards) { (output 'It was ' + cards:suspects:0 diff --git a/examples/fibonacci.ds b/examples/fibonacci.ds index 2cd99a8..cd768bb 100644 --- a/examples/fibonacci.ds +++ b/examples/fibonacci.ds @@ -1,4 +1,4 @@ -fib int> = |i| { +fib int> |i| { if i <= 1 { 1 } else { diff --git a/examples/jq_data.ds b/examples/jq_data.ds index 6c68f83..2c428e3 100644 --- a/examples/jq_data.ds +++ b/examples/jq_data.ds @@ -1,7 +1,7 @@ data = (from_json (read 'examples/assets/jq_data.json')) new_data = []; - + for commit_data in data { new_data += { message = commit_data.commit.message diff --git a/examples/select.ds b/examples/select.ds deleted file mode 100644 index 257af7e..0000000 --- a/examples/select.ds +++ /dev/null @@ -1,15 +0,0 @@ -my_table = table |text number bool| [ - ["a", 1, true] - ["b", 2, true] - ["a", 3, true] -] - -test_table = table |text bool| [ - ["a", true] - ["b", true] - ["a", true] -] - -test_select = select |text bool| from my_table; - -(assert_equal test_select, test_table) diff --git a/examples/table.ds b/examples/table.ds deleted file mode 100644 index 4719b3e..0000000 --- a/examples/table.ds +++ /dev/null @@ -1,43 +0,0 @@ -my_table = table |text number bool| [ - ["a", 1, true] - ["b", 2, true] - ["a", 3, true] -] - -test_table = table |text bool| [ - ["a", true] - ["b", true] - ["a", true] -] - -test_select = select |text bool| from my_table; - -(assert_equal test_select, test_table) - -test_table = table |number bool| [ - [1, true] - [3, true] -] - -test_select_where = select |number, bool| from my_table { - text == "a" -} - -(assert_equal test_select_where, test_table) - -test_table = table |text number bool| [ - ["a", 1, true] - ["b", 2, true] - ["a", 3, true] - ["c", 4, true] - ["d", 5, true] - ["e", 6, true] -] - -insert into my_table [ - ["c", 4, true] - ["d", 5, true] - ["e", 6, true] -] - -(assert_equal test_table, my_table) diff --git a/examples/yield.ds b/examples/yield.ds index 8724be3..217e572 100644 --- a/examples/yield.ds +++ b/examples/yield.ds @@ -1,6 +1,6 @@ 1 -> (output) -add_one = |numbers | { +add_one [int]> |numbers| { new_numbers = [] for number in numbers { diff --git a/src/abstract_tree/assignment.rs b/src/abstract_tree/assignment.rs index e0861da..e928ab5 100644 --- a/src/abstract_tree/assignment.rs +++ b/src/abstract_tree/assignment.rs @@ -186,23 +186,10 @@ mod tests { x = [] x += 1 x - ", + ", ) .unwrap(); assert_eq!(Value::List(List::with_items(vec![Value::Integer(1)])), test); } - - #[test] - fn function_assignment() { - let test = evaluate( - " - foobar str> = |text| { 'hi' } - foobar - ", - ) - .unwrap(); - - assert_eq!(Value::String("hi".to_string()), test); - } } diff --git a/src/abstract_tree/function_call.rs b/src/abstract_tree/function_call.rs index 0095213..e880c9d 100644 --- a/src/abstract_tree/function_call.rs +++ b/src/abstract_tree/function_call.rs @@ -91,3 +91,26 @@ impl AbstractTree for FunctionCall { self.function.expected_type(context) } } + +#[cfg(test)] +mod tests { + use crate::{evaluate, Value}; + + #[test] + fn evaluate_function_call() { + assert_eq!( + evaluate( + " + foobar str> |message| { message } + (foobar 'Hiya') + ", + ), + Ok(Value::String("Hiya".to_string())) + ); + } + + #[test] + fn evaluate_built_in_function_call() { + assert_eq!(evaluate("(output 'Hiya')"), Ok(Value::Empty)); + } +} diff --git a/src/abstract_tree/function_declaration.rs b/src/abstract_tree/function_declaration.rs index 710ccf6..7f21e3c 100644 --- a/src/abstract_tree/function_declaration.rs +++ b/src/abstract_tree/function_declaration.rs @@ -100,7 +100,7 @@ mod tests { fn simple_function_declaration() { let test = evaluate( " - fn foo int> = |x| { x } + foo int> |x| { x } (foo 42) ", ) diff --git a/src/abstract_tree/if_else.rs b/src/abstract_tree/if_else.rs index fd30ea1..09f7b7d 100644 --- a/src/abstract_tree/if_else.rs +++ b/src/abstract_tree/if_else.rs @@ -85,3 +85,65 @@ impl AbstractTree for IfElse { self.if_block.expected_type(context) } } + +#[cfg(test)] +mod tests { + use crate::{evaluate, Value}; + + #[test] + fn evaluate_if() { + assert_eq!( + evaluate("if true { 'true' }"), + Ok(Value::String("true".to_string())) + ); + } + + #[test] + fn evaluate_if_else() { + assert_eq!(evaluate("if false { 1 } else { 2 }"), Ok(Value::Integer(2))); + assert_eq!( + evaluate("if true { 1.0 } else { 42.0 }"), + Ok(Value::Float(1.0)) + ); + } + + #[test] + fn evaluate_if_else_else_if_else() { + assert_eq!( + evaluate( + " + if false { + 'no' + } else if 1 + 1 == 3 { + 'nope' + } else { + 'ok' + } + " + ), + Ok(Value::String("ok".to_string())) + ); + } + + #[test] + fn evaluate_if_else_if_else_if_else_if_else() { + assert_eq!( + evaluate( + " + if false { + 'no' + } else if 1 + 1 == 1 { + 'nope' + } else if 9 / 2 == 4 { + 'nope' + } else if 'foo' == 'bar' { + 'nope' + } else { + 'ok' + } + " + ), + Ok(Value::String("ok".to_string())) + ); + } +} diff --git a/src/abstract_tree/type_defintion.rs b/src/abstract_tree/type_defintion.rs index 0fa747c..0308b9f 100644 --- a/src/abstract_tree/type_defintion.rs +++ b/src/abstract_tree/type_defintion.rs @@ -147,6 +147,12 @@ impl AbstractTree for Type { let type_node = node.child(0).unwrap(); let r#type = match type_node.kind() { + "[" => { + let item_type_node = node.child(1).unwrap(); + let item_type = Type::from_syntax_node(source, item_type_node, context)?; + + Type::List(Box::new(item_type)) + } "any" => Type::Any, "bool" => Type::Boolean, "float" => Type::Float, @@ -171,12 +177,6 @@ impl AbstractTree for Type { } } "int" => Type::Integer, - "list" => { - let item_type_node = node.child(1).unwrap(); - let item_type = Type::from_syntax_node(source, item_type_node, context)?; - - Type::List(Box::new(item_type)) - } "map" => Type::Map, "num" => Type::Number, "str" => Type::String, diff --git a/src/abstract_tree/value_node.rs b/src/abstract_tree/value_node.rs index fa3692c..fdf4d2c 100644 --- a/src/abstract_tree/value_node.rs +++ b/src/abstract_tree/value_node.rs @@ -215,3 +215,68 @@ impl AbstractTree for ValueNode { Ok(type_definition) } } +#[cfg(test)] +mod tests { + use crate::{evaluate, List}; + + use super::*; + + #[test] + fn evaluate_empty() { + assert_eq!(evaluate("x = 9"), Ok(Value::Empty)); + assert_eq!(evaluate("x = 1 + 1"), Ok(Value::Empty)); + } + + #[test] + fn evaluate_integer() { + assert_eq!(evaluate("1"), Ok(Value::Integer(1))); + assert_eq!(evaluate("123"), Ok(Value::Integer(123))); + assert_eq!(evaluate("-666"), Ok(Value::Integer(-666))); + } + + #[test] + fn evaluate_float() { + assert_eq!(evaluate("0.1"), Ok(Value::Float(0.1))); + assert_eq!(evaluate("12.3"), Ok(Value::Float(12.3))); + assert_eq!(evaluate("-6.66"), Ok(Value::Float(-6.66))); + } + + #[test] + fn evaluate_string() { + assert_eq!(evaluate("\"one\""), Ok(Value::String("one".to_string()))); + assert_eq!(evaluate("'one'"), Ok(Value::String("one".to_string()))); + assert_eq!(evaluate("`one`"), Ok(Value::String("one".to_string()))); + assert_eq!(evaluate("`'one'`"), Ok(Value::String("'one'".to_string()))); + assert_eq!(evaluate("'`one`'"), Ok(Value::String("`one`".to_string()))); + assert_eq!( + evaluate("\"'one'\""), + Ok(Value::String("'one'".to_string())) + ); + } + + #[test] + fn evaluate_list() { + assert_eq!( + evaluate("[1, 2, 'foobar']"), + Ok(Value::List(List::with_items(vec![ + Value::Integer(1), + Value::Integer(2), + Value::String("foobar".to_string()), + ]))) + ); + } + + #[test] + fn evaluate_map() { + let map = Map::new(); + + { + let mut variables = map.variables_mut().unwrap(); + + variables.insert("x".to_string(), Value::Integer(1)); + variables.insert("foo".to_string(), Value::String("bar".to_string())); + } + + assert_eq!(evaluate("{ x = 1, foo = 'bar' }"), Ok(Value::Map(map))); + } +} diff --git a/src/evaluate.rs b/src/evaluate.rs index 7b9e80d..1af462f 100644 --- a/src/evaluate.rs +++ b/src/evaluate.rs @@ -84,144 +84,3 @@ impl<'c, 's> Interpreter<'c, 's> { self.syntax_tree.root_node().to_sexp() } } - -#[cfg(test)] -mod tests { - use crate::{List, Table}; - - use super::*; - - #[test] - fn evaluate_empty() { - assert_eq!(evaluate("x = 9"), Ok(Value::Empty)); - assert_eq!(evaluate("x = 1 + 1"), Ok(Value::Empty)); - } - - #[test] - fn evaluate_integer() { - assert_eq!(evaluate("1"), Ok(Value::Integer(1))); - assert_eq!(evaluate("123"), Ok(Value::Integer(123))); - assert_eq!(evaluate("-666"), Ok(Value::Integer(-666))); - } - - #[test] - fn evaluate_float() { - assert_eq!(evaluate("0.1"), Ok(Value::Float(0.1))); - assert_eq!(evaluate("12.3"), Ok(Value::Float(12.3))); - assert_eq!(evaluate("-6.66"), Ok(Value::Float(-6.66))); - } - - #[test] - fn evaluate_string() { - assert_eq!(evaluate("\"one\""), Ok(Value::String("one".to_string()))); - assert_eq!(evaluate("'one'"), Ok(Value::String("one".to_string()))); - assert_eq!(evaluate("`one`"), Ok(Value::String("one".to_string()))); - assert_eq!(evaluate("`'one'`"), Ok(Value::String("'one'".to_string()))); - assert_eq!(evaluate("'`one`'"), Ok(Value::String("`one`".to_string()))); - assert_eq!( - evaluate("\"'one'\""), - Ok(Value::String("'one'".to_string())) - ); - } - - #[test] - fn evaluate_list() { - assert_eq!( - evaluate("[1, 2, 'foobar']"), - Ok(Value::List(List::with_items(vec![ - Value::Integer(1), - Value::Integer(2), - Value::String("foobar".to_string()), - ]))) - ); - } - - #[test] - fn evaluate_map() { - let map = Map::new(); - - { - let mut variables = map.variables_mut().unwrap(); - - variables.insert("x".to_string(), Value::Integer(1)); - variables.insert("foo".to_string(), Value::String("bar".to_string())); - } - - assert_eq!(evaluate("{ x = 1, foo = 'bar' }"), Ok(Value::Map(map))); - } - - #[test] - fn evaluate_if() { - assert_eq!( - evaluate("if true { 'true' }"), - Ok(Value::String("true".to_string())) - ); - } - - #[test] - fn evaluate_if_else() { - assert_eq!(evaluate("if false { 1 } else { 2 }"), Ok(Value::Integer(2))); - assert_eq!( - evaluate("if true { 1.0 } else { 42.0 }"), - Ok(Value::Float(1.0)) - ); - } - - #[test] - fn evaluate_if_else_else_if_else() { - assert_eq!( - evaluate( - " - if false { - 'no' - } else if 1 + 1 == 3 { - 'nope' - } else { - 'ok' - } - " - ), - Ok(Value::String("ok".to_string())) - ); - } - - #[test] - fn evaluate_if_else_if_else_if_else_if_else() { - assert_eq!( - evaluate( - " - if false { - 'no' - } else if 1 + 1 == 1 { - 'nope' - } else if 9 / 2 == 4 { - 'nope' - } else if 'foo' == 'bar' { - 'nope' - } else { - 'ok' - } - " - ), - Ok(Value::String("ok".to_string())) - ); - } - - #[test] - fn evaluate_function_call() { - assert_eq!( - evaluate( - " - foobar str> = |message| { message } - (foobar 'Hiya') - ", - ), - Ok(Value::String("Hiya".to_string())) - ); - } - - #[test] - fn evaluate_built_in_function_call() { - assert_eq!(evaluate("(output 'Hiya')"), Ok(Value::Empty)); - } -} diff --git a/tests/dust_examples.rs b/tests/dust_examples.rs index c847f72..c275168 100644 --- a/tests/dust_examples.rs +++ b/tests/dust_examples.rs @@ -95,20 +95,6 @@ fn sea_creatures() { evaluate(&file_contents).unwrap(); } -#[test] -fn select() { - let file_contents = read_to_string("examples/select.ds").unwrap(); - - evaluate(&file_contents).unwrap(); -} - -#[test] -fn table() { - let file_contents = read_to_string("examples/table.ds").unwrap(); - - evaluate(&file_contents).unwrap(); -} - #[test] fn variables() { let file_contents = read_to_string("examples/variables.ds").unwrap(); diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 1efd412..aadfe01 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -341,7 +341,7 @@ module.exports = grammar({ optional(seq('->', $.type)), ), 'int', - seq('list', $.type), + seq('[', $.type, ']'), 'map', 'num', 'str', diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index e560045..36d92d9 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -1096,11 +1096,15 @@ "members": [ { "type": "STRING", - "value": "list" + "value": "[" }, { "type": "SYMBOL", "name": "type" + }, + { + "type": "STRING", + "value": "]" } ] }, diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index 043a89b..59f596b 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -748,10 +748,6 @@ "type": "integer", "named": true }, - { - "type": "list", - "named": false - }, { "type": "map", "named": false diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index 30b48a1..133e0c8 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,11 +6,11 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 299 +#define STATE_COUNT 298 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 97 +#define SYMBOL_COUNT 96 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 57 +#define TOKEN_COUNT 56 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 6 @@ -69,50 +69,49 @@ enum { anon_sym_fn = 50, anon_sym_DASH_GT = 51, anon_sym_int = 52, - anon_sym_list = 53, - anon_sym_map = 54, - anon_sym_num = 55, - anon_sym_str = 56, - sym_root = 57, - sym_block = 58, - sym_statement = 59, - sym_expression = 60, - sym__expression_kind = 61, - aux_sym__expression_list = 62, - sym_value = 63, - sym_boolean = 64, - sym_list = 65, - sym_map = 66, - sym_index = 67, - sym_math = 68, - sym_math_operator = 69, - sym_logic = 70, - sym_logic_operator = 71, - sym_assignment = 72, - sym_index_assignment = 73, - sym_assignment_operator = 74, - sym_if_else = 75, - sym_if = 76, - sym_else_if = 77, - sym_else = 78, - sym_match = 79, - sym_while = 80, - sym_for = 81, - sym_return = 82, - sym_use = 83, - sym_type_definition = 84, - sym_type = 85, - sym_function_declaration = 86, - sym_function = 87, - sym_function_call = 88, - sym_yield = 89, - aux_sym_root_repeat1 = 90, - aux_sym_list_repeat1 = 91, - aux_sym_map_repeat1 = 92, - aux_sym_if_else_repeat1 = 93, - aux_sym_match_repeat1 = 94, - aux_sym_identifier_list_repeat1 = 95, - aux_sym_type_repeat1 = 96, + anon_sym_map = 53, + anon_sym_num = 54, + anon_sym_str = 55, + sym_root = 56, + sym_block = 57, + sym_statement = 58, + sym_expression = 59, + sym__expression_kind = 60, + aux_sym__expression_list = 61, + sym_value = 62, + sym_boolean = 63, + sym_list = 64, + sym_map = 65, + sym_index = 66, + sym_math = 67, + sym_math_operator = 68, + sym_logic = 69, + sym_logic_operator = 70, + sym_assignment = 71, + sym_index_assignment = 72, + sym_assignment_operator = 73, + sym_if_else = 74, + sym_if = 75, + sym_else_if = 76, + sym_else = 77, + sym_match = 78, + sym_while = 79, + sym_for = 80, + sym_return = 81, + sym_use = 82, + sym_type_definition = 83, + sym_type = 84, + sym_function_declaration = 85, + sym_function = 86, + sym_function_call = 87, + sym_yield = 88, + aux_sym_root_repeat1 = 89, + aux_sym_list_repeat1 = 90, + aux_sym_map_repeat1 = 91, + aux_sym_if_else_repeat1 = 92, + aux_sym_match_repeat1 = 93, + aux_sym_identifier_list_repeat1 = 94, + aux_sym_type_repeat1 = 95, }; static const char * const ts_symbol_names[] = { @@ -169,7 +168,6 @@ static const char * const ts_symbol_names[] = { [anon_sym_fn] = "fn", [anon_sym_DASH_GT] = "->", [anon_sym_int] = "int", - [anon_sym_list] = "list", [anon_sym_map] = "map", [anon_sym_num] = "num", [anon_sym_str] = "str", @@ -269,7 +267,6 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_fn] = anon_sym_fn, [anon_sym_DASH_GT] = anon_sym_DASH_GT, [anon_sym_int] = anon_sym_int, - [anon_sym_list] = anon_sym_list, [anon_sym_map] = anon_sym_map, [anon_sym_num] = anon_sym_num, [anon_sym_str] = anon_sym_str, @@ -528,10 +525,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_list] = { - .visible = true, - .named = false, - }, [anon_sym_map] = { .visible = true, .named = false, @@ -862,62 +855,62 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [144] = 144, [145] = 145, [146] = 146, - [147] = 142, + [147] = 147, [148] = 148, - [149] = 126, - [150] = 150, + [149] = 149, + [150] = 142, [151] = 151, [152] = 152, - [153] = 146, + [153] = 153, [154] = 154, [155] = 155, - [156] = 143, - [157] = 151, - [158] = 158, - [159] = 159, - [160] = 160, + [156] = 148, + [157] = 147, + [158] = 148, + [159] = 147, + [160] = 141, [161] = 161, - [162] = 158, - [163] = 150, - [164] = 145, - [165] = 165, + [162] = 144, + [163] = 163, + [164] = 164, + [165] = 146, [166] = 166, - [167] = 146, - [168] = 146, - [169] = 146, - [170] = 160, + [167] = 148, + [168] = 147, + [169] = 151, + [170] = 126, [171] = 171, - [172] = 172, - [173] = 142, - [174] = 151, - [175] = 140, - [176] = 159, - [177] = 148, + [172] = 163, + [173] = 149, + [174] = 145, + [175] = 175, + [176] = 142, + [177] = 143, [178] = 178, - [179] = 179, - [180] = 141, - [181] = 179, - [182] = 182, - [183] = 144, + [179] = 140, + [180] = 175, + [181] = 181, + [182] = 164, + [183] = 183, [184] = 184, - [185] = 148, - [186] = 186, - [187] = 142, - [188] = 148, - [189] = 171, - [190] = 172, + [185] = 185, + [186] = 146, + [187] = 146, + [188] = 146, + [189] = 147, + [190] = 144, [191] = 146, - [192] = 142, + [192] = 147, [193] = 148, - [194] = 159, + [194] = 194, [195] = 195, - [196] = 186, - [197] = 148, - [198] = 198, - [199] = 142, + [196] = 148, + [197] = 181, + [198] = 175, + [199] = 195, [200] = 129, [201] = 201, - [202] = 140, + [202] = 166, [203] = 203, [204] = 204, [205] = 204, @@ -928,73 +921,73 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [210] = 207, [211] = 208, [212] = 209, - [213] = 129, - [214] = 214, - [215] = 126, + [213] = 213, + [214] = 213, + [215] = 215, [216] = 216, - [217] = 155, - [218] = 214, - [219] = 219, - [220] = 220, - [221] = 221, + [217] = 217, + [218] = 218, + [219] = 155, + [220] = 126, + [221] = 129, [222] = 222, [223] = 223, [224] = 224, [225] = 225, - [226] = 226, + [226] = 222, [227] = 227, [228] = 224, - [229] = 223, - [230] = 227, - [231] = 231, - [232] = 232, - [233] = 108, - [234] = 234, - [235] = 109, - [236] = 115, + [229] = 229, + [230] = 230, + [231] = 108, + [232] = 109, + [233] = 233, + [234] = 115, + [235] = 130, + [236] = 129, [237] = 126, - [238] = 129, - [239] = 239, - [240] = 134, - [241] = 239, - [242] = 130, - [243] = 184, - [244] = 244, - [245] = 201, - [246] = 203, - [247] = 195, - [248] = 152, - [249] = 182, - [250] = 143, - [251] = 143, + [238] = 238, + [239] = 134, + [240] = 238, + [241] = 139, + [242] = 201, + [243] = 203, + [244] = 194, + [245] = 183, + [246] = 143, + [247] = 247, + [248] = 184, + [249] = 171, + [250] = 153, + [251] = 178, [252] = 161, - [253] = 139, - [254] = 178, - [255] = 154, - [256] = 198, - [257] = 166, - [258] = 165, + [253] = 143, + [254] = 154, + [255] = 185, + [256] = 152, + [257] = 257, + [258] = 258, [259] = 259, [260] = 260, - [261] = 261, + [261] = 260, [262] = 262, - [263] = 263, - [264] = 259, - [265] = 265, - [266] = 261, + [263] = 260, + [264] = 262, + [265] = 258, + [266] = 257, [267] = 267, - [268] = 263, - [269] = 265, - [270] = 267, - [271] = 260, + [268] = 268, + [269] = 269, + [270] = 270, + [271] = 271, [272] = 272, - [273] = 273, - [274] = 274, - [275] = 275, - [276] = 263, - [277] = 259, - [278] = 275, - [279] = 274, + [273] = 269, + [274] = 271, + [275] = 259, + [276] = 262, + [277] = 270, + [278] = 278, + [279] = 279, [280] = 280, [281] = 281, [282] = 282, @@ -1003,17 +996,16 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [285] = 285, [286] = 286, [287] = 287, - [288] = 285, - [289] = 289, + [288] = 288, + [289] = 283, [290] = 290, - [291] = 291, - [292] = 289, - [293] = 283, - [294] = 290, - [295] = 289, - [296] = 290, - [297] = 289, - [298] = 286, + [291] = 282, + [292] = 281, + [293] = 287, + [294] = 282, + [295] = 287, + [296] = 282, + [297] = 284, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1180,6 +1172,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '-') ADVANCE(12); if (lookahead == '=') ADVANCE(50); if (lookahead == '>') ADVANCE(68); + if (lookahead == '[') ADVANCE(48); + if (lookahead == ']') ADVANCE(49); if (lookahead == '|') ADVANCE(78); if (lookahead == '\t' || lookahead == '\n' || @@ -1530,219 +1524,206 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { if (lookahead == 'e') ADVANCE(3); if (lookahead == 'f') ADVANCE(4); if (lookahead == 'i') ADVANCE(5); - if (lookahead == 'l') ADVANCE(6); - if (lookahead == 'm') ADVANCE(7); - if (lookahead == 'n') ADVANCE(8); - if (lookahead == 'r') ADVANCE(9); - if (lookahead == 's') ADVANCE(10); - if (lookahead == 't') ADVANCE(11); - if (lookahead == 'u') ADVANCE(12); - if (lookahead == 'w') ADVANCE(13); + if (lookahead == 'm') ADVANCE(6); + if (lookahead == 'n') ADVANCE(7); + if (lookahead == 'r') ADVANCE(8); + if (lookahead == 's') ADVANCE(9); + if (lookahead == 't') ADVANCE(10); + if (lookahead == 'u') ADVANCE(11); + if (lookahead == 'w') ADVANCE(12); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'n') ADVANCE(14); - if (lookahead == 's') ADVANCE(15); + if (lookahead == 'n') ADVANCE(13); + if (lookahead == 's') ADVANCE(14); END_STATE(); case 2: - if (lookahead == 'o') ADVANCE(16); + if (lookahead == 'o') ADVANCE(15); END_STATE(); case 3: - if (lookahead == 'l') ADVANCE(17); + if (lookahead == 'l') ADVANCE(16); END_STATE(); case 4: - if (lookahead == 'a') ADVANCE(18); - if (lookahead == 'l') ADVANCE(19); - if (lookahead == 'n') ADVANCE(20); - if (lookahead == 'o') ADVANCE(21); + if (lookahead == 'a') ADVANCE(17); + if (lookahead == 'l') ADVANCE(18); + if (lookahead == 'n') ADVANCE(19); + if (lookahead == 'o') ADVANCE(20); END_STATE(); case 5: - if (lookahead == 'f') ADVANCE(22); - if (lookahead == 'n') ADVANCE(23); + if (lookahead == 'f') ADVANCE(21); + if (lookahead == 'n') ADVANCE(22); END_STATE(); case 6: - if (lookahead == 'i') ADVANCE(24); + if (lookahead == 'a') ADVANCE(23); END_STATE(); case 7: - if (lookahead == 'a') ADVANCE(25); + if (lookahead == 'u') ADVANCE(24); END_STATE(); case 8: - if (lookahead == 'u') ADVANCE(26); + if (lookahead == 'e') ADVANCE(25); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(27); + if (lookahead == 't') ADVANCE(26); END_STATE(); case 10: - if (lookahead == 't') ADVANCE(28); + if (lookahead == 'r') ADVANCE(27); END_STATE(); case 11: - if (lookahead == 'r') ADVANCE(29); + if (lookahead == 's') ADVANCE(28); END_STATE(); case 12: - if (lookahead == 's') ADVANCE(30); + if (lookahead == 'h') ADVANCE(29); END_STATE(); case 13: - if (lookahead == 'h') ADVANCE(31); + if (lookahead == 'y') ADVANCE(30); END_STATE(); case 14: - if (lookahead == 'y') ADVANCE(32); + if (lookahead == 'y') ADVANCE(31); END_STATE(); case 15: - if (lookahead == 'y') ADVANCE(33); + if (lookahead == 'o') ADVANCE(32); END_STATE(); case 16: - if (lookahead == 'o') ADVANCE(34); + if (lookahead == 's') ADVANCE(33); END_STATE(); case 17: - if (lookahead == 's') ADVANCE(35); + if (lookahead == 'l') ADVANCE(34); END_STATE(); case 18: - if (lookahead == 'l') ADVANCE(36); + if (lookahead == 'o') ADVANCE(35); END_STATE(); case 19: - if (lookahead == 'o') ADVANCE(37); - END_STATE(); - case 20: ACCEPT_TOKEN(anon_sym_fn); END_STATE(); - case 21: - if (lookahead == 'r') ADVANCE(38); + case 20: + if (lookahead == 'r') ADVANCE(36); END_STATE(); - case 22: + case 21: ACCEPT_TOKEN(anon_sym_if); END_STATE(); - case 23: + case 22: ACCEPT_TOKEN(anon_sym_in); + if (lookahead == 't') ADVANCE(37); + END_STATE(); + case 23: + if (lookahead == 'p') ADVANCE(38); if (lookahead == 't') ADVANCE(39); END_STATE(); case 24: - if (lookahead == 's') ADVANCE(40); + if (lookahead == 'm') ADVANCE(40); END_STATE(); case 25: - if (lookahead == 'p') ADVANCE(41); - if (lookahead == 't') ADVANCE(42); + if (lookahead == 't') ADVANCE(41); END_STATE(); case 26: - if (lookahead == 'm') ADVANCE(43); + if (lookahead == 'r') ADVANCE(42); END_STATE(); case 27: - if (lookahead == 't') ADVANCE(44); + if (lookahead == 'u') ADVANCE(43); END_STATE(); case 28: - if (lookahead == 'r') ADVANCE(45); + if (lookahead == 'e') ADVANCE(44); END_STATE(); case 29: - if (lookahead == 'u') ADVANCE(46); + if (lookahead == 'i') ADVANCE(45); END_STATE(); case 30: - if (lookahead == 'e') ADVANCE(47); - END_STATE(); - case 31: - if (lookahead == 'i') ADVANCE(48); - END_STATE(); - case 32: ACCEPT_TOKEN(anon_sym_any); END_STATE(); + case 31: + if (lookahead == 'n') ADVANCE(46); + END_STATE(); + case 32: + if (lookahead == 'l') ADVANCE(47); + END_STATE(); case 33: - if (lookahead == 'n') ADVANCE(49); + if (lookahead == 'e') ADVANCE(48); END_STATE(); case 34: - if (lookahead == 'l') ADVANCE(50); + if (lookahead == 's') ADVANCE(49); END_STATE(); case 35: - if (lookahead == 'e') ADVANCE(51); + if (lookahead == 'a') ADVANCE(50); END_STATE(); case 36: - if (lookahead == 's') ADVANCE(52); - END_STATE(); - case 37: - if (lookahead == 'a') ADVANCE(53); - END_STATE(); - case 38: ACCEPT_TOKEN(anon_sym_for); END_STATE(); - case 39: + case 37: ACCEPT_TOKEN(anon_sym_int); END_STATE(); - case 40: - if (lookahead == 't') ADVANCE(54); - END_STATE(); - case 41: + case 38: ACCEPT_TOKEN(anon_sym_map); END_STATE(); - case 42: - if (lookahead == 'c') ADVANCE(55); + case 39: + if (lookahead == 'c') ADVANCE(51); END_STATE(); - case 43: + case 40: ACCEPT_TOKEN(anon_sym_num); END_STATE(); - case 44: - if (lookahead == 'u') ADVANCE(56); + case 41: + if (lookahead == 'u') ADVANCE(52); END_STATE(); - case 45: + case 42: ACCEPT_TOKEN(anon_sym_str); END_STATE(); - case 46: - if (lookahead == 'e') ADVANCE(57); + case 43: + if (lookahead == 'e') ADVANCE(53); END_STATE(); - case 47: + case 44: ACCEPT_TOKEN(anon_sym_use); END_STATE(); - case 48: - if (lookahead == 'l') ADVANCE(58); + case 45: + if (lookahead == 'l') ADVANCE(54); END_STATE(); - case 49: - if (lookahead == 'c') ADVANCE(59); + case 46: + if (lookahead == 'c') ADVANCE(55); END_STATE(); - case 50: + case 47: ACCEPT_TOKEN(anon_sym_bool); END_STATE(); - case 51: + case 48: ACCEPT_TOKEN(anon_sym_else); END_STATE(); + case 49: + if (lookahead == 'e') ADVANCE(56); + END_STATE(); + case 50: + if (lookahead == 't') ADVANCE(57); + END_STATE(); + case 51: + if (lookahead == 'h') ADVANCE(58); + END_STATE(); case 52: - if (lookahead == 'e') ADVANCE(60); + if (lookahead == 'r') ADVANCE(59); END_STATE(); case 53: - if (lookahead == 't') ADVANCE(61); - END_STATE(); - case 54: - ACCEPT_TOKEN(anon_sym_list); - END_STATE(); - case 55: - if (lookahead == 'h') ADVANCE(62); - END_STATE(); - case 56: - if (lookahead == 'r') ADVANCE(63); - END_STATE(); - case 57: ACCEPT_TOKEN(anon_sym_true); END_STATE(); - case 58: - if (lookahead == 'e') ADVANCE(64); + case 54: + if (lookahead == 'e') ADVANCE(60); END_STATE(); - case 59: + case 55: ACCEPT_TOKEN(anon_sym_async); END_STATE(); - case 60: + case 56: ACCEPT_TOKEN(anon_sym_false); END_STATE(); - case 61: + case 57: ACCEPT_TOKEN(anon_sym_float); END_STATE(); - case 62: + case 58: ACCEPT_TOKEN(anon_sym_match); END_STATE(); - case 63: - if (lookahead == 'n') ADVANCE(65); + case 59: + if (lookahead == 'n') ADVANCE(61); END_STATE(); - case 64: + case 60: ACCEPT_TOKEN(anon_sym_while); END_STATE(); - case 65: + case 61: ACCEPT_TOKEN(anon_sym_return); END_STATE(); default: @@ -1891,7 +1872,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [137] = {.lex_state = 2}, [138] = {.lex_state = 2}, [139] = {.lex_state = 24}, - [140] = {.lex_state = 1}, + [140] = {.lex_state = 2}, [141] = {.lex_state = 1}, [142] = {.lex_state = 1}, [143] = {.lex_state = 24}, @@ -1900,44 +1881,44 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [146] = {.lex_state = 1}, [147] = {.lex_state = 1}, [148] = {.lex_state = 1}, - [149] = {.lex_state = 24}, + [149] = {.lex_state = 1}, [150] = {.lex_state = 1}, [151] = {.lex_state = 1}, [152] = {.lex_state = 24}, - [153] = {.lex_state = 1}, + [153] = {.lex_state = 24}, [154] = {.lex_state = 24}, [155] = {.lex_state = 24}, - [156] = {.lex_state = 24}, + [156] = {.lex_state = 1}, [157] = {.lex_state = 1}, - [158] = {.lex_state = 2}, + [158] = {.lex_state = 1}, [159] = {.lex_state = 1}, - [160] = {.lex_state = 2}, + [160] = {.lex_state = 1}, [161] = {.lex_state = 24}, - [162] = {.lex_state = 2}, + [162] = {.lex_state = 1}, [163] = {.lex_state = 1}, - [164] = {.lex_state = 1}, - [165] = {.lex_state = 24}, - [166] = {.lex_state = 24}, + [164] = {.lex_state = 2}, + [165] = {.lex_state = 1}, + [166] = {.lex_state = 1}, [167] = {.lex_state = 1}, [168] = {.lex_state = 1}, [169] = {.lex_state = 1}, - [170] = {.lex_state = 2}, - [171] = {.lex_state = 1}, + [170] = {.lex_state = 24}, + [171] = {.lex_state = 24}, [172] = {.lex_state = 1}, [173] = {.lex_state = 1}, [174] = {.lex_state = 1}, [175] = {.lex_state = 1}, [176] = {.lex_state = 1}, - [177] = {.lex_state = 1}, + [177] = {.lex_state = 24}, [178] = {.lex_state = 24}, [179] = {.lex_state = 2}, [180] = {.lex_state = 1}, [181] = {.lex_state = 2}, - [182] = {.lex_state = 24}, - [183] = {.lex_state = 1}, + [182] = {.lex_state = 2}, + [183] = {.lex_state = 24}, [184] = {.lex_state = 24}, - [185] = {.lex_state = 1}, - [186] = {.lex_state = 2}, + [185] = {.lex_state = 24}, + [186] = {.lex_state = 1}, [187] = {.lex_state = 1}, [188] = {.lex_state = 1}, [189] = {.lex_state = 1}, @@ -1945,12 +1926,12 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [191] = {.lex_state = 1}, [192] = {.lex_state = 1}, [193] = {.lex_state = 1}, - [194] = {.lex_state = 1}, - [195] = {.lex_state = 24}, - [196] = {.lex_state = 2}, - [197] = {.lex_state = 1}, - [198] = {.lex_state = 24}, - [199] = {.lex_state = 1}, + [194] = {.lex_state = 24}, + [195] = {.lex_state = 2}, + [196] = {.lex_state = 1}, + [197] = {.lex_state = 2}, + [198] = {.lex_state = 1}, + [199] = {.lex_state = 2}, [200] = {.lex_state = 24}, [201] = {.lex_state = 24}, [202] = {.lex_state = 1}, @@ -1964,16 +1945,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [210] = {.lex_state = 6}, [211] = {.lex_state = 6}, [212] = {.lex_state = 6}, - [213] = {.lex_state = 1}, + [213] = {.lex_state = 6}, [214] = {.lex_state = 6}, - [215] = {.lex_state = 1}, + [215] = {.lex_state = 6}, [216] = {.lex_state = 6}, - [217] = {.lex_state = 1}, + [217] = {.lex_state = 6}, [218] = {.lex_state = 6}, - [219] = {.lex_state = 6}, - [220] = {.lex_state = 6}, - [221] = {.lex_state = 6}, - [222] = {.lex_state = 6}, + [219] = {.lex_state = 1}, + [220] = {.lex_state = 1}, + [221] = {.lex_state = 1}, + [222] = {.lex_state = 1}, [223] = {.lex_state = 1}, [224] = {.lex_state = 1}, [225] = {.lex_state = 1}, @@ -1982,23 +1963,23 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [228] = {.lex_state = 1}, [229] = {.lex_state = 1}, [230] = {.lex_state = 1}, - [231] = {.lex_state = 1}, - [232] = {.lex_state = 1}, - [233] = {.lex_state = 4}, - [234] = {.lex_state = 1}, + [231] = {.lex_state = 4}, + [232] = {.lex_state = 4}, + [233] = {.lex_state = 1}, + [234] = {.lex_state = 4}, [235] = {.lex_state = 4}, [236] = {.lex_state = 4}, [237] = {.lex_state = 4}, - [238] = {.lex_state = 4}, - [239] = {.lex_state = 6}, - [240] = {.lex_state = 4}, - [241] = {.lex_state = 6}, - [242] = {.lex_state = 4}, + [238] = {.lex_state = 6}, + [239] = {.lex_state = 4}, + [240] = {.lex_state = 6}, + [241] = {.lex_state = 1}, + [242] = {.lex_state = 1}, [243] = {.lex_state = 1}, - [244] = {.lex_state = 6}, + [244] = {.lex_state = 1}, [245] = {.lex_state = 1}, [246] = {.lex_state = 1}, - [247] = {.lex_state = 1}, + [247] = {.lex_state = 6}, [248] = {.lex_state = 1}, [249] = {.lex_state = 1}, [250] = {.lex_state = 1}, @@ -2009,47 +1990,46 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [255] = {.lex_state = 1}, [256] = {.lex_state = 1}, [257] = {.lex_state = 1}, - [258] = {.lex_state = 1}, + [258] = {.lex_state = 6}, [259] = {.lex_state = 1}, [260] = {.lex_state = 1}, [261] = {.lex_state = 1}, [262] = {.lex_state = 1}, [263] = {.lex_state = 1}, [264] = {.lex_state = 1}, - [265] = {.lex_state = 1}, + [265] = {.lex_state = 6}, [266] = {.lex_state = 1}, [267] = {.lex_state = 1}, - [268] = {.lex_state = 1}, - [269] = {.lex_state = 1}, + [268] = {.lex_state = 6}, + [269] = {.lex_state = 6}, [270] = {.lex_state = 1}, [271] = {.lex_state = 1}, [272] = {.lex_state = 6}, [273] = {.lex_state = 6}, - [274] = {.lex_state = 6}, - [275] = {.lex_state = 6}, + [274] = {.lex_state = 1}, + [275] = {.lex_state = 1}, [276] = {.lex_state = 1}, [277] = {.lex_state = 1}, - [278] = {.lex_state = 6}, - [279] = {.lex_state = 6}, - [280] = {.lex_state = 1}, + [278] = {.lex_state = 1}, + [279] = {.lex_state = 1}, + [280] = {.lex_state = 6}, [281] = {.lex_state = 1}, - [282] = {.lex_state = 6}, - [283] = {.lex_state = 1}, - [284] = {.lex_state = 6}, - [285] = {.lex_state = 0}, - [286] = {.lex_state = 1}, - [287] = {.lex_state = 24}, + [282] = {.lex_state = 0}, + [283] = {.lex_state = 0}, + [284] = {.lex_state = 1}, + [285] = {.lex_state = 24}, + [286] = {.lex_state = 0}, + [287] = {.lex_state = 0}, [288] = {.lex_state = 0}, [289] = {.lex_state = 0}, - [290] = {.lex_state = 0}, + [290] = {.lex_state = 6}, [291] = {.lex_state = 0}, - [292] = {.lex_state = 0}, - [293] = {.lex_state = 1}, + [292] = {.lex_state = 1}, + [293] = {.lex_state = 0}, [294] = {.lex_state = 0}, [295] = {.lex_state = 0}, [296] = {.lex_state = 0}, - [297] = {.lex_state = 0}, - [298] = {.lex_state = 1}, + [297] = {.lex_state = 1}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2106,14 +2086,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_fn] = ACTIONS(1), [anon_sym_DASH_GT] = ACTIONS(1), [anon_sym_int] = ACTIONS(1), - [anon_sym_list] = ACTIONS(1), [anon_sym_map] = ACTIONS(1), [anon_sym_num] = ACTIONS(1), [anon_sym_str] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(291), - [sym_block] = STATE(156), + [sym_root] = STATE(288), + [sym_block] = STATE(177), [sym_statement] = STATE(11), [sym_expression] = STATE(61), [sym__expression_kind] = STATE(44), @@ -2124,16 +2103,16 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_index] = STATE(39), [sym_math] = STATE(44), [sym_logic] = STATE(44), - [sym_assignment] = STATE(156), - [sym_index_assignment] = STATE(156), - [sym_if_else] = STATE(156), + [sym_assignment] = STATE(177), + [sym_index_assignment] = STATE(177), + [sym_if_else] = STATE(177), [sym_if] = STATE(109), - [sym_match] = STATE(156), - [sym_while] = STATE(156), - [sym_for] = STATE(156), - [sym_return] = STATE(156), - [sym_use] = STATE(156), - [sym_function_declaration] = STATE(156), + [sym_match] = STATE(177), + [sym_while] = STATE(177), + [sym_for] = STATE(177), + [sym_return] = STATE(177), + [sym_use] = STATE(177), + [sym_function_declaration] = STATE(177), [sym_function_call] = STATE(44), [sym_yield] = STATE(44), [aux_sym_root_repeat1] = STATE(11), @@ -2196,7 +2175,7 @@ static const uint16_t ts_small_parse_table[] = { sym_expression, STATE(109), 1, sym_if, - STATE(264), 1, + STATE(263), 1, aux_sym_map_repeat1, ACTIONS(15), 2, sym_float, @@ -2218,7 +2197,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2287,7 +2266,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2335,7 +2314,7 @@ static const uint16_t ts_small_parse_table[] = { sym_expression, STATE(109), 1, sym_if, - STATE(259), 1, + STATE(261), 1, aux_sym_map_repeat1, ACTIONS(15), 2, sym_float, @@ -2357,7 +2336,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2425,7 +2404,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2493,7 +2472,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2561,7 +2540,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2629,7 +2608,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2697,7 +2676,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2765,7 +2744,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2833,7 +2812,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2901,7 +2880,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -2969,7 +2948,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3035,7 +3014,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3101,7 +3080,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3167,7 +3146,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3233,7 +3212,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3247,10 +3226,10 @@ static const uint16_t ts_small_parse_table[] = { [1467] = 5, ACTIONS(3), 1, sym__comment, - STATE(142), 1, - sym_math_operator, - STATE(197), 1, + STATE(167), 1, sym_logic_operator, + STATE(168), 1, + sym_math_operator, ACTIONS(108), 16, anon_sym_async, sym_identifier, @@ -3297,10 +3276,10 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(110), 1, anon_sym_DOT_DOT, - STATE(142), 1, - sym_math_operator, - STATE(197), 1, + STATE(167), 1, sym_logic_operator, + STATE(168), 1, + sym_math_operator, ACTIONS(108), 16, anon_sym_async, sym_identifier, @@ -3348,10 +3327,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(126), 1, anon_sym_DASH_GT, - STATE(142), 1, - sym_math_operator, - STATE(197), 1, + STATE(167), 1, sym_logic_operator, + STATE(168), 1, + sym_math_operator, ACTIONS(118), 2, anon_sym_PLUS, anon_sym_DASH, @@ -3398,10 +3377,10 @@ static const uint16_t ts_small_parse_table[] = { [1640] = 5, ACTIONS(3), 1, sym__comment, - STATE(142), 1, - sym_math_operator, - STATE(197), 1, + STATE(167), 1, sym_logic_operator, + STATE(168), 1, + sym_math_operator, ACTIONS(130), 16, anon_sym_async, sym_identifier, @@ -3498,7 +3477,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3564,7 +3543,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3580,10 +3559,10 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(116), 1, anon_sym_COLON, - STATE(142), 1, - sym_math_operator, - STATE(197), 1, + STATE(167), 1, sym_logic_operator, + STATE(168), 1, + sym_math_operator, ACTIONS(134), 16, anon_sym_async, sym_identifier, @@ -3679,7 +3658,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3745,7 +3724,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(156), 10, + STATE(177), 10, sym_block, sym_assignment, sym_index_assignment, @@ -3830,7 +3809,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, STATE(32), 1, sym_assignment_operator, - STATE(241), 1, + STATE(240), 1, sym_type_definition, ACTIONS(144), 2, anon_sym_PLUS_EQ, @@ -3878,9 +3857,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(146), 1, anon_sym_COLON, - STATE(173), 1, + STATE(189), 1, sym_math_operator, - STATE(177), 1, + STATE(196), 1, sym_logic_operator, ACTIONS(118), 2, anon_sym_PLUS, @@ -3927,9 +3906,9 @@ static const uint16_t ts_small_parse_table[] = { [2314] = 5, ACTIONS(3), 1, sym__comment, - STATE(173), 1, + STATE(189), 1, sym_math_operator, - STATE(177), 1, + STATE(196), 1, sym_logic_operator, ACTIONS(130), 16, anon_sym_async, @@ -3976,9 +3955,9 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(146), 1, anon_sym_COLON, - STATE(173), 1, + STATE(189), 1, sym_math_operator, - STATE(177), 1, + STATE(196), 1, sym_logic_operator, ACTIONS(134), 16, anon_sym_async, @@ -4054,7 +4033,7 @@ static const uint16_t ts_small_parse_table[] = { sym_expression, STATE(109), 1, sym_if, - STATE(178), 1, + STATE(153), 1, sym_statement, ACTIONS(15), 2, sym_float, @@ -4117,9 +4096,9 @@ static const uint16_t ts_small_parse_table[] = { sym_index, STATE(137), 1, sym_expression, - STATE(235), 1, + STATE(232), 1, sym_if, - STATE(243), 1, + STATE(248), 1, sym_statement, ACTIONS(158), 2, sym_float, @@ -4138,7 +4117,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(251), 10, + STATE(246), 10, sym_block, sym_assignment, sym_index_assignment, @@ -4182,9 +4161,9 @@ static const uint16_t ts_small_parse_table[] = { sym_index, STATE(138), 1, sym_expression, - STATE(235), 1, + STATE(232), 1, sym_if, - STATE(280), 1, + STATE(278), 1, sym_statement, ACTIONS(158), 2, sym_float, @@ -4203,7 +4182,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(250), 10, + STATE(253), 10, sym_block, sym_assignment, sym_index_assignment, @@ -4247,9 +4226,9 @@ static const uint16_t ts_small_parse_table[] = { sym_index, STATE(137), 1, sym_expression, - STATE(235), 1, + STATE(232), 1, sym_if, - STATE(247), 1, + STATE(244), 1, sym_statement, ACTIONS(158), 2, sym_float, @@ -4268,7 +4247,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(251), 10, + STATE(246), 10, sym_block, sym_assignment, sym_index_assignment, @@ -4312,9 +4291,9 @@ static const uint16_t ts_small_parse_table[] = { sym_index, STATE(137), 1, sym_expression, - STATE(235), 1, + STATE(232), 1, sym_if, - STATE(254), 1, + STATE(250), 1, sym_statement, ACTIONS(158), 2, sym_float, @@ -4333,7 +4312,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(251), 10, + STATE(246), 10, sym_block, sym_assignment, sym_index_assignment, @@ -4379,7 +4358,7 @@ static const uint16_t ts_small_parse_table[] = { sym_expression, STATE(109), 1, sym_if, - STATE(195), 1, + STATE(194), 1, sym_statement, ACTIONS(15), 2, sym_float, @@ -4442,9 +4421,9 @@ static const uint16_t ts_small_parse_table[] = { sym_index, STATE(138), 1, sym_expression, - STATE(235), 1, + STATE(232), 1, sym_if, - STATE(280), 1, + STATE(278), 1, sym_statement, ACTIONS(158), 2, sym_float, @@ -4463,7 +4442,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - STATE(250), 10, + STATE(253), 10, sym_block, sym_assignment, sym_index_assignment, @@ -5430,7 +5409,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, STATE(32), 1, sym_assignment_operator, - STATE(241), 1, + STATE(240), 1, sym_type_definition, ACTIONS(144), 2, anon_sym_PLUS_EQ, @@ -5601,9 +5580,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(266), 1, anon_sym_SEMI, - STATE(173), 1, + STATE(189), 1, sym_math_operator, - STATE(177), 1, + STATE(196), 1, sym_logic_operator, ACTIONS(124), 2, anon_sym_GT, @@ -5650,9 +5629,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(146), 1, anon_sym_COLON, - STATE(173), 1, + STATE(189), 1, sym_math_operator, - STATE(177), 1, + STATE(196), 1, sym_logic_operator, ACTIONS(124), 2, anon_sym_GT, @@ -5700,9 +5679,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(146), 1, anon_sym_COLON, - STATE(173), 1, + STATE(189), 1, sym_math_operator, - STATE(177), 1, + STATE(196), 1, sym_logic_operator, ACTIONS(124), 2, anon_sym_GT, @@ -5842,9 +5821,9 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(301), 1, anon_sym_DOT_DOT, - STATE(188), 1, + STATE(158), 1, sym_logic_operator, - STATE(199), 1, + STATE(159), 1, sym_math_operator, ACTIONS(108), 7, sym_identifier, @@ -5880,9 +5859,9 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(303), 1, anon_sym_COLON, - STATE(188), 1, + STATE(158), 1, sym_logic_operator, - STATE(199), 1, + STATE(159), 1, sym_math_operator, ACTIONS(134), 7, sym_identifier, @@ -5916,9 +5895,9 @@ static const uint16_t ts_small_parse_table[] = { [4765] = 5, ACTIONS(3), 1, sym__comment, - STATE(188), 1, + STATE(158), 1, sym_logic_operator, - STATE(199), 1, + STATE(159), 1, sym_math_operator, ACTIONS(108), 7, sym_identifier, @@ -5959,9 +5938,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(303), 1, anon_sym_COLON, - STATE(188), 1, + STATE(158), 1, sym_logic_operator, - STATE(199), 1, + STATE(159), 1, sym_math_operator, ACTIONS(124), 2, anon_sym_GT, @@ -5996,9 +5975,9 @@ static const uint16_t ts_small_parse_table[] = { [4861] = 5, ACTIONS(3), 1, sym__comment, - STATE(188), 1, + STATE(158), 1, sym_logic_operator, - STATE(199), 1, + STATE(159), 1, sym_math_operator, ACTIONS(130), 7, sym_identifier, @@ -6256,9 +6235,9 @@ static const uint16_t ts_small_parse_table[] = { [5166] = 5, ACTIONS(3), 1, sym__comment, - STATE(185), 1, + STATE(156), 1, sym_logic_operator, - STATE(187), 1, + STATE(157), 1, sym_math_operator, ACTIONS(108), 7, anon_sym_async, @@ -6291,9 +6270,9 @@ static const uint16_t ts_small_parse_table[] = { [5206] = 5, ACTIONS(3), 1, sym__comment, - STATE(185), 1, + STATE(156), 1, sym_logic_operator, - STATE(187), 1, + STATE(157), 1, sym_math_operator, ACTIONS(130), 7, anon_sym_async, @@ -6636,9 +6615,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(319), 1, anon_sym_DASH_GT, - STATE(185), 1, + STATE(156), 1, sym_logic_operator, - STATE(187), 1, + STATE(157), 1, sym_math_operator, ACTIONS(118), 2, anon_sym_PLUS, @@ -6675,9 +6654,9 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(317), 1, anon_sym_COLON, - STATE(185), 1, + STATE(156), 1, sym_logic_operator, - STATE(187), 1, + STATE(157), 1, sym_math_operator, ACTIONS(134), 7, anon_sym_async, @@ -6777,9 +6756,9 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(321), 1, anon_sym_DOT_DOT, - STATE(185), 1, + STATE(156), 1, sym_logic_operator, - STATE(187), 1, + STATE(157), 1, sym_math_operator, ACTIONS(108), 7, anon_sym_async, @@ -7330,7 +7309,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, ACTIONS(331), 1, anon_sym_else, - STATE(198), 1, + STATE(178), 1, sym_else, STATE(108), 2, sym_else_if, @@ -7498,7 +7477,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, STATE(36), 1, sym_assignment_operator, - STATE(239), 1, + STATE(238), 1, sym_type_definition, ACTIONS(144), 2, anon_sym_PLUS_EQ, @@ -8375,40 +8354,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [7720] = 11, + [7720] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, ACTIONS(442), 1, - sym_identifier, + anon_sym_async, ACTIONS(444), 1, anon_sym_LBRACE, - STATE(30), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7764] = 11, + STATE(134), 1, + sym_block, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [7766] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(154), 1, @@ -8441,32 +8421,32 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [7808] = 11, + [7810] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, + ACTIONS(180), 1, anon_sym_LBRACE, - STATE(24), 1, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + ACTIONS(446), 1, + sym_identifier, + STATE(40), 1, sym_expression, - ACTIONS(15), 2, + ACTIONS(188), 2, sym_float, sym_string, - ACTIONS(17), 2, + ACTIONS(190), 2, anon_sym_true, anon_sym_false, - STATE(56), 3, + STATE(82), 3, sym_boolean, sym_list, sym_map, - STATE(44), 7, + STATE(111), 7, sym__expression_kind, sym_value, sym_index, @@ -8474,7 +8454,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [7852] = 3, + [7854] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(262), 9, @@ -8499,464 +8479,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [7880] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(158), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7924] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(59), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [7968] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(66), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8012] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(71), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8056] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(72), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8100] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(366), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(368), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8128] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(170), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8172] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - ACTIONS(446), 1, - sym_identifier, - STATE(45), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(110), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8216] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(448), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(450), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8244] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_LBRACE, - STATE(18), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8288] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(452), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(454), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8316] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(456), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(458), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8344] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(266), 1, - anon_sym_SEMI, - ACTIONS(262), 8, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(264), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8374] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - ACTIONS(460), 1, - sym_identifier, - STATE(40), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8418] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(462), 1, - anon_sym_async, - ACTIONS(464), 1, - anon_sym_LBRACE, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - STATE(249), 1, - sym_block, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [8464] = 11, + [7882] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(178), 1, @@ -8989,100 +8512,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [8508] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(466), 1, - anon_sym_async, - ACTIONS(468), 1, - anon_sym_LBRACE, - STATE(134), 1, - sym_block, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [8554] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(470), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(472), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8582] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(474), 1, - anon_sym_async, - ACTIONS(476), 1, - anon_sym_LBRACE, - STATE(182), 1, - sym_block, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [8628] = 11, + [7926] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(154), 1, @@ -9095,7 +8525,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(260), 1, anon_sym_LBRACE, - STATE(160), 1, + STATE(140), 1, sym_expression, ACTIONS(158), 2, sym_float, @@ -9115,7 +8545,106 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [8672] = 11, + [7970] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(66), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8014] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(71), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8058] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(72), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8102] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(178), 1, @@ -9148,289 +8677,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [8716] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(478), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(480), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8744] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(482), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(484), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [8772] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_LBRACE, - STATE(19), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8816] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(77), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8860] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(68), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8904] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(486), 1, - anon_sym_async, - ACTIONS(488), 1, - anon_sym_LBRACE, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - STATE(240), 1, - sym_block, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [8950] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(186), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8994] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(179), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9038] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_LBRACE, - STATE(31), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9082] = 11, + [8146] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(180), 1, @@ -9441,7 +8688,7 @@ static const uint16_t ts_small_parse_table[] = { sym_integer, ACTIONS(192), 1, anon_sym_LBRACK, - ACTIONS(490), 1, + ACTIONS(448), 1, sym_identifier, STATE(49), 1, sym_expression, @@ -9463,257 +8710,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9126] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(73), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9170] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(48), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9214] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_LBRACE, - STATE(29), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9258] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(492), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(494), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [9286] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(462), 1, - anon_sym_async, - ACTIONS(464), 1, - anon_sym_LBRACE, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - STATE(255), 1, - sym_block, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [9332] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_LBRACE, - STATE(63), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9376] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(474), 1, - anon_sym_async, - ACTIONS(476), 1, - anon_sym_LBRACE, - STATE(154), 1, - sym_block, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [9422] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(496), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(498), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [9450] = 11, + [8190] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(154), 1, @@ -9726,7 +8723,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(260), 1, anon_sym_LBRACE, - STATE(162), 1, + STATE(182), 1, sym_expression, ACTIONS(158), 2, sym_float, @@ -9746,10 +8743,10 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9494] = 3, + [8234] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(500), 9, + ACTIONS(450), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -9759,7 +8756,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(502), 11, + ACTIONS(452), 11, anon_sym_async, sym_identifier, sym_integer, @@ -9771,7 +8768,82 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - [9522] = 11, + [8262] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(454), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(456), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8290] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(458), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(460), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8318] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(462), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(464), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8346] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(154), 1, @@ -9804,41 +8876,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9566] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(486), 1, - anon_sym_async, - ACTIONS(488), 1, - anon_sym_LBRACE, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - STATE(242), 1, - sym_block, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [9612] = 11, + [8390] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(154), 1, @@ -9871,7 +8909,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9656] = 11, + [8434] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(178), 1, @@ -9904,322 +8942,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9700] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(196), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9744] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(181), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9788] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(92), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9832] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(93), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9876] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - anon_sym_LPAREN, - ACTIONS(156), 1, - sym_integer, - ACTIONS(162), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - sym_identifier, - ACTIONS(260), 1, - anon_sym_LBRACE, - STATE(95), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(160), 2, - anon_sym_true, - anon_sym_false, - STATE(96), 3, - sym_boolean, - sym_list, - sym_map, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9920] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(178), 1, - sym_identifier, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_LPAREN, - ACTIONS(186), 1, - sym_integer, - ACTIONS(192), 1, - anon_sym_LBRACK, - STATE(42), 1, - sym_expression, - ACTIONS(188), 2, - sym_float, - sym_string, - ACTIONS(190), 2, - anon_sym_true, - anon_sym_false, - STATE(82), 3, - sym_boolean, - sym_list, - sym_map, - STATE(80), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9964] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(504), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(506), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [9992] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_DASH, - ACTIONS(319), 1, - anon_sym_DASH_GT, - ACTIONS(323), 1, - anon_sym_COLON, - ACTIONS(466), 1, - anon_sym_async, - ACTIONS(468), 1, - anon_sym_LBRACE, - STATE(130), 1, - sym_block, - STATE(192), 1, - sym_math_operator, - STATE(193), 1, - sym_logic_operator, - ACTIONS(124), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(122), 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, - [10038] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(444), 1, - anon_sym_LBRACE, - STATE(20), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(56), 3, - sym_boolean, - sym_list, - sym_map, - STATE(44), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10082] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(325), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(327), 11, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_use, - [10110] = 11, + [8478] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(178), 1, @@ -10252,6 +8975,1262 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, + [8522] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(63), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8566] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(470), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(472), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8594] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(48), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8638] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(197), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8682] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(474), 1, + anon_sym_async, + ACTIONS(476), 1, + anon_sym_LBRACE, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + STATE(249), 1, + sym_block, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [8728] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(18), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8772] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(199), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8816] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(20), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8860] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(24), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8904] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(164), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8948] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(366), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(368), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [8976] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(478), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(480), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9004] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9048] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(59), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9092] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(179), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9136] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(73), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9180] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + ACTIONS(482), 1, + sym_identifier, + STATE(45), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(110), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9224] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(266), 1, + anon_sym_SEMI, + ACTIONS(262), 8, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(264), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9254] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(325), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(327), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9282] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(484), 1, + anon_sym_async, + ACTIONS(486), 1, + anon_sym_LBRACE, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + STATE(239), 1, + sym_block, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [9328] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(30), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9372] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(488), 1, + anon_sym_async, + ACTIONS(490), 1, + anon_sym_LBRACE, + STATE(154), 1, + sym_block, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [9418] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(488), 1, + anon_sym_async, + ACTIONS(490), 1, + anon_sym_LBRACE, + STATE(171), 1, + sym_block, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [9464] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(492), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(494), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9492] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(496), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(498), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9520] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(500), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(502), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9548] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(19), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9592] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(77), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9636] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(68), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9680] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(31), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9724] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym_identifier, + ACTIONS(180), 1, + anon_sym_LBRACE, + ACTIONS(182), 1, + anon_sym_LPAREN, + ACTIONS(186), 1, + sym_integer, + ACTIONS(192), 1, + anon_sym_LBRACK, + STATE(42), 1, + sym_expression, + ACTIONS(188), 2, + sym_float, + sym_string, + ACTIONS(190), 2, + anon_sym_true, + anon_sym_false, + STATE(82), 3, + sym_boolean, + sym_list, + sym_map, + STATE(80), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9768] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(92), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9812] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(93), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9856] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(95), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9900] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(504), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(506), 11, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_use, + [9928] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(442), 1, + anon_sym_async, + ACTIONS(444), 1, + anon_sym_LBRACE, + STATE(130), 1, + sym_block, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [9974] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(466), 1, + sym_identifier, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(29), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(56), 3, + sym_boolean, + sym_list, + sym_map, + STATE(44), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10018] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(474), 1, + anon_sym_async, + ACTIONS(476), 1, + anon_sym_LBRACE, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + STATE(254), 1, + sym_block, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, + [10064] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(154), 1, + anon_sym_LPAREN, + ACTIONS(156), 1, + sym_integer, + ACTIONS(162), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + sym_identifier, + ACTIONS(260), 1, + anon_sym_LBRACE, + STATE(94), 1, + sym_expression, + ACTIONS(158), 2, + sym_float, + sym_string, + ACTIONS(160), 2, + anon_sym_true, + anon_sym_false, + STATE(96), 3, + sym_boolean, + sym_list, + sym_map, + STATE(102), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10108] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_DASH, + ACTIONS(319), 1, + anon_sym_DASH_GT, + ACTIONS(323), 1, + anon_sym_COLON, + ACTIONS(484), 1, + anon_sym_async, + ACTIONS(486), 1, + anon_sym_LBRACE, + STATE(192), 1, + sym_math_operator, + STATE(193), 1, + sym_logic_operator, + STATE(235), 1, + sym_block, + ACTIONS(124), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(122), 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, [10154] = 3, ACTIONS(3), 1, sym__comment, @@ -10315,7 +10294,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(260), 1, anon_sym_LBRACE, - STATE(94), 1, + STATE(195), 1, sym_expression, ACTIONS(158), 2, sym_float, @@ -10445,90 +10424,21 @@ static const uint16_t ts_small_parse_table[] = { [10387] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, - anon_sym_fn, + ACTIONS(526), 1, + anon_sym_LBRACK, ACTIONS(530), 1, - anon_sym_DASH_GT, - ACTIONS(532), 1, - anon_sym_list, - STATE(209), 1, - aux_sym_type_repeat1, - STATE(218), 1, - sym_type, - ACTIONS(524), 2, - anon_sym_COMMA, - anon_sym_GT, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10419] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(528), 1, anon_sym_fn, ACTIONS(532), 1, - anon_sym_list, - ACTIONS(536), 1, anon_sym_DASH_GT, - STATE(207), 1, - aux_sym_type_repeat1, - STATE(218), 1, - sym_type, - ACTIONS(534), 2, - anon_sym_COMMA, - anon_sym_GT, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10451] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(543), 1, - anon_sym_fn, - ACTIONS(546), 1, - anon_sym_list, - STATE(209), 1, - aux_sym_type_repeat1, - STATE(218), 1, - sym_type, - ACTIONS(538), 3, - anon_sym_COMMA, - anon_sym_GT, - anon_sym_DASH_GT, - ACTIONS(540), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10481] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(524), 1, - anon_sym_GT, - ACTIONS(528), 1, - anon_sym_fn, - ACTIONS(532), 1, - anon_sym_list, - ACTIONS(549), 1, - anon_sym_DASH_GT, - STATE(212), 1, + STATE(208), 1, aux_sym_type_repeat1, STATE(214), 1, sym_type, - ACTIONS(526), 7, + ACTIONS(524), 3, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_GT, + ACTIONS(528), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -10536,44 +10446,119 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [10512] = 8, + [10420] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 1, + ACTIONS(536), 1, + anon_sym_LBRACK, + ACTIONS(542), 1, anon_sym_fn, - ACTIONS(532), 1, - anon_sym_list, - ACTIONS(534), 1, + STATE(208), 1, + aux_sym_type_repeat1, + STATE(214), 1, + sym_type, + ACTIONS(534), 4, + anon_sym_COMMA, + anon_sym_RBRACK, anon_sym_GT, + anon_sym_DASH_GT, + ACTIONS(539), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10451] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(530), 1, + anon_sym_fn, + ACTIONS(547), 1, + anon_sym_DASH_GT, + STATE(207), 1, + aux_sym_type_repeat1, + STATE(214), 1, + sym_type, + ACTIONS(545), 3, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_GT, + ACTIONS(528), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10484] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(530), 1, + anon_sym_fn, + ACTIONS(549), 1, + anon_sym_DASH_GT, + STATE(211), 1, + aux_sym_type_repeat1, + STATE(213), 1, + sym_type, + ACTIONS(524), 2, + anon_sym_RBRACK, + anon_sym_GT, + ACTIONS(528), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10516] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(536), 1, + anon_sym_LBRACK, + ACTIONS(542), 1, + anon_sym_fn, + STATE(211), 1, + aux_sym_type_repeat1, + STATE(213), 1, + sym_type, + ACTIONS(534), 3, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_DASH_GT, + ACTIONS(539), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10546] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(530), 1, + anon_sym_fn, ACTIONS(551), 1, anon_sym_DASH_GT, STATE(210), 1, aux_sym_type_repeat1, - STATE(214), 1, + STATE(213), 1, sym_type, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10543] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(543), 1, - anon_sym_fn, - ACTIONS(546), 1, - anon_sym_list, - STATE(212), 1, - aux_sym_type_repeat1, - STATE(214), 1, - sym_type, - ACTIONS(538), 2, + ACTIONS(545), 2, + anon_sym_RBRACK, anon_sym_GT, - anon_sym_DASH_GT, - ACTIONS(540), 7, + ACTIONS(528), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -10581,15 +10566,119 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [10572] = 3, + [10578] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(376), 4, + ACTIONS(553), 1, + anon_sym_COMMA, + ACTIONS(555), 12, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10599] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(557), 1, + anon_sym_COMMA, + ACTIONS(555), 12, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10620] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(560), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10639] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(534), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10658] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(562), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10677] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(545), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10696] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(464), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(374), 8, + ACTIONS(462), 8, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10598,24 +10687,7 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, - [10592] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(553), 1, - anon_sym_COMMA, - ACTIONS(555), 11, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10612] = 3, + [10716] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(368), 4, @@ -10632,31 +10704,15 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, - [10632] = 2, + [10736] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(524), 12, - anon_sym_COMMA, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10650] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(458), 4, + ACTIONS(376), 4, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(456), 8, + ACTIONS(374), 8, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10665,97 +10721,33 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, - [10670] = 3, + [10756] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(557), 1, - anon_sym_COMMA, - ACTIONS(555), 11, - anon_sym_GT, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(530), 1, + anon_sym_fn, + STATE(215), 1, + sym_type, + ACTIONS(528), 7, anon_sym_any, anon_sym_bool, anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, anon_sym_int, - anon_sym_list, anon_sym_map, anon_sym_num, anon_sym_str, - [10690] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(560), 12, - anon_sym_COMMA, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10708] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(534), 12, - anon_sym_COMMA, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10726] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(538), 12, - anon_sym_COMMA, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10744] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 12, - anon_sym_COMMA, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10762] = 5, + [10778] = 5, ACTIONS(3), 1, sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, ACTIONS(564), 1, anon_sym_fn, - ACTIONS(566), 1, - anon_sym_list, - STATE(219), 1, + STATE(290), 1, sym_type, - ACTIONS(526), 7, + ACTIONS(528), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -10763,16 +10755,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [10784] = 5, + [10800] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(564), 1, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(530), 1, anon_sym_fn, - ACTIONS(566), 1, - anon_sym_list, - STATE(222), 1, + STATE(217), 1, sym_type, - ACTIONS(526), 7, + ACTIONS(528), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -10780,16 +10772,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [10806] = 5, + [10822] = 5, ACTIONS(3), 1, sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, ACTIONS(564), 1, anon_sym_fn, - ACTIONS(566), 1, - anon_sym_list, - STATE(284), 1, + STATE(286), 1, sym_type, - ACTIONS(526), 7, + ACTIONS(528), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -10797,7 +10789,56 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [10828] = 3, + [10844] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(564), 1, + anon_sym_fn, + STATE(215), 1, + sym_type, + ACTIONS(528), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10866] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(566), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(393), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + [10884] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 1, + anon_sym_LBRACK, + ACTIONS(564), 1, + anon_sym_fn, + STATE(217), 1, + sym_type, + ACTIONS(528), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [10906] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(568), 4, @@ -10812,75 +10853,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_RBRACK, - [10846] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(564), 1, - anon_sym_fn, - ACTIONS(566), 1, - anon_sym_list, - STATE(216), 1, - sym_type, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10868] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(528), 1, - anon_sym_fn, - ACTIONS(532), 1, - anon_sym_list, - STATE(222), 1, - sym_type, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10890] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(528), 1, - anon_sym_fn, - ACTIONS(532), 1, - anon_sym_list, - STATE(219), 1, - sym_type, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10912] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(528), 1, - anon_sym_fn, - ACTIONS(532), 1, - anon_sym_list, - STATE(216), 1, - sym_type, - ACTIONS(526), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [10934] = 3, + [10924] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(570), 4, @@ -10888,92 +10861,99 @@ static const uint16_t ts_small_parse_table[] = { sym_integer, anon_sym_true, anon_sym_false, - ACTIONS(393), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - [10952] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(572), 4, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - ACTIONS(574), 5, + ACTIONS(572), 5, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, - [10969] = 7, + [10941] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(327), 1, sym_identifier, - ACTIONS(576), 1, + ACTIONS(574), 1, anon_sym_elseif, - ACTIONS(578), 1, + ACTIONS(576), 1, anon_sym_else, - STATE(245), 1, + STATE(242), 1, sym_else, - STATE(236), 2, + STATE(234), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(325), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [10994] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(580), 4, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - ACTIONS(582), 5, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - [11011] = 7, + [10966] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(335), 1, sym_identifier, - ACTIONS(576), 1, + ACTIONS(574), 1, anon_sym_elseif, - ACTIONS(578), 1, + ACTIONS(576), 1, anon_sym_else, - STATE(256), 1, + STATE(251), 1, sym_else, - STATE(233), 2, + STATE(231), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(333), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [11036] = 5, + [10991] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(584), 1, + ACTIONS(578), 4, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + ACTIONS(580), 5, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + [11008] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(582), 1, anon_sym_elseif, ACTIONS(345), 2, sym_identifier, anon_sym_else, - STATE(236), 2, + STATE(234), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(343), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, + [11028] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(380), 2, + sym_identifier, + anon_sym_else, + ACTIONS(378), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_elseif, + [11042] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(376), 2, + sym_identifier, + anon_sym_else, + ACTIONS(374), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_elseif, [11056] = 3, ACTIONS(3), 1, sym__comment, @@ -10985,31 +10965,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, anon_sym_elseif, - [11070] = 3, + [11070] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(376), 2, - sym_identifier, - anon_sym_else, - ACTIONS(374), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_elseif, - [11084] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(587), 1, + ACTIONS(585), 1, anon_sym_PIPE, STATE(33), 1, sym_assignment_operator, - STATE(253), 1, + STATE(241), 1, sym_function, ACTIONS(144), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [11102] = 3, + [11088] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(411), 2, @@ -11020,10 +10989,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, anon_sym_elseif, - [11116] = 5, + [11102] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(589), 1, + ACTIONS(587), 1, anon_sym_PIPE, STATE(27), 1, sym_assignment_operator, @@ -11033,34 +11002,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [11134] = 3, + [11120] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(380), 2, - sym_identifier, - anon_sym_else, - ACTIONS(378), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_elseif, - [11148] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(500), 4, + ACTIONS(438), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11158] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(591), 4, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_PIPE, - [11168] = 2, + [11130] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(508), 4, @@ -11068,7 +11018,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11178] = 2, + [11140] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(512), 4, @@ -11076,7 +11026,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11188] = 2, + [11150] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(504), 4, @@ -11084,15 +11034,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11198] = 2, + [11160] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(448), 4, + ACTIONS(492), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11208] = 2, + [11170] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(262), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [11180] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(589), 4, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_PIPE, + [11190] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(496), 4, @@ -11100,7 +11066,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11218] = 3, + [11200] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(478), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [11210] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(454), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [11220] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(325), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [11230] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(470), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [11240] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(436), 1, @@ -11109,354 +11107,319 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_COMMA, sym_identifier, - [11230] = 2, + [11252] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(262), 4, + ACTIONS(458), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11240] = 2, + [11262] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(470), 4, + ACTIONS(500), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11250] = 2, + [11272] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(438), 4, + ACTIONS(450), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [11260] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(492), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [11270] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(452), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [11280] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(325), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [11290] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(482), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [11300] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(478), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [11310] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(593), 1, - sym_identifier, - ACTIONS(595), 1, - anon_sym_RBRACE, - STATE(262), 1, - aux_sym_map_repeat1, - [11323] = 4, + [11282] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(474), 1, anon_sym_async, ACTIONS(476), 1, anon_sym_LBRACE, - STATE(155), 1, - sym_block, - [11336] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(474), 1, - anon_sym_async, - ACTIONS(476), 1, - anon_sym_LBRACE, - STATE(152), 1, - sym_block, - [11349] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(597), 1, - sym_identifier, - ACTIONS(600), 1, - anon_sym_RBRACE, - STATE(262), 1, - aux_sym_map_repeat1, - [11362] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(593), 1, - sym_identifier, - ACTIONS(602), 1, - anon_sym_RBRACE, - STATE(277), 1, - aux_sym_map_repeat1, - [11375] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(593), 1, - sym_identifier, - ACTIONS(604), 1, - anon_sym_RBRACE, - STATE(262), 1, - aux_sym_map_repeat1, - [11388] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(474), 1, - anon_sym_async, - ACTIONS(476), 1, - anon_sym_LBRACE, - STATE(203), 1, - sym_block, - [11401] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(462), 1, - anon_sym_async, - ACTIONS(464), 1, - anon_sym_LBRACE, - STATE(248), 1, - sym_block, - [11414] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(462), 1, - anon_sym_async, - ACTIONS(464), 1, - anon_sym_LBRACE, STATE(252), 1, sym_block, - [11427] = 4, + [11295] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(593), 1, + anon_sym_PIPE, + STATE(272), 1, + aux_sym_identifier_list_repeat1, + [11308] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(488), 1, + anon_sym_async, + ACTIONS(490), 1, + anon_sym_LBRACE, + STATE(155), 1, + sym_block, + [11321] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(595), 1, + sym_identifier, + ACTIONS(597), 1, + anon_sym_RBRACE, + STATE(267), 1, + aux_sym_map_repeat1, + [11334] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(595), 1, + sym_identifier, + ACTIONS(599), 1, + anon_sym_RBRACE, + STATE(267), 1, + aux_sym_map_repeat1, + [11347] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(595), 1, + sym_identifier, + ACTIONS(601), 1, + anon_sym_RBRACE, + STATE(260), 1, + aux_sym_map_repeat1, + [11360] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(595), 1, + sym_identifier, + ACTIONS(603), 1, + anon_sym_RBRACE, + STATE(267), 1, + aux_sym_map_repeat1, + [11373] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(37), 1, anon_sym_RBRACE, - ACTIONS(593), 1, + ACTIONS(595), 1, sym_identifier, - STATE(264), 1, + STATE(263), 1, aux_sym_map_repeat1, - [11440] = 4, + [11386] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(462), 1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(605), 1, + anon_sym_PIPE, + STATE(272), 1, + aux_sym_identifier_list_repeat1, + [11399] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(488), 1, anon_sym_async, - ACTIONS(464), 1, + ACTIONS(490), 1, anon_sym_LBRACE, - STATE(246), 1, + STATE(161), 1, sym_block, - [11453] = 4, + [11412] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(607), 1, + sym_identifier, + ACTIONS(610), 1, + anon_sym_RBRACE, + STATE(267), 1, + aux_sym_map_repeat1, + [11425] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(614), 1, + anon_sym_COMMA, + ACTIONS(612), 2, + sym_identifier, + anon_sym_PIPE, + [11436] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(616), 1, + anon_sym_PIPE, + STATE(265), 1, + aux_sym_identifier_list_repeat1, + [11449] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(474), 1, anon_sym_async, ACTIONS(476), 1, anon_sym_LBRACE, - STATE(161), 1, + STATE(243), 1, sym_block, - [11466] = 4, + [11462] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(462), 1, + ACTIONS(474), 1, anon_sym_async, - ACTIONS(464), 1, + ACTIONS(476), 1, anon_sym_LBRACE, - STATE(217), 1, + STATE(256), 1, sym_block, - [11479] = 3, + [11475] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(608), 1, - anon_sym_COMMA, - ACTIONS(606), 2, + ACTIONS(618), 1, sym_identifier, + ACTIONS(621), 1, anon_sym_PIPE, - [11490] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(610), 1, - sym_identifier, - ACTIONS(613), 1, - anon_sym_PIPE, - STATE(273), 1, + STATE(272), 1, aux_sym_identifier_list_repeat1, - [11503] = 4, + [11488] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(615), 1, + ACTIONS(591), 1, sym_identifier, - ACTIONS(617), 1, + ACTIONS(623), 1, anon_sym_PIPE, - STATE(278), 1, + STATE(258), 1, aux_sym_identifier_list_repeat1, - [11516] = 4, + [11501] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(615), 1, - sym_identifier, - ACTIONS(619), 1, - anon_sym_PIPE, - STATE(273), 1, - aux_sym_identifier_list_repeat1, - [11529] = 4, + ACTIONS(488), 1, + anon_sym_async, + ACTIONS(490), 1, + anon_sym_LBRACE, + STATE(152), 1, + sym_block, + [11514] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(474), 1, + anon_sym_async, + ACTIONS(476), 1, + anon_sym_LBRACE, + STATE(219), 1, + sym_block, + [11527] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(86), 1, anon_sym_RBRACE, - ACTIONS(593), 1, + ACTIONS(595), 1, sym_identifier, - STATE(259), 1, + STATE(261), 1, aux_sym_map_repeat1, - [11542] = 4, + [11540] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(593), 1, - sym_identifier, - ACTIONS(621), 1, - anon_sym_RBRACE, - STATE(262), 1, - aux_sym_map_repeat1, - [11555] = 4, + ACTIONS(488), 1, + anon_sym_async, + ACTIONS(490), 1, + anon_sym_LBRACE, + STATE(203), 1, + sym_block, + [11553] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(615), 1, - sym_identifier, - ACTIONS(623), 1, - anon_sym_PIPE, - STATE(273), 1, - aux_sym_identifier_list_repeat1, - [11568] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(615), 1, - sym_identifier, - ACTIONS(625), 1, - anon_sym_PIPE, - STATE(275), 1, - aux_sym_identifier_list_repeat1, - [11581] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(629), 1, + ACTIONS(627), 1, anon_sym_COMMA, - ACTIONS(627), 2, + ACTIONS(625), 2, anon_sym_RBRACE, sym_identifier, - [11592] = 2, + [11564] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(631), 2, + ACTIONS(629), 2, anon_sym_RBRACE, sym_identifier, - [11600] = 2, + [11572] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(613), 2, + ACTIONS(621), 2, sym_identifier, anon_sym_PIPE, - [11608] = 2, + [11580] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(631), 1, + anon_sym_in, + [11587] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(633), 1, - anon_sym_in, - [11615] = 2, + anon_sym_LBRACE, + [11594] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(635), 1, - anon_sym_GT, - [11622] = 2, + sym_string, + [11601] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(637), 1, - sym_string, - [11629] = 2, + sym_identifier, + [11608] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(639), 1, - sym_identifier, - [11636] = 2, + anon_sym_EQ, + [11615] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(641), 1, - anon_sym_EQ, - [11643] = 2, + anon_sym_RBRACK, + [11622] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(643), 1, - sym_string, - [11650] = 2, + anon_sym_LPAREN, + [11629] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(645), 1, - anon_sym_LBRACE, - [11657] = 2, + ts_builtin_sym_end, + [11636] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(647), 1, - anon_sym_LPAREN, - [11664] = 2, + sym_string, + [11643] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(649), 1, - ts_builtin_sym_end, - [11671] = 2, + anon_sym_GT, + [11650] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(651), 1, anon_sym_LBRACE, - [11678] = 2, + [11657] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(653), 1, anon_sym_in, - [11685] = 2, + [11664] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(655), 1, anon_sym_LPAREN, - [11692] = 2, + [11671] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(657), 1, anon_sym_LBRACE, - [11699] = 2, + [11678] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(659), 1, anon_sym_LPAREN, - [11706] = 2, + [11685] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(661), 1, anon_sym_LBRACE, - [11713] = 2, + [11692] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(663), 1, @@ -11603,65 +11566,65 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(138)] = 7647, [SMALL_STATE(139)] = 7692, [SMALL_STATE(140)] = 7720, - [SMALL_STATE(141)] = 7764, - [SMALL_STATE(142)] = 7808, - [SMALL_STATE(143)] = 7852, - [SMALL_STATE(144)] = 7880, - [SMALL_STATE(145)] = 7924, - [SMALL_STATE(146)] = 7968, - [SMALL_STATE(147)] = 8012, - [SMALL_STATE(148)] = 8056, - [SMALL_STATE(149)] = 8100, - [SMALL_STATE(150)] = 8128, - [SMALL_STATE(151)] = 8172, - [SMALL_STATE(152)] = 8216, - [SMALL_STATE(153)] = 8244, - [SMALL_STATE(154)] = 8288, - [SMALL_STATE(155)] = 8316, - [SMALL_STATE(156)] = 8344, - [SMALL_STATE(157)] = 8374, - [SMALL_STATE(158)] = 8418, - [SMALL_STATE(159)] = 8464, - [SMALL_STATE(160)] = 8508, - [SMALL_STATE(161)] = 8554, - [SMALL_STATE(162)] = 8582, - [SMALL_STATE(163)] = 8628, - [SMALL_STATE(164)] = 8672, - [SMALL_STATE(165)] = 8716, - [SMALL_STATE(166)] = 8744, - [SMALL_STATE(167)] = 8772, - [SMALL_STATE(168)] = 8816, - [SMALL_STATE(169)] = 8860, - [SMALL_STATE(170)] = 8904, - [SMALL_STATE(171)] = 8950, - [SMALL_STATE(172)] = 8994, - [SMALL_STATE(173)] = 9038, - [SMALL_STATE(174)] = 9082, - [SMALL_STATE(175)] = 9126, - [SMALL_STATE(176)] = 9170, - [SMALL_STATE(177)] = 9214, - [SMALL_STATE(178)] = 9258, - [SMALL_STATE(179)] = 9286, - [SMALL_STATE(180)] = 9332, - [SMALL_STATE(181)] = 9376, - [SMALL_STATE(182)] = 9422, - [SMALL_STATE(183)] = 9450, - [SMALL_STATE(184)] = 9494, - [SMALL_STATE(185)] = 9522, - [SMALL_STATE(186)] = 9566, - [SMALL_STATE(187)] = 9612, - [SMALL_STATE(188)] = 9656, - [SMALL_STATE(189)] = 9700, - [SMALL_STATE(190)] = 9744, - [SMALL_STATE(191)] = 9788, - [SMALL_STATE(192)] = 9832, - [SMALL_STATE(193)] = 9876, - [SMALL_STATE(194)] = 9920, - [SMALL_STATE(195)] = 9964, - [SMALL_STATE(196)] = 9992, - [SMALL_STATE(197)] = 10038, - [SMALL_STATE(198)] = 10082, - [SMALL_STATE(199)] = 10110, + [SMALL_STATE(141)] = 7766, + [SMALL_STATE(142)] = 7810, + [SMALL_STATE(143)] = 7854, + [SMALL_STATE(144)] = 7882, + [SMALL_STATE(145)] = 7926, + [SMALL_STATE(146)] = 7970, + [SMALL_STATE(147)] = 8014, + [SMALL_STATE(148)] = 8058, + [SMALL_STATE(149)] = 8102, + [SMALL_STATE(150)] = 8146, + [SMALL_STATE(151)] = 8190, + [SMALL_STATE(152)] = 8234, + [SMALL_STATE(153)] = 8262, + [SMALL_STATE(154)] = 8290, + [SMALL_STATE(155)] = 8318, + [SMALL_STATE(156)] = 8346, + [SMALL_STATE(157)] = 8390, + [SMALL_STATE(158)] = 8434, + [SMALL_STATE(159)] = 8478, + [SMALL_STATE(160)] = 8522, + [SMALL_STATE(161)] = 8566, + [SMALL_STATE(162)] = 8594, + [SMALL_STATE(163)] = 8638, + [SMALL_STATE(164)] = 8682, + [SMALL_STATE(165)] = 8728, + [SMALL_STATE(166)] = 8772, + [SMALL_STATE(167)] = 8816, + [SMALL_STATE(168)] = 8860, + [SMALL_STATE(169)] = 8904, + [SMALL_STATE(170)] = 8948, + [SMALL_STATE(171)] = 8976, + [SMALL_STATE(172)] = 9004, + [SMALL_STATE(173)] = 9048, + [SMALL_STATE(174)] = 9092, + [SMALL_STATE(175)] = 9136, + [SMALL_STATE(176)] = 9180, + [SMALL_STATE(177)] = 9224, + [SMALL_STATE(178)] = 9254, + [SMALL_STATE(179)] = 9282, + [SMALL_STATE(180)] = 9328, + [SMALL_STATE(181)] = 9372, + [SMALL_STATE(182)] = 9418, + [SMALL_STATE(183)] = 9464, + [SMALL_STATE(184)] = 9492, + [SMALL_STATE(185)] = 9520, + [SMALL_STATE(186)] = 9548, + [SMALL_STATE(187)] = 9592, + [SMALL_STATE(188)] = 9636, + [SMALL_STATE(189)] = 9680, + [SMALL_STATE(190)] = 9724, + [SMALL_STATE(191)] = 9768, + [SMALL_STATE(192)] = 9812, + [SMALL_STATE(193)] = 9856, + [SMALL_STATE(194)] = 9900, + [SMALL_STATE(195)] = 9928, + [SMALL_STATE(196)] = 9974, + [SMALL_STATE(197)] = 10018, + [SMALL_STATE(198)] = 10064, + [SMALL_STATE(199)] = 10108, [SMALL_STATE(200)] = 10154, [SMALL_STATE(201)] = 10182, [SMALL_STATE(202)] = 10210, @@ -11670,97 +11633,96 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(205)] = 10322, [SMALL_STATE(206)] = 10362, [SMALL_STATE(207)] = 10387, - [SMALL_STATE(208)] = 10419, + [SMALL_STATE(208)] = 10420, [SMALL_STATE(209)] = 10451, - [SMALL_STATE(210)] = 10481, - [SMALL_STATE(211)] = 10512, - [SMALL_STATE(212)] = 10543, - [SMALL_STATE(213)] = 10572, - [SMALL_STATE(214)] = 10592, - [SMALL_STATE(215)] = 10612, - [SMALL_STATE(216)] = 10632, - [SMALL_STATE(217)] = 10650, - [SMALL_STATE(218)] = 10670, - [SMALL_STATE(219)] = 10690, - [SMALL_STATE(220)] = 10708, - [SMALL_STATE(221)] = 10726, - [SMALL_STATE(222)] = 10744, - [SMALL_STATE(223)] = 10762, - [SMALL_STATE(224)] = 10784, - [SMALL_STATE(225)] = 10806, - [SMALL_STATE(226)] = 10828, - [SMALL_STATE(227)] = 10846, - [SMALL_STATE(228)] = 10868, - [SMALL_STATE(229)] = 10890, - [SMALL_STATE(230)] = 10912, - [SMALL_STATE(231)] = 10934, - [SMALL_STATE(232)] = 10952, - [SMALL_STATE(233)] = 10969, - [SMALL_STATE(234)] = 10994, - [SMALL_STATE(235)] = 11011, - [SMALL_STATE(236)] = 11036, + [SMALL_STATE(210)] = 10484, + [SMALL_STATE(211)] = 10516, + [SMALL_STATE(212)] = 10546, + [SMALL_STATE(213)] = 10578, + [SMALL_STATE(214)] = 10599, + [SMALL_STATE(215)] = 10620, + [SMALL_STATE(216)] = 10639, + [SMALL_STATE(217)] = 10658, + [SMALL_STATE(218)] = 10677, + [SMALL_STATE(219)] = 10696, + [SMALL_STATE(220)] = 10716, + [SMALL_STATE(221)] = 10736, + [SMALL_STATE(222)] = 10756, + [SMALL_STATE(223)] = 10778, + [SMALL_STATE(224)] = 10800, + [SMALL_STATE(225)] = 10822, + [SMALL_STATE(226)] = 10844, + [SMALL_STATE(227)] = 10866, + [SMALL_STATE(228)] = 10884, + [SMALL_STATE(229)] = 10906, + [SMALL_STATE(230)] = 10924, + [SMALL_STATE(231)] = 10941, + [SMALL_STATE(232)] = 10966, + [SMALL_STATE(233)] = 10991, + [SMALL_STATE(234)] = 11008, + [SMALL_STATE(235)] = 11028, + [SMALL_STATE(236)] = 11042, [SMALL_STATE(237)] = 11056, [SMALL_STATE(238)] = 11070, - [SMALL_STATE(239)] = 11084, + [SMALL_STATE(239)] = 11088, [SMALL_STATE(240)] = 11102, - [SMALL_STATE(241)] = 11116, - [SMALL_STATE(242)] = 11134, - [SMALL_STATE(243)] = 11148, - [SMALL_STATE(244)] = 11158, - [SMALL_STATE(245)] = 11168, - [SMALL_STATE(246)] = 11178, - [SMALL_STATE(247)] = 11188, - [SMALL_STATE(248)] = 11198, - [SMALL_STATE(249)] = 11208, - [SMALL_STATE(250)] = 11218, - [SMALL_STATE(251)] = 11230, - [SMALL_STATE(252)] = 11240, - [SMALL_STATE(253)] = 11250, - [SMALL_STATE(254)] = 11260, - [SMALL_STATE(255)] = 11270, - [SMALL_STATE(256)] = 11280, - [SMALL_STATE(257)] = 11290, - [SMALL_STATE(258)] = 11300, - [SMALL_STATE(259)] = 11310, - [SMALL_STATE(260)] = 11323, - [SMALL_STATE(261)] = 11336, - [SMALL_STATE(262)] = 11349, - [SMALL_STATE(263)] = 11362, - [SMALL_STATE(264)] = 11375, - [SMALL_STATE(265)] = 11388, - [SMALL_STATE(266)] = 11401, - [SMALL_STATE(267)] = 11414, - [SMALL_STATE(268)] = 11427, - [SMALL_STATE(269)] = 11440, - [SMALL_STATE(270)] = 11453, - [SMALL_STATE(271)] = 11466, - [SMALL_STATE(272)] = 11479, - [SMALL_STATE(273)] = 11490, - [SMALL_STATE(274)] = 11503, - [SMALL_STATE(275)] = 11516, - [SMALL_STATE(276)] = 11529, - [SMALL_STATE(277)] = 11542, - [SMALL_STATE(278)] = 11555, - [SMALL_STATE(279)] = 11568, - [SMALL_STATE(280)] = 11581, - [SMALL_STATE(281)] = 11592, - [SMALL_STATE(282)] = 11600, - [SMALL_STATE(283)] = 11608, - [SMALL_STATE(284)] = 11615, - [SMALL_STATE(285)] = 11622, - [SMALL_STATE(286)] = 11629, - [SMALL_STATE(287)] = 11636, - [SMALL_STATE(288)] = 11643, - [SMALL_STATE(289)] = 11650, - [SMALL_STATE(290)] = 11657, - [SMALL_STATE(291)] = 11664, - [SMALL_STATE(292)] = 11671, - [SMALL_STATE(293)] = 11678, - [SMALL_STATE(294)] = 11685, - [SMALL_STATE(295)] = 11692, - [SMALL_STATE(296)] = 11699, - [SMALL_STATE(297)] = 11706, - [SMALL_STATE(298)] = 11713, + [SMALL_STATE(241)] = 11120, + [SMALL_STATE(242)] = 11130, + [SMALL_STATE(243)] = 11140, + [SMALL_STATE(244)] = 11150, + [SMALL_STATE(245)] = 11160, + [SMALL_STATE(246)] = 11170, + [SMALL_STATE(247)] = 11180, + [SMALL_STATE(248)] = 11190, + [SMALL_STATE(249)] = 11200, + [SMALL_STATE(250)] = 11210, + [SMALL_STATE(251)] = 11220, + [SMALL_STATE(252)] = 11230, + [SMALL_STATE(253)] = 11240, + [SMALL_STATE(254)] = 11252, + [SMALL_STATE(255)] = 11262, + [SMALL_STATE(256)] = 11272, + [SMALL_STATE(257)] = 11282, + [SMALL_STATE(258)] = 11295, + [SMALL_STATE(259)] = 11308, + [SMALL_STATE(260)] = 11321, + [SMALL_STATE(261)] = 11334, + [SMALL_STATE(262)] = 11347, + [SMALL_STATE(263)] = 11360, + [SMALL_STATE(264)] = 11373, + [SMALL_STATE(265)] = 11386, + [SMALL_STATE(266)] = 11399, + [SMALL_STATE(267)] = 11412, + [SMALL_STATE(268)] = 11425, + [SMALL_STATE(269)] = 11436, + [SMALL_STATE(270)] = 11449, + [SMALL_STATE(271)] = 11462, + [SMALL_STATE(272)] = 11475, + [SMALL_STATE(273)] = 11488, + [SMALL_STATE(274)] = 11501, + [SMALL_STATE(275)] = 11514, + [SMALL_STATE(276)] = 11527, + [SMALL_STATE(277)] = 11540, + [SMALL_STATE(278)] = 11553, + [SMALL_STATE(279)] = 11564, + [SMALL_STATE(280)] = 11572, + [SMALL_STATE(281)] = 11580, + [SMALL_STATE(282)] = 11587, + [SMALL_STATE(283)] = 11594, + [SMALL_STATE(284)] = 11601, + [SMALL_STATE(285)] = 11608, + [SMALL_STATE(286)] = 11615, + [SMALL_STATE(287)] = 11622, + [SMALL_STATE(288)] = 11629, + [SMALL_STATE(289)] = 11636, + [SMALL_STATE(290)] = 11643, + [SMALL_STATE(291)] = 11650, + [SMALL_STATE(292)] = 11657, + [SMALL_STATE(293)] = 11664, + [SMALL_STATE(294)] = 11671, + [SMALL_STATE(295)] = 11678, + [SMALL_STATE(296)] = 11685, + [SMALL_STATE(297)] = 11692, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -11768,59 +11730,59 @@ 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(28), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(282), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(288), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(151), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(284), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(283), [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), [41] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(28), - [44] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(289), + [44] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(282), [47] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(2), - [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(157), + [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(142), [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(56), [56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(56), [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(41), [62] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(122), - [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(163), - [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(164), - [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(183), - [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(286), - [77] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(286), - [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(180), - [83] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(288), + [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(145), + [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(149), + [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(151), + [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(284), + [77] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(284), + [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(160), + [83] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(283), [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), - [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), [92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), [108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), [112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), [114] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234), - [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), - [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(232), - [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(230), + [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), + [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(233), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), @@ -11828,34 +11790,34 @@ static const TSParseActionEntry ts_parse_actions[] = { [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), [140] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206), - [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225), + [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223), [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), [148] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), - [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295), + [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(294), [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), [156] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), [160] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), - [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), - [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), - [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(298), - [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), + [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(174), + [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173), + [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), + [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(297), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), - [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(285), + [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289), [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), - [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), - [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), @@ -11890,7 +11852,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), @@ -11899,27 +11861,27 @@ static const TSParseActionEntry ts_parse_actions[] = { [278] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(102), [281] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), [283] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(276), - [286] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(174), + [286] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(150), [289] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(96), [292] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(96), [295] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(104), [298] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(118), [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), [323] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), [325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), [327] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(277), [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), @@ -11927,7 +11889,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), [345] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [347] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(189), + [347] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(202), [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), @@ -11946,8 +11908,8 @@ static const TSParseActionEntry ts_parse_actions[] = { [380] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), [384] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(80), - [387] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(263), - [390] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(151), + [387] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(262), + [390] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(176), [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), [395] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(82), [398] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(82), @@ -11957,124 +11919,124 @@ static const TSParseActionEntry ts_parse_actions[] = { [409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), [411] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), [413] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(80), - [416] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(263), - [419] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(151), + [416] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(262), + [419] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(176), [422] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(82), [425] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(82), [428] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(81), [431] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(133), [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 3), [440] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 3), - [442] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), - [446] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), - [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [450] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), - [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), - [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [460] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), - [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [446] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), + [448] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [452] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), + [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [464] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [466] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 3), [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 3), - [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), - [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), - [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [490] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), - [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [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}}, REDUCE(sym_assignment, 4), - [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), + [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), + [482] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), + [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), + [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), + [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), + [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), + [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), [506] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), [510] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), [512] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), [514] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), [520] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), [524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), - [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), - [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), - [538] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [540] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(220), - [543] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(208), - [546] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(230), - [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), + [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), + [536] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(225), + [539] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(218), + [542] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(209), + [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), [555] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), - [557] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), SHIFT_REPEAT(221), + [557] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), SHIFT_REPEAT(216), [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), - [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), + [566] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), [568] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [570] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), - [572] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [574] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [578] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), - [580] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [584] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(171), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), - [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [597] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(287), - [600] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [606] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), - [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), - [610] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(272), - [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), - [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), - [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), - [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), - [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), - [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [649] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [570] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [572] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [576] = {.entry = {.count = 1, .reusable = false}}, SHIFT(270), + [578] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [580] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [582] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(166), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [607] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(285), + [610] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [612] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), + [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [618] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(268), + [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), + [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [645] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), }; #ifdef __cplusplus