diff --git a/examples/async.ds b/examples/async.ds index e22a352..d0f5337 100644 --- a/examples/async.ds +++ b/examples/async.ds @@ -1,4 +1,4 @@ -create_random_numbers = (fn count ) { +create_random_numbers = (fn count ) { numbers = [] while (length numbers) < count { diff --git a/src/abstract_tree/assignment.rs b/src/abstract_tree/assignment.rs index f0f8c2a..6799ffc 100644 --- a/src/abstract_tree/assignment.rs +++ b/src/abstract_tree/assignment.rs @@ -151,7 +151,7 @@ impl AbstractTree for Assignment { } fn expected_type(&self, _context: &Map) -> Result { - Ok(Type::Empty) + Ok(Type::None) } } diff --git a/src/abstract_tree/for.rs b/src/abstract_tree/for.rs index 550af04..7e9f37a 100644 --- a/src/abstract_tree/for.rs +++ b/src/abstract_tree/for.rs @@ -75,6 +75,6 @@ impl AbstractTree for For { } fn expected_type(&self, _context: &Map) -> Result { - Ok(Type::Empty) + Ok(Type::None) } } diff --git a/src/abstract_tree/identifier.rs b/src/abstract_tree/identifier.rs index 6f3d5dd..0717a92 100644 --- a/src/abstract_tree/identifier.rs +++ b/src/abstract_tree/identifier.rs @@ -51,7 +51,7 @@ impl AbstractTree for Identifier { } } - Ok(Type::Empty) + Ok(Type::None) } } } diff --git a/src/abstract_tree/index.rs b/src/abstract_tree/index.rs index d4ef954..cfe7e53 100644 --- a/src/abstract_tree/index.rs +++ b/src/abstract_tree/index.rs @@ -91,7 +91,7 @@ impl AbstractTree for Index { match self.collection.expected_type(context)? { Type::List(item_type) => Ok(*item_type.clone()), Type::Map => Ok(Type::Any), - Type::Empty => Ok(Type::Empty), + Type::None => Ok(Type::None), _ => todo!(), } } diff --git a/src/abstract_tree/index_assignment.rs b/src/abstract_tree/index_assignment.rs index 72dcc84..1a4a5d8 100644 --- a/src/abstract_tree/index_assignment.rs +++ b/src/abstract_tree/index_assignment.rs @@ -92,6 +92,6 @@ impl AbstractTree for IndexAssignment { } fn expected_type(&self, _context: &Map) -> Result { - Ok(Type::Empty) + Ok(Type::None) } } diff --git a/src/abstract_tree/type_definition.rs b/src/abstract_tree/type_definition.rs index f2dd173..e0eb291 100644 --- a/src/abstract_tree/type_definition.rs +++ b/src/abstract_tree/type_definition.rs @@ -53,7 +53,6 @@ impl Display for TypeDefinition { pub enum Type { Any, Boolean, - Empty, Float, Function { parameter_types: Vec, @@ -62,9 +61,10 @@ pub enum Type { Integer, List(Box), Map, + None, Number, String, - Option(Option>), + Option(Box), } impl Type { @@ -73,7 +73,6 @@ impl Type { (Type::Any, _) | (_, Type::Any) | (Type::Boolean, Type::Boolean) - | (Type::Empty, Type::Empty) | (Type::Float, Type::Float) | (Type::Integer, Type::Integer) | (Type::Map, Type::Map) @@ -82,6 +81,7 @@ impl Type { | (Type::Number, Type::Float) | (Type::Integer, Type::Number) | (Type::Float, Type::Number) + | (Type::None, Type::None) | (Type::String, Type::String) => Ok(()), (Type::Option(left), Type::Option(right)) => { if left == right { @@ -177,7 +177,7 @@ impl AbstractTree for Type { let return_type = if final_node.is_named() { Type::from_syntax_node(source, final_node, context)? } else { - Type::Empty + Type::None }; Type::Function { @@ -188,12 +188,13 @@ impl AbstractTree for Type { "int" => Type::Integer, "map" => Type::Map, "num" => Type::Number, + "none" => Type::None, "str" => Type::String, "option" => { let inner_type_node = node.child(2).unwrap(); let inner_type = Type::from_syntax_node(source, inner_type_node, context)?; - Type::Option(Some(Box::new(inner_type))) + Type::Option(Box::new(inner_type)) } _ => { return Err(Error::UnexpectedSyntaxNode { @@ -213,7 +214,7 @@ impl AbstractTree for Type { } fn expected_type(&self, _context: &Map) -> Result { - Ok(Type::Empty) + Ok(Type::None) } } @@ -222,7 +223,6 @@ impl Display for Type { match self { Type::Any => write!(f, "any"), Type::Boolean => write!(f, "bool"), - Type::Empty => write!(f, "empty"), Type::Float => write!(f, "float"), Type::Function { parameter_types, @@ -245,13 +245,10 @@ impl Display for Type { Type::List(item_type) => write!(f, "[{item_type}]"), Type::Map => write!(f, "map"), Type::Number => write!(f, "num"), + Type::None => write!(f, "none"), Type::String => write!(f, "str"), - Type::Option(option) => { - if let Some(r#type) = option { - write!(f, "some({})", r#type) - } else { - write!(f, "none") - } + Type::Option(inner_type) => { + write!(f, "option({})", inner_type) } } } diff --git a/src/abstract_tree/value_node.rs b/src/abstract_tree/value_node.rs index ffaa92e..4194ca9 100644 --- a/src/abstract_tree/value_node.rs +++ b/src/abstract_tree/value_node.rs @@ -234,9 +234,9 @@ impl AbstractTree for ValueNode { } ValueNode::Option(option) => { if let Some(expression) = option { - Type::Option(Some(Box::new(expression.expected_type(context)?))) + Type::Option(Box::new(expression.expected_type(context)?)) } else { - Type::Option(None) + Type::None } } ValueNode::Map(_) => Type::Map, diff --git a/src/built_in_functions/assert.rs b/src/built_in_functions/assert.rs index 5a11d04..c9c7905 100644 --- a/src/built_in_functions/assert.rs +++ b/src/built_in_functions/assert.rs @@ -20,7 +20,7 @@ impl BuiltInFunction for Assert { fn r#type(&self) -> Type { Type::Function { parameter_types: vec![Type::Any], - return_type: Box::new(Type::Empty), + return_type: Box::new(Type::None), } } } diff --git a/src/built_in_functions/fs.rs b/src/built_in_functions/fs.rs index b5793b9..b017b80 100644 --- a/src/built_in_functions/fs.rs +++ b/src/built_in_functions/fs.rs @@ -71,7 +71,7 @@ impl BuiltInFunction for Write { fn r#type(&self) -> Type { Type::Function { parameter_types: vec![Type::String], - return_type: Box::new(Type::Empty), + return_type: Box::new(Type::None), } } } @@ -105,7 +105,7 @@ impl BuiltInFunction for Append { fn r#type(&self) -> Type { Type::Function { parameter_types: vec![Type::String, Type::String], - return_type: Box::new(Type::Empty), + return_type: Box::new(Type::None), } } } diff --git a/src/built_in_functions/output.rs b/src/built_in_functions/output.rs index 2af2a27..6735410 100644 --- a/src/built_in_functions/output.rs +++ b/src/built_in_functions/output.rs @@ -18,7 +18,7 @@ impl BuiltInFunction for Output { fn r#type(&self) -> Type { Type::Function { parameter_types: vec![Type::Any], - return_type: Box::new(Type::Empty), + return_type: Box::new(Type::None), } } } diff --git a/src/built_in_functions/packages.rs b/src/built_in_functions/packages.rs index ff6ae73..ee919c5 100644 --- a/src/built_in_functions/packages.rs +++ b/src/built_in_functions/packages.rs @@ -29,7 +29,7 @@ impl BuiltInFunction for InstallPackages { fn r#type(&self) -> Type { Type::Function { parameter_types: vec![Type::List(Box::new(Type::String))], - return_type: Box::new(Type::Empty), + return_type: Box::new(Type::None), } } } diff --git a/src/value/mod.rs b/src/value/mod.rs index a8e32ff..54445c4 100644 --- a/src/value/mod.rs +++ b/src/value/mod.rs @@ -77,9 +77,9 @@ impl Value { Value::Boolean(_) => Type::Boolean, Value::Option(option) => { if let Some(value) = option { - Type::Option(Some(Box::new(value.r#type()))) + Type::Option(Box::new(value.r#type())) } else { - Type::Option(None) + Type::None } } }; diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 33a718e..1fcffc1 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -346,6 +346,7 @@ module.exports = grammar({ 'float', 'int', 'map', + 'none', 'num', 'str', seq('[', $.type, ']'), diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index 9374a79..35807c8 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -1104,6 +1104,10 @@ "type": "STRING", "value": "map" }, + { + "type": "STRING", + "value": "none" + }, { "type": "STRING", "value": "num" diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index f787bd5..827dc89 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -872,26 +872,26 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [35] = 35, [36] = 36, [37] = 37, - [38] = 38, - [39] = 38, + [38] = 35, + [39] = 39, [40] = 40, - [41] = 34, + [41] = 41, [42] = 42, [43] = 43, [44] = 43, - [45] = 34, - [46] = 40, + [45] = 41, + [46] = 41, [47] = 40, - [48] = 48, + [48] = 40, [49] = 49, - [50] = 43, - [51] = 51, - [52] = 48, - [53] = 53, - [54] = 49, + [50] = 50, + [51] = 43, + [52] = 50, + [53] = 42, + [54] = 54, [55] = 55, [56] = 56, - [57] = 42, + [57] = 49, [58] = 58, [59] = 59, [60] = 60, @@ -915,56 +915,56 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [78] = 78, [79] = 79, [80] = 79, - [81] = 49, - [82] = 38, - [83] = 48, + [81] = 50, + [82] = 35, + [83] = 49, [84] = 42, - [85] = 38, + [85] = 35, [86] = 42, - [87] = 49, - [88] = 48, + [87] = 50, + [88] = 49, [89] = 62, - [90] = 77, - [91] = 65, - [92] = 67, - [93] = 73, - [94] = 58, - [95] = 60, + [90] = 71, + [91] = 67, + [92] = 73, + [93] = 58, + [94] = 65, + [95] = 63, [96] = 56, [97] = 72, [98] = 76, [99] = 61, [100] = 70, - [101] = 71, - [102] = 53, + [101] = 77, + [102] = 54, [103] = 64, - [104] = 63, + [104] = 59, [105] = 66, [106] = 74, - [107] = 69, - [108] = 59, + [107] = 60, + [108] = 69, [109] = 55, [110] = 68, [111] = 79, - [112] = 78, - [113] = 79, + [112] = 79, + [113] = 78, [114] = 114, [115] = 115, - [116] = 48, + [116] = 116, [117] = 117, - [118] = 118, - [119] = 117, - [120] = 38, - [121] = 49, + [118] = 116, + [119] = 35, + [120] = 49, + [121] = 50, [122] = 42, - [123] = 117, - [124] = 38, - [125] = 48, + [123] = 116, + [124] = 35, + [125] = 50, [126] = 42, - [127] = 127, - [128] = 49, + [127] = 49, + [128] = 128, [129] = 129, - [130] = 127, + [130] = 128, [131] = 131, [132] = 132, [133] = 72, @@ -972,11 +972,11 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [135] = 131, [136] = 76, [137] = 58, - [138] = 71, + [138] = 77, [139] = 131, [140] = 70, [141] = 141, - [142] = 53, + [142] = 54, [143] = 59, [144] = 144, [145] = 60, @@ -995,12 +995,12 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [158] = 134, [159] = 64, [160] = 74, - [161] = 77, + [161] = 71, [162] = 69, - [163] = 61, + [163] = 134, [164] = 146, [165] = 66, - [166] = 134, + [166] = 61, [167] = 167, [168] = 167, [169] = 169, @@ -2363,10 +2363,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [113] = {.lex_state = 1}, [114] = {.lex_state = 1}, [115] = {.lex_state = 1}, - [116] = {.lex_state = 2}, + [116] = {.lex_state = 1}, [117] = {.lex_state = 1}, [118] = {.lex_state = 1}, - [119] = {.lex_state = 1}, + [119] = {.lex_state = 2}, [120] = {.lex_state = 2}, [121] = {.lex_state = 2}, [122] = {.lex_state = 2}, @@ -2374,8 +2374,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [124] = {.lex_state = 2}, [125] = {.lex_state = 2}, [126] = {.lex_state = 2}, - [127] = {.lex_state = 1}, - [128] = {.lex_state = 2}, + [127] = {.lex_state = 2}, + [128] = {.lex_state = 1}, [129] = {.lex_state = 1}, [130] = {.lex_state = 1}, [131] = {.lex_state = 1}, @@ -2410,10 +2410,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [160] = {.lex_state = 2}, [161] = {.lex_state = 2}, [162] = {.lex_state = 2}, - [163] = {.lex_state = 2}, + [163] = {.lex_state = 1}, [164] = {.lex_state = 1}, [165] = {.lex_state = 2}, - [166] = {.lex_state = 1}, + [166] = {.lex_state = 2}, [167] = {.lex_state = 1}, [168] = {.lex_state = 1}, [169] = {.lex_state = 0}, @@ -2690,10 +2690,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -2705,10 +2705,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(21), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -2753,10 +2753,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(75), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -2768,10 +2768,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(8), [aux_sym_map_repeat1] = STATE(275), [sym__identifier_pattern] = ACTIONS(5), @@ -2818,10 +2818,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -2833,10 +2833,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [ts_builtin_sym_end] = ACTIONS(41), [sym__identifier_pattern] = ACTIONS(43), @@ -2883,10 +2883,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(75), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -2898,10 +2898,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(16), [aux_sym_map_repeat1] = STATE(269), [sym__identifier_pattern] = ACTIONS(5), @@ -2948,10 +2948,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(75), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -2963,10 +2963,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(8), [aux_sym_map_repeat1] = STATE(265), [sym__identifier_pattern] = ACTIONS(5), @@ -3008,22 +3008,22 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [6] = { - [sym_expression] = STATE(114), + [sym_expression] = STATE(115), [aux_sym__expression_list] = STATE(153), - [sym_identifier] = STATE(94), - [sym_value] = STATE(94), + [sym_identifier] = STATE(93), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), - [sym_index] = STATE(94), - [sym_math] = STATE(94), + [sym_index] = STATE(93), + [sym_math] = STATE(93), [sym_math_operator] = STATE(172), - [sym_logic] = STATE(94), + [sym_logic] = STATE(93), [sym_logic_operator] = STATE(207), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), @@ -3077,10 +3077,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3092,10 +3092,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3141,10 +3141,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3156,10 +3156,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3205,10 +3205,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3220,10 +3220,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3264,22 +3264,22 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [10] = { - [sym_expression] = STATE(114), + [sym_expression] = STATE(115), [aux_sym__expression_list] = STATE(147), - [sym_identifier] = STATE(94), - [sym_value] = STATE(94), + [sym_identifier] = STATE(93), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), - [sym_index] = STATE(94), - [sym_math] = STATE(94), + [sym_index] = STATE(93), + [sym_math] = STATE(93), [sym_math_operator] = STATE(175), - [sym_logic] = STATE(94), + [sym_logic] = STATE(93), [sym_logic_operator] = STATE(176), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), @@ -3333,10 +3333,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3348,10 +3348,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3397,10 +3397,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3412,10 +3412,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3461,10 +3461,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3476,10 +3476,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3525,10 +3525,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3540,10 +3540,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3584,22 +3584,22 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [15] = { - [sym_expression] = STATE(114), + [sym_expression] = STATE(115), [aux_sym__expression_list] = STATE(146), - [sym_identifier] = STATE(94), - [sym_value] = STATE(94), + [sym_identifier] = STATE(93), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), - [sym_index] = STATE(94), - [sym_math] = STATE(94), + [sym_index] = STATE(93), + [sym_math] = STATE(93), [sym_math_operator] = STATE(172), - [sym_logic] = STATE(94), + [sym_logic] = STATE(93), [sym_logic_operator] = STATE(189), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), @@ -3653,10 +3653,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3668,10 +3668,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3712,22 +3712,22 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [17] = { - [sym_expression] = STATE(114), + [sym_expression] = STATE(115), [aux_sym__expression_list] = STATE(155), - [sym_identifier] = STATE(94), - [sym_value] = STATE(94), + [sym_identifier] = STATE(93), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), - [sym_index] = STATE(94), - [sym_math] = STATE(94), + [sym_index] = STATE(93), + [sym_math] = STATE(93), [sym_math_operator] = STATE(175), - [sym_logic] = STATE(94), + [sym_logic] = STATE(93), [sym_logic_operator] = STATE(176), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), @@ -3781,10 +3781,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3796,10 +3796,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3840,22 +3840,22 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [19] = { - [sym_expression] = STATE(114), + [sym_expression] = STATE(115), [aux_sym__expression_list] = STATE(164), - [sym_identifier] = STATE(94), - [sym_value] = STATE(94), + [sym_identifier] = STATE(93), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), - [sym_index] = STATE(94), - [sym_math] = STATE(94), + [sym_index] = STATE(93), + [sym_math] = STATE(93), [sym_math_operator] = STATE(172), - [sym_logic] = STATE(94), + [sym_logic] = STATE(93), [sym_logic_operator] = STATE(183), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), @@ -3909,10 +3909,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3924,10 +3924,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3973,10 +3973,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -3988,10 +3988,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(3), [ts_builtin_sym_end] = ACTIONS(160), [sym__identifier_pattern] = ACTIONS(5), @@ -4032,22 +4032,22 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [22] = { - [sym_expression] = STATE(114), + [sym_expression] = STATE(115), [aux_sym__expression_list] = STATE(141), - [sym_identifier] = STATE(94), - [sym_value] = STATE(94), + [sym_identifier] = STATE(93), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), - [sym_index] = STATE(94), - [sym_math] = STATE(94), + [sym_index] = STATE(93), + [sym_math] = STATE(93), [sym_math_operator] = STATE(175), - [sym_logic] = STATE(94), + [sym_logic] = STATE(93), [sym_logic_operator] = STATE(176), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), @@ -4101,10 +4101,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4116,10 +4116,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(8), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4164,10 +4164,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4179,10 +4179,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(11), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4227,10 +4227,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4242,10 +4242,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(18), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4290,10 +4290,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4305,10 +4305,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(16), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4353,10 +4353,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4368,10 +4368,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(14), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4416,10 +4416,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4431,10 +4431,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(20), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4479,10 +4479,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4494,10 +4494,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(12), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4542,10 +4542,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4557,10 +4557,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(13), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4605,10 +4605,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4620,10 +4620,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(7), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4668,10 +4668,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_expression] = STATE(80), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -4683,10 +4683,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(226), [sym_for] = STATE(226), [sym_return] = STATE(226), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [aux_sym_root_repeat1] = STATE(9), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4788,70 +4788,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(196), }, [34] = { - [sym_block] = STATE(232), - [sym_statement] = STATE(224), - [sym_expression] = STATE(79), - [sym_identifier] = STATE(55), - [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), - [sym_index] = STATE(68), - [sym_math] = STATE(58), - [sym_logic] = STATE(58), - [sym_assignment] = STATE(232), - [sym_index_assignment] = STATE(232), - [sym_if_else] = STATE(232), - [sym_if] = STATE(170), - [sym_match] = STATE(232), - [sym_while] = STATE(232), - [sym_for] = STATE(232), - [sym_return] = STATE(232), - [sym_function] = STATE(71), - [sym_function_call] = STATE(58), - [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), - [sym__identifier_pattern] = ACTIONS(5), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_none] = ACTIONS(19), - [anon_sym_some] = ACTIONS(21), - [anon_sym_LPAREN] = ACTIONS(23), - [anon_sym_if] = ACTIONS(25), - [anon_sym_match] = ACTIONS(27), - [anon_sym_while] = ACTIONS(29), - [anon_sym_for] = ACTIONS(31), - [anon_sym_asyncfor] = ACTIONS(33), - [anon_sym_return] = ACTIONS(35), - [anon_sym_assert] = ACTIONS(37), - [anon_sym_assert_equal] = ACTIONS(37), - [anon_sym_bash] = ACTIONS(37), - [anon_sym_download] = ACTIONS(37), - [anon_sym_fish] = ACTIONS(37), - [anon_sym_from_json] = ACTIONS(37), - [anon_sym_length] = ACTIONS(37), - [anon_sym_metadata] = ACTIONS(37), - [anon_sym_output] = ACTIONS(37), - [anon_sym_output_error] = ACTIONS(37), - [anon_sym_random] = ACTIONS(37), - [anon_sym_random_boolean] = ACTIONS(37), - [anon_sym_random_float] = ACTIONS(37), - [anon_sym_random_integer] = ACTIONS(37), - [anon_sym_read] = ACTIONS(37), - [anon_sym_to_json] = ACTIONS(37), - [anon_sym_write] = ACTIONS(37), - }, - [35] = { [sym_block] = STATE(257), - [sym_statement] = STATE(288), + [sym_statement] = STATE(291), [sym_expression] = STATE(223), [sym_identifier] = STATE(217), [sym_value] = STATE(137), @@ -4911,6 +4849,68 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(196), [anon_sym_write] = ACTIONS(196), }, + [35] = { + [sym_math_operator] = STATE(177), + [sym_logic_operator] = STATE(181), + [ts_builtin_sym_end] = ACTIONS(198), + [sym__identifier_pattern] = ACTIONS(200), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(200), + [anon_sym_LBRACE] = ACTIONS(198), + [anon_sym_RBRACE] = ACTIONS(198), + [anon_sym_SEMI] = ACTIONS(198), + [sym_integer] = ACTIONS(200), + [sym_float] = ACTIONS(198), + [sym_string] = ACTIONS(198), + [anon_sym_true] = ACTIONS(200), + [anon_sym_false] = ACTIONS(200), + [anon_sym_LBRACK] = ACTIONS(198), + [anon_sym_EQ] = ACTIONS(200), + [anon_sym_none] = ACTIONS(200), + [anon_sym_some] = ACTIONS(200), + [anon_sym_LPAREN] = ACTIONS(198), + [anon_sym_COLON] = ACTIONS(198), + [anon_sym_DOT_DOT] = ACTIONS(198), + [anon_sym_PLUS] = ACTIONS(200), + [anon_sym_DASH] = ACTIONS(200), + [anon_sym_STAR] = ACTIONS(198), + [anon_sym_SLASH] = ACTIONS(198), + [anon_sym_PERCENT] = ACTIONS(198), + [anon_sym_EQ_EQ] = ACTIONS(198), + [anon_sym_BANG_EQ] = ACTIONS(198), + [anon_sym_AMP_AMP] = ACTIONS(198), + [anon_sym_PIPE_PIPE] = ACTIONS(198), + [anon_sym_GT] = ACTIONS(200), + [anon_sym_LT] = ACTIONS(200), + [anon_sym_GT_EQ] = ACTIONS(198), + [anon_sym_LT_EQ] = ACTIONS(198), + [anon_sym_PLUS_EQ] = ACTIONS(198), + [anon_sym_DASH_EQ] = ACTIONS(198), + [anon_sym_if] = ACTIONS(200), + [anon_sym_match] = ACTIONS(200), + [anon_sym_while] = ACTIONS(200), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(198), + [anon_sym_return] = ACTIONS(200), + [anon_sym_DASH_GT] = ACTIONS(198), + [anon_sym_assert] = ACTIONS(200), + [anon_sym_assert_equal] = ACTIONS(200), + [anon_sym_bash] = ACTIONS(200), + [anon_sym_download] = ACTIONS(200), + [anon_sym_fish] = ACTIONS(200), + [anon_sym_from_json] = ACTIONS(200), + [anon_sym_length] = ACTIONS(200), + [anon_sym_metadata] = ACTIONS(200), + [anon_sym_output] = ACTIONS(200), + [anon_sym_output_error] = ACTIONS(200), + [anon_sym_random] = ACTIONS(200), + [anon_sym_random_boolean] = ACTIONS(200), + [anon_sym_random_float] = ACTIONS(200), + [anon_sym_random_integer] = ACTIONS(200), + [anon_sym_read] = ACTIONS(200), + [anon_sym_to_json] = ACTIONS(200), + [anon_sym_write] = ACTIONS(200), + }, [36] = { [sym_block] = STATE(257), [sym_statement] = STATE(288), @@ -4976,16 +4976,16 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [37] = { [sym_block] = STATE(257), [sym_statement] = STATE(258), - [sym_expression] = STATE(113), + [sym_expression] = STATE(111), [sym_identifier] = STATE(109), - [sym_value] = STATE(94), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), [sym_index] = STATE(110), - [sym_math] = STATE(94), - [sym_logic] = STATE(94), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), [sym_assignment] = STATE(257), [sym_index_assignment] = STATE(257), [sym_if_else] = STATE(257), @@ -4995,13 +4995,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_for] = STATE(257), [sym_return] = STATE(257), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(166), - [anon_sym_LBRACE] = ACTIONS(198), + [anon_sym_LBRACE] = ACTIONS(202), [sym_integer] = ACTIONS(102), [sym_float] = ACTIONS(104), [sym_string] = ACTIONS(104), @@ -5016,7 +5016,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(188), [anon_sym_for] = ACTIONS(190), [anon_sym_asyncfor] = ACTIONS(192), - [anon_sym_return] = ACTIONS(200), + [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(130), [anon_sym_assert_equal] = ACTIONS(130), [anon_sym_bash] = ACTIONS(130), @@ -5038,140 +5038,140 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [38] = { [sym_math_operator] = STATE(177), [sym_logic_operator] = STATE(181), - [ts_builtin_sym_end] = ACTIONS(202), - [sym__identifier_pattern] = ACTIONS(204), + [ts_builtin_sym_end] = ACTIONS(198), + [sym__identifier_pattern] = ACTIONS(200), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(204), - [anon_sym_LBRACE] = ACTIONS(202), - [anon_sym_RBRACE] = ACTIONS(202), - [anon_sym_SEMI] = ACTIONS(202), - [sym_integer] = ACTIONS(204), - [sym_float] = ACTIONS(202), - [sym_string] = ACTIONS(202), - [anon_sym_true] = ACTIONS(204), - [anon_sym_false] = ACTIONS(204), - [anon_sym_LBRACK] = ACTIONS(202), - [anon_sym_EQ] = ACTIONS(204), - [anon_sym_none] = ACTIONS(204), - [anon_sym_some] = ACTIONS(204), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_COLON] = ACTIONS(202), + [anon_sym_async] = ACTIONS(200), + [anon_sym_LBRACE] = ACTIONS(198), + [anon_sym_RBRACE] = ACTIONS(198), + [anon_sym_SEMI] = ACTIONS(198), + [sym_integer] = ACTIONS(200), + [sym_float] = ACTIONS(198), + [sym_string] = ACTIONS(198), + [anon_sym_true] = ACTIONS(200), + [anon_sym_false] = ACTIONS(200), + [anon_sym_LBRACK] = ACTIONS(198), + [anon_sym_EQ] = ACTIONS(200), + [anon_sym_none] = ACTIONS(200), + [anon_sym_some] = ACTIONS(200), + [anon_sym_LPAREN] = ACTIONS(198), + [anon_sym_COLON] = ACTIONS(198), [anon_sym_DOT_DOT] = ACTIONS(206), - [anon_sym_PLUS] = ACTIONS(204), - [anon_sym_DASH] = ACTIONS(204), - [anon_sym_STAR] = ACTIONS(202), - [anon_sym_SLASH] = ACTIONS(202), - [anon_sym_PERCENT] = ACTIONS(202), - [anon_sym_EQ_EQ] = ACTIONS(202), - [anon_sym_BANG_EQ] = ACTIONS(202), - [anon_sym_AMP_AMP] = ACTIONS(202), - [anon_sym_PIPE_PIPE] = ACTIONS(202), - [anon_sym_GT] = ACTIONS(204), - [anon_sym_LT] = ACTIONS(204), - [anon_sym_GT_EQ] = ACTIONS(202), - [anon_sym_LT_EQ] = ACTIONS(202), - [anon_sym_PLUS_EQ] = ACTIONS(202), - [anon_sym_DASH_EQ] = ACTIONS(202), - [anon_sym_if] = ACTIONS(204), - [anon_sym_match] = ACTIONS(204), - [anon_sym_while] = ACTIONS(204), - [anon_sym_for] = ACTIONS(204), - [anon_sym_asyncfor] = ACTIONS(202), - [anon_sym_return] = ACTIONS(204), - [anon_sym_DASH_GT] = ACTIONS(202), - [anon_sym_assert] = ACTIONS(204), - [anon_sym_assert_equal] = ACTIONS(204), - [anon_sym_bash] = ACTIONS(204), - [anon_sym_download] = ACTIONS(204), - [anon_sym_fish] = ACTIONS(204), - [anon_sym_from_json] = ACTIONS(204), - [anon_sym_length] = ACTIONS(204), - [anon_sym_metadata] = ACTIONS(204), - [anon_sym_output] = ACTIONS(204), - [anon_sym_output_error] = ACTIONS(204), - [anon_sym_random] = ACTIONS(204), - [anon_sym_random_boolean] = ACTIONS(204), - [anon_sym_random_float] = ACTIONS(204), - [anon_sym_random_integer] = ACTIONS(204), - [anon_sym_read] = ACTIONS(204), - [anon_sym_to_json] = ACTIONS(204), - [anon_sym_write] = ACTIONS(204), + [anon_sym_PLUS] = ACTIONS(200), + [anon_sym_DASH] = ACTIONS(200), + [anon_sym_STAR] = ACTIONS(198), + [anon_sym_SLASH] = ACTIONS(198), + [anon_sym_PERCENT] = ACTIONS(198), + [anon_sym_EQ_EQ] = ACTIONS(198), + [anon_sym_BANG_EQ] = ACTIONS(198), + [anon_sym_AMP_AMP] = ACTIONS(198), + [anon_sym_PIPE_PIPE] = ACTIONS(198), + [anon_sym_GT] = ACTIONS(200), + [anon_sym_LT] = ACTIONS(200), + [anon_sym_GT_EQ] = ACTIONS(198), + [anon_sym_LT_EQ] = ACTIONS(198), + [anon_sym_PLUS_EQ] = ACTIONS(198), + [anon_sym_DASH_EQ] = ACTIONS(198), + [anon_sym_if] = ACTIONS(200), + [anon_sym_match] = ACTIONS(200), + [anon_sym_while] = ACTIONS(200), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(198), + [anon_sym_return] = ACTIONS(200), + [anon_sym_DASH_GT] = ACTIONS(198), + [anon_sym_assert] = ACTIONS(200), + [anon_sym_assert_equal] = ACTIONS(200), + [anon_sym_bash] = ACTIONS(200), + [anon_sym_download] = ACTIONS(200), + [anon_sym_fish] = ACTIONS(200), + [anon_sym_from_json] = ACTIONS(200), + [anon_sym_length] = ACTIONS(200), + [anon_sym_metadata] = ACTIONS(200), + [anon_sym_output] = ACTIONS(200), + [anon_sym_output_error] = ACTIONS(200), + [anon_sym_random] = ACTIONS(200), + [anon_sym_random_boolean] = ACTIONS(200), + [anon_sym_random_float] = ACTIONS(200), + [anon_sym_random_integer] = ACTIONS(200), + [anon_sym_read] = ACTIONS(200), + [anon_sym_to_json] = ACTIONS(200), + [anon_sym_write] = ACTIONS(200), }, [39] = { - [sym_math_operator] = STATE(177), - [sym_logic_operator] = STATE(181), - [ts_builtin_sym_end] = ACTIONS(202), - [sym__identifier_pattern] = ACTIONS(204), + [sym_block] = STATE(257), + [sym_statement] = STATE(288), + [sym_expression] = STATE(223), + [sym_identifier] = STATE(217), + [sym_value] = STATE(137), + [sym_boolean] = STATE(138), + [sym_list] = STATE(138), + [sym_map] = STATE(138), + [sym_option] = STATE(138), + [sym_index] = STATE(220), + [sym_math] = STATE(137), + [sym_logic] = STATE(137), + [sym_assignment] = STATE(257), + [sym_index_assignment] = STATE(257), + [sym_if_else] = STATE(257), + [sym_if] = STATE(239), + [sym_match] = STATE(257), + [sym_while] = STATE(257), + [sym_for] = STATE(257), + [sym_return] = STATE(257), + [sym_function] = STATE(138), + [sym_function_call] = STATE(137), + [sym_yield] = STATE(137), + [sym_built_in_function] = STATE(142), + [sym__identifier_pattern] = ACTIONS(164), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(204), - [anon_sym_LBRACE] = ACTIONS(202), - [anon_sym_RBRACE] = ACTIONS(202), - [anon_sym_SEMI] = ACTIONS(202), - [sym_integer] = ACTIONS(204), - [sym_float] = ACTIONS(202), - [sym_string] = ACTIONS(202), - [anon_sym_true] = ACTIONS(204), - [anon_sym_false] = ACTIONS(204), - [anon_sym_LBRACK] = ACTIONS(202), - [anon_sym_EQ] = ACTIONS(204), - [anon_sym_none] = ACTIONS(204), - [anon_sym_some] = ACTIONS(204), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_COLON] = ACTIONS(202), - [anon_sym_DOT_DOT] = ACTIONS(202), - [anon_sym_PLUS] = ACTIONS(204), - [anon_sym_DASH] = ACTIONS(204), - [anon_sym_STAR] = ACTIONS(202), - [anon_sym_SLASH] = ACTIONS(202), - [anon_sym_PERCENT] = ACTIONS(202), - [anon_sym_EQ_EQ] = ACTIONS(202), - [anon_sym_BANG_EQ] = ACTIONS(202), - [anon_sym_AMP_AMP] = ACTIONS(202), - [anon_sym_PIPE_PIPE] = ACTIONS(202), - [anon_sym_GT] = ACTIONS(204), - [anon_sym_LT] = ACTIONS(204), - [anon_sym_GT_EQ] = ACTIONS(202), - [anon_sym_LT_EQ] = ACTIONS(202), - [anon_sym_PLUS_EQ] = ACTIONS(202), - [anon_sym_DASH_EQ] = ACTIONS(202), - [anon_sym_if] = ACTIONS(204), - [anon_sym_match] = ACTIONS(204), - [anon_sym_while] = ACTIONS(204), - [anon_sym_for] = ACTIONS(204), - [anon_sym_asyncfor] = ACTIONS(202), - [anon_sym_return] = ACTIONS(204), - [anon_sym_DASH_GT] = ACTIONS(202), - [anon_sym_assert] = ACTIONS(204), - [anon_sym_assert_equal] = ACTIONS(204), - [anon_sym_bash] = ACTIONS(204), - [anon_sym_download] = ACTIONS(204), - [anon_sym_fish] = ACTIONS(204), - [anon_sym_from_json] = ACTIONS(204), - [anon_sym_length] = ACTIONS(204), - [anon_sym_metadata] = ACTIONS(204), - [anon_sym_output] = ACTIONS(204), - [anon_sym_output_error] = ACTIONS(204), - [anon_sym_random] = ACTIONS(204), - [anon_sym_random_boolean] = ACTIONS(204), - [anon_sym_random_float] = ACTIONS(204), - [anon_sym_random_integer] = ACTIONS(204), - [anon_sym_read] = ACTIONS(204), - [anon_sym_to_json] = ACTIONS(204), - [anon_sym_write] = ACTIONS(204), + [anon_sym_async] = ACTIONS(166), + [anon_sym_LBRACE] = ACTIONS(168), + [sym_integer] = ACTIONS(170), + [sym_float] = ACTIONS(172), + [sym_string] = ACTIONS(172), + [anon_sym_true] = ACTIONS(174), + [anon_sym_false] = ACTIONS(174), + [anon_sym_LBRACK] = ACTIONS(176), + [anon_sym_none] = ACTIONS(178), + [anon_sym_some] = ACTIONS(180), + [anon_sym_LPAREN] = ACTIONS(182), + [anon_sym_if] = ACTIONS(184), + [anon_sym_match] = ACTIONS(186), + [anon_sym_while] = ACTIONS(188), + [anon_sym_for] = ACTIONS(190), + [anon_sym_asyncfor] = ACTIONS(192), + [anon_sym_return] = ACTIONS(194), + [anon_sym_assert] = ACTIONS(196), + [anon_sym_assert_equal] = ACTIONS(196), + [anon_sym_bash] = ACTIONS(196), + [anon_sym_download] = ACTIONS(196), + [anon_sym_fish] = ACTIONS(196), + [anon_sym_from_json] = ACTIONS(196), + [anon_sym_length] = ACTIONS(196), + [anon_sym_metadata] = ACTIONS(196), + [anon_sym_output] = ACTIONS(196), + [anon_sym_output_error] = ACTIONS(196), + [anon_sym_random] = ACTIONS(196), + [anon_sym_random_boolean] = ACTIONS(196), + [anon_sym_random_float] = ACTIONS(196), + [anon_sym_random_integer] = ACTIONS(196), + [anon_sym_read] = ACTIONS(196), + [anon_sym_to_json] = ACTIONS(196), + [anon_sym_write] = ACTIONS(196), }, [40] = { [sym_block] = STATE(248), [sym_statement] = STATE(250), - [sym_expression] = STATE(111), + [sym_expression] = STATE(112), [sym_identifier] = STATE(109), - [sym_value] = STATE(94), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), [sym_index] = STATE(110), - [sym_math] = STATE(94), - [sym_logic] = STATE(94), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), [sym_assignment] = STATE(248), [sym_index_assignment] = STATE(248), [sym_if_else] = STATE(248), @@ -5181,13 +5181,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_for] = STATE(248), [sym_return] = STATE(248), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(166), - [anon_sym_LBRACE] = ACTIONS(198), + [anon_sym_LBRACE] = ACTIONS(202), [sym_integer] = ACTIONS(102), [sym_float] = ACTIONS(104), [sym_string] = ACTIONS(104), @@ -5202,7 +5202,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(188), [anon_sym_for] = ACTIONS(190), [anon_sym_asyncfor] = ACTIONS(192), - [anon_sym_return] = ACTIONS(200), + [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(130), [anon_sym_assert_equal] = ACTIONS(130), [anon_sym_bash] = ACTIONS(130), @@ -5348,16 +5348,16 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [43] = { [sym_block] = STATE(248), [sym_statement] = STATE(252), - [sym_expression] = STATE(111), + [sym_expression] = STATE(112), [sym_identifier] = STATE(109), - [sym_value] = STATE(94), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), [sym_index] = STATE(110), - [sym_math] = STATE(94), - [sym_logic] = STATE(94), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), [sym_assignment] = STATE(248), [sym_index_assignment] = STATE(248), [sym_if_else] = STATE(248), @@ -5367,13 +5367,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_for] = STATE(248), [sym_return] = STATE(248), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(166), - [anon_sym_LBRACE] = ACTIONS(198), + [anon_sym_LBRACE] = ACTIONS(202), [sym_integer] = ACTIONS(102), [sym_float] = ACTIONS(104), [sym_string] = ACTIONS(104), @@ -5388,7 +5388,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(188), [anon_sym_for] = ACTIONS(190), [anon_sym_asyncfor] = ACTIONS(192), - [anon_sym_return] = ACTIONS(200), + [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(130), [anon_sym_assert_equal] = ACTIONS(130), [anon_sym_bash] = ACTIONS(130), @@ -5472,16 +5472,16 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [45] = { [sym_block] = STATE(248), [sym_statement] = STATE(251), - [sym_expression] = STATE(111), + [sym_expression] = STATE(112), [sym_identifier] = STATE(109), - [sym_value] = STATE(94), + [sym_value] = STATE(93), [sym_boolean] = STATE(101), [sym_list] = STATE(101), [sym_map] = STATE(101), [sym_option] = STATE(101), [sym_index] = STATE(110), - [sym_math] = STATE(94), - [sym_logic] = STATE(94), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), [sym_assignment] = STATE(248), [sym_index_assignment] = STATE(248), [sym_if_else] = STATE(248), @@ -5491,13 +5491,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_for] = STATE(248), [sym_return] = STATE(248), [sym_function] = STATE(101), - [sym_function_call] = STATE(94), - [sym_yield] = STATE(94), + [sym_function_call] = STATE(93), + [sym_yield] = STATE(93), [sym_built_in_function] = STATE(102), [sym__identifier_pattern] = ACTIONS(98), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(166), - [anon_sym_LBRACE] = ACTIONS(198), + [anon_sym_LBRACE] = ACTIONS(202), [sym_integer] = ACTIONS(102), [sym_float] = ACTIONS(104), [sym_string] = ACTIONS(104), @@ -5512,7 +5512,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(188), [anon_sym_for] = ACTIONS(190), [anon_sym_asyncfor] = ACTIONS(192), - [anon_sym_return] = ACTIONS(200), + [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(130), [anon_sym_assert_equal] = ACTIONS(130), [anon_sym_bash] = ACTIONS(130), @@ -5533,14 +5533,14 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }, [46] = { [sym_block] = STATE(232), - [sym_statement] = STATE(233), + [sym_statement] = STATE(224), [sym_expression] = STATE(79), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -5552,10 +5552,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(232), [sym_for] = STATE(232), [sym_return] = STATE(232), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -5594,6 +5594,68 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [47] = { + [sym_block] = STATE(232), + [sym_statement] = STATE(233), + [sym_expression] = STATE(79), + [sym_identifier] = STATE(55), + [sym_value] = STATE(58), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), + [sym_index] = STATE(68), + [sym_math] = STATE(58), + [sym_logic] = STATE(58), + [sym_assignment] = STATE(232), + [sym_index_assignment] = STATE(232), + [sym_if_else] = STATE(232), + [sym_if] = STATE(170), + [sym_match] = STATE(232), + [sym_while] = STATE(232), + [sym_for] = STATE(232), + [sym_return] = STATE(232), + [sym_function] = STATE(77), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(54), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_none] = ACTIONS(19), + [anon_sym_some] = ACTIONS(21), + [anon_sym_LPAREN] = ACTIONS(23), + [anon_sym_if] = ACTIONS(25), + [anon_sym_match] = ACTIONS(27), + [anon_sym_while] = ACTIONS(29), + [anon_sym_for] = ACTIONS(31), + [anon_sym_asyncfor] = ACTIONS(33), + [anon_sym_return] = ACTIONS(35), + [anon_sym_assert] = ACTIONS(37), + [anon_sym_assert_equal] = ACTIONS(37), + [anon_sym_bash] = ACTIONS(37), + [anon_sym_download] = ACTIONS(37), + [anon_sym_fish] = ACTIONS(37), + [anon_sym_from_json] = ACTIONS(37), + [anon_sym_length] = ACTIONS(37), + [anon_sym_metadata] = ACTIONS(37), + [anon_sym_output] = ACTIONS(37), + [anon_sym_output_error] = ACTIONS(37), + [anon_sym_random] = ACTIONS(37), + [anon_sym_random_boolean] = ACTIONS(37), + [anon_sym_random_float] = ACTIONS(37), + [anon_sym_random_integer] = ACTIONS(37), + [anon_sym_read] = ACTIONS(37), + [anon_sym_to_json] = ACTIONS(37), + [anon_sym_write] = ACTIONS(37), + }, + [48] = { [sym_block] = STATE(248), [sym_statement] = STATE(250), [sym_expression] = STATE(234), @@ -5655,7 +5717,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(196), [anon_sym_write] = ACTIONS(196), }, - [48] = { + [49] = { [sym_math_operator] = STATE(177), [sym_logic_operator] = STATE(181), [ts_builtin_sym_end] = ACTIONS(212), @@ -5717,7 +5779,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(214), [anon_sym_write] = ACTIONS(214), }, - [49] = { + [50] = { [sym_math_operator] = STATE(177), [sym_logic_operator] = STATE(181), [ts_builtin_sym_end] = ACTIONS(220), @@ -5779,16 +5841,16 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(222), [anon_sym_write] = ACTIONS(222), }, - [50] = { + [51] = { [sym_block] = STATE(232), [sym_statement] = STATE(235), [sym_expression] = STATE(79), [sym_identifier] = STATE(55), [sym_value] = STATE(58), - [sym_boolean] = STATE(71), - [sym_list] = STATE(71), - [sym_map] = STATE(71), - [sym_option] = STATE(71), + [sym_boolean] = STATE(77), + [sym_list] = STATE(77), + [sym_map] = STATE(77), + [sym_option] = STATE(77), [sym_index] = STATE(68), [sym_math] = STATE(58), [sym_logic] = STATE(58), @@ -5800,10 +5862,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_while] = STATE(232), [sym_for] = STATE(232), [sym_return] = STATE(232), - [sym_function] = STATE(71), + [sym_function] = STATE(77), [sym_function_call] = STATE(58), [sym_yield] = STATE(58), - [sym_built_in_function] = STATE(53), + [sym_built_in_function] = STATE(54), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -5841,191 +5903,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(37), [anon_sym_write] = ACTIONS(37), }, - [51] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(291), - [sym_expression] = STATE(223), - [sym_identifier] = STATE(217), - [sym_value] = STATE(137), - [sym_boolean] = STATE(138), - [sym_list] = STATE(138), - [sym_map] = STATE(138), - [sym_option] = STATE(138), - [sym_index] = STATE(220), - [sym_math] = STATE(137), - [sym_logic] = STATE(137), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(239), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(138), - [sym_function_call] = STATE(137), - [sym_yield] = STATE(137), - [sym_built_in_function] = STATE(142), - [sym__identifier_pattern] = ACTIONS(164), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(166), - [anon_sym_LBRACE] = ACTIONS(168), - [sym_integer] = ACTIONS(170), - [sym_float] = ACTIONS(172), - [sym_string] = ACTIONS(172), - [anon_sym_true] = ACTIONS(174), - [anon_sym_false] = ACTIONS(174), - [anon_sym_LBRACK] = ACTIONS(176), - [anon_sym_none] = ACTIONS(178), - [anon_sym_some] = ACTIONS(180), - [anon_sym_LPAREN] = ACTIONS(182), - [anon_sym_if] = ACTIONS(184), - [anon_sym_match] = ACTIONS(186), - [anon_sym_while] = ACTIONS(188), - [anon_sym_for] = ACTIONS(190), - [anon_sym_asyncfor] = ACTIONS(192), - [anon_sym_return] = ACTIONS(194), - [anon_sym_assert] = ACTIONS(196), - [anon_sym_assert_equal] = ACTIONS(196), - [anon_sym_bash] = ACTIONS(196), - [anon_sym_download] = ACTIONS(196), - [anon_sym_fish] = ACTIONS(196), - [anon_sym_from_json] = ACTIONS(196), - [anon_sym_length] = ACTIONS(196), - [anon_sym_metadata] = ACTIONS(196), - [anon_sym_output] = ACTIONS(196), - [anon_sym_output_error] = ACTIONS(196), - [anon_sym_random] = ACTIONS(196), - [anon_sym_random_boolean] = ACTIONS(196), - [anon_sym_random_float] = ACTIONS(196), - [anon_sym_random_integer] = ACTIONS(196), - [anon_sym_read] = ACTIONS(196), - [anon_sym_to_json] = ACTIONS(196), - [anon_sym_write] = ACTIONS(196), - }, [52] = { - [sym_math_operator] = STATE(203), - [sym_logic_operator] = STATE(200), - [ts_builtin_sym_end] = ACTIONS(212), - [sym__identifier_pattern] = ACTIONS(214), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(214), - [anon_sym_LBRACE] = ACTIONS(212), - [anon_sym_RBRACE] = ACTIONS(212), - [anon_sym_SEMI] = ACTIONS(212), - [sym_integer] = ACTIONS(214), - [sym_float] = ACTIONS(212), - [sym_string] = ACTIONS(212), - [anon_sym_true] = ACTIONS(214), - [anon_sym_false] = ACTIONS(214), - [anon_sym_LBRACK] = ACTIONS(212), - [anon_sym_EQ] = ACTIONS(214), - [anon_sym_none] = ACTIONS(214), - [anon_sym_some] = ACTIONS(214), - [anon_sym_LPAREN] = ACTIONS(212), - [anon_sym_COLON] = ACTIONS(224), - [anon_sym_PLUS] = ACTIONS(122), - [anon_sym_DASH] = ACTIONS(122), - [anon_sym_STAR] = ACTIONS(120), - [anon_sym_SLASH] = ACTIONS(120), - [anon_sym_PERCENT] = ACTIONS(120), - [anon_sym_EQ_EQ] = ACTIONS(124), - [anon_sym_BANG_EQ] = ACTIONS(124), - [anon_sym_AMP_AMP] = ACTIONS(124), - [anon_sym_PIPE_PIPE] = ACTIONS(124), - [anon_sym_GT] = ACTIONS(126), - [anon_sym_LT] = ACTIONS(126), - [anon_sym_GT_EQ] = ACTIONS(124), - [anon_sym_LT_EQ] = ACTIONS(124), - [anon_sym_PLUS_EQ] = ACTIONS(212), - [anon_sym_DASH_EQ] = ACTIONS(212), - [anon_sym_if] = ACTIONS(214), - [anon_sym_match] = ACTIONS(214), - [anon_sym_while] = ACTIONS(214), - [anon_sym_for] = ACTIONS(214), - [anon_sym_asyncfor] = ACTIONS(212), - [anon_sym_return] = ACTIONS(214), - [anon_sym_DASH_GT] = ACTIONS(218), - [anon_sym_assert] = ACTIONS(214), - [anon_sym_assert_equal] = ACTIONS(214), - [anon_sym_bash] = ACTIONS(214), - [anon_sym_download] = ACTIONS(214), - [anon_sym_fish] = ACTIONS(214), - [anon_sym_from_json] = ACTIONS(214), - [anon_sym_length] = ACTIONS(214), - [anon_sym_metadata] = ACTIONS(214), - [anon_sym_output] = ACTIONS(214), - [anon_sym_output_error] = ACTIONS(214), - [anon_sym_random] = ACTIONS(214), - [anon_sym_random_boolean] = ACTIONS(214), - [anon_sym_random_float] = ACTIONS(214), - [anon_sym_random_integer] = ACTIONS(214), - [anon_sym_read] = ACTIONS(214), - [anon_sym_to_json] = ACTIONS(214), - [anon_sym_write] = ACTIONS(214), - }, - [53] = { - [ts_builtin_sym_end] = ACTIONS(226), - [sym__identifier_pattern] = ACTIONS(228), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(228), - [anon_sym_LBRACE] = ACTIONS(226), - [anon_sym_RBRACE] = ACTIONS(226), - [anon_sym_SEMI] = ACTIONS(226), - [sym_integer] = ACTIONS(228), - [sym_float] = ACTIONS(226), - [sym_string] = ACTIONS(226), - [anon_sym_true] = ACTIONS(228), - [anon_sym_false] = ACTIONS(228), - [anon_sym_LBRACK] = ACTIONS(226), - [anon_sym_EQ] = ACTIONS(228), - [anon_sym_none] = ACTIONS(228), - [anon_sym_some] = ACTIONS(228), - [anon_sym_LPAREN] = ACTIONS(226), - [anon_sym_COLON] = ACTIONS(226), - [anon_sym_DOT_DOT] = ACTIONS(226), - [anon_sym_PLUS] = ACTIONS(228), - [anon_sym_DASH] = ACTIONS(228), - [anon_sym_STAR] = ACTIONS(226), - [anon_sym_SLASH] = ACTIONS(226), - [anon_sym_PERCENT] = ACTIONS(226), - [anon_sym_EQ_EQ] = ACTIONS(226), - [anon_sym_BANG_EQ] = ACTIONS(226), - [anon_sym_AMP_AMP] = ACTIONS(226), - [anon_sym_PIPE_PIPE] = ACTIONS(226), - [anon_sym_GT] = ACTIONS(228), - [anon_sym_LT] = ACTIONS(228), - [anon_sym_GT_EQ] = ACTIONS(226), - [anon_sym_LT_EQ] = ACTIONS(226), - [anon_sym_PLUS_EQ] = ACTIONS(226), - [anon_sym_DASH_EQ] = ACTIONS(226), - [anon_sym_if] = ACTIONS(228), - [anon_sym_match] = ACTIONS(228), - [anon_sym_while] = ACTIONS(228), - [anon_sym_for] = ACTIONS(228), - [anon_sym_asyncfor] = ACTIONS(226), - [anon_sym_in] = ACTIONS(228), - [anon_sym_return] = ACTIONS(228), - [anon_sym_DASH_GT] = ACTIONS(226), - [anon_sym_assert] = ACTIONS(228), - [anon_sym_assert_equal] = ACTIONS(228), - [anon_sym_bash] = ACTIONS(228), - [anon_sym_download] = ACTIONS(228), - [anon_sym_fish] = ACTIONS(228), - [anon_sym_from_json] = ACTIONS(228), - [anon_sym_length] = ACTIONS(228), - [anon_sym_metadata] = ACTIONS(228), - [anon_sym_output] = ACTIONS(228), - [anon_sym_output_error] = ACTIONS(228), - [anon_sym_random] = ACTIONS(228), - [anon_sym_random_boolean] = ACTIONS(228), - [anon_sym_random_float] = ACTIONS(228), - [anon_sym_random_integer] = ACTIONS(228), - [anon_sym_read] = ACTIONS(228), - [anon_sym_to_json] = ACTIONS(228), - [anon_sym_write] = ACTIONS(228), - }, - [54] = { [sym_math_operator] = STATE(203), [sym_logic_operator] = STATE(200), [ts_builtin_sym_end] = ACTIONS(220), @@ -6086,8 +5964,130 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(222), [anon_sym_write] = ACTIONS(222), }, + [53] = { + [sym_math_operator] = STATE(203), + [sym_logic_operator] = STATE(200), + [ts_builtin_sym_end] = ACTIONS(208), + [sym__identifier_pattern] = ACTIONS(210), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(210), + [anon_sym_LBRACE] = ACTIONS(208), + [anon_sym_RBRACE] = ACTIONS(208), + [anon_sym_SEMI] = ACTIONS(208), + [sym_integer] = ACTIONS(210), + [sym_float] = ACTIONS(208), + [sym_string] = ACTIONS(208), + [anon_sym_true] = ACTIONS(210), + [anon_sym_false] = ACTIONS(210), + [anon_sym_LBRACK] = ACTIONS(208), + [anon_sym_EQ] = ACTIONS(210), + [anon_sym_none] = ACTIONS(210), + [anon_sym_some] = ACTIONS(210), + [anon_sym_LPAREN] = ACTIONS(208), + [anon_sym_COLON] = ACTIONS(208), + [anon_sym_PLUS] = ACTIONS(210), + [anon_sym_DASH] = ACTIONS(210), + [anon_sym_STAR] = ACTIONS(208), + [anon_sym_SLASH] = ACTIONS(208), + [anon_sym_PERCENT] = ACTIONS(208), + [anon_sym_EQ_EQ] = ACTIONS(208), + [anon_sym_BANG_EQ] = ACTIONS(208), + [anon_sym_AMP_AMP] = ACTIONS(208), + [anon_sym_PIPE_PIPE] = ACTIONS(208), + [anon_sym_GT] = ACTIONS(210), + [anon_sym_LT] = ACTIONS(210), + [anon_sym_GT_EQ] = ACTIONS(208), + [anon_sym_LT_EQ] = ACTIONS(208), + [anon_sym_PLUS_EQ] = ACTIONS(208), + [anon_sym_DASH_EQ] = ACTIONS(208), + [anon_sym_if] = ACTIONS(210), + [anon_sym_match] = ACTIONS(210), + [anon_sym_while] = ACTIONS(210), + [anon_sym_for] = ACTIONS(210), + [anon_sym_asyncfor] = ACTIONS(208), + [anon_sym_return] = ACTIONS(210), + [anon_sym_DASH_GT] = ACTIONS(208), + [anon_sym_assert] = ACTIONS(210), + [anon_sym_assert_equal] = ACTIONS(210), + [anon_sym_bash] = ACTIONS(210), + [anon_sym_download] = ACTIONS(210), + [anon_sym_fish] = ACTIONS(210), + [anon_sym_from_json] = ACTIONS(210), + [anon_sym_length] = ACTIONS(210), + [anon_sym_metadata] = ACTIONS(210), + [anon_sym_output] = ACTIONS(210), + [anon_sym_output_error] = ACTIONS(210), + [anon_sym_random] = ACTIONS(210), + [anon_sym_random_boolean] = ACTIONS(210), + [anon_sym_random_float] = ACTIONS(210), + [anon_sym_random_integer] = ACTIONS(210), + [anon_sym_read] = ACTIONS(210), + [anon_sym_to_json] = ACTIONS(210), + [anon_sym_write] = ACTIONS(210), + }, + [54] = { + [ts_builtin_sym_end] = ACTIONS(226), + [sym__identifier_pattern] = ACTIONS(228), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(228), + [anon_sym_LBRACE] = ACTIONS(226), + [anon_sym_RBRACE] = ACTIONS(226), + [anon_sym_SEMI] = ACTIONS(226), + [sym_integer] = ACTIONS(228), + [sym_float] = ACTIONS(226), + [sym_string] = ACTIONS(226), + [anon_sym_true] = ACTIONS(228), + [anon_sym_false] = ACTIONS(228), + [anon_sym_LBRACK] = ACTIONS(226), + [anon_sym_EQ] = ACTIONS(228), + [anon_sym_none] = ACTIONS(228), + [anon_sym_some] = ACTIONS(228), + [anon_sym_LPAREN] = ACTIONS(226), + [anon_sym_COLON] = ACTIONS(226), + [anon_sym_DOT_DOT] = ACTIONS(226), + [anon_sym_PLUS] = ACTIONS(228), + [anon_sym_DASH] = ACTIONS(228), + [anon_sym_STAR] = ACTIONS(226), + [anon_sym_SLASH] = ACTIONS(226), + [anon_sym_PERCENT] = ACTIONS(226), + [anon_sym_EQ_EQ] = ACTIONS(226), + [anon_sym_BANG_EQ] = ACTIONS(226), + [anon_sym_AMP_AMP] = ACTIONS(226), + [anon_sym_PIPE_PIPE] = ACTIONS(226), + [anon_sym_GT] = ACTIONS(228), + [anon_sym_LT] = ACTIONS(228), + [anon_sym_GT_EQ] = ACTIONS(226), + [anon_sym_LT_EQ] = ACTIONS(226), + [anon_sym_PLUS_EQ] = ACTIONS(226), + [anon_sym_DASH_EQ] = ACTIONS(226), + [anon_sym_if] = ACTIONS(228), + [anon_sym_match] = ACTIONS(228), + [anon_sym_while] = ACTIONS(228), + [anon_sym_for] = ACTIONS(228), + [anon_sym_asyncfor] = ACTIONS(226), + [anon_sym_in] = ACTIONS(228), + [anon_sym_return] = ACTIONS(228), + [anon_sym_DASH_GT] = ACTIONS(226), + [anon_sym_assert] = ACTIONS(228), + [anon_sym_assert_equal] = ACTIONS(228), + [anon_sym_bash] = ACTIONS(228), + [anon_sym_download] = ACTIONS(228), + [anon_sym_fish] = ACTIONS(228), + [anon_sym_from_json] = ACTIONS(228), + [anon_sym_length] = ACTIONS(228), + [anon_sym_metadata] = ACTIONS(228), + [anon_sym_output] = ACTIONS(228), + [anon_sym_output_error] = ACTIONS(228), + [anon_sym_random] = ACTIONS(228), + [anon_sym_random_boolean] = ACTIONS(228), + [anon_sym_random_float] = ACTIONS(228), + [anon_sym_random_integer] = ACTIONS(228), + [anon_sym_read] = ACTIONS(228), + [anon_sym_to_json] = ACTIONS(228), + [anon_sym_write] = ACTIONS(228), + }, [55] = { - [sym_assignment_operator] = STATE(50), + [sym_assignment_operator] = STATE(51), [sym_type_definition] = STATE(317), [ts_builtin_sym_end] = ACTIONS(230), [sym__identifier_pattern] = ACTIONS(232), @@ -6211,63 +6211,63 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [57] = { [sym_math_operator] = STATE(203), [sym_logic_operator] = STATE(200), - [ts_builtin_sym_end] = ACTIONS(208), - [sym__identifier_pattern] = ACTIONS(210), + [ts_builtin_sym_end] = ACTIONS(212), + [sym__identifier_pattern] = ACTIONS(214), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(210), - [anon_sym_LBRACE] = ACTIONS(208), - [anon_sym_RBRACE] = ACTIONS(208), - [anon_sym_SEMI] = ACTIONS(208), - [sym_integer] = ACTIONS(210), - [sym_float] = ACTIONS(208), - [sym_string] = ACTIONS(208), - [anon_sym_true] = ACTIONS(210), - [anon_sym_false] = ACTIONS(210), - [anon_sym_LBRACK] = ACTIONS(208), - [anon_sym_EQ] = ACTIONS(210), - [anon_sym_none] = ACTIONS(210), - [anon_sym_some] = ACTIONS(210), - [anon_sym_LPAREN] = ACTIONS(208), - [anon_sym_COLON] = ACTIONS(208), - [anon_sym_PLUS] = ACTIONS(210), - [anon_sym_DASH] = ACTIONS(210), - [anon_sym_STAR] = ACTIONS(208), - [anon_sym_SLASH] = ACTIONS(208), - [anon_sym_PERCENT] = ACTIONS(208), - [anon_sym_EQ_EQ] = ACTIONS(208), - [anon_sym_BANG_EQ] = ACTIONS(208), - [anon_sym_AMP_AMP] = ACTIONS(208), - [anon_sym_PIPE_PIPE] = ACTIONS(208), - [anon_sym_GT] = ACTIONS(210), - [anon_sym_LT] = ACTIONS(210), - [anon_sym_GT_EQ] = ACTIONS(208), - [anon_sym_LT_EQ] = ACTIONS(208), - [anon_sym_PLUS_EQ] = ACTIONS(208), - [anon_sym_DASH_EQ] = ACTIONS(208), - [anon_sym_if] = ACTIONS(210), - [anon_sym_match] = ACTIONS(210), - [anon_sym_while] = ACTIONS(210), - [anon_sym_for] = ACTIONS(210), - [anon_sym_asyncfor] = ACTIONS(208), - [anon_sym_return] = ACTIONS(210), - [anon_sym_DASH_GT] = ACTIONS(208), - [anon_sym_assert] = ACTIONS(210), - [anon_sym_assert_equal] = ACTIONS(210), - [anon_sym_bash] = ACTIONS(210), - [anon_sym_download] = ACTIONS(210), - [anon_sym_fish] = ACTIONS(210), - [anon_sym_from_json] = ACTIONS(210), - [anon_sym_length] = ACTIONS(210), - [anon_sym_metadata] = ACTIONS(210), - [anon_sym_output] = ACTIONS(210), - [anon_sym_output_error] = ACTIONS(210), - [anon_sym_random] = ACTIONS(210), - [anon_sym_random_boolean] = ACTIONS(210), - [anon_sym_random_float] = ACTIONS(210), - [anon_sym_random_integer] = ACTIONS(210), - [anon_sym_read] = ACTIONS(210), - [anon_sym_to_json] = ACTIONS(210), - [anon_sym_write] = ACTIONS(210), + [anon_sym_async] = ACTIONS(214), + [anon_sym_LBRACE] = ACTIONS(212), + [anon_sym_RBRACE] = ACTIONS(212), + [anon_sym_SEMI] = ACTIONS(212), + [sym_integer] = ACTIONS(214), + [sym_float] = ACTIONS(212), + [sym_string] = ACTIONS(212), + [anon_sym_true] = ACTIONS(214), + [anon_sym_false] = ACTIONS(214), + [anon_sym_LBRACK] = ACTIONS(212), + [anon_sym_EQ] = ACTIONS(214), + [anon_sym_none] = ACTIONS(214), + [anon_sym_some] = ACTIONS(214), + [anon_sym_LPAREN] = ACTIONS(212), + [anon_sym_COLON] = ACTIONS(224), + [anon_sym_PLUS] = ACTIONS(122), + [anon_sym_DASH] = ACTIONS(122), + [anon_sym_STAR] = ACTIONS(120), + [anon_sym_SLASH] = ACTIONS(120), + [anon_sym_PERCENT] = ACTIONS(120), + [anon_sym_EQ_EQ] = ACTIONS(124), + [anon_sym_BANG_EQ] = ACTIONS(124), + [anon_sym_AMP_AMP] = ACTIONS(124), + [anon_sym_PIPE_PIPE] = ACTIONS(124), + [anon_sym_GT] = ACTIONS(126), + [anon_sym_LT] = ACTIONS(126), + [anon_sym_GT_EQ] = ACTIONS(124), + [anon_sym_LT_EQ] = ACTIONS(124), + [anon_sym_PLUS_EQ] = ACTIONS(212), + [anon_sym_DASH_EQ] = ACTIONS(212), + [anon_sym_if] = ACTIONS(214), + [anon_sym_match] = ACTIONS(214), + [anon_sym_while] = ACTIONS(214), + [anon_sym_for] = ACTIONS(214), + [anon_sym_asyncfor] = ACTIONS(212), + [anon_sym_return] = ACTIONS(214), + [anon_sym_DASH_GT] = ACTIONS(218), + [anon_sym_assert] = ACTIONS(214), + [anon_sym_assert_equal] = ACTIONS(214), + [anon_sym_bash] = ACTIONS(214), + [anon_sym_download] = ACTIONS(214), + [anon_sym_fish] = ACTIONS(214), + [anon_sym_from_json] = ACTIONS(214), + [anon_sym_length] = ACTIONS(214), + [anon_sym_metadata] = ACTIONS(214), + [anon_sym_output] = ACTIONS(214), + [anon_sym_output_error] = ACTIONS(214), + [anon_sym_random] = ACTIONS(214), + [anon_sym_random_boolean] = ACTIONS(214), + [anon_sym_random_float] = ACTIONS(214), + [anon_sym_random_integer] = ACTIONS(214), + [anon_sym_read] = ACTIONS(214), + [anon_sym_to_json] = ACTIONS(214), + [anon_sym_write] = ACTIONS(214), }, [58] = { [ts_builtin_sym_end] = ACTIONS(230), @@ -6870,7 +6870,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(278), }, [68] = { - [sym_assignment_operator] = STATE(34), + [sym_assignment_operator] = STATE(46), [ts_builtin_sym_end] = ACTIONS(230), [sym__identifier_pattern] = ACTIONS(232), [sym__comment] = ACTIONS(3), @@ -7290,7 +7290,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(302), }, [75] = { - [sym_assignment_operator] = STATE(50), + [sym_assignment_operator] = STATE(51), [sym_type_definition] = STATE(320), [sym__identifier_pattern] = ACTIONS(232), [sym__comment] = ACTIONS(3), @@ -7748,7 +7748,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math_operator, STATE(216), 1, sym_logic_operator, - ACTIONS(202), 23, + ACTIONS(198), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7772,7 +7772,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(204), 28, + ACTIONS(200), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -7936,7 +7936,7 @@ static const uint16_t ts_small_parse_table[] = { sym_math_operator, STATE(216), 1, sym_logic_operator, - ACTIONS(202), 24, + ACTIONS(198), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7961,7 +7961,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(204), 28, + ACTIONS(200), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8237,7 +8237,7 @@ static const uint16_t ts_small_parse_table[] = { [854] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(310), 24, + ACTIONS(288), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8262,7 +8262,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(312), 28, + ACTIONS(290), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8292,63 +8292,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [914] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(268), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(270), 28, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_none, - anon_sym_some, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [974] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(276), 24, @@ -8405,7 +8348,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1034] = 3, + [974] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(296), 24, @@ -8462,7 +8405,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1094] = 3, + [1034] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(230), 24, @@ -8519,10 +8462,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1154] = 3, + [1094] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(248), 24, + ACTIONS(268), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8547,7 +8490,64 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(250), 28, + ACTIONS(270), 28, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_none, + anon_sym_some, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [1154] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(260), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(262), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8864,7 +8864,7 @@ static const uint16_t ts_small_parse_table[] = { [1514] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(288), 24, + ACTIONS(310), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8889,7 +8889,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(290), 28, + ACTIONS(312), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9035,7 +9035,7 @@ static const uint16_t ts_small_parse_table[] = { [1694] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(260), 24, + ACTIONS(244), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9060,7 +9060,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(262), 28, + ACTIONS(246), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9206,7 +9206,7 @@ static const uint16_t ts_small_parse_table[] = { [1874] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(280), 24, + ACTIONS(248), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9231,7 +9231,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(282), 28, + ACTIONS(250), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9263,7 +9263,7 @@ static const uint16_t ts_small_parse_table[] = { [1934] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(244), 24, + ACTIONS(280), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9288,7 +9288,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(246), 28, + ACTIONS(282), 28, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9436,129 +9436,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2127] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_COLON, - ACTIONS(122), 1, - anon_sym_DASH, - ACTIONS(128), 1, - anon_sym_DASH_GT, - STATE(175), 1, - sym_math_operator, - STATE(176), 1, - sym_logic_operator, - ACTIONS(126), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 3, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(124), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(318), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(320), 23, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2199] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(118), 1, - anon_sym_COLON, - ACTIONS(122), 1, - anon_sym_DASH, - ACTIONS(128), 1, - anon_sym_DASH_GT, - STATE(175), 1, - sym_math_operator, - STATE(176), 1, - sym_logic_operator, - ACTIONS(126), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(124), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(314), 8, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - ACTIONS(316), 23, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2271] = 12, + [2127] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(118), 1, @@ -9620,6 +9498,128 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [2201] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_COLON, + ACTIONS(122), 1, + anon_sym_DASH, + ACTIONS(128), 1, + anon_sym_DASH_GT, + STATE(175), 1, + sym_math_operator, + STATE(176), 1, + sym_logic_operator, + ACTIONS(126), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 3, + anon_sym_PLUS, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(124), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(318), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(320), 23, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2273] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(118), 1, + anon_sym_COLON, + ACTIONS(122), 1, + anon_sym_DASH, + ACTIONS(128), 1, + anon_sym_DASH_GT, + STATE(175), 1, + sym_math_operator, + STATE(176), 1, + sym_logic_operator, + ACTIONS(126), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(124), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(314), 8, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(316), 23, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [2345] = 12, ACTIONS(3), 1, sym__comment, @@ -9655,8 +9655,8 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, + anon_sym_RBRACK, anon_sym_LPAREN, - anon_sym_RPAREN, ACTIONS(330), 23, sym__identifier_pattern, sym_integer, @@ -9716,8 +9716,8 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_LPAREN, + anon_sym_RPAREN, ACTIONS(336), 23, sym__identifier_pattern, sym_integer, @@ -9742,66 +9742,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2491] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(342), 1, - anon_sym_COLON, - ACTIONS(344), 1, - anon_sym_DASH_GT, - STATE(199), 1, - sym_logic_operator, - STATE(204), 1, - sym_math_operator, - ACTIONS(122), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(126), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(120), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(124), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(212), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - ACTIONS(214), 20, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2561] = 12, + [2491] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(118), 1, @@ -9810,7 +9751,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(128), 1, anon_sym_DASH_GT, - ACTIONS(346), 1, + ACTIONS(342), 1, anon_sym_RPAREN, STATE(175), 1, sym_math_operator, @@ -9861,7 +9802,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2633] = 6, + [2563] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(118), 1, @@ -9915,7 +9856,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2693] = 12, + [2623] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(118), 1, @@ -9924,7 +9865,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(128), 1, anon_sym_DASH_GT, - ACTIONS(348), 1, + ACTIONS(344), 1, anon_sym_RPAREN, STATE(175), 1, sym_math_operator, @@ -9975,16 +9916,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2765] = 6, + [2695] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(350), 1, + ACTIONS(346), 1, anon_sym_DOT_DOT, STATE(199), 1, sym_logic_operator, STATE(204), 1, sym_math_operator, - ACTIONS(202), 19, + ACTIONS(198), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10004,7 +9945,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(204), 24, + ACTIONS(200), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10029,10 +9970,69 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [2755] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(348), 1, + anon_sym_COLON, + ACTIONS(350), 1, + anon_sym_DASH_GT, + STATE(199), 1, + sym_logic_operator, + STATE(204), 1, + sym_math_operator, + ACTIONS(122), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(126), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(120), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(124), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(212), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + ACTIONS(214), 20, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [2825] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(342), 1, + ACTIONS(348), 1, anon_sym_COLON, STATE(199), 1, sym_logic_operator, @@ -10203,7 +10203,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic_operator, STATE(204), 1, sym_math_operator, - ACTIONS(202), 20, + ACTIONS(198), 20, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10224,7 +10224,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(204), 24, + ACTIONS(200), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10249,10 +10249,115 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3073] = 11, + [3073] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(344), 1, + ACTIONS(354), 1, + anon_sym_COLON, + STATE(180), 1, + sym_logic_operator, + STATE(184), 1, + sym_math_operator, + ACTIONS(220), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(222), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3132] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(180), 1, + sym_logic_operator, + STATE(184), 1, + sym_math_operator, + ACTIONS(208), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(210), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3189] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -10307,59 +10412,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3142] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(180), 1, - sym_logic_operator, - STATE(184), 1, - sym_math_operator, - ACTIONS(208), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(210), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3199] = 18, + [3258] = 18, ACTIONS(3), 1, sym__comment, ACTIONS(164), 1, @@ -10424,59 +10477,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3282] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(354), 1, - anon_sym_COLON, - STATE(180), 1, - sym_logic_operator, - STATE(184), 1, - sym_math_operator, - ACTIONS(220), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(222), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, [3341] = 18, ACTIONS(3), 1, sym__comment, @@ -10628,7 +10628,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(102), 1, sym_built_in_function, - STATE(115), 1, + STATE(114), 1, sym_expression, STATE(157), 1, aux_sym_list_repeat1, @@ -10644,7 +10644,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -10691,7 +10691,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(102), 1, sym_built_in_function, - STATE(114), 1, + STATE(115), 1, sym_expression, STATE(132), 1, aux_sym__expression_list, @@ -10707,7 +10707,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -10803,7 +10803,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(102), 1, sym_built_in_function, - STATE(115), 1, + STATE(114), 1, sym_expression, STATE(135), 1, aux_sym_list_repeat1, @@ -10819,7 +10819,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -10866,7 +10866,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(102), 1, sym_built_in_function, - STATE(115), 1, + STATE(114), 1, sym_expression, STATE(157), 1, aux_sym_list_repeat1, @@ -10882,7 +10882,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -11009,7 +11009,7 @@ static const uint16_t ts_small_parse_table[] = { [3983] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(288), 20, + ACTIONS(310), 20, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -11030,7 +11030,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(290), 24, + ACTIONS(312), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -11076,7 +11076,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(102), 1, sym_built_in_function, - STATE(115), 1, + STATE(114), 1, sym_expression, STATE(157), 1, aux_sym_list_repeat1, @@ -11092,7 +11092,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -11188,7 +11188,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(102), 1, sym_built_in_function, - STATE(114), 1, + STATE(115), 1, sym_expression, STATE(132), 1, aux_sym__expression_list, @@ -11204,7 +11204,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -11347,7 +11347,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(360), 1, anon_sym_STAR, - STATE(127), 1, + STATE(128), 1, aux_sym_match_repeat1, STATE(142), 1, sym_built_in_function, @@ -11461,7 +11461,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(102), 1, sym_built_in_function, - STATE(114), 1, + STATE(115), 1, sym_expression, STATE(132), 1, aux_sym__expression_list, @@ -11477,7 +11477,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -11524,7 +11524,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(102), 1, sym_built_in_function, - STATE(114), 1, + STATE(115), 1, sym_expression, STATE(132), 1, aux_sym__expression_list, @@ -11540,7 +11540,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -11846,7 +11846,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(102), 1, sym_built_in_function, - STATE(114), 1, + STATE(115), 1, sym_expression, STATE(132), 1, aux_sym__expression_list, @@ -11862,7 +11862,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -11958,7 +11958,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(102), 1, sym_built_in_function, - STATE(114), 1, + STATE(115), 1, sym_expression, STATE(132), 1, aux_sym__expression_list, @@ -11974,7 +11974,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12070,7 +12070,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(102), 1, sym_built_in_function, - STATE(115), 1, + STATE(114), 1, sym_expression, STATE(157), 1, aux_sym_list_repeat1, @@ -12086,7 +12086,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12133,7 +12133,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(102), 1, sym_built_in_function, - STATE(115), 1, + STATE(114), 1, sym_expression, STATE(131), 1, aux_sym_list_repeat1, @@ -12149,7 +12149,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12276,7 +12276,7 @@ static const uint16_t ts_small_parse_table[] = { [5459] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(310), 20, + ACTIONS(288), 20, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -12297,7 +12297,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(312), 24, + ACTIONS(290), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -12371,56 +12371,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5563] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(252), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(254), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [5615] = 17, + [5563] = 17, ACTIONS(3), 1, sym__comment, ACTIONS(98), 1, @@ -12438,13 +12389,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(114), 1, anon_sym_LPAREN, ACTIONS(483), 1, - anon_sym_RPAREN, + anon_sym_RBRACK, STATE(102), 1, sym_built_in_function, STATE(114), 1, sym_expression, - STATE(132), 1, - aux_sym__expression_list, + STATE(139), 1, + aux_sym_list_repeat1, ACTIONS(104), 2, sym_float, sym_string, @@ -12457,7 +12408,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12483,7 +12434,70 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5695] = 3, + [5643] = 17, + ACTIONS(3), 1, + sym__comment, + ACTIONS(98), 1, + sym__identifier_pattern, + ACTIONS(100), 1, + anon_sym_LBRACE, + ACTIONS(102), 1, + sym_integer, + ACTIONS(108), 1, + anon_sym_LBRACK, + ACTIONS(110), 1, + anon_sym_none, + ACTIONS(112), 1, + anon_sym_some, + ACTIONS(114), 1, + anon_sym_LPAREN, + ACTIONS(485), 1, + anon_sym_RPAREN, + STATE(102), 1, + sym_built_in_function, + STATE(115), 1, + sym_expression, + STATE(132), 1, + aux_sym__expression_list, + ACTIONS(104), 2, + sym_float, + sym_string, + ACTIONS(106), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 5, + sym_boolean, + sym_list, + sym_map, + sym_option, + sym_function, + STATE(93), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(130), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [5723] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(272), 20, @@ -12532,52 +12546,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5747] = 17, + [5775] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(98), 1, - sym__identifier_pattern, - ACTIONS(100), 1, + ACTIONS(252), 20, anon_sym_LBRACE, - ACTIONS(102), 1, - sym_integer, - ACTIONS(108), 1, - anon_sym_LBRACK, - ACTIONS(110), 1, - anon_sym_none, - ACTIONS(112), 1, - anon_sym_some, - ACTIONS(114), 1, - anon_sym_LPAREN, - ACTIONS(485), 1, - anon_sym_RBRACK, - STATE(102), 1, - sym_built_in_function, - STATE(115), 1, - sym_expression, - STATE(139), 1, - aux_sym_list_repeat1, - ACTIONS(104), 2, - sym_float, - sym_string, - ACTIONS(106), 2, - anon_sym_true, - anon_sym_false, - STATE(101), 5, - sym_boolean, - sym_list, - sym_map, - sym_option, - sym_function, - STATE(94), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(130), 17, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(254), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12630,7 +12630,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12691,7 +12691,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12856,7 +12856,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -12901,7 +12901,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(102), 1, sym_built_in_function, - STATE(118), 1, + STATE(117), 1, sym_expression, ACTIONS(104), 2, sym_float, @@ -12915,7 +12915,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13033,7 +13033,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13092,7 +13092,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13151,7 +13151,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13194,9 +13194,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(505), 1, anon_sym_LBRACE, - STATE(49), 1, + STATE(50), 1, sym_expression, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, ACTIONS(13), 2, sym_float, @@ -13204,7 +13204,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -13253,9 +13253,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(505), 1, anon_sym_LBRACE, - STATE(39), 1, + STATE(35), 1, sym_expression, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, ACTIONS(13), 2, sym_float, @@ -13263,7 +13263,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -13328,7 +13328,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13371,7 +13371,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(356), 1, anon_sym_LBRACE, - STATE(125), 1, + STATE(127), 1, sym_expression, STATE(142), 1, sym_built_in_function, @@ -13430,9 +13430,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(505), 1, anon_sym_LBRACE, - STATE(48), 1, + STATE(49), 1, sym_expression, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, ACTIONS(13), 2, sym_float, @@ -13440,7 +13440,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -13550,7 +13550,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(102), 1, sym_built_in_function, - STATE(119), 1, + STATE(118), 1, sym_expression, ACTIONS(104), 2, sym_float, @@ -13564,7 +13564,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13607,7 +13607,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(356), 1, anon_sym_LBRACE, - STATE(128), 1, + STATE(125), 1, sym_expression, STATE(142), 1, sym_built_in_function, @@ -13725,7 +13725,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(356), 1, anon_sym_LBRACE, - STATE(120), 1, + STATE(119), 1, sym_expression, STATE(142), 1, sym_built_in_function, @@ -13859,7 +13859,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -13904,7 +13904,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(102), 1, sym_built_in_function, - STATE(117), 1, + STATE(116), 1, sym_expression, ACTIONS(104), 2, sym_float, @@ -13918,7 +13918,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -14246,7 +14246,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(505), 1, anon_sym_LBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(78), 1, sym_expression, @@ -14256,7 +14256,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -14439,7 +14439,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -14482,7 +14482,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(356), 1, anon_sym_LBRACE, - STATE(116), 1, + STATE(120), 1, sym_expression, STATE(142), 1, sym_built_in_function, @@ -14541,17 +14541,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(505), 1, anon_sym_LBRACE, - STATE(52), 1, - sym_expression, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, + STATE(57), 1, + sym_expression, ACTIONS(13), 2, sym_float, sym_string, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -14718,17 +14718,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(505), 1, anon_sym_LBRACE, - STATE(53), 1, - sym_built_in_function, - STATE(54), 1, + STATE(52), 1, sym_expression, + STATE(54), 1, + sym_built_in_function, ACTIONS(13), 2, sym_float, sym_string, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -14852,7 +14852,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -14970,7 +14970,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -15088,7 +15088,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -15250,16 +15250,16 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(505), 1, anon_sym_LBRACE, STATE(53), 1, - sym_built_in_function, - STATE(57), 1, sym_expression, + STATE(54), 1, + sym_built_in_function, ACTIONS(13), 2, sym_float, sym_string, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -15310,7 +15310,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(102), 1, sym_built_in_function, - STATE(112), 1, + STATE(113), 1, sym_expression, ACTIONS(104), 2, sym_float, @@ -15324,7 +15324,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -15383,7 +15383,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -15428,7 +15428,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(38), 1, sym_expression, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, ACTIONS(13), 2, sym_float, @@ -15436,7 +15436,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(71), 5, + STATE(77), 5, sym_boolean, sym_list, sym_map, @@ -15501,7 +15501,7 @@ static const uint16_t ts_small_parse_table[] = { sym_map, sym_option, sym_function, - STATE(94), 7, + STATE(93), 7, sym_identifier, sym_value, sym_index, @@ -15813,7 +15813,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(328), 1, anon_sym_SEMI, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -16036,7 +16036,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -16302,7 +16302,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -17496,7 +17496,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(595), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(270), 1, aux_sym_map_repeat1, @@ -17527,7 +17527,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(39), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(275), 1, aux_sym_map_repeat1, @@ -17558,7 +17558,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(94), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(269), 1, aux_sym_map_repeat1, @@ -17589,7 +17589,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(597), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(277), 1, aux_sym_function_repeat1, @@ -17620,7 +17620,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(599), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(270), 1, aux_sym_map_repeat1, @@ -17651,7 +17651,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(604), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(270), 1, aux_sym_map_repeat1, @@ -17682,7 +17682,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(96), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(265), 1, aux_sym_map_repeat1, @@ -17713,7 +17713,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(609), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(277), 1, aux_sym_function_repeat1, @@ -17744,7 +17744,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(611), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(278), 1, aux_sym_function_repeat1, @@ -17775,7 +17775,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(613), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(272), 1, aux_sym_function_repeat1, @@ -17806,7 +17806,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(615), 1, anon_sym_RBRACE, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(270), 1, aux_sym_map_repeat1, @@ -17837,7 +17837,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(617), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(268), 1, aux_sym_function_repeat1, @@ -17868,7 +17868,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(622), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(277), 1, aux_sym_function_repeat1, @@ -17899,7 +17899,7 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(627), 1, anon_sym_RPAREN, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(277), 1, aux_sym_function_repeat1, @@ -17928,7 +17928,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -17962,7 +17962,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(352), 1, sym_identifier, @@ -17989,7 +17989,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18023,7 +18023,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18057,7 +18057,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18091,7 +18091,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18125,7 +18125,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - STATE(53), 1, + STATE(54), 1, sym_built_in_function, STATE(345), 1, sym_identifier, @@ -18152,7 +18152,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18238,7 +18238,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18272,7 +18272,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18404,7 +18404,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18434,7 +18434,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18464,7 +18464,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18494,7 +18494,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18524,7 +18524,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18554,7 +18554,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(122), 1, anon_sym_DASH, - ACTIONS(344), 1, + ACTIONS(350), 1, anon_sym_DASH_GT, ACTIONS(354), 1, anon_sym_COLON, @@ -18584,10 +18584,11 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(683), 1, anon_sym_DASH_GT, - ACTIONS(681), 14, + ACTIONS(681), 15, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_GT, @@ -18599,15 +18600,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13036] = 3, + [13037] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(687), 1, anon_sym_DASH_GT, - ACTIONS(685), 14, + ACTIONS(685), 15, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_GT, @@ -18619,13 +18621,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13059] = 2, + [13061] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(689), 14, + ACTIONS(689), 15, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_GT, @@ -18637,13 +18640,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13079] = 2, + [13082] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(681), 14, + ACTIONS(681), 15, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_GT, @@ -18655,13 +18659,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13099] = 2, + [13103] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(691), 14, + ACTIONS(691), 15, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_GT, @@ -18673,13 +18678,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13119] = 2, + [13124] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(693), 14, + ACTIONS(693), 15, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_GT, @@ -18691,14 +18697,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13139] = 8, + [13145] = 8, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, - anon_sym_LPAREN, ACTIONS(699), 1, + anon_sym_LPAREN, + ACTIONS(701), 1, anon_sym_RPAREN, ACTIONS(703), 1, anon_sym_option, @@ -18706,7 +18712,8 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_type_repeat1, STATE(310), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18714,14 +18721,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13170] = 8, + [13177] = 8, ACTIONS(3), 1, sym__comment, ACTIONS(705), 1, anon_sym_LBRACK, - ACTIONS(708), 1, - anon_sym_LPAREN, ACTIONS(711), 1, + anon_sym_LPAREN, + ACTIONS(714), 1, anon_sym_RPAREN, ACTIONS(716), 1, anon_sym_option, @@ -18729,7 +18736,8 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_type_repeat1, STATE(310), 1, sym_type, - ACTIONS(713), 7, + ACTIONS(708), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18737,12 +18745,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13201] = 8, + [13209] = 8, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, + ACTIONS(699), 1, anon_sym_LPAREN, ACTIONS(703), 1, anon_sym_option, @@ -18752,7 +18760,8 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_type_repeat1, STATE(310), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18760,13 +18769,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13232] = 3, + [13241] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(721), 1, anon_sym_COMMA, - ACTIONS(723), 11, + ACTIONS(723), 12, anon_sym_LBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_any, @@ -18777,18 +18787,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13252] = 6, + [13262] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, + ACTIONS(699), 1, anon_sym_LPAREN, ACTIONS(703), 1, anon_sym_option, STATE(306), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18796,18 +18807,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13277] = 6, + [13288] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, + ACTIONS(699), 1, anon_sym_LPAREN, ACTIONS(703), 1, anon_sym_option, STATE(340), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18815,18 +18827,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13302] = 6, + [13314] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, + ACTIONS(699), 1, anon_sym_LPAREN, ACTIONS(703), 1, anon_sym_option, STATE(337), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18834,18 +18847,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13327] = 6, + [13340] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, + ACTIONS(699), 1, anon_sym_LPAREN, ACTIONS(703), 1, anon_sym_option, STATE(338), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18853,11 +18867,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13352] = 2, + [13366] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(711), 11, + ACTIONS(714), 12, anon_sym_LBRACK, + anon_sym_none, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_any, @@ -18868,18 +18883,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [13369] = 6, + [13384] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(695), 1, anon_sym_LBRACK, - ACTIONS(697), 1, + ACTIONS(699), 1, anon_sym_LPAREN, ACTIONS(703), 1, anon_sym_option, STATE(305), 1, sym_type, - ACTIONS(701), 7, + ACTIONS(697), 8, + anon_sym_none, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -18887,16 +18903,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [13394] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(46), 1, - sym_assignment_operator, - ACTIONS(238), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [13406] = 3, + [13410] = 3, ACTIONS(3), 1, sym__comment, STATE(47), 1, @@ -18905,7 +18912,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [13418] = 3, + [13422] = 3, + ACTIONS(3), 1, + sym__comment, + STATE(48), 1, + sym_assignment_operator, + ACTIONS(238), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [13434] = 3, ACTIONS(3), 1, sym__comment, STATE(40), 1, @@ -18914,17 +18930,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [13430] = 4, + [13446] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(725), 1, anon_sym_EQ, - STATE(46), 1, + STATE(47), 1, sym_assignment_operator, ACTIONS(238), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [13444] = 4, + [13460] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(633), 1, @@ -18933,7 +18949,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(99), 1, sym_block, - [13457] = 4, + [13473] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(727), 1, @@ -18942,7 +18958,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(161), 1, sym_block, - [13470] = 4, + [13486] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(629), 1, @@ -18951,7 +18967,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(61), 1, sym_block, - [13483] = 4, + [13499] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(633), 1, @@ -18960,7 +18976,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(90), 1, sym_block, - [13496] = 4, + [13512] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(633), 1, @@ -18969,7 +18985,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(247), 1, sym_block, - [13509] = 4, + [13525] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(629), 1, @@ -18978,16 +18994,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(237), 1, sym_block, - [13522] = 4, + [13538] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(629), 1, anon_sym_async, ACTIONS(631), 1, anon_sym_LBRACE, - STATE(77), 1, + STATE(71), 1, sym_block, - [13535] = 4, + [13551] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(731), 1, @@ -18996,160 +19012,160 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, STATE(343), 1, sym_type_definition, - [13548] = 4, + [13564] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(727), 1, anon_sym_async, ACTIONS(729), 1, anon_sym_LBRACE, - STATE(163), 1, + STATE(166), 1, sym_block, - [13561] = 3, + [13577] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(329), 1, sym_type_definition, - [13571] = 3, + [13587] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(324), 1, sym_type_definition, - [13581] = 3, + [13597] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(321), 1, sym_type_definition, - [13591] = 3, + [13607] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(323), 1, sym_type_definition, - [13601] = 3, + [13617] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(322), 1, sym_type_definition, - [13611] = 3, + [13627] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(327), 1, sym_type_definition, - [13621] = 3, + [13637] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(733), 1, anon_sym_LT, STATE(287), 1, sym_type_definition, - [13631] = 2, + [13647] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(735), 1, anon_sym_RBRACK, - [13638] = 2, + [13654] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(737), 1, anon_sym_RPAREN, - [13645] = 2, + [13661] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(739), 1, anon_sym_LPAREN, - [13652] = 2, + [13668] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(741), 1, anon_sym_GT, - [13659] = 2, + [13675] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(743), 1, anon_sym_LBRACE, - [13666] = 2, + [13682] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(745), 1, anon_sym_LPAREN, - [13673] = 2, + [13689] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(747), 1, anon_sym_EQ, - [13680] = 2, + [13696] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(679), 1, anon_sym_EQ_GT, - [13687] = 2, + [13703] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(749), 1, anon_sym_in, - [13694] = 2, + [13710] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(751), 1, anon_sym_LPAREN, - [13701] = 2, + [13717] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(753), 1, anon_sym_LBRACE, - [13708] = 2, + [13724] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(755), 1, anon_sym_LBRACE, - [13715] = 2, + [13731] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(757), 1, anon_sym_LPAREN, - [13722] = 2, + [13738] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(759), 1, anon_sym_LPAREN, - [13729] = 2, + [13745] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(761), 1, anon_sym_LPAREN, - [13736] = 2, + [13752] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(763), 1, anon_sym_in, - [13743] = 2, + [13759] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(765), 1, anon_sym_LBRACE, - [13750] = 2, + [13766] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(767), 1, anon_sym_LBRACE, - [13757] = 2, + [13773] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(769), 1, ts_builtin_sym_end, - [13764] = 2, + [13780] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(771), 1, @@ -19191,23 +19207,23 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(109)] = 1994, [SMALL_STATE(110)] = 2063, [SMALL_STATE(111)] = 2127, - [SMALL_STATE(112)] = 2199, - [SMALL_STATE(113)] = 2271, + [SMALL_STATE(112)] = 2201, + [SMALL_STATE(113)] = 2273, [SMALL_STATE(114)] = 2345, [SMALL_STATE(115)] = 2418, [SMALL_STATE(116)] = 2491, - [SMALL_STATE(117)] = 2561, - [SMALL_STATE(118)] = 2633, - [SMALL_STATE(119)] = 2693, - [SMALL_STATE(120)] = 2765, + [SMALL_STATE(117)] = 2563, + [SMALL_STATE(118)] = 2623, + [SMALL_STATE(119)] = 2695, + [SMALL_STATE(120)] = 2755, [SMALL_STATE(121)] = 2825, [SMALL_STATE(122)] = 2885, [SMALL_STATE(123)] = 2943, [SMALL_STATE(124)] = 3015, [SMALL_STATE(125)] = 3073, - [SMALL_STATE(126)] = 3142, - [SMALL_STATE(127)] = 3199, - [SMALL_STATE(128)] = 3282, + [SMALL_STATE(126)] = 3132, + [SMALL_STATE(127)] = 3189, + [SMALL_STATE(128)] = 3258, [SMALL_STATE(129)] = 3341, [SMALL_STATE(130)] = 3424, [SMALL_STATE(131)] = 3507, @@ -19243,9 +19259,9 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(161)] = 5459, [SMALL_STATE(162)] = 5511, [SMALL_STATE(163)] = 5563, - [SMALL_STATE(164)] = 5615, - [SMALL_STATE(165)] = 5695, - [SMALL_STATE(166)] = 5747, + [SMALL_STATE(164)] = 5643, + [SMALL_STATE(165)] = 5723, + [SMALL_STATE(166)] = 5775, [SMALL_STATE(167)] = 5827, [SMALL_STATE(168)] = 5904, [SMALL_STATE(169)] = 5981, @@ -19381,74 +19397,74 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(299)] = 12933, [SMALL_STATE(300)] = 12973, [SMALL_STATE(301)] = 13013, - [SMALL_STATE(302)] = 13036, - [SMALL_STATE(303)] = 13059, - [SMALL_STATE(304)] = 13079, - [SMALL_STATE(305)] = 13099, - [SMALL_STATE(306)] = 13119, - [SMALL_STATE(307)] = 13139, - [SMALL_STATE(308)] = 13170, - [SMALL_STATE(309)] = 13201, - [SMALL_STATE(310)] = 13232, - [SMALL_STATE(311)] = 13252, - [SMALL_STATE(312)] = 13277, - [SMALL_STATE(313)] = 13302, - [SMALL_STATE(314)] = 13327, - [SMALL_STATE(315)] = 13352, - [SMALL_STATE(316)] = 13369, - [SMALL_STATE(317)] = 13394, - [SMALL_STATE(318)] = 13406, - [SMALL_STATE(319)] = 13418, - [SMALL_STATE(320)] = 13430, - [SMALL_STATE(321)] = 13444, - [SMALL_STATE(322)] = 13457, - [SMALL_STATE(323)] = 13470, - [SMALL_STATE(324)] = 13483, - [SMALL_STATE(325)] = 13496, - [SMALL_STATE(326)] = 13509, - [SMALL_STATE(327)] = 13522, - [SMALL_STATE(328)] = 13535, - [SMALL_STATE(329)] = 13548, - [SMALL_STATE(330)] = 13561, - [SMALL_STATE(331)] = 13571, - [SMALL_STATE(332)] = 13581, - [SMALL_STATE(333)] = 13591, - [SMALL_STATE(334)] = 13601, - [SMALL_STATE(335)] = 13611, - [SMALL_STATE(336)] = 13621, - [SMALL_STATE(337)] = 13631, - [SMALL_STATE(338)] = 13638, - [SMALL_STATE(339)] = 13645, - [SMALL_STATE(340)] = 13652, - [SMALL_STATE(341)] = 13659, - [SMALL_STATE(342)] = 13666, - [SMALL_STATE(343)] = 13673, - [SMALL_STATE(344)] = 13680, - [SMALL_STATE(345)] = 13687, - [SMALL_STATE(346)] = 13694, - [SMALL_STATE(347)] = 13701, - [SMALL_STATE(348)] = 13708, - [SMALL_STATE(349)] = 13715, - [SMALL_STATE(350)] = 13722, - [SMALL_STATE(351)] = 13729, - [SMALL_STATE(352)] = 13736, - [SMALL_STATE(353)] = 13743, - [SMALL_STATE(354)] = 13750, - [SMALL_STATE(355)] = 13757, - [SMALL_STATE(356)] = 13764, + [SMALL_STATE(302)] = 13037, + [SMALL_STATE(303)] = 13061, + [SMALL_STATE(304)] = 13082, + [SMALL_STATE(305)] = 13103, + [SMALL_STATE(306)] = 13124, + [SMALL_STATE(307)] = 13145, + [SMALL_STATE(308)] = 13177, + [SMALL_STATE(309)] = 13209, + [SMALL_STATE(310)] = 13241, + [SMALL_STATE(311)] = 13262, + [SMALL_STATE(312)] = 13288, + [SMALL_STATE(313)] = 13314, + [SMALL_STATE(314)] = 13340, + [SMALL_STATE(315)] = 13366, + [SMALL_STATE(316)] = 13384, + [SMALL_STATE(317)] = 13410, + [SMALL_STATE(318)] = 13422, + [SMALL_STATE(319)] = 13434, + [SMALL_STATE(320)] = 13446, + [SMALL_STATE(321)] = 13460, + [SMALL_STATE(322)] = 13473, + [SMALL_STATE(323)] = 13486, + [SMALL_STATE(324)] = 13499, + [SMALL_STATE(325)] = 13512, + [SMALL_STATE(326)] = 13525, + [SMALL_STATE(327)] = 13538, + [SMALL_STATE(328)] = 13551, + [SMALL_STATE(329)] = 13564, + [SMALL_STATE(330)] = 13577, + [SMALL_STATE(331)] = 13587, + [SMALL_STATE(332)] = 13597, + [SMALL_STATE(333)] = 13607, + [SMALL_STATE(334)] = 13617, + [SMALL_STATE(335)] = 13627, + [SMALL_STATE(336)] = 13637, + [SMALL_STATE(337)] = 13647, + [SMALL_STATE(338)] = 13654, + [SMALL_STATE(339)] = 13661, + [SMALL_STATE(340)] = 13668, + [SMALL_STATE(341)] = 13675, + [SMALL_STATE(342)] = 13682, + [SMALL_STATE(343)] = 13689, + [SMALL_STATE(344)] = 13696, + [SMALL_STATE(345)] = 13703, + [SMALL_STATE(346)] = 13710, + [SMALL_STATE(347)] = 13717, + [SMALL_STATE(348)] = 13724, + [SMALL_STATE(349)] = 13731, + [SMALL_STATE(350)] = 13738, + [SMALL_STATE(351)] = 13745, + [SMALL_STATE(352)] = 13752, + [SMALL_STATE(353)] = 13759, + [SMALL_STATE(354)] = 13766, + [SMALL_STATE(355)] = 13773, + [SMALL_STATE(356)] = 13780, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), - [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(347), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(356), [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), @@ -19461,13 +19477,13 @@ static const TSParseActionEntry ts_parse_actions[] = { [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(53), + [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), [46] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(347), [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), - [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(71), - [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(71), + [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(77), + [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(77), [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(76), - [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(166), + [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(163), [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(72), [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(356), [70] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(167), @@ -19479,7 +19495,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(195), [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(56), [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), [98] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), [102] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), @@ -19489,7 +19505,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [110] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), [112] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342), [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(263), @@ -19530,10 +19546,10 @@ static const TSParseActionEntry ts_parse_actions[] = { [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190), [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), - [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), @@ -19575,19 +19591,19 @@ static const TSParseActionEntry ts_parse_actions[] = { [282] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), + [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_option, 1), [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_option, 1), [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [304] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [304] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), - [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), @@ -19596,18 +19612,18 @@ static const TSParseActionEntry ts_parse_actions[] = { [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [336] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), - [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351), - [346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [336] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), + [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), + [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), [358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), @@ -19625,7 +19641,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(344), [394] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(152), [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), [401] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(102), [404] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(271), [407] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(101), @@ -19642,7 +19658,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), [445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), [449] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(102), @@ -19656,9 +19672,9 @@ static const TSParseActionEntry ts_parse_actions[] = { [472] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(342), [475] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(171), [478] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(96), - [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), [487] = {.entry = {.count = 1, .reusable = false}}, SHIFT(274), [489] = {.entry = {.count = 1, .reusable = false}}, SHIFT(276), [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), @@ -19712,10 +19728,10 @@ static const TSParseActionEntry ts_parse_actions[] = { [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), [591] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_definition, 3), [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [601] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(53), + [601] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(54), [604] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), [606] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(56), [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), @@ -19723,7 +19739,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), - [619] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(53), + [619] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(54), [622] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), [624] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(56), [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), @@ -19761,22 +19777,22 @@ static const TSParseActionEntry ts_parse_actions[] = { [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), - [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), - [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), + [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), [705] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(313), - [708] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(307), - [711] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [713] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(303), + [708] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(303), + [711] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(307), + [714] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), [716] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(339), [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), [723] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), - [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305),