diff --git a/examples/jq_data.ds b/examples/jq_data.ds index 3b0d699..26a9ee8 100644 --- a/examples/jq_data.ds +++ b/examples/jq_data.ds @@ -4,8 +4,8 @@ new_data = [] for commit_data in data { new_data += { - message = commit_data.commit.message - name = commit_data.commit.committer.name + message = commit_data:commit:message + name = commit_data:commit:committer:name } } diff --git a/src/error.rs b/src/error.rs index e9bcd81..12920d5 100644 --- a/src/error.rs +++ b/src/error.rs @@ -397,10 +397,14 @@ impl fmt::Display for Error { actual, location, relevant_source, - } => write!( - f, - "Expected {expected}, but got {actual} at {location}. Code: {relevant_source} ", - ), + } => { + let location = get_position(location); + + write!( + f, + "Expected {expected}, but got {actual} at {location}. Code: {relevant_source} ", + ) + } WrongColumnAmount { expected, actual } => write!( f, "Wrong column amount. Expected {expected} but got {actual}." @@ -408,7 +412,9 @@ impl fmt::Display for Error { External(message) => write!(f, "External error: {message}"), CustomMessage(message) => write!(f, "{message}"), Syntax { source, location } => { - write!(f, "Syntax error at {location}, this is not valid: {source}") + let location = get_position(location); + + write!(f, "Syntax error at {location}: {source}") } TypeCheck { expected, actual } => write!( f, @@ -418,7 +424,11 @@ impl fmt::Display for Error { error, location, source, - } => write!(f, "{error} Occured at {location}: \"{source}\""), + } => { + let location = get_position(location); + + write!(f, "{error} Occured at {location}: \"{source}\"") + } SerdeJson(message) => write!(f, "JSON processing error: {message}"), ParserCancelled => write!( f, @@ -427,3 +437,7 @@ impl fmt::Display for Error { } } } + +fn get_position(position: &Point) -> String { + format!("column {}, row {}", position.row + 1, position.column) +} diff --git a/src/interpret.rs b/src/interpret.rs index f8223c3..4c1e9b8 100644 --- a/src/interpret.rs +++ b/src/interpret.rs @@ -2,7 +2,7 @@ //! //! You can use this library externally by calling either of the "eval" //! functions or by constructing your own Evaluator. -use tree_sitter::{Parser, Tree as TSTree}; +use tree_sitter::{Node, Parser, Tree as TSTree, TreeCursor}; use crate::{language, AbstractTree, Error, Map, Result, Root, Value}; @@ -69,12 +69,39 @@ impl Interpreter { }) } - pub fn parse_only(&mut self, source: &str) { - self.syntax_tree = self.parser.parse(source, self.syntax_tree.as_ref()); + pub fn parse(&mut self, source: &str) -> Result<()> { + fn check_for_error(source: &str, node: Node, cursor: &mut TreeCursor) -> Result<()> { + if node.is_error() { + Err(Error::Syntax { + source: source[node.byte_range()].to_string(), + location: node.start_position(), + }) + } else { + for child in node.children(&mut cursor.clone()) { + check_for_error(source, child, cursor)?; + } + + Ok(()) + } + } + + let syntax_tree = self.parser.parse(source, None); + + if let Some(tree) = &syntax_tree { + let root = tree.root_node(); + let mut cursor = root.walk(); + + check_for_error(source, root, &mut cursor)?; + } + + self.syntax_tree = syntax_tree; + + Ok(()) } pub fn run(&mut self, source: &str) -> Result { - self.syntax_tree = self.parser.parse(source, self.syntax_tree.as_ref()); + self.parse(source)?; + self.abstract_tree = if let Some(syntax_tree) = &self.syntax_tree { Some(Root::from_syntax_node( source, diff --git a/src/main.rs b/src/main.rs index 3df2867..fafb731 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,7 +75,7 @@ fn main() { let mut interpreter = Interpreter::new(context).unwrap(); if args.show_syntax_tree { - interpreter.parse_only(&source); + interpreter.parse(&source).unwrap(); println!("{}", interpreter.syntax_tree().unwrap()); } diff --git a/test.ds b/test.ds new file mode 100644 index 0000000..0333dbc --- /dev/null +++ b/test.ds @@ -0,0 +1,2 @@ +fn = (x ) {} +fn(1) diff --git a/tests/interpret.rs b/tests/interpret.rs index 78dc4a2..fb4b5d0 100644 --- a/tests/interpret.rs +++ b/tests/interpret.rs @@ -94,27 +94,27 @@ mod value { use dust_lang::*; #[test] - fn interpret_empty() { + fn empty() { assert_eq!(interpret("x = 9"), Ok(Value::Option(None))); assert_eq!(interpret("x = 1 + 1"), Ok(Value::Option(None))); } #[test] - fn interpret_integer() { + fn integer() { assert_eq!(interpret("1"), Ok(Value::Integer(1))); assert_eq!(interpret("123"), Ok(Value::Integer(123))); assert_eq!(interpret("-666"), Ok(Value::Integer(-666))); } #[test] - fn interpret_float() { + fn float() { assert_eq!(interpret("0.1"), Ok(Value::Float(0.1))); assert_eq!(interpret("12.3"), Ok(Value::Float(12.3))); assert_eq!(interpret("-6.66"), Ok(Value::Float(-6.66))); } #[test] - fn interpret_string() { + fn string() { assert_eq!(interpret("\"one\""), Ok(Value::String("one".to_string()))); assert_eq!(interpret("'one'"), Ok(Value::String("one".to_string()))); assert_eq!(interpret("`one`"), Ok(Value::String("one".to_string()))); @@ -127,7 +127,7 @@ mod value { } #[test] - fn interpret_list() { + fn list() { assert_eq!( interpret("[1, 2, 'foobar']"), Ok(Value::List(List::with_items(vec![ @@ -139,7 +139,7 @@ mod value { } #[test] - fn interpret_map() { + fn map() { let map = Map::new(); map.set("x".to_string(), Value::Integer(1), None).unwrap(); @@ -150,7 +150,7 @@ mod value { } #[test] - fn interpret_map_types() { + fn map_types() { let map = Map::new(); map.set("x".to_string(), Value::Integer(1), Some(Type::Integer)) @@ -169,7 +169,7 @@ mod value { } #[test] - fn interpret_map_type_errors() { + fn map_type_errors() { assert!(interpret("{ foo = 'bar' }") .unwrap_err() .is_type_check_error(&Error::TypeCheck { @@ -179,15 +179,15 @@ mod value { } #[test] - fn interpret_function() { - let result = interpret("() -> { 1 }"); + fn function() { + let result = interpret("() { 1 }"); let value = result.unwrap(); let function = value.as_function().unwrap(); assert_eq!(&Vec::::with_capacity(0), function.parameters()); assert_eq!(&Type::Integer, function.return_type()); - let result = interpret("(x ) -> {true}"); + let result = interpret("(x ) { true }"); let value = result.unwrap(); let function = value.as_function().unwrap(); @@ -199,7 +199,7 @@ mod value { } #[test] - fn interpret_option() { + fn option() { let result = interpret("x = some(1); x").unwrap(); assert_eq!(Value::Option(Some(Box::new(Value::Integer(1)))), result); @@ -210,11 +210,11 @@ mod function_call { use dust_lang::*; #[test] - fn interpret_function_call() { + fn function_call() { assert_eq!( interpret( " - foobar = (message ) -> { message } + foobar = (message ) { message } foobar('Hiya') ", ), @@ -223,7 +223,20 @@ mod function_call { } #[test] - fn interpret_callback() { + fn call_empty_function() { + assert_eq!( + interpret( + " + foobar = (message ) {} + foobar('Hiya') + ", + ), + Ok(Value::none()) + ); + } + + #[test] + fn callback() { assert_eq!( interpret( " @@ -238,7 +251,7 @@ mod function_call { } #[test] - fn interpret_built_in_function_call() { + fn built_in_function_call() { assert_eq!(interpret("output('Hiya')"), Ok(Value::Option(None))); } } @@ -247,7 +260,7 @@ mod if_else { use dust_lang::*; #[test] - fn interpret_if() { + fn r#if() { assert_eq!( interpret("if true { 'true' }"), Ok(Value::String("true".to_string())) @@ -255,7 +268,7 @@ mod if_else { } #[test] - fn interpret_if_else() { + fn if_else() { assert_eq!( interpret("if false { 1 } else { 2 }"), Ok(Value::Integer(2)) @@ -267,7 +280,7 @@ mod if_else { } #[test] - fn interpret_if_else_else_if_else() { + fn if_else_else_if_else() { assert_eq!( interpret( " @@ -285,7 +298,7 @@ mod if_else { } #[test] - fn interpret_if_else_if_else_if_else_if_else() { + fn if_else_if_else_if_else_if_else() { assert_eq!( interpret( " @@ -329,13 +342,13 @@ mod index { let test = interpret( " x = [1 2 3] - y = () -> { 0 } + y = () { 2 } x:y() ", ) .unwrap(); - assert_eq!(Value::Integer(1), test); + assert_eq!(Value::Integer(3), test); } } @@ -343,7 +356,7 @@ mod r#match { use dust_lang::*; #[test] - fn interpret_match() { + fn r#match() { let test = interpret( " match 1 { @@ -359,7 +372,7 @@ mod r#match { } #[test] - fn interpret_match_assignment() { + fn match_assignment() { let test = interpret( " x = match 1 { @@ -380,7 +393,7 @@ mod r#while { use dust_lang::*; #[test] - fn interpret_while_loop() { + fn while_loop() { assert_eq!(interpret("while false { 'foo' }"), Ok(Value::Option(None))) } @@ -428,19 +441,4 @@ mod type_definition { }, })); } - - #[test] - fn modify_value_async() { - let result = interpret( - " - fn = (x ) { - - } - - fn(1) - ", - ); - - assert_eq!(Ok(Value::none()), result); - } } diff --git a/tree-sitter-dust/corpus/functions.txt b/tree-sitter-dust/corpus/functions.txt index b72d2c3..8ba2704 100644 --- a/tree-sitter-dust/corpus/functions.txt +++ b/tree-sitter-dust/corpus/functions.txt @@ -2,7 +2,7 @@ Anonymous Function ================================================================================ -() { "Hiya" } +() -> { "Hiya" } -------------------------------------------------------------------------------- diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index ecb1a48..4dd6485 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -11,14 +11,6 @@ module.exports = grammar({ _comment: $ => /[#][^#\n]*[#|\n]/, - block: $ => - seq( - optional('async'), - '{', - repeat1($.statement), - '}', - ), - statement: $ => prec.left( seq( @@ -70,6 +62,14 @@ module.exports = grammar({ ), ), + block: $ => + seq( + optional('async'), + '{', + repeat($.statement), + '}', + ), + identifier: $ => choice( $._identifier_pattern, @@ -175,7 +175,7 @@ module.exports = grammar({ map: $ => seq( '{', - repeat( + repeat1( seq( $.identifier, optional($.type_definition), diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index ac400de..ac7f28f 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -17,38 +17,6 @@ "type": "PATTERN", "value": "[#][^#\\n]*[#|\\n]" }, - "block": { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "async" - }, - { - "type": "BLANK" - } - ] - }, - { - "type": "STRING", - "value": "{" - }, - { - "type": "REPEAT1", - "content": { - "type": "SYMBOL", - "name": "statement" - } - }, - { - "type": "STRING", - "value": "}" - } - ] - }, "statement": { "type": "PREC_LEFT", "value": 0, @@ -202,6 +170,38 @@ } } }, + "block": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "{" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "statement" + } + }, + { + "type": "STRING", + "value": "}" + } + ] + }, "identifier": { "type": "CHOICE", "members": [ @@ -518,7 +518,7 @@ "value": "{" }, { - "type": "REPEAT", + "type": "REPEAT1", "content": { "type": "SEQ", "members": [ diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index b302af1..10b6840 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -37,7 +37,7 @@ "fields": {}, "children": { "multiple": true, - "required": true, + "required": false, "types": [ { "type": "statement", @@ -365,7 +365,7 @@ "fields": {}, "children": { "multiple": true, - "required": false, + "required": true, "types": [ { "type": "identifier", diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index 5199da7..6e6b1cc 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,7 +6,7 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 379 +#define STATE_COUNT 381 #define LARGE_STATE_COUNT 76 #define SYMBOL_COUNT 118 #define ALIAS_COUNT 0 @@ -19,13 +19,13 @@ enum { sym__identifier_pattern = 1, sym__comment = 2, - anon_sym_async = 3, - anon_sym_LBRACE = 4, - anon_sym_RBRACE = 5, - anon_sym_SEMI = 6, - anon_sym_LPAREN = 7, - anon_sym_RPAREN = 8, - anon_sym_COMMA = 9, + anon_sym_SEMI = 3, + anon_sym_LPAREN = 4, + anon_sym_RPAREN = 5, + anon_sym_COMMA = 6, + anon_sym_async = 7, + anon_sym_LBRACE = 8, + anon_sym_RBRACE = 9, sym_integer = 10, sym_float = 11, sym_string = 12, @@ -93,11 +93,11 @@ enum { anon_sym_to_json = 74, anon_sym_write = 75, sym_root = 76, - sym_block = 77, - sym_statement = 78, - sym_expression = 79, - sym__expression_kind = 80, - aux_sym__expression_list = 81, + sym_statement = 77, + sym_expression = 78, + sym__expression_kind = 79, + aux_sym__expression_list = 80, + sym_block = 81, sym_identifier = 82, sym_value = 83, sym_boolean = 84, @@ -140,13 +140,13 @@ static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", [sym__identifier_pattern] = "_identifier_pattern", [sym__comment] = "_comment", - [anon_sym_async] = "async", - [anon_sym_LBRACE] = "{", - [anon_sym_RBRACE] = "}", [anon_sym_SEMI] = ";", [anon_sym_LPAREN] = "(", [anon_sym_RPAREN] = ")", [anon_sym_COMMA] = ",", + [anon_sym_async] = "async", + [anon_sym_LBRACE] = "{", + [anon_sym_RBRACE] = "}", [sym_integer] = "integer", [sym_float] = "float", [sym_string] = "string", @@ -214,11 +214,11 @@ static const char * const ts_symbol_names[] = { [anon_sym_to_json] = "to_json", [anon_sym_write] = "write", [sym_root] = "root", - [sym_block] = "block", [sym_statement] = "statement", [sym_expression] = "expression", [sym__expression_kind] = "_expression_kind", [aux_sym__expression_list] = "_expression_list", + [sym_block] = "block", [sym_identifier] = "identifier", [sym_value] = "value", [sym_boolean] = "boolean", @@ -261,13 +261,13 @@ static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, [sym__identifier_pattern] = sym__identifier_pattern, [sym__comment] = sym__comment, - [anon_sym_async] = anon_sym_async, - [anon_sym_LBRACE] = anon_sym_LBRACE, - [anon_sym_RBRACE] = anon_sym_RBRACE, [anon_sym_SEMI] = anon_sym_SEMI, [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_RPAREN] = anon_sym_RPAREN, [anon_sym_COMMA] = anon_sym_COMMA, + [anon_sym_async] = anon_sym_async, + [anon_sym_LBRACE] = anon_sym_LBRACE, + [anon_sym_RBRACE] = anon_sym_RBRACE, [sym_integer] = sym_integer, [sym_float] = sym_float, [sym_string] = sym_string, @@ -335,11 +335,11 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_to_json] = anon_sym_to_json, [anon_sym_write] = anon_sym_write, [sym_root] = sym_root, - [sym_block] = sym_block, [sym_statement] = sym_statement, [sym_expression] = sym_expression, [sym__expression_kind] = sym__expression_kind, [aux_sym__expression_list] = aux_sym__expression_list, + [sym_block] = sym_block, [sym_identifier] = sym_identifier, [sym_value] = sym_value, [sym_boolean] = sym_boolean, @@ -391,18 +391,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, - [anon_sym_async] = { - .visible = true, - .named = false, - }, - [anon_sym_LBRACE] = { - .visible = true, - .named = false, - }, - [anon_sym_RBRACE] = { - .visible = true, - .named = false, - }, [anon_sym_SEMI] = { .visible = true, .named = false, @@ -419,6 +407,18 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_async] = { + .visible = true, + .named = false, + }, + [anon_sym_LBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACE] = { + .visible = true, + .named = false, + }, [sym_integer] = { .visible = true, .named = true, @@ -687,10 +687,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_block] = { - .visible = true, - .named = true, - }, [sym_statement] = { .visible = true, .named = true, @@ -707,6 +703,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [sym_block] = { + .visible = true, + .named = true, + }, [sym_identifier] = { .visible = true, .named = true, @@ -865,53 +865,53 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, - [3] = 3, - [4] = 3, - [5] = 3, + [3] = 2, + [4] = 2, + [5] = 5, [6] = 6, [7] = 6, - [8] = 6, + [8] = 8, [9] = 9, - [10] = 9, - [11] = 11, - [12] = 9, - [13] = 6, - [14] = 6, - [15] = 9, - [16] = 9, - [17] = 17, - [18] = 18, - [19] = 17, - [20] = 18, - [21] = 17, - [22] = 17, - [23] = 18, - [24] = 18, - [25] = 17, - [26] = 18, + [10] = 10, + [11] = 10, + [12] = 12, + [13] = 8, + [14] = 9, + [15] = 10, + [16] = 10, + [17] = 6, + [18] = 9, + [19] = 8, + [20] = 10, + [21] = 6, + [22] = 8, + [23] = 8, + [24] = 6, + [25] = 9, + [26] = 9, [27] = 27, [28] = 28, - [29] = 28, + [29] = 29, [30] = 30, - [31] = 27, - [32] = 28, + [31] = 31, + [32] = 29, [33] = 33, - [34] = 33, - [35] = 35, - [36] = 36, - [37] = 37, - [38] = 33, - [39] = 27, - [40] = 40, + [34] = 34, + [35] = 31, + [36] = 33, + [37] = 31, + [38] = 38, + [39] = 33, + [40] = 29, [41] = 41, [42] = 42, - [43] = 41, + [43] = 42, [44] = 44, [45] = 45, - [46] = 46, + [46] = 45, [47] = 44, - [48] = 45, - [49] = 42, + [48] = 48, + [49] = 41, [50] = 50, [51] = 51, [52] = 52, @@ -921,16 +921,16 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [56] = 56, [57] = 57, [58] = 58, - [59] = 53, - [60] = 57, + [59] = 59, + [60] = 60, [61] = 61, [62] = 62, [63] = 63, [64] = 64, [65] = 65, [66] = 66, - [67] = 67, - [68] = 68, + [67] = 58, + [68] = 55, [69] = 69, [70] = 70, [71] = 71, @@ -941,251 +941,251 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [76] = 76, [77] = 77, [78] = 77, - [79] = 41, + [79] = 42, [80] = 42, [81] = 41, [82] = 45, [83] = 44, - [84] = 42, + [84] = 45, [85] = 44, - [86] = 45, - [87] = 71, - [88] = 69, - [89] = 74, - [90] = 57, - [91] = 53, - [92] = 66, - [93] = 73, + [86] = 41, + [87] = 74, + [88] = 58, + [89] = 54, + [90] = 63, + [91] = 62, + [92] = 57, + [93] = 56, [94] = 75, - [95] = 46, - [96] = 64, - [97] = 52, - [98] = 63, - [99] = 70, - [100] = 50, - [101] = 62, - [102] = 72, - [103] = 67, - [104] = 56, - [105] = 53, - [106] = 57, - [107] = 54, - [108] = 61, - [109] = 55, - [110] = 58, - [111] = 51, - [112] = 68, - [113] = 76, + [95] = 66, + [96] = 53, + [97] = 51, + [98] = 64, + [99] = 59, + [100] = 72, + [101] = 69, + [102] = 61, + [103] = 55, + [104] = 71, + [105] = 70, + [106] = 73, + [107] = 48, + [108] = 52, + [109] = 58, + [110] = 55, + [111] = 50, + [112] = 65, + [113] = 77, [114] = 77, - [115] = 77, + [115] = 76, [116] = 116, [117] = 117, - [118] = 41, - [119] = 42, - [120] = 117, - [121] = 121, - [122] = 41, - [123] = 45, - [124] = 124, - [125] = 44, + [118] = 44, + [119] = 119, + [120] = 120, + [121] = 45, + [122] = 42, + [123] = 117, + [124] = 42, + [125] = 41, [126] = 126, [127] = 127, [128] = 128, [129] = 129, - [130] = 129, - [131] = 131, + [130] = 41, + [131] = 44, [132] = 132, - [133] = 132, + [133] = 128, [134] = 134, - [135] = 126, + [135] = 129, [136] = 136, - [137] = 129, - [138] = 138, - [139] = 128, - [140] = 126, - [141] = 128, - [142] = 128, - [143] = 134, - [144] = 134, - [145] = 44, - [146] = 45, - [147] = 128, - [148] = 42, - [149] = 136, - [150] = 136, - [151] = 138, - [152] = 132, + [137] = 126, + [138] = 134, + [139] = 139, + [140] = 128, + [141] = 139, + [142] = 45, + [143] = 132, + [144] = 139, + [145] = 126, + [146] = 134, + [147] = 132, + [148] = 126, + [149] = 149, + [150] = 126, + [151] = 127, + [152] = 129, [153] = 58, - [154] = 71, - [155] = 46, - [156] = 75, - [157] = 73, - [158] = 66, - [159] = 57, - [160] = 50, - [161] = 53, - [162] = 55, - [163] = 52, - [164] = 64, - [165] = 63, - [166] = 72, - [167] = 53, - [168] = 57, - [169] = 54, - [170] = 69, - [171] = 61, - [172] = 56, - [173] = 62, - [174] = 67, - [175] = 70, - [176] = 74, + [154] = 75, + [155] = 59, + [156] = 56, + [157] = 66, + [158] = 51, + [159] = 69, + [160] = 74, + [161] = 73, + [162] = 57, + [163] = 48, + [164] = 63, + [165] = 54, + [166] = 61, + [167] = 55, + [168] = 58, + [169] = 64, + [170] = 72, + [171] = 71, + [172] = 52, + [173] = 55, + [174] = 70, + [175] = 53, + [176] = 62, [177] = 177, [178] = 178, - [179] = 179, + [179] = 178, [180] = 180, - [181] = 181, - [182] = 178, + [181] = 177, + [182] = 182, [183] = 183, - [184] = 180, - [185] = 181, + [184] = 182, + [185] = 185, [186] = 186, - [187] = 186, - [188] = 188, + [187] = 187, + [188] = 177, [189] = 189, - [190] = 180, + [190] = 182, [191] = 178, - [192] = 178, - [193] = 193, - [194] = 179, - [195] = 189, - [196] = 196, - [197] = 181, + [192] = 182, + [193] = 180, + [194] = 185, + [195] = 195, + [196] = 182, + [197] = 197, [198] = 177, - [199] = 199, - [200] = 183, - [201] = 180, - [202] = 183, - [203] = 178, - [204] = 199, - [205] = 183, - [206] = 178, - [207] = 193, - [208] = 189, - [209] = 199, - [210] = 196, - [211] = 181, - [212] = 181, - [213] = 180, - [214] = 183, - [215] = 196, - [216] = 181, - [217] = 177, - [218] = 188, - [219] = 186, - [220] = 180, - [221] = 183, + [199] = 195, + [200] = 180, + [201] = 177, + [202] = 187, + [203] = 180, + [204] = 195, + [205] = 197, + [206] = 182, + [207] = 180, + [208] = 208, + [209] = 177, + [210] = 180, + [211] = 186, + [212] = 189, + [213] = 178, + [214] = 178, + [215] = 183, + [216] = 186, + [217] = 189, + [218] = 208, + [219] = 178, + [220] = 208, + [221] = 187, [222] = 222, [223] = 223, - [224] = 51, + [224] = 50, [225] = 225, - [226] = 68, + [226] = 65, [227] = 227, - [228] = 55, - [229] = 52, - [230] = 230, + [228] = 52, + [229] = 59, + [230] = 72, [231] = 231, - [232] = 232, - [233] = 76, - [234] = 77, - [235] = 235, + [232] = 77, + [233] = 233, + [234] = 234, + [235] = 77, [236] = 236, [237] = 237, [238] = 238, [239] = 239, - [240] = 77, - [241] = 236, - [242] = 242, + [240] = 76, + [241] = 241, + [242] = 237, [243] = 243, [244] = 244, [245] = 245, - [246] = 222, - [247] = 223, - [248] = 225, - [249] = 249, - [250] = 230, - [251] = 55, + [246] = 246, + [247] = 222, + [248] = 223, + [249] = 225, + [250] = 250, + [251] = 231, [252] = 227, - [253] = 52, - [254] = 243, - [255] = 242, - [256] = 237, - [257] = 236, - [258] = 236, - [259] = 232, - [260] = 231, - [261] = 245, - [262] = 238, - [263] = 235, - [264] = 244, - [265] = 239, - [266] = 266, - [267] = 267, + [253] = 59, + [254] = 52, + [255] = 72, + [256] = 234, + [257] = 233, + [258] = 244, + [259] = 237, + [260] = 239, + [261] = 241, + [262] = 237, + [263] = 246, + [264] = 243, + [265] = 245, + [266] = 238, + [267] = 236, [268] = 268, [269] = 269, [270] = 270, [271] = 271, - [272] = 222, - [273] = 223, - [274] = 274, - [275] = 275, + [272] = 272, + [273] = 273, + [274] = 223, + [275] = 222, [276] = 276, [277] = 277, - [278] = 277, - [279] = 275, - [280] = 275, + [278] = 278, + [279] = 279, + [280] = 279, [281] = 281, - [282] = 282, - [283] = 276, - [284] = 276, - [285] = 277, - [286] = 286, - [287] = 287, - [288] = 286, - [289] = 286, + [282] = 277, + [283] = 277, + [284] = 279, + [285] = 285, + [286] = 285, + [287] = 285, + [288] = 288, + [289] = 289, [290] = 290, - [291] = 291, - [292] = 292, + [291] = 289, + [292] = 289, [293] = 293, [294] = 294, [295] = 295, [296] = 296, [297] = 297, - [298] = 296, - [299] = 296, - [300] = 300, - [301] = 295, - [302] = 297, - [303] = 295, - [304] = 300, - [305] = 305, - [306] = 306, + [298] = 297, + [299] = 299, + [300] = 299, + [301] = 301, + [302] = 299, + [303] = 301, + [304] = 304, + [305] = 304, + [306] = 304, [307] = 307, - [308] = 305, - [309] = 306, + [308] = 308, + [309] = 308, [310] = 310, - [311] = 305, - [312] = 312, - [313] = 312, - [314] = 312, - [315] = 312, - [316] = 312, - [317] = 312, - [318] = 318, - [319] = 318, + [311] = 311, + [312] = 311, + [313] = 311, + [314] = 314, + [315] = 314, + [316] = 314, + [317] = 314, + [318] = 314, + [319] = 314, [320] = 320, - [321] = 318, - [322] = 322, - [323] = 323, + [321] = 321, + [322] = 320, + [323] = 320, [324] = 324, [325] = 325, [326] = 326, @@ -1201,46 +1201,48 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [336] = 336, [337] = 337, [338] = 338, - [339] = 338, - [340] = 338, - [341] = 341, + [339] = 339, + [340] = 339, + [341] = 339, [342] = 342, [343] = 343, [344] = 344, - [345] = 342, - [346] = 341, - [347] = 341, - [348] = 343, - [349] = 343, - [350] = 342, - [351] = 351, - [352] = 352, - [353] = 352, - [354] = 351, + [345] = 343, + [346] = 344, + [347] = 347, + [348] = 344, + [349] = 347, + [350] = 350, + [351] = 343, + [352] = 347, + [353] = 353, + [354] = 353, [355] = 355, - [356] = 351, - [357] = 352, - [358] = 358, + [356] = 355, + [357] = 353, + [358] = 355, [359] = 359, [360] = 360, [361] = 361, [362] = 362, - [363] = 363, - [364] = 364, - [365] = 360, - [366] = 361, - [367] = 361, - [368] = 359, - [369] = 360, - [370] = 359, - [371] = 362, - [372] = 359, - [373] = 359, - [374] = 362, - [375] = 375, - [376] = 376, - [377] = 377, - [378] = 378, + [363] = 362, + [364] = 361, + [365] = 365, + [366] = 366, + [367] = 367, + [368] = 368, + [369] = 369, + [370] = 361, + [371] = 361, + [372] = 372, + [373] = 361, + [374] = 374, + [375] = 368, + [376] = 368, + [377] = 362, + [378] = 372, + [379] = 379, + [380] = 372, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1255,17 +1257,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); if (lookahead == '\'') ADVANCE(9); - if (lookahead == '(') ADVANCE(32); - if (lookahead == ')') ADVANCE(33); + if (lookahead == '(') ADVANCE(30); + if (lookahead == ')') ADVANCE(31); if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); - if (lookahead == ',') ADVANCE(34); + if (lookahead == ',') ADVANCE(32); if (lookahead == '-') ADVANCE(58); if (lookahead == '.') ADVANCE(10); if (lookahead == '/') ADVANCE(60); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(45); if (lookahead == ':') ADVANCE(52); - if (lookahead == ';') ADVANCE(31); + if (lookahead == ';') ADVANCE(29); if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(51); if (lookahead == '>') ADVANCE(67); @@ -1274,9 +1276,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '`') ADVANCE(15); if (lookahead == 'a') ADVANCE(41); if (lookahead == 'e') ADVANCE(39); - if (lookahead == '{') ADVANCE(29); + if (lookahead == '{') ADVANCE(33); if (lookahead == '|') ADVANCE(22); - if (lookahead == '}') ADVANCE(30); + if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1291,26 +1293,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); if (lookahead == '\'') ADVANCE(9); - if (lookahead == '(') ADVANCE(32); - if (lookahead == ')') ADVANCE(33); + if (lookahead == '(') ADVANCE(30); + if (lookahead == ')') ADVANCE(31); if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); - if (lookahead == ',') ADVANCE(34); + if (lookahead == ',') ADVANCE(32); if (lookahead == '-') ADVANCE(58); if (lookahead == '.') ADVANCE(10); if (lookahead == '/') ADVANCE(60); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(45); if (lookahead == ':') ADVANCE(52); - if (lookahead == ';') ADVANCE(31); + if (lookahead == ';') ADVANCE(29); if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(50); if (lookahead == '>') ADVANCE(67); if (lookahead == '[') ADVANCE(48); if (lookahead == ']') ADVANCE(49); if (lookahead == '`') ADVANCE(15); - if (lookahead == '{') ADVANCE(29); + if (lookahead == '{') ADVANCE(33); if (lookahead == '|') ADVANCE(22); - if (lookahead == '}') ADVANCE(30); + if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1323,22 +1325,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(21); if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); - if (lookahead == '(') ADVANCE(32); - if (lookahead == ')') ADVANCE(33); + if (lookahead == '(') ADVANCE(30); + if (lookahead == ')') ADVANCE(31); if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); - if (lookahead == ',') ADVANCE(34); + if (lookahead == ',') ADVANCE(32); if (lookahead == '-') ADVANCE(56); if (lookahead == '.') ADVANCE(10); if (lookahead == '/') ADVANCE(60); if (lookahead == ':') ADVANCE(52); - if (lookahead == ';') ADVANCE(31); + if (lookahead == ';') ADVANCE(29); if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(51); if (lookahead == '>') ADVANCE(67); - if (lookahead == '{') ADVANCE(29); + if (lookahead == '{') ADVANCE(33); if (lookahead == '|') ADVANCE(22); - if (lookahead == '}') ADVANCE(30); + if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1352,19 +1354,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(21); if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); - if (lookahead == '(') ADVANCE(32); + if (lookahead == '(') ADVANCE(30); if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); - if (lookahead == ',') ADVANCE(34); + if (lookahead == ',') ADVANCE(32); if (lookahead == '-') ADVANCE(56); if (lookahead == '/') ADVANCE(60); if (lookahead == ':') ADVANCE(52); - if (lookahead == ';') ADVANCE(31); + if (lookahead == ';') ADVANCE(29); if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(50); if (lookahead == '>') ADVANCE(67); if (lookahead == '|') ADVANCE(22); - if (lookahead == '}') ADVANCE(30); + if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1396,19 +1398,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '"') ADVANCE(6); if (lookahead == '#') ADVANCE(21); if (lookahead == '\'') ADVANCE(9); - if (lookahead == '(') ADVANCE(32); + if (lookahead == '(') ADVANCE(30); if (lookahead == '*') ADVANCE(59); - if (lookahead == ',') ADVANCE(34); + if (lookahead == ',') ADVANCE(32); if (lookahead == '-') ADVANCE(23); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(45); - if (lookahead == ';') ADVANCE(31); + if (lookahead == ';') ADVANCE(29); if (lookahead == '=') ADVANCE(14); if (lookahead == '>') ADVANCE(66); if (lookahead == '[') ADVANCE(48); if (lookahead == '`') ADVANCE(15); if (lookahead == 'e') ADVANCE(39); - if (lookahead == '{') ADVANCE(29); - if (lookahead == '}') ADVANCE(30); + if (lookahead == '{') ADVANCE(33); + if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1422,9 +1424,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 7: if (lookahead == '#') ADVANCE(21); - if (lookahead == '(') ADVANCE(32); - if (lookahead == ')') ADVANCE(33); - if (lookahead == ',') ADVANCE(34); + if (lookahead == '(') ADVANCE(30); + if (lookahead == ')') ADVANCE(31); + if (lookahead == ',') ADVANCE(32); if (lookahead == '-') ADVANCE(13); if (lookahead == '>') ADVANCE(66); if (lookahead == '[') ADVANCE(48); @@ -1502,7 +1504,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '%') ADVANCE(61); if (lookahead == '&') ADVANCE(8); if (lookahead == '\'') ADVANCE(9); - if (lookahead == '(') ADVANCE(32); + if (lookahead == '(') ADVANCE(30); if (lookahead == '*') ADVANCE(59); if (lookahead == '+') ADVANCE(55); if (lookahead == '-') ADVANCE(58); @@ -1510,16 +1512,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '/') ADVANCE(60); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(45); if (lookahead == ':') ADVANCE(52); - if (lookahead == ';') ADVANCE(31); + if (lookahead == ';') ADVANCE(29); if (lookahead == '<') ADVANCE(68); if (lookahead == '=') ADVANCE(50); if (lookahead == '>') ADVANCE(67); if (lookahead == '[') ADVANCE(48); if (lookahead == '`') ADVANCE(15); if (lookahead == 'a') ADVANCE(41); - if (lookahead == '{') ADVANCE(29); + if (lookahead == '{') ADVANCE(33); if (lookahead == '|') ADVANCE(22); - if (lookahead == '}') ADVANCE(30); + if (lookahead == '}') ADVANCE(34); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1541,23 +1543,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0) ADVANCE(21); END_STATE(); case 29: - ACCEPT_TOKEN(anon_sym_LBRACE); - END_STATE(); - case 30: - ACCEPT_TOKEN(anon_sym_RBRACE); - END_STATE(); - case 31: ACCEPT_TOKEN(anon_sym_SEMI); END_STATE(); - case 32: + case 30: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); - case 33: + case 31: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); - case 34: + case 32: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); + case 33: + ACCEPT_TOKEN(anon_sym_LBRACE); + END_STATE(); + case 34: + ACCEPT_TOKEN(anon_sym_RBRACE); + END_STATE(); case 35: ACCEPT_TOKEN(sym__identifier_pattern); if (lookahead == ' ') ADVANCE(18); @@ -2468,19 +2470,19 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [116] = {.lex_state = 1}, [117] = {.lex_state = 1}, [118] = {.lex_state = 2}, - [119] = {.lex_state = 2}, + [119] = {.lex_state = 1}, [120] = {.lex_state = 1}, - [121] = {.lex_state = 1}, + [121] = {.lex_state = 2}, [122] = {.lex_state = 2}, - [123] = {.lex_state = 2}, - [124] = {.lex_state = 1}, + [123] = {.lex_state = 1}, + [124] = {.lex_state = 2}, [125] = {.lex_state = 2}, [126] = {.lex_state = 1}, [127] = {.lex_state = 1}, [128] = {.lex_state = 1}, [129] = {.lex_state = 1}, - [130] = {.lex_state = 1}, - [131] = {.lex_state = 1}, + [130] = {.lex_state = 2}, + [131] = {.lex_state = 2}, [132] = {.lex_state = 1}, [133] = {.lex_state = 1}, [134] = {.lex_state = 1}, @@ -2491,13 +2493,13 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [139] = {.lex_state = 1}, [140] = {.lex_state = 1}, [141] = {.lex_state = 1}, - [142] = {.lex_state = 1}, + [142] = {.lex_state = 2}, [143] = {.lex_state = 1}, [144] = {.lex_state = 1}, - [145] = {.lex_state = 2}, - [146] = {.lex_state = 2}, + [145] = {.lex_state = 1}, + [146] = {.lex_state = 1}, [147] = {.lex_state = 1}, - [148] = {.lex_state = 2}, + [148] = {.lex_state = 1}, [149] = {.lex_state = 1}, [150] = {.lex_state = 1}, [151] = {.lex_state = 1}, @@ -2580,11 +2582,11 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [228] = {.lex_state = 0}, [229] = {.lex_state = 0}, [230] = {.lex_state = 0}, - [231] = {.lex_state = 25}, - [232] = {.lex_state = 25}, - [233] = {.lex_state = 2}, - [234] = {.lex_state = 2}, - [235] = {.lex_state = 25}, + [231] = {.lex_state = 0}, + [232] = {.lex_state = 2}, + [233] = {.lex_state = 25}, + [234] = {.lex_state = 25}, + [235] = {.lex_state = 2}, [236] = {.lex_state = 25}, [237] = {.lex_state = 25}, [238] = {.lex_state = 25}, @@ -2595,16 +2597,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [243] = {.lex_state = 25}, [244] = {.lex_state = 25}, [245] = {.lex_state = 25}, - [246] = {.lex_state = 5}, + [246] = {.lex_state = 25}, [247] = {.lex_state = 5}, [248] = {.lex_state = 5}, - [249] = {.lex_state = 25}, - [250] = {.lex_state = 5}, + [249] = {.lex_state = 5}, + [250] = {.lex_state = 25}, [251] = {.lex_state = 5}, [252] = {.lex_state = 5}, [253] = {.lex_state = 5}, - [254] = {.lex_state = 1}, - [255] = {.lex_state = 1}, + [254] = {.lex_state = 5}, + [255] = {.lex_state = 5}, [256] = {.lex_state = 1}, [257] = {.lex_state = 1}, [258] = {.lex_state = 1}, @@ -2621,10 +2623,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [269] = {.lex_state = 1}, [270] = {.lex_state = 1}, [271] = {.lex_state = 1}, - [272] = {.lex_state = 5}, - [273] = {.lex_state = 5}, - [274] = {.lex_state = 1}, - [275] = {.lex_state = 1}, + [272] = {.lex_state = 1}, + [273] = {.lex_state = 1}, + [274] = {.lex_state = 5}, + [275] = {.lex_state = 5}, [276] = {.lex_state = 1}, [277] = {.lex_state = 1}, [278] = {.lex_state = 1}, @@ -2644,8 +2646,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [292] = {.lex_state = 1}, [293] = {.lex_state = 1}, [294] = {.lex_state = 1}, - [295] = {.lex_state = 2}, - [296] = {.lex_state = 2}, + [295] = {.lex_state = 1}, + [296] = {.lex_state = 1}, [297] = {.lex_state = 2}, [298] = {.lex_state = 2}, [299] = {.lex_state = 2}, @@ -2669,15 +2671,15 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [317] = {.lex_state = 2}, [318] = {.lex_state = 2}, [319] = {.lex_state = 2}, - [320] = {.lex_state = 7}, - [321] = {.lex_state = 2}, - [322] = {.lex_state = 7}, - [323] = {.lex_state = 7}, + [320] = {.lex_state = 2}, + [321] = {.lex_state = 7}, + [322] = {.lex_state = 2}, + [323] = {.lex_state = 2}, [324] = {.lex_state = 7}, [325] = {.lex_state = 7}, [326] = {.lex_state = 7}, - [327] = {.lex_state = 1}, - [328] = {.lex_state = 1}, + [327] = {.lex_state = 7}, + [328] = {.lex_state = 7}, [329] = {.lex_state = 1}, [330] = {.lex_state = 1}, [331] = {.lex_state = 1}, @@ -2686,48 +2688,50 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [334] = {.lex_state = 1}, [335] = {.lex_state = 1}, [336] = {.lex_state = 1}, - [337] = {.lex_state = 25}, - [338] = {.lex_state = 25}, + [337] = {.lex_state = 1}, + [338] = {.lex_state = 1}, [339] = {.lex_state = 25}, [340] = {.lex_state = 25}, - [341] = {.lex_state = 1}, - [342] = {.lex_state = 1}, + [341] = {.lex_state = 25}, + [342] = {.lex_state = 25}, [343] = {.lex_state = 1}, - [344] = {.lex_state = 25}, + [344] = {.lex_state = 1}, [345] = {.lex_state = 1}, [346] = {.lex_state = 1}, [347] = {.lex_state = 1}, [348] = {.lex_state = 1}, [349] = {.lex_state = 1}, - [350] = {.lex_state = 1}, - [351] = {.lex_state = 0}, - [352] = {.lex_state = 0}, + [350] = {.lex_state = 25}, + [351] = {.lex_state = 1}, + [352] = {.lex_state = 1}, [353] = {.lex_state = 0}, [354] = {.lex_state = 0}, [355] = {.lex_state = 0}, [356] = {.lex_state = 0}, [357] = {.lex_state = 0}, - [358] = {.lex_state = 5}, + [358] = {.lex_state = 0}, [359] = {.lex_state = 0}, - [360] = {.lex_state = 0}, + [360] = {.lex_state = 5}, [361] = {.lex_state = 0}, - [362] = {.lex_state = 1}, + [362] = {.lex_state = 0}, [363] = {.lex_state = 0}, [364] = {.lex_state = 0}, [365] = {.lex_state = 0}, - [366] = {.lex_state = 0}, - [367] = {.lex_state = 0}, - [368] = {.lex_state = 0}, + [366] = {.lex_state = 25}, + [367] = {.lex_state = 5}, + [368] = {.lex_state = 1}, [369] = {.lex_state = 0}, [370] = {.lex_state = 0}, - [371] = {.lex_state = 1}, + [371] = {.lex_state = 0}, [372] = {.lex_state = 0}, [373] = {.lex_state = 0}, - [374] = {.lex_state = 1}, - [375] = {.lex_state = 25}, - [376] = {.lex_state = 5}, + [374] = {.lex_state = 0}, + [375] = {.lex_state = 1}, + [376] = {.lex_state = 1}, [377] = {.lex_state = 0}, [378] = {.lex_state = 0}, + [379] = {.lex_state = 0}, + [380] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2735,13 +2739,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [ts_builtin_sym_end] = ACTIONS(1), [sym__identifier_pattern] = ACTIONS(1), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(1), - [anon_sym_LBRACE] = ACTIONS(1), - [anon_sym_RBRACE] = ACTIONS(1), [anon_sym_SEMI] = ACTIONS(1), [anon_sym_LPAREN] = ACTIONS(1), [anon_sym_RPAREN] = ACTIONS(1), [anon_sym_COMMA] = ACTIONS(1), + [anon_sym_async] = ACTIONS(1), + [anon_sym_LBRACE] = ACTIONS(1), + [anon_sym_RBRACE] = ACTIONS(1), [sym_integer] = ACTIONS(1), [sym_float] = ACTIONS(1), [sym_string] = ACTIONS(1), @@ -2810,39 +2814,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(363), - [sym_block] = STATE(236), - [sym_statement] = STATE(11), + [sym_root] = STATE(379), + [sym_statement] = STATE(12), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(11), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(12), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -2879,110 +2883,110 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [2] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(25), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(60), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), - [ts_builtin_sym_end] = ACTIONS(39), - [sym__identifier_pattern] = ACTIONS(41), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(44), - [anon_sym_LBRACE] = ACTIONS(47), - [anon_sym_RBRACE] = ACTIONS(39), - [anon_sym_LPAREN] = ACTIONS(50), - [sym_integer] = ACTIONS(53), - [sym_float] = ACTIONS(56), - [sym_string] = ACTIONS(56), - [anon_sym_true] = ACTIONS(59), - [anon_sym_false] = ACTIONS(59), - [anon_sym_LBRACK] = ACTIONS(62), - [anon_sym_none] = ACTIONS(65), - [anon_sym_some] = ACTIONS(68), - [anon_sym_if] = ACTIONS(71), - [anon_sym_match] = ACTIONS(74), - [anon_sym_while] = ACTIONS(77), - [anon_sym_for] = ACTIONS(80), - [anon_sym_asyncfor] = ACTIONS(83), - [anon_sym_return] = ACTIONS(86), - [anon_sym_assert] = ACTIONS(89), - [anon_sym_assert_equal] = ACTIONS(89), - [anon_sym_bash] = ACTIONS(89), - [anon_sym_download] = ACTIONS(89), - [anon_sym_either_or] = ACTIONS(89), - [anon_sym_fish] = ACTIONS(89), - [anon_sym_from_json] = ACTIONS(89), - [anon_sym_is_none] = ACTIONS(89), - [anon_sym_is_some] = ACTIONS(89), - [anon_sym_length] = ACTIONS(89), - [anon_sym_metadata] = ACTIONS(89), - [anon_sym_output] = ACTIONS(89), - [anon_sym_output_error] = ACTIONS(89), - [anon_sym_random] = ACTIONS(89), - [anon_sym_random_boolean] = ACTIONS(89), - [anon_sym_random_float] = ACTIONS(89), - [anon_sym_random_integer] = ACTIONS(89), - [anon_sym_read] = ACTIONS(89), - [anon_sym_to_json] = ACTIONS(89), - [anon_sym_write] = ACTIONS(89), - }, - [3] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(12), - [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(65), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), - [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(12), - [aux_sym_map_repeat1] = STATE(277), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(25), + [aux_sym_map_repeat1] = STATE(279), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(92), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(39), + [sym_integer] = ACTIONS(13), + [sym_float] = ACTIONS(15), + [sym_string] = ACTIONS(15), + [anon_sym_true] = ACTIONS(17), + [anon_sym_false] = ACTIONS(17), + [anon_sym_LBRACK] = ACTIONS(19), + [anon_sym_none] = ACTIONS(21), + [anon_sym_some] = 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_either_or] = ACTIONS(37), + [anon_sym_fish] = ACTIONS(37), + [anon_sym_from_json] = ACTIONS(37), + [anon_sym_is_none] = ACTIONS(37), + [anon_sym_is_some] = 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), + }, + [3] = { + [sym_statement] = STATE(26), + [sym_expression] = STATE(77), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(60), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), + [sym_if] = STATE(222), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(26), + [aux_sym_map_repeat1] = STATE(280), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(41), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3019,40 +3023,40 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [4] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(15), + [sym_statement] = STATE(14), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(65), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(60), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(15), - [aux_sym_map_repeat1] = STATE(285), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(14), + [aux_sym_map_repeat1] = STATE(284), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(94), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(43), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3089,109 +3093,109 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [5] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(10), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(65), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(10), - [aux_sym_map_repeat1] = STATE(278), - [sym__identifier_pattern] = ACTIONS(5), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), + [ts_builtin_sym_end] = ACTIONS(45), + [sym__identifier_pattern] = ACTIONS(47), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(96), - [anon_sym_LPAREN] = ACTIONS(11), - [sym_integer] = ACTIONS(13), - [sym_float] = ACTIONS(15), - [sym_string] = ACTIONS(15), - [anon_sym_true] = ACTIONS(17), - [anon_sym_false] = ACTIONS(17), - [anon_sym_LBRACK] = ACTIONS(19), - [anon_sym_none] = ACTIONS(21), - [anon_sym_some] = 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_either_or] = ACTIONS(37), - [anon_sym_fish] = ACTIONS(37), - [anon_sym_from_json] = ACTIONS(37), - [anon_sym_is_none] = ACTIONS(37), - [anon_sym_is_some] = 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), + [anon_sym_LPAREN] = ACTIONS(50), + [anon_sym_async] = ACTIONS(53), + [anon_sym_LBRACE] = ACTIONS(56), + [anon_sym_RBRACE] = ACTIONS(45), + [sym_integer] = ACTIONS(59), + [sym_float] = ACTIONS(62), + [sym_string] = ACTIONS(62), + [anon_sym_true] = ACTIONS(65), + [anon_sym_false] = ACTIONS(65), + [anon_sym_LBRACK] = ACTIONS(68), + [anon_sym_none] = ACTIONS(71), + [anon_sym_some] = ACTIONS(74), + [anon_sym_if] = ACTIONS(77), + [anon_sym_match] = ACTIONS(80), + [anon_sym_while] = ACTIONS(83), + [anon_sym_for] = ACTIONS(86), + [anon_sym_asyncfor] = ACTIONS(89), + [anon_sym_return] = ACTIONS(92), + [anon_sym_assert] = ACTIONS(95), + [anon_sym_assert_equal] = ACTIONS(95), + [anon_sym_bash] = ACTIONS(95), + [anon_sym_download] = ACTIONS(95), + [anon_sym_either_or] = ACTIONS(95), + [anon_sym_fish] = ACTIONS(95), + [anon_sym_from_json] = ACTIONS(95), + [anon_sym_is_none] = ACTIONS(95), + [anon_sym_is_some] = ACTIONS(95), + [anon_sym_length] = ACTIONS(95), + [anon_sym_metadata] = ACTIONS(95), + [anon_sym_output] = ACTIONS(95), + [anon_sym_output_error] = ACTIONS(95), + [anon_sym_random] = ACTIONS(95), + [anon_sym_random_boolean] = ACTIONS(95), + [anon_sym_random_float] = ACTIONS(95), + [anon_sym_random_integer] = ACTIONS(95), + [anon_sym_read] = ACTIONS(95), + [anon_sym_to_json] = ACTIONS(95), + [anon_sym_write] = ACTIONS(95), }, [6] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(15), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(15), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), [anon_sym_RBRACE] = ACTIONS(98), - [anon_sym_LPAREN] = ACTIONS(11), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3228,39 +3232,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [7] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(10), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(10), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), [anon_sym_RBRACE] = ACTIONS(100), - [anon_sym_LPAREN] = ACTIONS(11), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3297,39 +3301,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [8] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(14), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(14), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(102), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(43), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3366,39 +3370,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [9] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(100), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3435,39 +3439,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [10] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(106), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(102), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3504,39 +3508,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [11] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), - [ts_builtin_sym_end] = ACTIONS(108), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(104), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3573,39 +3577,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [12] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), + [ts_builtin_sym_end] = ACTIONS(106), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(110), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3642,39 +3646,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [13] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(25), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(25), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(112), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(39), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3711,39 +3715,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [14] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(114), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(108), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3780,39 +3784,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [15] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(116), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(110), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3849,39 +3853,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [16] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(2), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(2), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(118), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(112), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3918,38 +3922,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [17] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(9), + [sym_statement] = STATE(20), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(9), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(20), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(114), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -3986,38 +3991,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [18] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(14), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(14), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(114), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4054,38 +4060,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [19] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(16), + [sym_statement] = STATE(9), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(16), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(9), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(116), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4122,38 +4129,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [20] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(13), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(13), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(118), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4190,38 +4198,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [21] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(15), + [sym_statement] = STATE(16), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(15), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(16), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(108), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4258,38 +4267,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [22] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(12), + [sym_statement] = STATE(18), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(12), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(18), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(120), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4326,38 +4336,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [23] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(6), + [sym_statement] = STATE(26), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(6), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(26), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(41), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4394,38 +4405,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [24] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(8), + [sym_statement] = STATE(11), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(8), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(11), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(122), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4462,38 +4474,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [25] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(10), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(10), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(122), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4530,38 +4543,39 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [26] = { - [sym_block] = STATE(236), - [sym_statement] = STATE(7), + [sym_statement] = STATE(5), [sym_expression] = STATE(77), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(236), - [sym_index_assignment] = STATE(236), - [sym_if_else] = STATE(236), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(237), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(237), + [sym_index_assignment] = STATE(237), + [sym_if_else] = STATE(237), [sym_if] = STATE(222), - [sym_match] = STATE(236), - [sym_while] = STATE(236), - [sym_for] = STATE(236), - [sym_return] = STATE(236), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [aux_sym_root_repeat1] = STATE(7), + [sym_match] = STATE(237), + [sym_while] = STATE(237), + [sym_for] = STATE(237), + [sym_return] = STATE(237), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [aux_sym_root_repeat1] = STATE(5), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [anon_sym_RBRACE] = ACTIONS(98), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -4598,372 +4612,372 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [27] = { - [sym_block] = STATE(241), - [sym_statement] = STATE(242), - [sym_expression] = STATE(78), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(241), - [sym_index_assignment] = STATE(241), - [sym_if_else] = STATE(241), - [sym_if] = STATE(222), - [sym_match] = STATE(241), - [sym_while] = STATE(241), - [sym_for] = STATE(241), - [sym_return] = STATE(241), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), - [sym__identifier_pattern] = ACTIONS(5), + [sym_statement] = STATE(288), + [sym_expression] = STATE(232), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(262), + [sym_identifier] = STATE(224), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), + [sym_index] = STATE(226), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(262), + [sym_index_assignment] = STATE(262), + [sym_if_else] = STATE(262), + [sym_if] = STATE(275), + [sym_match] = STATE(262), + [sym_while] = STATE(262), + [sym_for] = STATE(262), + [sym_return] = STATE(262), + [sym_function] = STATE(167), + [sym_function_expression] = STATE(362), + [sym_function_call] = STATE(168), + [sym_yield] = STATE(168), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), - [sym_integer] = ACTIONS(13), - [sym_float] = ACTIONS(15), - [sym_string] = ACTIONS(15), - [anon_sym_true] = ACTIONS(17), - [anon_sym_false] = ACTIONS(17), - [anon_sym_LBRACK] = ACTIONS(19), - [anon_sym_none] = ACTIONS(21), - [anon_sym_some] = 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_either_or] = ACTIONS(37), - [anon_sym_fish] = ACTIONS(37), - [anon_sym_from_json] = ACTIONS(37), - [anon_sym_is_none] = ACTIONS(37), - [anon_sym_is_some] = 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), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), }, [28] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(254), - [sym_expression] = STATE(115), - [sym__expression_kind] = STATE(96), + [sym_statement] = STATE(268), + [sym_expression] = STATE(114), + [sym__expression_kind] = STATE(93), + [sym_block] = STATE(262), [sym_identifier] = STATE(111), - [sym_value] = STATE(96), - [sym_boolean] = STATE(94), - [sym_list] = STATE(94), - [sym_map] = STATE(94), - [sym_option] = 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(112), - [sym_math] = STATE(96), - [sym_logic] = STATE(96), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(246), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(105), - [sym_function_expression] = STATE(361), - [sym_function_call] = STATE(106), - [sym_yield] = STATE(106), - [sym_built_in_function] = STATE(95), - [sym__identifier_pattern] = ACTIONS(120), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), + [sym_assignment] = STATE(262), + [sym_index_assignment] = STATE(262), + [sym_if_else] = STATE(262), + [sym_if] = STATE(247), + [sym_match] = STATE(262), + [sym_while] = STATE(262), + [sym_for] = STATE(262), + [sym_return] = STATE(262), + [sym_function] = STATE(110), + [sym_function_expression] = STATE(363), + [sym_function_call] = STATE(109), + [sym_yield] = STATE(109), + [sym_built_in_function] = STATE(97), + [sym__identifier_pattern] = ACTIONS(158), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(122), - [anon_sym_LBRACE] = ACTIONS(124), - [anon_sym_LPAREN] = ACTIONS(126), - [sym_integer] = ACTIONS(128), - [sym_float] = ACTIONS(130), - [sym_string] = ACTIONS(130), - [anon_sym_true] = ACTIONS(132), - [anon_sym_false] = ACTIONS(132), - [anon_sym_LBRACK] = ACTIONS(134), - [anon_sym_none] = ACTIONS(136), - [anon_sym_some] = ACTIONS(138), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(144), - [anon_sym_for] = ACTIONS(146), - [anon_sym_asyncfor] = ACTIONS(148), - [anon_sym_return] = ACTIONS(150), - [anon_sym_assert] = ACTIONS(152), - [anon_sym_assert_equal] = ACTIONS(152), - [anon_sym_bash] = ACTIONS(152), - [anon_sym_download] = ACTIONS(152), - [anon_sym_either_or] = ACTIONS(152), - [anon_sym_fish] = ACTIONS(152), - [anon_sym_from_json] = ACTIONS(152), - [anon_sym_is_none] = ACTIONS(152), - [anon_sym_is_some] = ACTIONS(152), - [anon_sym_length] = ACTIONS(152), - [anon_sym_metadata] = ACTIONS(152), - [anon_sym_output] = ACTIONS(152), - [anon_sym_output_error] = ACTIONS(152), - [anon_sym_random] = ACTIONS(152), - [anon_sym_random_boolean] = ACTIONS(152), - [anon_sym_random_float] = ACTIONS(152), - [anon_sym_random_integer] = ACTIONS(152), - [anon_sym_read] = ACTIONS(152), - [anon_sym_to_json] = ACTIONS(152), - [anon_sym_write] = ACTIONS(152), + [anon_sym_LPAREN] = ACTIONS(160), + [anon_sym_async] = ACTIONS(162), + [anon_sym_LBRACE] = ACTIONS(164), + [sym_integer] = ACTIONS(166), + [sym_float] = ACTIONS(168), + [sym_string] = ACTIONS(168), + [anon_sym_true] = ACTIONS(170), + [anon_sym_false] = ACTIONS(170), + [anon_sym_LBRACK] = ACTIONS(172), + [anon_sym_none] = ACTIONS(174), + [anon_sym_some] = ACTIONS(176), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(178), + [anon_sym_for] = ACTIONS(180), + [anon_sym_asyncfor] = ACTIONS(182), + [anon_sym_return] = ACTIONS(184), + [anon_sym_assert] = ACTIONS(186), + [anon_sym_assert_equal] = ACTIONS(186), + [anon_sym_bash] = ACTIONS(186), + [anon_sym_download] = ACTIONS(186), + [anon_sym_either_or] = ACTIONS(186), + [anon_sym_fish] = ACTIONS(186), + [anon_sym_from_json] = ACTIONS(186), + [anon_sym_is_none] = ACTIONS(186), + [anon_sym_is_some] = ACTIONS(186), + [anon_sym_length] = ACTIONS(186), + [anon_sym_metadata] = ACTIONS(186), + [anon_sym_output] = ACTIONS(186), + [anon_sym_output_error] = ACTIONS(186), + [anon_sym_random] = ACTIONS(186), + [anon_sym_random_boolean] = ACTIONS(186), + [anon_sym_random_float] = ACTIONS(186), + [anon_sym_random_integer] = ACTIONS(186), + [anon_sym_read] = ACTIONS(186), + [anon_sym_to_json] = ACTIONS(186), + [anon_sym_write] = ACTIONS(186), }, [29] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(254), - [sym_expression] = STATE(240), - [sym__expression_kind] = STATE(164), - [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), - [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(272), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), - [sym_function_call] = STATE(168), - [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), + [sym_statement] = STATE(256), + [sym_expression] = STATE(113), + [sym__expression_kind] = STATE(93), + [sym_block] = STATE(259), + [sym_identifier] = STATE(111), + [sym_value] = STATE(93), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_option] = STATE(101), + [sym_index] = STATE(112), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), + [sym_assignment] = STATE(259), + [sym_index_assignment] = STATE(259), + [sym_if_else] = STATE(259), + [sym_if] = STATE(247), + [sym_match] = STATE(259), + [sym_while] = STATE(259), + [sym_for] = STATE(259), + [sym_return] = STATE(259), + [sym_function] = STATE(110), + [sym_function_expression] = STATE(363), + [sym_function_call] = STATE(109), + [sym_yield] = STATE(109), + [sym_built_in_function] = STATE(97), + [sym__identifier_pattern] = ACTIONS(158), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), + [anon_sym_async] = ACTIONS(162), + [anon_sym_LBRACE] = ACTIONS(164), + [sym_integer] = ACTIONS(166), + [sym_float] = ACTIONS(168), + [sym_string] = ACTIONS(168), + [anon_sym_true] = ACTIONS(170), + [anon_sym_false] = ACTIONS(170), + [anon_sym_LBRACK] = ACTIONS(172), + [anon_sym_none] = ACTIONS(174), + [anon_sym_some] = ACTIONS(176), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(178), + [anon_sym_for] = ACTIONS(180), + [anon_sym_asyncfor] = ACTIONS(182), + [anon_sym_return] = ACTIONS(184), + [anon_sym_assert] = ACTIONS(186), + [anon_sym_assert_equal] = ACTIONS(186), + [anon_sym_bash] = ACTIONS(186), + [anon_sym_download] = ACTIONS(186), + [anon_sym_either_or] = ACTIONS(186), + [anon_sym_fish] = ACTIONS(186), + [anon_sym_from_json] = ACTIONS(186), + [anon_sym_is_none] = ACTIONS(186), + [anon_sym_is_some] = ACTIONS(186), + [anon_sym_length] = ACTIONS(186), + [anon_sym_metadata] = ACTIONS(186), + [anon_sym_output] = ACTIONS(186), + [anon_sym_output_error] = ACTIONS(186), + [anon_sym_random] = ACTIONS(186), + [anon_sym_random_boolean] = ACTIONS(186), + [anon_sym_random_float] = ACTIONS(186), + [anon_sym_random_integer] = ACTIONS(186), + [anon_sym_read] = ACTIONS(186), + [anon_sym_to_json] = ACTIONS(186), + [anon_sym_write] = ACTIONS(186), }, [30] = { - [sym_block] = STATE(258), [sym_statement] = STATE(290), - [sym_expression] = STATE(234), - [sym__expression_kind] = STATE(164), + [sym_expression] = STATE(232), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(262), [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(258), - [sym_index_assignment] = STATE(258), - [sym_if_else] = STATE(258), - [sym_if] = STATE(272), - [sym_match] = STATE(258), - [sym_while] = STATE(258), - [sym_for] = STATE(258), - [sym_return] = STATE(258), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(262), + [sym_index_assignment] = STATE(262), + [sym_if_else] = STATE(262), + [sym_if] = STATE(275), + [sym_match] = STATE(262), + [sym_while] = STATE(262), + [sym_for] = STATE(262), + [sym_return] = STATE(262), [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), + [sym_function_expression] = STATE(362), [sym_function_call] = STATE(168), [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), - [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), }, [31] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(255), - [sym_expression] = STATE(240), - [sym__expression_kind] = STATE(164), - [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), - [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(272), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), - [sym_function_call] = STATE(168), - [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), + [sym_statement] = STATE(266), + [sym_expression] = STATE(113), + [sym__expression_kind] = STATE(93), + [sym_block] = STATE(259), + [sym_identifier] = STATE(111), + [sym_value] = STATE(93), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_option] = STATE(101), + [sym_index] = STATE(112), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), + [sym_assignment] = STATE(259), + [sym_index_assignment] = STATE(259), + [sym_if_else] = STATE(259), + [sym_if] = STATE(247), + [sym_match] = STATE(259), + [sym_while] = STATE(259), + [sym_for] = STATE(259), + [sym_return] = STATE(259), + [sym_function] = STATE(110), + [sym_function_expression] = STATE(363), + [sym_function_call] = STATE(109), + [sym_yield] = STATE(109), + [sym_built_in_function] = STATE(97), + [sym__identifier_pattern] = ACTIONS(158), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), + [anon_sym_async] = ACTIONS(162), + [anon_sym_LBRACE] = ACTIONS(164), + [sym_integer] = ACTIONS(166), + [sym_float] = ACTIONS(168), + [sym_string] = ACTIONS(168), + [anon_sym_true] = ACTIONS(170), + [anon_sym_false] = ACTIONS(170), + [anon_sym_LBRACK] = ACTIONS(172), + [anon_sym_none] = ACTIONS(174), + [anon_sym_some] = ACTIONS(176), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(178), + [anon_sym_for] = ACTIONS(180), + [anon_sym_asyncfor] = ACTIONS(182), + [anon_sym_return] = ACTIONS(184), + [anon_sym_assert] = ACTIONS(186), + [anon_sym_assert_equal] = ACTIONS(186), + [anon_sym_bash] = ACTIONS(186), + [anon_sym_download] = ACTIONS(186), + [anon_sym_either_or] = ACTIONS(186), + [anon_sym_fish] = ACTIONS(186), + [anon_sym_from_json] = ACTIONS(186), + [anon_sym_is_none] = ACTIONS(186), + [anon_sym_is_some] = ACTIONS(186), + [anon_sym_length] = ACTIONS(186), + [anon_sym_metadata] = ACTIONS(186), + [anon_sym_output] = ACTIONS(186), + [anon_sym_output_error] = ACTIONS(186), + [anon_sym_random] = ACTIONS(186), + [anon_sym_random_boolean] = ACTIONS(186), + [anon_sym_random_float] = ACTIONS(186), + [anon_sym_random_integer] = ACTIONS(186), + [anon_sym_read] = ACTIONS(186), + [anon_sym_to_json] = ACTIONS(186), + [anon_sym_write] = ACTIONS(186), }, [32] = { - [sym_block] = STATE(241), - [sym_statement] = STATE(243), + [sym_statement] = STATE(234), [sym_expression] = STATE(78), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(241), - [sym_index_assignment] = STATE(241), - [sym_if_else] = STATE(241), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(242), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), [sym_if] = STATE(222), - [sym_match] = STATE(241), - [sym_while] = STATE(241), - [sym_for] = STATE(241), - [sym_return] = STATE(241), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -5000,37 +5014,171 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(37), }, [33] = { - [sym_block] = STATE(241), - [sym_statement] = STATE(245), + [sym_statement] = STATE(260), + [sym_expression] = STATE(235), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(259), + [sym_identifier] = STATE(224), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), + [sym_index] = STATE(226), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(259), + [sym_index_assignment] = STATE(259), + [sym_if_else] = STATE(259), + [sym_if] = STATE(275), + [sym_match] = STATE(259), + [sym_while] = STATE(259), + [sym_for] = STATE(259), + [sym_return] = STATE(259), + [sym_function] = STATE(167), + [sym_function_expression] = STATE(362), + [sym_function_call] = STATE(168), + [sym_yield] = STATE(168), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), + }, + [34] = { + [sym_statement] = STATE(288), + [sym_expression] = STATE(232), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(262), + [sym_identifier] = STATE(224), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), + [sym_index] = STATE(226), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(262), + [sym_index_assignment] = STATE(262), + [sym_if_else] = STATE(262), + [sym_if] = STATE(275), + [sym_match] = STATE(262), + [sym_while] = STATE(262), + [sym_for] = STATE(262), + [sym_return] = STATE(262), + [sym_function] = STATE(167), + [sym_function_expression] = STATE(362), + [sym_function_call] = STATE(168), + [sym_yield] = STATE(168), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), + }, + [35] = { + [sym_statement] = STATE(238), [sym_expression] = STATE(78), - [sym__expression_kind] = STATE(64), - [sym_identifier] = STATE(51), - [sym_value] = STATE(64), - [sym_boolean] = STATE(75), - [sym_list] = STATE(75), - [sym_map] = STATE(75), - [sym_option] = STATE(75), - [sym_index] = STATE(68), - [sym_math] = STATE(64), - [sym_logic] = STATE(64), - [sym_assignment] = STATE(241), - [sym_index_assignment] = STATE(241), - [sym_if_else] = STATE(241), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(242), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), [sym_if] = STATE(222), - [sym_match] = STATE(241), - [sym_while] = STATE(241), - [sym_for] = STATE(241), - [sym_return] = STATE(241), - [sym_function] = STATE(53), - [sym_function_expression] = STATE(366), - [sym_function_call] = STATE(57), - [sym_yield] = STATE(57), - [sym_built_in_function] = STATE(46), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_LPAREN] = ACTIONS(11), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), [sym_integer] = ACTIONS(13), [sym_float] = ACTIONS(15), [sym_string] = ACTIONS(15), @@ -5066,519 +5214,52 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(37), [anon_sym_write] = ACTIONS(37), }, - [34] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(261), - [sym_expression] = STATE(115), - [sym__expression_kind] = STATE(96), - [sym_identifier] = STATE(111), - [sym_value] = STATE(96), - [sym_boolean] = STATE(94), - [sym_list] = STATE(94), - [sym_map] = STATE(94), - [sym_option] = STATE(94), - [sym_index] = STATE(112), - [sym_math] = STATE(96), - [sym_logic] = STATE(96), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(246), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(105), - [sym_function_expression] = STATE(361), - [sym_function_call] = STATE(106), - [sym_yield] = STATE(106), - [sym_built_in_function] = STATE(95), - [sym__identifier_pattern] = ACTIONS(120), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(122), - [anon_sym_LBRACE] = ACTIONS(124), - [anon_sym_LPAREN] = ACTIONS(126), - [sym_integer] = ACTIONS(128), - [sym_float] = ACTIONS(130), - [sym_string] = ACTIONS(130), - [anon_sym_true] = ACTIONS(132), - [anon_sym_false] = ACTIONS(132), - [anon_sym_LBRACK] = ACTIONS(134), - [anon_sym_none] = ACTIONS(136), - [anon_sym_some] = ACTIONS(138), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(144), - [anon_sym_for] = ACTIONS(146), - [anon_sym_asyncfor] = ACTIONS(148), - [anon_sym_return] = ACTIONS(150), - [anon_sym_assert] = ACTIONS(152), - [anon_sym_assert_equal] = ACTIONS(152), - [anon_sym_bash] = ACTIONS(152), - [anon_sym_download] = ACTIONS(152), - [anon_sym_either_or] = ACTIONS(152), - [anon_sym_fish] = ACTIONS(152), - [anon_sym_from_json] = ACTIONS(152), - [anon_sym_is_none] = ACTIONS(152), - [anon_sym_is_some] = ACTIONS(152), - [anon_sym_length] = ACTIONS(152), - [anon_sym_metadata] = ACTIONS(152), - [anon_sym_output] = ACTIONS(152), - [anon_sym_output_error] = ACTIONS(152), - [anon_sym_random] = ACTIONS(152), - [anon_sym_random_boolean] = ACTIONS(152), - [anon_sym_random_float] = ACTIONS(152), - [anon_sym_random_integer] = ACTIONS(152), - [anon_sym_read] = ACTIONS(152), - [anon_sym_to_json] = ACTIONS(152), - [anon_sym_write] = ACTIONS(152), - }, - [35] = { - [sym_block] = STATE(258), - [sym_statement] = STATE(287), - [sym_expression] = STATE(234), - [sym__expression_kind] = STATE(164), - [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), - [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(258), - [sym_index_assignment] = STATE(258), - [sym_if_else] = STATE(258), - [sym_if] = STATE(272), - [sym_match] = STATE(258), - [sym_while] = STATE(258), - [sym_for] = STATE(258), - [sym_return] = STATE(258), - [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), - [sym_function_call] = STATE(168), - [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), - [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), - }, [36] = { - [sym_block] = STATE(258), - [sym_statement] = STATE(290), - [sym_expression] = STATE(234), - [sym__expression_kind] = STATE(164), - [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), - [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(258), - [sym_index_assignment] = STATE(258), - [sym_if_else] = STATE(258), - [sym_if] = STATE(272), - [sym_match] = STATE(258), - [sym_while] = STATE(258), - [sym_for] = STATE(258), - [sym_return] = STATE(258), - [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), - [sym_function_call] = STATE(168), - [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), - [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), - }, - [37] = { - [sym_block] = STATE(258), - [sym_statement] = STATE(266), - [sym_expression] = STATE(114), - [sym__expression_kind] = STATE(96), + [sym_statement] = STATE(260), + [sym_expression] = STATE(113), + [sym__expression_kind] = STATE(93), + [sym_block] = STATE(259), [sym_identifier] = STATE(111), - [sym_value] = STATE(96), - [sym_boolean] = STATE(94), - [sym_list] = STATE(94), - [sym_map] = STATE(94), - [sym_option] = 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(112), - [sym_math] = STATE(96), - [sym_logic] = STATE(96), - [sym_assignment] = STATE(258), - [sym_index_assignment] = STATE(258), - [sym_if_else] = STATE(258), - [sym_if] = STATE(246), - [sym_match] = STATE(258), - [sym_while] = STATE(258), - [sym_for] = STATE(258), - [sym_return] = STATE(258), - [sym_function] = STATE(105), - [sym_function_expression] = STATE(361), - [sym_function_call] = STATE(106), - [sym_yield] = STATE(106), - [sym_built_in_function] = STATE(95), - [sym__identifier_pattern] = ACTIONS(120), + [sym_math] = STATE(93), + [sym_logic] = STATE(93), + [sym_assignment] = STATE(259), + [sym_index_assignment] = STATE(259), + [sym_if_else] = STATE(259), + [sym_if] = STATE(247), + [sym_match] = STATE(259), + [sym_while] = STATE(259), + [sym_for] = STATE(259), + [sym_return] = STATE(259), + [sym_function] = STATE(110), + [sym_function_expression] = STATE(363), + [sym_function_call] = STATE(109), + [sym_yield] = STATE(109), + [sym_built_in_function] = STATE(97), + [sym__identifier_pattern] = ACTIONS(158), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(122), - [anon_sym_LBRACE] = ACTIONS(124), - [anon_sym_LPAREN] = ACTIONS(126), - [sym_integer] = ACTIONS(128), - [sym_float] = ACTIONS(130), - [sym_string] = ACTIONS(130), - [anon_sym_true] = ACTIONS(132), - [anon_sym_false] = ACTIONS(132), - [anon_sym_LBRACK] = ACTIONS(134), - [anon_sym_none] = ACTIONS(136), - [anon_sym_some] = ACTIONS(138), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(144), - [anon_sym_for] = ACTIONS(146), - [anon_sym_asyncfor] = ACTIONS(148), - [anon_sym_return] = ACTIONS(150), - [anon_sym_assert] = ACTIONS(152), - [anon_sym_assert_equal] = ACTIONS(152), - [anon_sym_bash] = ACTIONS(152), - [anon_sym_download] = ACTIONS(152), - [anon_sym_either_or] = ACTIONS(152), - [anon_sym_fish] = ACTIONS(152), - [anon_sym_from_json] = ACTIONS(152), - [anon_sym_is_none] = ACTIONS(152), - [anon_sym_is_some] = ACTIONS(152), - [anon_sym_length] = ACTIONS(152), - [anon_sym_metadata] = ACTIONS(152), - [anon_sym_output] = ACTIONS(152), - [anon_sym_output_error] = ACTIONS(152), - [anon_sym_random] = ACTIONS(152), - [anon_sym_random_boolean] = ACTIONS(152), - [anon_sym_random_float] = ACTIONS(152), - [anon_sym_random_integer] = ACTIONS(152), - [anon_sym_read] = ACTIONS(152), - [anon_sym_to_json] = ACTIONS(152), - [anon_sym_write] = ACTIONS(152), - }, - [38] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(261), - [sym_expression] = STATE(240), - [sym__expression_kind] = STATE(164), - [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), - [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(272), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), - [sym_function_call] = STATE(168), - [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), - }, - [39] = { - [sym_block] = STATE(257), - [sym_statement] = STATE(255), - [sym_expression] = STATE(115), - [sym__expression_kind] = STATE(96), - [sym_identifier] = STATE(111), - [sym_value] = STATE(96), - [sym_boolean] = STATE(94), - [sym_list] = STATE(94), - [sym_map] = STATE(94), - [sym_option] = STATE(94), - [sym_index] = STATE(112), - [sym_math] = STATE(96), - [sym_logic] = STATE(96), - [sym_assignment] = STATE(257), - [sym_index_assignment] = STATE(257), - [sym_if_else] = STATE(257), - [sym_if] = STATE(246), - [sym_match] = STATE(257), - [sym_while] = STATE(257), - [sym_for] = STATE(257), - [sym_return] = STATE(257), - [sym_function] = STATE(105), - [sym_function_expression] = STATE(361), - [sym_function_call] = STATE(106), - [sym_yield] = STATE(106), - [sym_built_in_function] = STATE(95), - [sym__identifier_pattern] = ACTIONS(120), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(122), - [anon_sym_LBRACE] = ACTIONS(124), - [anon_sym_LPAREN] = ACTIONS(126), - [sym_integer] = ACTIONS(128), - [sym_float] = ACTIONS(130), - [sym_string] = ACTIONS(130), - [anon_sym_true] = ACTIONS(132), - [anon_sym_false] = ACTIONS(132), - [anon_sym_LBRACK] = ACTIONS(134), - [anon_sym_none] = ACTIONS(136), - [anon_sym_some] = ACTIONS(138), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(144), - [anon_sym_for] = ACTIONS(146), - [anon_sym_asyncfor] = ACTIONS(148), - [anon_sym_return] = ACTIONS(150), - [anon_sym_assert] = ACTIONS(152), - [anon_sym_assert_equal] = ACTIONS(152), - [anon_sym_bash] = ACTIONS(152), - [anon_sym_download] = ACTIONS(152), - [anon_sym_either_or] = ACTIONS(152), - [anon_sym_fish] = ACTIONS(152), - [anon_sym_from_json] = ACTIONS(152), - [anon_sym_is_none] = ACTIONS(152), - [anon_sym_is_some] = ACTIONS(152), - [anon_sym_length] = ACTIONS(152), - [anon_sym_metadata] = ACTIONS(152), - [anon_sym_output] = ACTIONS(152), - [anon_sym_output_error] = ACTIONS(152), - [anon_sym_random] = ACTIONS(152), - [anon_sym_random_boolean] = ACTIONS(152), - [anon_sym_random_float] = ACTIONS(152), - [anon_sym_random_integer] = ACTIONS(152), - [anon_sym_read] = ACTIONS(152), - [anon_sym_to_json] = ACTIONS(152), - [anon_sym_write] = ACTIONS(152), - }, - [40] = { - [sym_block] = STATE(258), - [sym_statement] = STATE(287), - [sym_expression] = STATE(234), - [sym__expression_kind] = STATE(164), - [sym_identifier] = STATE(224), - [sym_value] = STATE(164), - [sym_boolean] = STATE(156), - [sym_list] = STATE(156), - [sym_map] = STATE(156), - [sym_option] = STATE(156), - [sym_index] = STATE(226), - [sym_math] = STATE(164), - [sym_logic] = STATE(164), - [sym_assignment] = STATE(258), - [sym_index_assignment] = STATE(258), - [sym_if_else] = STATE(258), - [sym_if] = STATE(272), - [sym_match] = STATE(258), - [sym_while] = STATE(258), - [sym_for] = STATE(258), - [sym_return] = STATE(258), - [sym_function] = STATE(167), - [sym_function_expression] = STATE(367), - [sym_function_call] = STATE(168), - [sym_yield] = STATE(168), - [sym_built_in_function] = STATE(155), - [sym__identifier_pattern] = ACTIONS(154), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(156), - [anon_sym_LBRACE] = ACTIONS(158), - [anon_sym_LPAREN] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(164), - [sym_string] = ACTIONS(164), - [anon_sym_true] = ACTIONS(166), - [anon_sym_false] = ACTIONS(166), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_none] = ACTIONS(170), - [anon_sym_some] = ACTIONS(172), - [anon_sym_if] = ACTIONS(140), - [anon_sym_match] = ACTIONS(142), - [anon_sym_while] = ACTIONS(174), - [anon_sym_for] = ACTIONS(176), - [anon_sym_asyncfor] = ACTIONS(178), - [anon_sym_return] = ACTIONS(180), - [anon_sym_assert] = ACTIONS(182), - [anon_sym_assert_equal] = ACTIONS(182), - [anon_sym_bash] = ACTIONS(182), - [anon_sym_download] = ACTIONS(182), - [anon_sym_either_or] = ACTIONS(182), - [anon_sym_fish] = ACTIONS(182), - [anon_sym_from_json] = ACTIONS(182), - [anon_sym_is_none] = ACTIONS(182), - [anon_sym_is_some] = ACTIONS(182), - [anon_sym_length] = ACTIONS(182), - [anon_sym_metadata] = ACTIONS(182), - [anon_sym_output] = ACTIONS(182), - [anon_sym_output_error] = ACTIONS(182), - [anon_sym_random] = ACTIONS(182), - [anon_sym_random_boolean] = ACTIONS(182), - [anon_sym_random_float] = ACTIONS(182), - [anon_sym_random_integer] = ACTIONS(182), - [anon_sym_read] = ACTIONS(182), - [anon_sym_to_json] = ACTIONS(182), - [anon_sym_write] = ACTIONS(182), - }, - [41] = { - [sym_math_operator] = STATE(180), - [sym_logic_operator] = STATE(211), - [ts_builtin_sym_end] = ACTIONS(184), - [sym__identifier_pattern] = ACTIONS(186), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(186), - [anon_sym_LBRACE] = ACTIONS(184), - [anon_sym_RBRACE] = ACTIONS(184), - [anon_sym_SEMI] = ACTIONS(184), - [anon_sym_LPAREN] = ACTIONS(184), - [sym_integer] = ACTIONS(186), - [sym_float] = ACTIONS(184), - [sym_string] = ACTIONS(184), - [anon_sym_true] = ACTIONS(186), - [anon_sym_false] = ACTIONS(186), - [anon_sym_LBRACK] = ACTIONS(184), - [anon_sym_EQ] = ACTIONS(186), - [anon_sym_none] = ACTIONS(186), - [anon_sym_some] = ACTIONS(186), - [anon_sym_COLON] = ACTIONS(184), - [anon_sym_DOT_DOT] = ACTIONS(184), - [anon_sym_PLUS] = ACTIONS(186), - [anon_sym_DASH] = ACTIONS(186), - [anon_sym_STAR] = ACTIONS(184), - [anon_sym_SLASH] = ACTIONS(184), - [anon_sym_PERCENT] = ACTIONS(184), - [anon_sym_EQ_EQ] = ACTIONS(184), - [anon_sym_BANG_EQ] = ACTIONS(184), - [anon_sym_AMP_AMP] = ACTIONS(184), - [anon_sym_PIPE_PIPE] = ACTIONS(184), - [anon_sym_GT] = ACTIONS(186), - [anon_sym_LT] = ACTIONS(186), - [anon_sym_GT_EQ] = ACTIONS(184), - [anon_sym_LT_EQ] = ACTIONS(184), - [anon_sym_PLUS_EQ] = ACTIONS(184), - [anon_sym_DASH_EQ] = ACTIONS(184), - [anon_sym_if] = ACTIONS(186), - [anon_sym_match] = ACTIONS(186), - [anon_sym_while] = ACTIONS(186), - [anon_sym_for] = ACTIONS(186), - [anon_sym_asyncfor] = ACTIONS(184), - [anon_sym_return] = ACTIONS(186), - [anon_sym_DASH_GT] = ACTIONS(184), + [anon_sym_async] = ACTIONS(162), + [anon_sym_LBRACE] = ACTIONS(164), + [sym_integer] = ACTIONS(166), + [sym_float] = ACTIONS(168), + [sym_string] = ACTIONS(168), + [anon_sym_true] = ACTIONS(170), + [anon_sym_false] = ACTIONS(170), + [anon_sym_LBRACK] = ACTIONS(172), + [anon_sym_none] = ACTIONS(174), + [anon_sym_some] = ACTIONS(176), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(178), + [anon_sym_for] = ACTIONS(180), + [anon_sym_asyncfor] = ACTIONS(182), + [anon_sym_return] = ACTIONS(184), [anon_sym_assert] = ACTIONS(186), [anon_sym_assert_equal] = ACTIONS(186), [anon_sym_bash] = ACTIONS(186), @@ -5600,17 +5281,285 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(186), [anon_sym_write] = ACTIONS(186), }, - [42] = { - [sym_math_operator] = STATE(180), - [sym_logic_operator] = STATE(211), + [37] = { + [sym_statement] = STATE(266), + [sym_expression] = STATE(235), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(259), + [sym_identifier] = STATE(224), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), + [sym_index] = STATE(226), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(259), + [sym_index_assignment] = STATE(259), + [sym_if_else] = STATE(259), + [sym_if] = STATE(275), + [sym_match] = STATE(259), + [sym_while] = STATE(259), + [sym_for] = STATE(259), + [sym_return] = STATE(259), + [sym_function] = STATE(167), + [sym_function_expression] = STATE(362), + [sym_function_call] = STATE(168), + [sym_yield] = STATE(168), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), + }, + [38] = { + [sym_statement] = STATE(290), + [sym_expression] = STATE(232), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(262), + [sym_identifier] = STATE(224), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), + [sym_index] = STATE(226), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(262), + [sym_index_assignment] = STATE(262), + [sym_if_else] = STATE(262), + [sym_if] = STATE(275), + [sym_match] = STATE(262), + [sym_while] = STATE(262), + [sym_for] = STATE(262), + [sym_return] = STATE(262), + [sym_function] = STATE(167), + [sym_function_expression] = STATE(362), + [sym_function_call] = STATE(168), + [sym_yield] = STATE(168), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), + }, + [39] = { + [sym_statement] = STATE(239), + [sym_expression] = STATE(78), + [sym__expression_kind] = STATE(56), + [sym_block] = STATE(242), + [sym_identifier] = STATE(50), + [sym_value] = STATE(56), + [sym_boolean] = STATE(69), + [sym_list] = STATE(69), + [sym_map] = STATE(69), + [sym_option] = STATE(69), + [sym_index] = STATE(65), + [sym_math] = STATE(56), + [sym_logic] = STATE(56), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), + [sym_if] = STATE(222), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(55), + [sym_function_expression] = STATE(377), + [sym_function_call] = STATE(58), + [sym_yield] = STATE(58), + [sym_built_in_function] = STATE(51), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(7), + [anon_sym_async] = ACTIONS(9), + [anon_sym_LBRACE] = ACTIONS(11), + [sym_integer] = ACTIONS(13), + [sym_float] = ACTIONS(15), + [sym_string] = ACTIONS(15), + [anon_sym_true] = ACTIONS(17), + [anon_sym_false] = ACTIONS(17), + [anon_sym_LBRACK] = ACTIONS(19), + [anon_sym_none] = ACTIONS(21), + [anon_sym_some] = 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_either_or] = ACTIONS(37), + [anon_sym_fish] = ACTIONS(37), + [anon_sym_from_json] = ACTIONS(37), + [anon_sym_is_none] = ACTIONS(37), + [anon_sym_is_some] = 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), + }, + [40] = { + [sym_statement] = STATE(256), + [sym_expression] = STATE(235), + [sym__expression_kind] = STATE(156), + [sym_block] = STATE(259), + [sym_identifier] = STATE(224), + [sym_value] = STATE(156), + [sym_boolean] = STATE(159), + [sym_list] = STATE(159), + [sym_map] = STATE(159), + [sym_option] = STATE(159), + [sym_index] = STATE(226), + [sym_math] = STATE(156), + [sym_logic] = STATE(156), + [sym_assignment] = STATE(259), + [sym_index_assignment] = STATE(259), + [sym_if_else] = STATE(259), + [sym_if] = STATE(275), + [sym_match] = STATE(259), + [sym_while] = STATE(259), + [sym_for] = STATE(259), + [sym_return] = STATE(259), + [sym_function] = STATE(167), + [sym_function_expression] = STATE(362), + [sym_function_call] = STATE(168), + [sym_yield] = STATE(168), + [sym_built_in_function] = STATE(158), + [sym__identifier_pattern] = ACTIONS(124), + [sym__comment] = ACTIONS(3), + [anon_sym_LPAREN] = ACTIONS(126), + [anon_sym_async] = ACTIONS(128), + [anon_sym_LBRACE] = ACTIONS(130), + [sym_integer] = ACTIONS(132), + [sym_float] = ACTIONS(134), + [sym_string] = ACTIONS(134), + [anon_sym_true] = ACTIONS(136), + [anon_sym_false] = ACTIONS(136), + [anon_sym_LBRACK] = ACTIONS(138), + [anon_sym_none] = ACTIONS(140), + [anon_sym_some] = ACTIONS(142), + [anon_sym_if] = ACTIONS(144), + [anon_sym_match] = ACTIONS(146), + [anon_sym_while] = ACTIONS(148), + [anon_sym_for] = ACTIONS(150), + [anon_sym_asyncfor] = ACTIONS(152), + [anon_sym_return] = ACTIONS(154), + [anon_sym_assert] = ACTIONS(156), + [anon_sym_assert_equal] = ACTIONS(156), + [anon_sym_bash] = ACTIONS(156), + [anon_sym_download] = ACTIONS(156), + [anon_sym_either_or] = ACTIONS(156), + [anon_sym_fish] = ACTIONS(156), + [anon_sym_from_json] = ACTIONS(156), + [anon_sym_is_none] = ACTIONS(156), + [anon_sym_is_some] = ACTIONS(156), + [anon_sym_length] = ACTIONS(156), + [anon_sym_metadata] = ACTIONS(156), + [anon_sym_output] = ACTIONS(156), + [anon_sym_output_error] = ACTIONS(156), + [anon_sym_random] = ACTIONS(156), + [anon_sym_random_boolean] = ACTIONS(156), + [anon_sym_random_float] = ACTIONS(156), + [anon_sym_random_integer] = ACTIONS(156), + [anon_sym_read] = ACTIONS(156), + [anon_sym_to_json] = ACTIONS(156), + [anon_sym_write] = ACTIONS(156), + }, + [41] = { + [sym_math_operator] = STATE(198), + [sym_logic_operator] = STATE(192), [ts_builtin_sym_end] = ACTIONS(188), [sym__identifier_pattern] = ACTIONS(190), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(188), + [anon_sym_LPAREN] = ACTIONS(188), [anon_sym_async] = ACTIONS(190), [anon_sym_LBRACE] = ACTIONS(188), [anon_sym_RBRACE] = ACTIONS(188), - [anon_sym_SEMI] = ACTIONS(188), - [anon_sym_LPAREN] = ACTIONS(188), [sym_integer] = ACTIONS(190), [sym_float] = ACTIONS(188), [sym_string] = ACTIONS(188), @@ -5620,7 +5569,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_EQ] = ACTIONS(190), [anon_sym_none] = ACTIONS(190), [anon_sym_some] = ACTIONS(190), - [anon_sym_COLON] = ACTIONS(188), + [anon_sym_COLON] = ACTIONS(192), [anon_sym_DOT_DOT] = ACTIONS(188), [anon_sym_PLUS] = ACTIONS(190), [anon_sym_DASH] = ACTIONS(190), @@ -5643,7 +5592,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_for] = ACTIONS(190), [anon_sym_asyncfor] = ACTIONS(188), [anon_sym_return] = ACTIONS(190), - [anon_sym_DASH_GT] = ACTIONS(188), + [anon_sym_DASH_GT] = ACTIONS(194), [anon_sym_assert] = ACTIONS(190), [anon_sym_assert_equal] = ACTIONS(190), [anon_sym_bash] = ACTIONS(190), @@ -5665,147 +5614,147 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(190), [anon_sym_write] = ACTIONS(190), }, - [43] = { - [sym_math_operator] = STATE(180), - [sym_logic_operator] = STATE(211), - [ts_builtin_sym_end] = ACTIONS(184), - [sym__identifier_pattern] = ACTIONS(186), + [42] = { + [sym_math_operator] = STATE(198), + [sym_logic_operator] = STATE(192), + [ts_builtin_sym_end] = ACTIONS(196), + [sym__identifier_pattern] = ACTIONS(198), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(186), - [anon_sym_LBRACE] = ACTIONS(184), - [anon_sym_RBRACE] = ACTIONS(184), - [anon_sym_SEMI] = ACTIONS(184), - [anon_sym_LPAREN] = ACTIONS(184), - [sym_integer] = ACTIONS(186), - [sym_float] = ACTIONS(184), - [sym_string] = ACTIONS(184), - [anon_sym_true] = ACTIONS(186), - [anon_sym_false] = ACTIONS(186), - [anon_sym_LBRACK] = ACTIONS(184), - [anon_sym_EQ] = ACTIONS(186), - [anon_sym_none] = ACTIONS(186), - [anon_sym_some] = ACTIONS(186), - [anon_sym_COLON] = ACTIONS(184), - [anon_sym_DOT_DOT] = ACTIONS(192), - [anon_sym_PLUS] = ACTIONS(186), - [anon_sym_DASH] = ACTIONS(186), - [anon_sym_STAR] = ACTIONS(184), - [anon_sym_SLASH] = ACTIONS(184), - [anon_sym_PERCENT] = ACTIONS(184), - [anon_sym_EQ_EQ] = ACTIONS(184), - [anon_sym_BANG_EQ] = ACTIONS(184), - [anon_sym_AMP_AMP] = ACTIONS(184), - [anon_sym_PIPE_PIPE] = ACTIONS(184), - [anon_sym_GT] = ACTIONS(186), - [anon_sym_LT] = ACTIONS(186), - [anon_sym_GT_EQ] = ACTIONS(184), - [anon_sym_LT_EQ] = ACTIONS(184), - [anon_sym_PLUS_EQ] = ACTIONS(184), - [anon_sym_DASH_EQ] = ACTIONS(184), - [anon_sym_if] = ACTIONS(186), - [anon_sym_match] = ACTIONS(186), - [anon_sym_while] = ACTIONS(186), - [anon_sym_for] = ACTIONS(186), - [anon_sym_asyncfor] = ACTIONS(184), - [anon_sym_return] = ACTIONS(186), - [anon_sym_DASH_GT] = ACTIONS(184), - [anon_sym_assert] = ACTIONS(186), - [anon_sym_assert_equal] = ACTIONS(186), - [anon_sym_bash] = ACTIONS(186), - [anon_sym_download] = ACTIONS(186), - [anon_sym_either_or] = ACTIONS(186), - [anon_sym_fish] = ACTIONS(186), - [anon_sym_from_json] = ACTIONS(186), - [anon_sym_is_none] = ACTIONS(186), - [anon_sym_is_some] = ACTIONS(186), - [anon_sym_length] = ACTIONS(186), - [anon_sym_metadata] = ACTIONS(186), - [anon_sym_output] = ACTIONS(186), - [anon_sym_output_error] = ACTIONS(186), - [anon_sym_random] = ACTIONS(186), - [anon_sym_random_boolean] = ACTIONS(186), - [anon_sym_random_float] = ACTIONS(186), - [anon_sym_random_integer] = ACTIONS(186), - [anon_sym_read] = ACTIONS(186), - [anon_sym_to_json] = ACTIONS(186), - [anon_sym_write] = ACTIONS(186), + [anon_sym_SEMI] = ACTIONS(196), + [anon_sym_LPAREN] = ACTIONS(196), + [anon_sym_async] = ACTIONS(198), + [anon_sym_LBRACE] = ACTIONS(196), + [anon_sym_RBRACE] = ACTIONS(196), + [sym_integer] = ACTIONS(198), + [sym_float] = ACTIONS(196), + [sym_string] = ACTIONS(196), + [anon_sym_true] = ACTIONS(198), + [anon_sym_false] = ACTIONS(198), + [anon_sym_LBRACK] = ACTIONS(196), + [anon_sym_EQ] = ACTIONS(198), + [anon_sym_none] = ACTIONS(198), + [anon_sym_some] = ACTIONS(198), + [anon_sym_COLON] = ACTIONS(196), + [anon_sym_DOT_DOT] = ACTIONS(196), + [anon_sym_PLUS] = ACTIONS(198), + [anon_sym_DASH] = ACTIONS(198), + [anon_sym_STAR] = ACTIONS(196), + [anon_sym_SLASH] = ACTIONS(196), + [anon_sym_PERCENT] = ACTIONS(196), + [anon_sym_EQ_EQ] = ACTIONS(196), + [anon_sym_BANG_EQ] = ACTIONS(196), + [anon_sym_AMP_AMP] = ACTIONS(196), + [anon_sym_PIPE_PIPE] = ACTIONS(196), + [anon_sym_GT] = ACTIONS(198), + [anon_sym_LT] = ACTIONS(198), + [anon_sym_GT_EQ] = ACTIONS(196), + [anon_sym_LT_EQ] = ACTIONS(196), + [anon_sym_PLUS_EQ] = ACTIONS(196), + [anon_sym_DASH_EQ] = ACTIONS(196), + [anon_sym_if] = ACTIONS(198), + [anon_sym_match] = ACTIONS(198), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(198), + [anon_sym_asyncfor] = ACTIONS(196), + [anon_sym_return] = ACTIONS(198), + [anon_sym_DASH_GT] = ACTIONS(196), + [anon_sym_assert] = ACTIONS(198), + [anon_sym_assert_equal] = ACTIONS(198), + [anon_sym_bash] = ACTIONS(198), + [anon_sym_download] = ACTIONS(198), + [anon_sym_either_or] = ACTIONS(198), + [anon_sym_fish] = ACTIONS(198), + [anon_sym_from_json] = ACTIONS(198), + [anon_sym_is_none] = ACTIONS(198), + [anon_sym_is_some] = ACTIONS(198), + [anon_sym_length] = ACTIONS(198), + [anon_sym_metadata] = ACTIONS(198), + [anon_sym_output] = ACTIONS(198), + [anon_sym_output_error] = ACTIONS(198), + [anon_sym_random] = ACTIONS(198), + [anon_sym_random_boolean] = ACTIONS(198), + [anon_sym_random_float] = ACTIONS(198), + [anon_sym_random_integer] = ACTIONS(198), + [anon_sym_read] = ACTIONS(198), + [anon_sym_to_json] = ACTIONS(198), + [anon_sym_write] = ACTIONS(198), + }, + [43] = { + [sym_math_operator] = STATE(198), + [sym_logic_operator] = STATE(192), + [ts_builtin_sym_end] = ACTIONS(196), + [sym__identifier_pattern] = ACTIONS(198), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(196), + [anon_sym_LPAREN] = ACTIONS(196), + [anon_sym_async] = ACTIONS(198), + [anon_sym_LBRACE] = ACTIONS(196), + [anon_sym_RBRACE] = ACTIONS(196), + [sym_integer] = ACTIONS(198), + [sym_float] = ACTIONS(196), + [sym_string] = ACTIONS(196), + [anon_sym_true] = ACTIONS(198), + [anon_sym_false] = ACTIONS(198), + [anon_sym_LBRACK] = ACTIONS(196), + [anon_sym_EQ] = ACTIONS(198), + [anon_sym_none] = ACTIONS(198), + [anon_sym_some] = ACTIONS(198), + [anon_sym_COLON] = ACTIONS(196), + [anon_sym_DOT_DOT] = ACTIONS(200), + [anon_sym_PLUS] = ACTIONS(198), + [anon_sym_DASH] = ACTIONS(198), + [anon_sym_STAR] = ACTIONS(196), + [anon_sym_SLASH] = ACTIONS(196), + [anon_sym_PERCENT] = ACTIONS(196), + [anon_sym_EQ_EQ] = ACTIONS(196), + [anon_sym_BANG_EQ] = ACTIONS(196), + [anon_sym_AMP_AMP] = ACTIONS(196), + [anon_sym_PIPE_PIPE] = ACTIONS(196), + [anon_sym_GT] = ACTIONS(198), + [anon_sym_LT] = ACTIONS(198), + [anon_sym_GT_EQ] = ACTIONS(196), + [anon_sym_LT_EQ] = ACTIONS(196), + [anon_sym_PLUS_EQ] = ACTIONS(196), + [anon_sym_DASH_EQ] = ACTIONS(196), + [anon_sym_if] = ACTIONS(198), + [anon_sym_match] = ACTIONS(198), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(198), + [anon_sym_asyncfor] = ACTIONS(196), + [anon_sym_return] = ACTIONS(198), + [anon_sym_DASH_GT] = ACTIONS(196), + [anon_sym_assert] = ACTIONS(198), + [anon_sym_assert_equal] = ACTIONS(198), + [anon_sym_bash] = ACTIONS(198), + [anon_sym_download] = ACTIONS(198), + [anon_sym_either_or] = ACTIONS(198), + [anon_sym_fish] = ACTIONS(198), + [anon_sym_from_json] = ACTIONS(198), + [anon_sym_is_none] = ACTIONS(198), + [anon_sym_is_some] = ACTIONS(198), + [anon_sym_length] = ACTIONS(198), + [anon_sym_metadata] = ACTIONS(198), + [anon_sym_output] = ACTIONS(198), + [anon_sym_output_error] = ACTIONS(198), + [anon_sym_random] = ACTIONS(198), + [anon_sym_random_boolean] = ACTIONS(198), + [anon_sym_random_float] = ACTIONS(198), + [anon_sym_random_integer] = ACTIONS(198), + [anon_sym_read] = ACTIONS(198), + [anon_sym_to_json] = ACTIONS(198), + [anon_sym_write] = ACTIONS(198), }, [44] = { - [sym_math_operator] = STATE(180), - [sym_logic_operator] = STATE(211), - [ts_builtin_sym_end] = ACTIONS(194), - [sym__identifier_pattern] = ACTIONS(196), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(196), - [anon_sym_LBRACE] = ACTIONS(194), - [anon_sym_RBRACE] = ACTIONS(194), - [anon_sym_SEMI] = ACTIONS(194), - [anon_sym_LPAREN] = ACTIONS(194), - [sym_integer] = ACTIONS(196), - [sym_float] = ACTIONS(194), - [sym_string] = ACTIONS(194), - [anon_sym_true] = ACTIONS(196), - [anon_sym_false] = ACTIONS(196), - [anon_sym_LBRACK] = ACTIONS(194), - [anon_sym_EQ] = ACTIONS(196), - [anon_sym_none] = ACTIONS(196), - [anon_sym_some] = ACTIONS(196), - [anon_sym_COLON] = ACTIONS(198), - [anon_sym_DOT_DOT] = ACTIONS(194), - [anon_sym_PLUS] = ACTIONS(196), - [anon_sym_DASH] = ACTIONS(196), - [anon_sym_STAR] = ACTIONS(194), - [anon_sym_SLASH] = ACTIONS(194), - [anon_sym_PERCENT] = ACTIONS(194), - [anon_sym_EQ_EQ] = ACTIONS(194), - [anon_sym_BANG_EQ] = ACTIONS(194), - [anon_sym_AMP_AMP] = ACTIONS(194), - [anon_sym_PIPE_PIPE] = ACTIONS(194), - [anon_sym_GT] = ACTIONS(196), - [anon_sym_LT] = ACTIONS(196), - [anon_sym_GT_EQ] = ACTIONS(194), - [anon_sym_LT_EQ] = ACTIONS(194), - [anon_sym_PLUS_EQ] = ACTIONS(194), - [anon_sym_DASH_EQ] = ACTIONS(194), - [anon_sym_if] = ACTIONS(196), - [anon_sym_match] = ACTIONS(196), - [anon_sym_while] = ACTIONS(196), - [anon_sym_for] = ACTIONS(196), - [anon_sym_asyncfor] = ACTIONS(194), - [anon_sym_return] = ACTIONS(196), - [anon_sym_DASH_GT] = ACTIONS(200), - [anon_sym_assert] = ACTIONS(196), - [anon_sym_assert_equal] = ACTIONS(196), - [anon_sym_bash] = ACTIONS(196), - [anon_sym_download] = ACTIONS(196), - [anon_sym_either_or] = ACTIONS(196), - [anon_sym_fish] = ACTIONS(196), - [anon_sym_from_json] = ACTIONS(196), - [anon_sym_is_none] = ACTIONS(196), - [anon_sym_is_some] = 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), - }, - [45] = { - [sym_math_operator] = STATE(180), - [sym_logic_operator] = STATE(211), + [sym_math_operator] = STATE(198), + [sym_logic_operator] = STATE(192), [ts_builtin_sym_end] = ACTIONS(202), [sym__identifier_pattern] = ACTIONS(204), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(202), + [anon_sym_LPAREN] = ACTIONS(202), [anon_sym_async] = ACTIONS(204), [anon_sym_LBRACE] = ACTIONS(202), [anon_sym_RBRACE] = ACTIONS(202), - [anon_sym_SEMI] = ACTIONS(202), - [anon_sym_LPAREN] = ACTIONS(202), [sym_integer] = ACTIONS(204), [sym_float] = ACTIONS(202), [sym_string] = ACTIONS(202), @@ -5815,7 +5764,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_EQ] = ACTIONS(204), [anon_sym_none] = ACTIONS(204), [anon_sym_some] = ACTIONS(204), - [anon_sym_COLON] = ACTIONS(198), + [anon_sym_COLON] = ACTIONS(192), [anon_sym_DOT_DOT] = ACTIONS(202), [anon_sym_PLUS] = ACTIONS(204), [anon_sym_DASH] = ACTIONS(204), @@ -5838,7 +5787,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_for] = ACTIONS(204), [anon_sym_asyncfor] = ACTIONS(202), [anon_sym_return] = ACTIONS(204), - [anon_sym_DASH_GT] = ACTIONS(200), + [anon_sym_DASH_GT] = ACTIONS(194), [anon_sym_assert] = ACTIONS(204), [anon_sym_assert_equal] = ACTIONS(204), [anon_sym_bash] = ACTIONS(204), @@ -5860,15 +5809,17 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(204), [anon_sym_write] = ACTIONS(204), }, - [46] = { + [45] = { + [sym_math_operator] = STATE(198), + [sym_logic_operator] = STATE(192), [ts_builtin_sym_end] = ACTIONS(206), [sym__identifier_pattern] = ACTIONS(208), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(206), + [anon_sym_LPAREN] = ACTIONS(206), [anon_sym_async] = ACTIONS(208), [anon_sym_LBRACE] = ACTIONS(206), [anon_sym_RBRACE] = ACTIONS(206), - [anon_sym_SEMI] = ACTIONS(206), - [anon_sym_LPAREN] = ACTIONS(206), [sym_integer] = ACTIONS(208), [sym_float] = ACTIONS(206), [sym_string] = ACTIONS(206), @@ -5900,7 +5851,70 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(208), [anon_sym_for] = ACTIONS(208), [anon_sym_asyncfor] = ACTIONS(206), - [anon_sym_in] = ACTIONS(208), + [anon_sym_return] = ACTIONS(208), + [anon_sym_DASH_GT] = ACTIONS(206), + [anon_sym_assert] = ACTIONS(208), + [anon_sym_assert_equal] = ACTIONS(208), + [anon_sym_bash] = ACTIONS(208), + [anon_sym_download] = ACTIONS(208), + [anon_sym_either_or] = ACTIONS(208), + [anon_sym_fish] = ACTIONS(208), + [anon_sym_from_json] = ACTIONS(208), + [anon_sym_is_none] = ACTIONS(208), + [anon_sym_is_some] = ACTIONS(208), + [anon_sym_length] = ACTIONS(208), + [anon_sym_metadata] = ACTIONS(208), + [anon_sym_output] = ACTIONS(208), + [anon_sym_output_error] = ACTIONS(208), + [anon_sym_random] = ACTIONS(208), + [anon_sym_random_boolean] = ACTIONS(208), + [anon_sym_random_float] = ACTIONS(208), + [anon_sym_random_integer] = ACTIONS(208), + [anon_sym_read] = ACTIONS(208), + [anon_sym_to_json] = ACTIONS(208), + [anon_sym_write] = ACTIONS(208), + }, + [46] = { + [sym_math_operator] = STATE(201), + [sym_logic_operator] = STATE(196), + [ts_builtin_sym_end] = ACTIONS(206), + [sym__identifier_pattern] = ACTIONS(208), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(206), + [anon_sym_LPAREN] = ACTIONS(206), + [anon_sym_async] = ACTIONS(208), + [anon_sym_LBRACE] = ACTIONS(206), + [anon_sym_RBRACE] = ACTIONS(206), + [sym_integer] = ACTIONS(208), + [sym_float] = ACTIONS(206), + [sym_string] = ACTIONS(206), + [anon_sym_true] = ACTIONS(208), + [anon_sym_false] = ACTIONS(208), + [anon_sym_LBRACK] = ACTIONS(206), + [anon_sym_EQ] = ACTIONS(208), + [anon_sym_none] = ACTIONS(208), + [anon_sym_some] = ACTIONS(208), + [anon_sym_COLON] = ACTIONS(206), + [anon_sym_PLUS] = ACTIONS(208), + [anon_sym_DASH] = ACTIONS(208), + [anon_sym_STAR] = ACTIONS(206), + [anon_sym_SLASH] = ACTIONS(206), + [anon_sym_PERCENT] = ACTIONS(206), + [anon_sym_EQ_EQ] = ACTIONS(206), + [anon_sym_BANG_EQ] = ACTIONS(206), + [anon_sym_AMP_AMP] = ACTIONS(206), + [anon_sym_PIPE_PIPE] = ACTIONS(206), + [anon_sym_GT] = ACTIONS(208), + [anon_sym_LT] = ACTIONS(208), + [anon_sym_GT_EQ] = ACTIONS(206), + [anon_sym_LT_EQ] = ACTIONS(206), + [anon_sym_PLUS_EQ] = ACTIONS(206), + [anon_sym_DASH_EQ] = ACTIONS(206), + [anon_sym_if] = ACTIONS(208), + [anon_sym_match] = ACTIONS(208), + [anon_sym_while] = ACTIONS(208), + [anon_sym_for] = ACTIONS(208), + [anon_sym_asyncfor] = ACTIONS(206), [anon_sym_return] = ACTIONS(208), [anon_sym_DASH_GT] = ACTIONS(206), [anon_sym_assert] = ACTIONS(208), @@ -5926,79 +5940,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }, [47] = { [sym_math_operator] = STATE(201), - [sym_logic_operator] = STATE(197), - [ts_builtin_sym_end] = ACTIONS(194), - [sym__identifier_pattern] = ACTIONS(196), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(196), - [anon_sym_LBRACE] = ACTIONS(194), - [anon_sym_RBRACE] = ACTIONS(194), - [anon_sym_SEMI] = ACTIONS(194), - [anon_sym_LPAREN] = ACTIONS(194), - [sym_integer] = ACTIONS(196), - [sym_float] = ACTIONS(194), - [sym_string] = ACTIONS(194), - [anon_sym_true] = ACTIONS(196), - [anon_sym_false] = ACTIONS(196), - [anon_sym_LBRACK] = ACTIONS(194), - [anon_sym_EQ] = ACTIONS(196), - [anon_sym_none] = ACTIONS(196), - [anon_sym_some] = ACTIONS(196), - [anon_sym_COLON] = ACTIONS(210), - [anon_sym_PLUS] = ACTIONS(196), - [anon_sym_DASH] = ACTIONS(196), - [anon_sym_STAR] = ACTIONS(194), - [anon_sym_SLASH] = ACTIONS(194), - [anon_sym_PERCENT] = ACTIONS(194), - [anon_sym_EQ_EQ] = ACTIONS(194), - [anon_sym_BANG_EQ] = ACTIONS(194), - [anon_sym_AMP_AMP] = ACTIONS(194), - [anon_sym_PIPE_PIPE] = ACTIONS(194), - [anon_sym_GT] = ACTIONS(196), - [anon_sym_LT] = ACTIONS(196), - [anon_sym_GT_EQ] = ACTIONS(194), - [anon_sym_LT_EQ] = ACTIONS(194), - [anon_sym_PLUS_EQ] = ACTIONS(194), - [anon_sym_DASH_EQ] = ACTIONS(194), - [anon_sym_if] = ACTIONS(196), - [anon_sym_match] = ACTIONS(196), - [anon_sym_while] = ACTIONS(196), - [anon_sym_for] = ACTIONS(196), - [anon_sym_asyncfor] = ACTIONS(194), - [anon_sym_return] = ACTIONS(196), - [anon_sym_DASH_GT] = ACTIONS(212), - [anon_sym_assert] = ACTIONS(196), - [anon_sym_assert_equal] = ACTIONS(196), - [anon_sym_bash] = ACTIONS(196), - [anon_sym_download] = ACTIONS(196), - [anon_sym_either_or] = ACTIONS(196), - [anon_sym_fish] = ACTIONS(196), - [anon_sym_from_json] = ACTIONS(196), - [anon_sym_is_none] = ACTIONS(196), - [anon_sym_is_some] = 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), - }, - [48] = { - [sym_math_operator] = STATE(201), - [sym_logic_operator] = STATE(197), + [sym_logic_operator] = STATE(196), [ts_builtin_sym_end] = ACTIONS(202), [sym__identifier_pattern] = ACTIONS(204), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(202), + [anon_sym_LPAREN] = ACTIONS(202), [anon_sym_async] = ACTIONS(204), [anon_sym_LBRACE] = ACTIONS(202), [anon_sym_RBRACE] = ACTIONS(202), - [anon_sym_SEMI] = ACTIONS(202), - [anon_sym_LPAREN] = ACTIONS(202), [sym_integer] = ACTIONS(204), [sym_float] = ACTIONS(202), [sym_string] = ACTIONS(202), @@ -6052,79 +6002,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(204), [anon_sym_write] = ACTIONS(204), }, - [49] = { - [sym_math_operator] = STATE(201), - [sym_logic_operator] = STATE(197), - [ts_builtin_sym_end] = ACTIONS(188), - [sym__identifier_pattern] = ACTIONS(190), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(190), - [anon_sym_LBRACE] = ACTIONS(188), - [anon_sym_RBRACE] = ACTIONS(188), - [anon_sym_SEMI] = ACTIONS(188), - [anon_sym_LPAREN] = ACTIONS(188), - [sym_integer] = ACTIONS(190), - [sym_float] = ACTIONS(188), - [sym_string] = ACTIONS(188), - [anon_sym_true] = ACTIONS(190), - [anon_sym_false] = ACTIONS(190), - [anon_sym_LBRACK] = ACTIONS(188), - [anon_sym_EQ] = ACTIONS(190), - [anon_sym_none] = ACTIONS(190), - [anon_sym_some] = ACTIONS(190), - [anon_sym_COLON] = ACTIONS(188), - [anon_sym_PLUS] = ACTIONS(190), - [anon_sym_DASH] = ACTIONS(190), - [anon_sym_STAR] = ACTIONS(188), - [anon_sym_SLASH] = ACTIONS(188), - [anon_sym_PERCENT] = ACTIONS(188), - [anon_sym_EQ_EQ] = ACTIONS(188), - [anon_sym_BANG_EQ] = ACTIONS(188), - [anon_sym_AMP_AMP] = ACTIONS(188), - [anon_sym_PIPE_PIPE] = ACTIONS(188), - [anon_sym_GT] = ACTIONS(190), - [anon_sym_LT] = ACTIONS(190), - [anon_sym_GT_EQ] = ACTIONS(188), - [anon_sym_LT_EQ] = ACTIONS(188), - [anon_sym_PLUS_EQ] = ACTIONS(188), - [anon_sym_DASH_EQ] = ACTIONS(188), - [anon_sym_if] = ACTIONS(190), - [anon_sym_match] = ACTIONS(190), - [anon_sym_while] = ACTIONS(190), - [anon_sym_for] = ACTIONS(190), - [anon_sym_asyncfor] = ACTIONS(188), - [anon_sym_return] = ACTIONS(190), - [anon_sym_DASH_GT] = ACTIONS(188), - [anon_sym_assert] = ACTIONS(190), - [anon_sym_assert_equal] = ACTIONS(190), - [anon_sym_bash] = ACTIONS(190), - [anon_sym_download] = ACTIONS(190), - [anon_sym_either_or] = ACTIONS(190), - [anon_sym_fish] = ACTIONS(190), - [anon_sym_from_json] = ACTIONS(190), - [anon_sym_is_none] = ACTIONS(190), - [anon_sym_is_some] = ACTIONS(190), - [anon_sym_length] = ACTIONS(190), - [anon_sym_metadata] = ACTIONS(190), - [anon_sym_output] = ACTIONS(190), - [anon_sym_output_error] = ACTIONS(190), - [anon_sym_random] = ACTIONS(190), - [anon_sym_random_boolean] = ACTIONS(190), - [anon_sym_random_float] = ACTIONS(190), - [anon_sym_random_integer] = ACTIONS(190), - [anon_sym_read] = ACTIONS(190), - [anon_sym_to_json] = ACTIONS(190), - [anon_sym_write] = ACTIONS(190), - }, - [50] = { + [48] = { [ts_builtin_sym_end] = ACTIONS(214), [sym__identifier_pattern] = ACTIONS(216), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(214), + [anon_sym_LPAREN] = ACTIONS(214), [anon_sym_async] = ACTIONS(216), [anon_sym_LBRACE] = ACTIONS(214), [anon_sym_RBRACE] = ACTIONS(214), - [anon_sym_SEMI] = ACTIONS(214), - [anon_sym_LPAREN] = ACTIONS(214), [sym_integer] = ACTIONS(216), [sym_float] = ACTIONS(214), [sym_string] = ACTIONS(214), @@ -6180,17 +6066,81 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(216), [anon_sym_write] = ACTIONS(216), }, - [51] = { - [sym_assignment_operator] = STATE(27), - [sym_type_definition] = STATE(338), + [49] = { + [sym_math_operator] = STATE(201), + [sym_logic_operator] = STATE(196), + [ts_builtin_sym_end] = ACTIONS(188), + [sym__identifier_pattern] = ACTIONS(190), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(188), + [anon_sym_LPAREN] = ACTIONS(188), + [anon_sym_async] = ACTIONS(190), + [anon_sym_LBRACE] = ACTIONS(188), + [anon_sym_RBRACE] = ACTIONS(188), + [sym_integer] = ACTIONS(190), + [sym_float] = ACTIONS(188), + [sym_string] = ACTIONS(188), + [anon_sym_true] = ACTIONS(190), + [anon_sym_false] = ACTIONS(190), + [anon_sym_LBRACK] = ACTIONS(188), + [anon_sym_EQ] = ACTIONS(190), + [anon_sym_none] = ACTIONS(190), + [anon_sym_some] = ACTIONS(190), + [anon_sym_COLON] = ACTIONS(210), + [anon_sym_PLUS] = ACTIONS(190), + [anon_sym_DASH] = ACTIONS(190), + [anon_sym_STAR] = ACTIONS(188), + [anon_sym_SLASH] = ACTIONS(188), + [anon_sym_PERCENT] = ACTIONS(188), + [anon_sym_EQ_EQ] = ACTIONS(188), + [anon_sym_BANG_EQ] = ACTIONS(188), + [anon_sym_AMP_AMP] = ACTIONS(188), + [anon_sym_PIPE_PIPE] = ACTIONS(188), + [anon_sym_GT] = ACTIONS(190), + [anon_sym_LT] = ACTIONS(190), + [anon_sym_GT_EQ] = ACTIONS(188), + [anon_sym_LT_EQ] = ACTIONS(188), + [anon_sym_PLUS_EQ] = ACTIONS(188), + [anon_sym_DASH_EQ] = ACTIONS(188), + [anon_sym_if] = ACTIONS(190), + [anon_sym_match] = ACTIONS(190), + [anon_sym_while] = ACTIONS(190), + [anon_sym_for] = ACTIONS(190), + [anon_sym_asyncfor] = ACTIONS(188), + [anon_sym_return] = ACTIONS(190), + [anon_sym_DASH_GT] = ACTIONS(212), + [anon_sym_assert] = ACTIONS(190), + [anon_sym_assert_equal] = ACTIONS(190), + [anon_sym_bash] = ACTIONS(190), + [anon_sym_download] = ACTIONS(190), + [anon_sym_either_or] = ACTIONS(190), + [anon_sym_fish] = ACTIONS(190), + [anon_sym_from_json] = ACTIONS(190), + [anon_sym_is_none] = ACTIONS(190), + [anon_sym_is_some] = ACTIONS(190), + [anon_sym_length] = ACTIONS(190), + [anon_sym_metadata] = ACTIONS(190), + [anon_sym_output] = ACTIONS(190), + [anon_sym_output_error] = ACTIONS(190), + [anon_sym_random] = ACTIONS(190), + [anon_sym_random_boolean] = ACTIONS(190), + [anon_sym_random_float] = ACTIONS(190), + [anon_sym_random_integer] = ACTIONS(190), + [anon_sym_read] = ACTIONS(190), + [anon_sym_to_json] = ACTIONS(190), + [anon_sym_write] = ACTIONS(190), + }, + [50] = { + [sym_assignment_operator] = STATE(32), + [sym_type_definition] = STATE(339), [ts_builtin_sym_end] = ACTIONS(218), [sym__identifier_pattern] = ACTIONS(220), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(218), + [anon_sym_LPAREN] = ACTIONS(222), [anon_sym_async] = ACTIONS(220), [anon_sym_LBRACE] = ACTIONS(218), [anon_sym_RBRACE] = ACTIONS(218), - [anon_sym_SEMI] = ACTIONS(218), - [anon_sym_LPAREN] = ACTIONS(222), [sym_integer] = ACTIONS(220), [sym_float] = ACTIONS(218), [sym_string] = ACTIONS(218), @@ -6244,15 +6194,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(220), [anon_sym_write] = ACTIONS(220), }, - [52] = { + [51] = { [ts_builtin_sym_end] = ACTIONS(230), [sym__identifier_pattern] = ACTIONS(232), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(230), + [anon_sym_LPAREN] = ACTIONS(230), [anon_sym_async] = ACTIONS(232), [anon_sym_LBRACE] = ACTIONS(230), [anon_sym_RBRACE] = ACTIONS(230), - [anon_sym_SEMI] = ACTIONS(230), - [anon_sym_LPAREN] = ACTIONS(230), [sym_integer] = ACTIONS(232), [sym_float] = ACTIONS(230), [sym_string] = ACTIONS(230), @@ -6284,6 +6234,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(232), [anon_sym_for] = ACTIONS(232), [anon_sym_asyncfor] = ACTIONS(230), + [anon_sym_in] = ACTIONS(232), [anon_sym_return] = ACTIONS(232), [anon_sym_DASH_GT] = ACTIONS(230), [anon_sym_assert] = ACTIONS(232), @@ -6307,15 +6258,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(232), [anon_sym_write] = ACTIONS(232), }, - [53] = { + [52] = { [ts_builtin_sym_end] = ACTIONS(234), [sym__identifier_pattern] = ACTIONS(236), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(234), + [anon_sym_LPAREN] = ACTIONS(234), [anon_sym_async] = ACTIONS(236), [anon_sym_LBRACE] = ACTIONS(234), [anon_sym_RBRACE] = ACTIONS(234), - [anon_sym_SEMI] = ACTIONS(234), - [anon_sym_LPAREN] = ACTIONS(222), [sym_integer] = ACTIONS(236), [sym_float] = ACTIONS(234), [sym_string] = ACTIONS(234), @@ -6370,15 +6321,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(236), [anon_sym_write] = ACTIONS(236), }, - [54] = { + [53] = { [ts_builtin_sym_end] = ACTIONS(238), [sym__identifier_pattern] = ACTIONS(240), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(238), + [anon_sym_LPAREN] = ACTIONS(238), [anon_sym_async] = ACTIONS(240), [anon_sym_LBRACE] = ACTIONS(238), [anon_sym_RBRACE] = ACTIONS(238), - [anon_sym_SEMI] = ACTIONS(238), - [anon_sym_LPAREN] = ACTIONS(238), [sym_integer] = ACTIONS(240), [sym_float] = ACTIONS(238), [sym_string] = ACTIONS(238), @@ -6433,15 +6384,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(240), [anon_sym_write] = ACTIONS(240), }, - [55] = { + [54] = { [ts_builtin_sym_end] = ACTIONS(242), [sym__identifier_pattern] = ACTIONS(244), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(242), + [anon_sym_LPAREN] = ACTIONS(242), [anon_sym_async] = ACTIONS(244), [anon_sym_LBRACE] = ACTIONS(242), [anon_sym_RBRACE] = ACTIONS(242), - [anon_sym_SEMI] = ACTIONS(242), - [anon_sym_LPAREN] = ACTIONS(242), [sym_integer] = ACTIONS(244), [sym_float] = ACTIONS(242), [sym_string] = ACTIONS(242), @@ -6496,15 +6447,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(244), [anon_sym_write] = ACTIONS(244), }, - [56] = { + [55] = { [ts_builtin_sym_end] = ACTIONS(246), [sym__identifier_pattern] = ACTIONS(248), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(246), + [anon_sym_LPAREN] = ACTIONS(222), [anon_sym_async] = ACTIONS(248), [anon_sym_LBRACE] = ACTIONS(246), [anon_sym_RBRACE] = ACTIONS(246), - [anon_sym_SEMI] = ACTIONS(246), - [anon_sym_LPAREN] = ACTIONS(246), [sym_integer] = ACTIONS(248), [sym_float] = ACTIONS(246), [sym_string] = ACTIONS(246), @@ -6559,78 +6510,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(248), [anon_sym_write] = ACTIONS(248), }, - [57] = { - [ts_builtin_sym_end] = ACTIONS(218), - [sym__identifier_pattern] = ACTIONS(220), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(220), - [anon_sym_LBRACE] = ACTIONS(218), - [anon_sym_RBRACE] = ACTIONS(218), - [anon_sym_SEMI] = ACTIONS(218), - [anon_sym_LPAREN] = ACTIONS(222), - [sym_integer] = ACTIONS(220), - [sym_float] = ACTIONS(218), - [sym_string] = ACTIONS(218), - [anon_sym_true] = ACTIONS(220), - [anon_sym_false] = ACTIONS(220), - [anon_sym_LBRACK] = ACTIONS(218), - [anon_sym_EQ] = ACTIONS(220), - [anon_sym_none] = ACTIONS(220), - [anon_sym_some] = ACTIONS(220), - [anon_sym_COLON] = ACTIONS(218), - [anon_sym_DOT_DOT] = ACTIONS(218), - [anon_sym_PLUS] = ACTIONS(220), - [anon_sym_DASH] = ACTIONS(220), - [anon_sym_STAR] = ACTIONS(218), - [anon_sym_SLASH] = ACTIONS(218), - [anon_sym_PERCENT] = ACTIONS(218), - [anon_sym_EQ_EQ] = ACTIONS(218), - [anon_sym_BANG_EQ] = ACTIONS(218), - [anon_sym_AMP_AMP] = ACTIONS(218), - [anon_sym_PIPE_PIPE] = ACTIONS(218), - [anon_sym_GT] = ACTIONS(220), - [anon_sym_LT] = ACTIONS(220), - [anon_sym_GT_EQ] = ACTIONS(218), - [anon_sym_LT_EQ] = ACTIONS(218), - [anon_sym_PLUS_EQ] = ACTIONS(218), - [anon_sym_DASH_EQ] = ACTIONS(218), - [anon_sym_if] = ACTIONS(220), - [anon_sym_match] = ACTIONS(220), - [anon_sym_while] = ACTIONS(220), - [anon_sym_for] = ACTIONS(220), - [anon_sym_asyncfor] = ACTIONS(218), - [anon_sym_return] = ACTIONS(220), - [anon_sym_DASH_GT] = ACTIONS(218), - [anon_sym_assert] = ACTIONS(220), - [anon_sym_assert_equal] = ACTIONS(220), - [anon_sym_bash] = ACTIONS(220), - [anon_sym_download] = ACTIONS(220), - [anon_sym_either_or] = ACTIONS(220), - [anon_sym_fish] = ACTIONS(220), - [anon_sym_from_json] = ACTIONS(220), - [anon_sym_is_none] = ACTIONS(220), - [anon_sym_is_some] = ACTIONS(220), - [anon_sym_length] = ACTIONS(220), - [anon_sym_metadata] = ACTIONS(220), - [anon_sym_output] = ACTIONS(220), - [anon_sym_output_error] = ACTIONS(220), - [anon_sym_random] = ACTIONS(220), - [anon_sym_random_boolean] = ACTIONS(220), - [anon_sym_random_float] = ACTIONS(220), - [anon_sym_random_integer] = ACTIONS(220), - [anon_sym_read] = ACTIONS(220), - [anon_sym_to_json] = ACTIONS(220), - [anon_sym_write] = ACTIONS(220), - }, - [58] = { + [56] = { [ts_builtin_sym_end] = ACTIONS(250), [sym__identifier_pattern] = ACTIONS(252), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(250), + [anon_sym_LPAREN] = ACTIONS(250), [anon_sym_async] = ACTIONS(252), [anon_sym_LBRACE] = ACTIONS(250), [anon_sym_RBRACE] = ACTIONS(250), - [anon_sym_SEMI] = ACTIONS(250), - [anon_sym_LPAREN] = ACTIONS(250), [sym_integer] = ACTIONS(252), [sym_float] = ACTIONS(250), [sym_string] = ACTIONS(250), @@ -6685,267 +6573,267 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(252), [anon_sym_write] = ACTIONS(252), }, - [59] = { - [ts_builtin_sym_end] = ACTIONS(222), - [sym__identifier_pattern] = ACTIONS(254), + [57] = { + [ts_builtin_sym_end] = ACTIONS(254), + [sym__identifier_pattern] = ACTIONS(256), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(254), - [anon_sym_LBRACE] = ACTIONS(222), - [anon_sym_RBRACE] = ACTIONS(222), - [anon_sym_SEMI] = ACTIONS(222), + [anon_sym_SEMI] = ACTIONS(254), + [anon_sym_LPAREN] = ACTIONS(254), + [anon_sym_async] = ACTIONS(256), + [anon_sym_LBRACE] = ACTIONS(254), + [anon_sym_RBRACE] = ACTIONS(254), + [sym_integer] = ACTIONS(256), + [sym_float] = ACTIONS(254), + [sym_string] = ACTIONS(254), + [anon_sym_true] = ACTIONS(256), + [anon_sym_false] = ACTIONS(256), + [anon_sym_LBRACK] = ACTIONS(254), + [anon_sym_EQ] = ACTIONS(256), + [anon_sym_none] = ACTIONS(256), + [anon_sym_some] = ACTIONS(256), + [anon_sym_COLON] = ACTIONS(254), + [anon_sym_DOT_DOT] = ACTIONS(254), + [anon_sym_PLUS] = ACTIONS(256), + [anon_sym_DASH] = ACTIONS(256), + [anon_sym_STAR] = ACTIONS(254), + [anon_sym_SLASH] = ACTIONS(254), + [anon_sym_PERCENT] = ACTIONS(254), + [anon_sym_EQ_EQ] = ACTIONS(254), + [anon_sym_BANG_EQ] = ACTIONS(254), + [anon_sym_AMP_AMP] = ACTIONS(254), + [anon_sym_PIPE_PIPE] = ACTIONS(254), + [anon_sym_GT] = ACTIONS(256), + [anon_sym_LT] = ACTIONS(256), + [anon_sym_GT_EQ] = ACTIONS(254), + [anon_sym_LT_EQ] = ACTIONS(254), + [anon_sym_PLUS_EQ] = ACTIONS(254), + [anon_sym_DASH_EQ] = ACTIONS(254), + [anon_sym_if] = ACTIONS(256), + [anon_sym_match] = ACTIONS(256), + [anon_sym_while] = ACTIONS(256), + [anon_sym_for] = ACTIONS(256), + [anon_sym_asyncfor] = ACTIONS(254), + [anon_sym_return] = ACTIONS(256), + [anon_sym_DASH_GT] = ACTIONS(254), + [anon_sym_assert] = ACTIONS(256), + [anon_sym_assert_equal] = ACTIONS(256), + [anon_sym_bash] = ACTIONS(256), + [anon_sym_download] = ACTIONS(256), + [anon_sym_either_or] = ACTIONS(256), + [anon_sym_fish] = ACTIONS(256), + [anon_sym_from_json] = ACTIONS(256), + [anon_sym_is_none] = ACTIONS(256), + [anon_sym_is_some] = ACTIONS(256), + [anon_sym_length] = ACTIONS(256), + [anon_sym_metadata] = ACTIONS(256), + [anon_sym_output] = ACTIONS(256), + [anon_sym_output_error] = ACTIONS(256), + [anon_sym_random] = ACTIONS(256), + [anon_sym_random_boolean] = ACTIONS(256), + [anon_sym_random_float] = ACTIONS(256), + [anon_sym_random_integer] = ACTIONS(256), + [anon_sym_read] = ACTIONS(256), + [anon_sym_to_json] = ACTIONS(256), + [anon_sym_write] = ACTIONS(256), + }, + [58] = { + [ts_builtin_sym_end] = ACTIONS(218), + [sym__identifier_pattern] = ACTIONS(220), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(218), [anon_sym_LPAREN] = ACTIONS(222), - [sym_integer] = ACTIONS(254), - [sym_float] = ACTIONS(222), - [sym_string] = ACTIONS(222), - [anon_sym_true] = ACTIONS(254), - [anon_sym_false] = ACTIONS(254), - [anon_sym_LBRACK] = ACTIONS(222), - [anon_sym_EQ] = ACTIONS(254), - [anon_sym_none] = ACTIONS(254), - [anon_sym_some] = ACTIONS(254), - [anon_sym_COLON] = ACTIONS(222), - [anon_sym_DOT_DOT] = ACTIONS(222), - [anon_sym_PLUS] = ACTIONS(254), - [anon_sym_DASH] = ACTIONS(254), - [anon_sym_STAR] = ACTIONS(222), - [anon_sym_SLASH] = ACTIONS(222), - [anon_sym_PERCENT] = ACTIONS(222), - [anon_sym_EQ_EQ] = ACTIONS(222), - [anon_sym_BANG_EQ] = ACTIONS(222), - [anon_sym_AMP_AMP] = ACTIONS(222), - [anon_sym_PIPE_PIPE] = ACTIONS(222), - [anon_sym_GT] = ACTIONS(254), - [anon_sym_LT] = ACTIONS(254), - [anon_sym_GT_EQ] = ACTIONS(222), - [anon_sym_LT_EQ] = ACTIONS(222), - [anon_sym_PLUS_EQ] = ACTIONS(222), - [anon_sym_DASH_EQ] = ACTIONS(222), - [anon_sym_if] = ACTIONS(254), - [anon_sym_match] = ACTIONS(254), - [anon_sym_while] = ACTIONS(254), - [anon_sym_for] = ACTIONS(254), - [anon_sym_asyncfor] = ACTIONS(222), - [anon_sym_return] = ACTIONS(254), - [anon_sym_DASH_GT] = ACTIONS(222), - [anon_sym_assert] = ACTIONS(254), - [anon_sym_assert_equal] = ACTIONS(254), - [anon_sym_bash] = ACTIONS(254), - [anon_sym_download] = ACTIONS(254), - [anon_sym_either_or] = ACTIONS(254), - [anon_sym_fish] = ACTIONS(254), - [anon_sym_from_json] = ACTIONS(254), - [anon_sym_is_none] = ACTIONS(254), - [anon_sym_is_some] = ACTIONS(254), - [anon_sym_length] = ACTIONS(254), - [anon_sym_metadata] = ACTIONS(254), - [anon_sym_output] = ACTIONS(254), - [anon_sym_output_error] = ACTIONS(254), - [anon_sym_random] = ACTIONS(254), - [anon_sym_random_boolean] = ACTIONS(254), - [anon_sym_random_float] = ACTIONS(254), - [anon_sym_random_integer] = ACTIONS(254), - [anon_sym_read] = ACTIONS(254), - [anon_sym_to_json] = ACTIONS(254), - [anon_sym_write] = ACTIONS(254), + [anon_sym_async] = ACTIONS(220), + [anon_sym_LBRACE] = ACTIONS(218), + [anon_sym_RBRACE] = ACTIONS(218), + [sym_integer] = ACTIONS(220), + [sym_float] = ACTIONS(218), + [sym_string] = ACTIONS(218), + [anon_sym_true] = ACTIONS(220), + [anon_sym_false] = ACTIONS(220), + [anon_sym_LBRACK] = ACTIONS(218), + [anon_sym_EQ] = ACTIONS(220), + [anon_sym_none] = ACTIONS(220), + [anon_sym_some] = ACTIONS(220), + [anon_sym_COLON] = ACTIONS(218), + [anon_sym_DOT_DOT] = ACTIONS(218), + [anon_sym_PLUS] = ACTIONS(220), + [anon_sym_DASH] = ACTIONS(220), + [anon_sym_STAR] = ACTIONS(218), + [anon_sym_SLASH] = ACTIONS(218), + [anon_sym_PERCENT] = ACTIONS(218), + [anon_sym_EQ_EQ] = ACTIONS(218), + [anon_sym_BANG_EQ] = ACTIONS(218), + [anon_sym_AMP_AMP] = ACTIONS(218), + [anon_sym_PIPE_PIPE] = ACTIONS(218), + [anon_sym_GT] = ACTIONS(220), + [anon_sym_LT] = ACTIONS(220), + [anon_sym_GT_EQ] = ACTIONS(218), + [anon_sym_LT_EQ] = ACTIONS(218), + [anon_sym_PLUS_EQ] = ACTIONS(218), + [anon_sym_DASH_EQ] = ACTIONS(218), + [anon_sym_if] = ACTIONS(220), + [anon_sym_match] = ACTIONS(220), + [anon_sym_while] = ACTIONS(220), + [anon_sym_for] = ACTIONS(220), + [anon_sym_asyncfor] = ACTIONS(218), + [anon_sym_return] = ACTIONS(220), + [anon_sym_DASH_GT] = ACTIONS(218), + [anon_sym_assert] = ACTIONS(220), + [anon_sym_assert_equal] = ACTIONS(220), + [anon_sym_bash] = ACTIONS(220), + [anon_sym_download] = ACTIONS(220), + [anon_sym_either_or] = ACTIONS(220), + [anon_sym_fish] = ACTIONS(220), + [anon_sym_from_json] = ACTIONS(220), + [anon_sym_is_none] = ACTIONS(220), + [anon_sym_is_some] = ACTIONS(220), + [anon_sym_length] = ACTIONS(220), + [anon_sym_metadata] = ACTIONS(220), + [anon_sym_output] = ACTIONS(220), + [anon_sym_output_error] = ACTIONS(220), + [anon_sym_random] = ACTIONS(220), + [anon_sym_random_boolean] = ACTIONS(220), + [anon_sym_random_float] = ACTIONS(220), + [anon_sym_random_integer] = ACTIONS(220), + [anon_sym_read] = ACTIONS(220), + [anon_sym_to_json] = ACTIONS(220), + [anon_sym_write] = ACTIONS(220), + }, + [59] = { + [ts_builtin_sym_end] = ACTIONS(258), + [sym__identifier_pattern] = ACTIONS(260), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(258), + [anon_sym_LPAREN] = ACTIONS(258), + [anon_sym_async] = ACTIONS(260), + [anon_sym_LBRACE] = ACTIONS(258), + [anon_sym_RBRACE] = ACTIONS(258), + [sym_integer] = ACTIONS(260), + [sym_float] = ACTIONS(258), + [sym_string] = ACTIONS(258), + [anon_sym_true] = ACTIONS(260), + [anon_sym_false] = ACTIONS(260), + [anon_sym_LBRACK] = ACTIONS(258), + [anon_sym_EQ] = ACTIONS(260), + [anon_sym_none] = ACTIONS(260), + [anon_sym_some] = ACTIONS(260), + [anon_sym_COLON] = ACTIONS(258), + [anon_sym_DOT_DOT] = ACTIONS(258), + [anon_sym_PLUS] = ACTIONS(260), + [anon_sym_DASH] = ACTIONS(260), + [anon_sym_STAR] = ACTIONS(258), + [anon_sym_SLASH] = ACTIONS(258), + [anon_sym_PERCENT] = ACTIONS(258), + [anon_sym_EQ_EQ] = ACTIONS(258), + [anon_sym_BANG_EQ] = ACTIONS(258), + [anon_sym_AMP_AMP] = ACTIONS(258), + [anon_sym_PIPE_PIPE] = ACTIONS(258), + [anon_sym_GT] = ACTIONS(260), + [anon_sym_LT] = ACTIONS(260), + [anon_sym_GT_EQ] = ACTIONS(258), + [anon_sym_LT_EQ] = ACTIONS(258), + [anon_sym_PLUS_EQ] = ACTIONS(258), + [anon_sym_DASH_EQ] = ACTIONS(258), + [anon_sym_if] = ACTIONS(260), + [anon_sym_match] = ACTIONS(260), + [anon_sym_while] = ACTIONS(260), + [anon_sym_for] = ACTIONS(260), + [anon_sym_asyncfor] = ACTIONS(258), + [anon_sym_return] = ACTIONS(260), + [anon_sym_DASH_GT] = ACTIONS(258), + [anon_sym_assert] = ACTIONS(260), + [anon_sym_assert_equal] = ACTIONS(260), + [anon_sym_bash] = ACTIONS(260), + [anon_sym_download] = ACTIONS(260), + [anon_sym_either_or] = ACTIONS(260), + [anon_sym_fish] = ACTIONS(260), + [anon_sym_from_json] = ACTIONS(260), + [anon_sym_is_none] = ACTIONS(260), + [anon_sym_is_some] = ACTIONS(260), + [anon_sym_length] = ACTIONS(260), + [anon_sym_metadata] = ACTIONS(260), + [anon_sym_output] = ACTIONS(260), + [anon_sym_output_error] = ACTIONS(260), + [anon_sym_random] = ACTIONS(260), + [anon_sym_random_boolean] = ACTIONS(260), + [anon_sym_random_float] = ACTIONS(260), + [anon_sym_random_integer] = ACTIONS(260), + [anon_sym_read] = ACTIONS(260), + [anon_sym_to_json] = ACTIONS(260), + [anon_sym_write] = ACTIONS(260), }, [60] = { - [ts_builtin_sym_end] = ACTIONS(222), - [sym__identifier_pattern] = ACTIONS(254), + [sym_assignment_operator] = STATE(32), + [sym_type_definition] = STATE(342), + [sym__identifier_pattern] = ACTIONS(220), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(254), - [anon_sym_LBRACE] = ACTIONS(222), - [anon_sym_RBRACE] = ACTIONS(222), - [anon_sym_SEMI] = ACTIONS(222), + [anon_sym_SEMI] = ACTIONS(218), [anon_sym_LPAREN] = ACTIONS(222), - [sym_integer] = ACTIONS(254), - [sym_float] = ACTIONS(222), - [sym_string] = ACTIONS(222), - [anon_sym_true] = ACTIONS(254), - [anon_sym_false] = ACTIONS(254), - [anon_sym_LBRACK] = ACTIONS(222), - [anon_sym_EQ] = ACTIONS(254), - [anon_sym_none] = ACTIONS(254), - [anon_sym_some] = ACTIONS(254), - [anon_sym_COLON] = ACTIONS(222), - [anon_sym_DOT_DOT] = ACTIONS(222), - [anon_sym_PLUS] = ACTIONS(254), - [anon_sym_DASH] = ACTIONS(254), - [anon_sym_STAR] = ACTIONS(222), - [anon_sym_SLASH] = ACTIONS(222), - [anon_sym_PERCENT] = ACTIONS(222), - [anon_sym_EQ_EQ] = ACTIONS(222), - [anon_sym_BANG_EQ] = ACTIONS(222), - [anon_sym_AMP_AMP] = ACTIONS(222), - [anon_sym_PIPE_PIPE] = ACTIONS(222), - [anon_sym_GT] = ACTIONS(254), - [anon_sym_LT] = ACTIONS(254), - [anon_sym_GT_EQ] = ACTIONS(222), - [anon_sym_LT_EQ] = ACTIONS(222), - [anon_sym_PLUS_EQ] = ACTIONS(222), - [anon_sym_DASH_EQ] = ACTIONS(222), - [anon_sym_if] = ACTIONS(254), - [anon_sym_match] = ACTIONS(254), - [anon_sym_while] = ACTIONS(254), - [anon_sym_for] = ACTIONS(254), - [anon_sym_asyncfor] = ACTIONS(222), - [anon_sym_return] = ACTIONS(254), - [anon_sym_DASH_GT] = ACTIONS(222), - [anon_sym_assert] = ACTIONS(254), - [anon_sym_assert_equal] = ACTIONS(254), - [anon_sym_bash] = ACTIONS(254), - [anon_sym_download] = ACTIONS(254), - [anon_sym_either_or] = ACTIONS(254), - [anon_sym_fish] = ACTIONS(254), - [anon_sym_from_json] = ACTIONS(254), - [anon_sym_is_none] = ACTIONS(254), - [anon_sym_is_some] = ACTIONS(254), - [anon_sym_length] = ACTIONS(254), - [anon_sym_metadata] = ACTIONS(254), - [anon_sym_output] = ACTIONS(254), - [anon_sym_output_error] = ACTIONS(254), - [anon_sym_random] = ACTIONS(254), - [anon_sym_random_boolean] = ACTIONS(254), - [anon_sym_random_float] = ACTIONS(254), - [anon_sym_random_integer] = ACTIONS(254), - [anon_sym_read] = ACTIONS(254), - [anon_sym_to_json] = ACTIONS(254), - [anon_sym_write] = ACTIONS(254), + [anon_sym_async] = ACTIONS(220), + [anon_sym_LBRACE] = ACTIONS(218), + [anon_sym_RBRACE] = ACTIONS(218), + [sym_integer] = ACTIONS(220), + [sym_float] = ACTIONS(218), + [sym_string] = ACTIONS(218), + [anon_sym_true] = ACTIONS(220), + [anon_sym_false] = ACTIONS(220), + [anon_sym_LBRACK] = ACTIONS(218), + [anon_sym_EQ] = ACTIONS(262), + [anon_sym_none] = ACTIONS(220), + [anon_sym_some] = ACTIONS(220), + [anon_sym_COLON] = ACTIONS(218), + [anon_sym_PLUS] = ACTIONS(220), + [anon_sym_DASH] = ACTIONS(220), + [anon_sym_STAR] = ACTIONS(218), + [anon_sym_SLASH] = ACTIONS(218), + [anon_sym_PERCENT] = ACTIONS(218), + [anon_sym_EQ_EQ] = ACTIONS(218), + [anon_sym_BANG_EQ] = ACTIONS(218), + [anon_sym_AMP_AMP] = ACTIONS(218), + [anon_sym_PIPE_PIPE] = ACTIONS(218), + [anon_sym_GT] = ACTIONS(220), + [anon_sym_LT] = ACTIONS(226), + [anon_sym_GT_EQ] = ACTIONS(218), + [anon_sym_LT_EQ] = ACTIONS(218), + [anon_sym_PLUS_EQ] = ACTIONS(228), + [anon_sym_DASH_EQ] = ACTIONS(228), + [anon_sym_if] = ACTIONS(220), + [anon_sym_match] = ACTIONS(220), + [anon_sym_while] = ACTIONS(220), + [anon_sym_for] = ACTIONS(220), + [anon_sym_asyncfor] = ACTIONS(218), + [anon_sym_return] = ACTIONS(220), + [anon_sym_DASH_GT] = ACTIONS(218), + [anon_sym_assert] = ACTIONS(220), + [anon_sym_assert_equal] = ACTIONS(220), + [anon_sym_bash] = ACTIONS(220), + [anon_sym_download] = ACTIONS(220), + [anon_sym_either_or] = ACTIONS(220), + [anon_sym_fish] = ACTIONS(220), + [anon_sym_from_json] = ACTIONS(220), + [anon_sym_is_none] = ACTIONS(220), + [anon_sym_is_some] = ACTIONS(220), + [anon_sym_length] = ACTIONS(220), + [anon_sym_metadata] = ACTIONS(220), + [anon_sym_output] = ACTIONS(220), + [anon_sym_output_error] = ACTIONS(220), + [anon_sym_random] = ACTIONS(220), + [anon_sym_random_boolean] = ACTIONS(220), + [anon_sym_random_float] = ACTIONS(220), + [anon_sym_random_integer] = ACTIONS(220), + [anon_sym_read] = ACTIONS(220), + [anon_sym_to_json] = ACTIONS(220), + [anon_sym_write] = ACTIONS(220), }, [61] = { - [ts_builtin_sym_end] = ACTIONS(256), - [sym__identifier_pattern] = ACTIONS(258), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(258), - [anon_sym_LBRACE] = ACTIONS(256), - [anon_sym_RBRACE] = ACTIONS(256), - [anon_sym_SEMI] = ACTIONS(256), - [anon_sym_LPAREN] = ACTIONS(256), - [sym_integer] = ACTIONS(258), - [sym_float] = ACTIONS(256), - [sym_string] = ACTIONS(256), - [anon_sym_true] = ACTIONS(258), - [anon_sym_false] = ACTIONS(258), - [anon_sym_LBRACK] = ACTIONS(256), - [anon_sym_EQ] = ACTIONS(258), - [anon_sym_none] = ACTIONS(258), - [anon_sym_some] = ACTIONS(258), - [anon_sym_COLON] = ACTIONS(256), - [anon_sym_DOT_DOT] = ACTIONS(256), - [anon_sym_PLUS] = ACTIONS(258), - [anon_sym_DASH] = ACTIONS(258), - [anon_sym_STAR] = ACTIONS(256), - [anon_sym_SLASH] = ACTIONS(256), - [anon_sym_PERCENT] = ACTIONS(256), - [anon_sym_EQ_EQ] = ACTIONS(256), - [anon_sym_BANG_EQ] = ACTIONS(256), - [anon_sym_AMP_AMP] = ACTIONS(256), - [anon_sym_PIPE_PIPE] = ACTIONS(256), - [anon_sym_GT] = ACTIONS(258), - [anon_sym_LT] = ACTIONS(258), - [anon_sym_GT_EQ] = ACTIONS(256), - [anon_sym_LT_EQ] = ACTIONS(256), - [anon_sym_PLUS_EQ] = ACTIONS(256), - [anon_sym_DASH_EQ] = ACTIONS(256), - [anon_sym_if] = ACTIONS(258), - [anon_sym_match] = ACTIONS(258), - [anon_sym_while] = ACTIONS(258), - [anon_sym_for] = ACTIONS(258), - [anon_sym_asyncfor] = ACTIONS(256), - [anon_sym_return] = ACTIONS(258), - [anon_sym_DASH_GT] = ACTIONS(256), - [anon_sym_assert] = ACTIONS(258), - [anon_sym_assert_equal] = ACTIONS(258), - [anon_sym_bash] = ACTIONS(258), - [anon_sym_download] = ACTIONS(258), - [anon_sym_either_or] = ACTIONS(258), - [anon_sym_fish] = ACTIONS(258), - [anon_sym_from_json] = ACTIONS(258), - [anon_sym_is_none] = ACTIONS(258), - [anon_sym_is_some] = ACTIONS(258), - [anon_sym_length] = ACTIONS(258), - [anon_sym_metadata] = ACTIONS(258), - [anon_sym_output] = ACTIONS(258), - [anon_sym_output_error] = ACTIONS(258), - [anon_sym_random] = ACTIONS(258), - [anon_sym_random_boolean] = ACTIONS(258), - [anon_sym_random_float] = ACTIONS(258), - [anon_sym_random_integer] = ACTIONS(258), - [anon_sym_read] = ACTIONS(258), - [anon_sym_to_json] = ACTIONS(258), - [anon_sym_write] = ACTIONS(258), - }, - [62] = { - [ts_builtin_sym_end] = ACTIONS(260), - [sym__identifier_pattern] = ACTIONS(262), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(262), - [anon_sym_LBRACE] = ACTIONS(260), - [anon_sym_RBRACE] = ACTIONS(260), - [anon_sym_SEMI] = ACTIONS(260), - [anon_sym_LPAREN] = ACTIONS(260), - [sym_integer] = ACTIONS(262), - [sym_float] = ACTIONS(260), - [sym_string] = ACTIONS(260), - [anon_sym_true] = ACTIONS(262), - [anon_sym_false] = ACTIONS(262), - [anon_sym_LBRACK] = ACTIONS(260), - [anon_sym_EQ] = ACTIONS(262), - [anon_sym_none] = ACTIONS(262), - [anon_sym_some] = ACTIONS(262), - [anon_sym_COLON] = ACTIONS(260), - [anon_sym_DOT_DOT] = ACTIONS(260), - [anon_sym_PLUS] = ACTIONS(262), - [anon_sym_DASH] = ACTIONS(262), - [anon_sym_STAR] = ACTIONS(260), - [anon_sym_SLASH] = ACTIONS(260), - [anon_sym_PERCENT] = ACTIONS(260), - [anon_sym_EQ_EQ] = ACTIONS(260), - [anon_sym_BANG_EQ] = ACTIONS(260), - [anon_sym_AMP_AMP] = ACTIONS(260), - [anon_sym_PIPE_PIPE] = ACTIONS(260), - [anon_sym_GT] = ACTIONS(262), - [anon_sym_LT] = ACTIONS(262), - [anon_sym_GT_EQ] = ACTIONS(260), - [anon_sym_LT_EQ] = ACTIONS(260), - [anon_sym_PLUS_EQ] = ACTIONS(260), - [anon_sym_DASH_EQ] = ACTIONS(260), - [anon_sym_if] = ACTIONS(262), - [anon_sym_match] = ACTIONS(262), - [anon_sym_while] = ACTIONS(262), - [anon_sym_for] = ACTIONS(262), - [anon_sym_asyncfor] = ACTIONS(260), - [anon_sym_return] = ACTIONS(262), - [anon_sym_DASH_GT] = ACTIONS(260), - [anon_sym_assert] = ACTIONS(262), - [anon_sym_assert_equal] = ACTIONS(262), - [anon_sym_bash] = ACTIONS(262), - [anon_sym_download] = ACTIONS(262), - [anon_sym_either_or] = ACTIONS(262), - [anon_sym_fish] = ACTIONS(262), - [anon_sym_from_json] = ACTIONS(262), - [anon_sym_is_none] = ACTIONS(262), - [anon_sym_is_some] = ACTIONS(262), - [anon_sym_length] = ACTIONS(262), - [anon_sym_metadata] = ACTIONS(262), - [anon_sym_output] = ACTIONS(262), - [anon_sym_output_error] = ACTIONS(262), - [anon_sym_random] = ACTIONS(262), - [anon_sym_random_boolean] = ACTIONS(262), - [anon_sym_random_float] = ACTIONS(262), - [anon_sym_random_integer] = ACTIONS(262), - [anon_sym_read] = ACTIONS(262), - [anon_sym_to_json] = ACTIONS(262), - [anon_sym_write] = ACTIONS(262), - }, - [63] = { [ts_builtin_sym_end] = ACTIONS(264), [sym__identifier_pattern] = ACTIONS(266), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(264), + [anon_sym_LPAREN] = ACTIONS(264), [anon_sym_async] = ACTIONS(266), [anon_sym_LBRACE] = ACTIONS(264), [anon_sym_RBRACE] = ACTIONS(264), - [anon_sym_SEMI] = ACTIONS(264), - [anon_sym_LPAREN] = ACTIONS(264), [sym_integer] = ACTIONS(266), [sym_float] = ACTIONS(264), [sym_string] = ACTIONS(264), @@ -7000,15 +6888,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(266), [anon_sym_write] = ACTIONS(266), }, - [64] = { + [62] = { [ts_builtin_sym_end] = ACTIONS(268), [sym__identifier_pattern] = ACTIONS(270), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(268), + [anon_sym_LPAREN] = ACTIONS(268), [anon_sym_async] = ACTIONS(270), [anon_sym_LBRACE] = ACTIONS(268), [anon_sym_RBRACE] = ACTIONS(268), - [anon_sym_SEMI] = ACTIONS(268), - [anon_sym_LPAREN] = ACTIONS(268), [sym_integer] = ACTIONS(270), [sym_float] = ACTIONS(268), [sym_string] = ACTIONS(268), @@ -7063,205 +6951,142 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(270), [anon_sym_write] = ACTIONS(270), }, + [63] = { + [ts_builtin_sym_end] = ACTIONS(272), + [sym__identifier_pattern] = ACTIONS(274), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(272), + [anon_sym_LPAREN] = ACTIONS(272), + [anon_sym_async] = ACTIONS(274), + [anon_sym_LBRACE] = ACTIONS(272), + [anon_sym_RBRACE] = ACTIONS(272), + [sym_integer] = ACTIONS(274), + [sym_float] = ACTIONS(272), + [sym_string] = ACTIONS(272), + [anon_sym_true] = ACTIONS(274), + [anon_sym_false] = ACTIONS(274), + [anon_sym_LBRACK] = ACTIONS(272), + [anon_sym_EQ] = ACTIONS(274), + [anon_sym_none] = ACTIONS(274), + [anon_sym_some] = ACTIONS(274), + [anon_sym_COLON] = ACTIONS(272), + [anon_sym_DOT_DOT] = ACTIONS(272), + [anon_sym_PLUS] = ACTIONS(274), + [anon_sym_DASH] = ACTIONS(274), + [anon_sym_STAR] = ACTIONS(272), + [anon_sym_SLASH] = ACTIONS(272), + [anon_sym_PERCENT] = ACTIONS(272), + [anon_sym_EQ_EQ] = ACTIONS(272), + [anon_sym_BANG_EQ] = ACTIONS(272), + [anon_sym_AMP_AMP] = ACTIONS(272), + [anon_sym_PIPE_PIPE] = ACTIONS(272), + [anon_sym_GT] = ACTIONS(274), + [anon_sym_LT] = ACTIONS(274), + [anon_sym_GT_EQ] = ACTIONS(272), + [anon_sym_LT_EQ] = ACTIONS(272), + [anon_sym_PLUS_EQ] = ACTIONS(272), + [anon_sym_DASH_EQ] = ACTIONS(272), + [anon_sym_if] = ACTIONS(274), + [anon_sym_match] = ACTIONS(274), + [anon_sym_while] = ACTIONS(274), + [anon_sym_for] = ACTIONS(274), + [anon_sym_asyncfor] = ACTIONS(272), + [anon_sym_return] = ACTIONS(274), + [anon_sym_DASH_GT] = ACTIONS(272), + [anon_sym_assert] = ACTIONS(274), + [anon_sym_assert_equal] = ACTIONS(274), + [anon_sym_bash] = ACTIONS(274), + [anon_sym_download] = ACTIONS(274), + [anon_sym_either_or] = ACTIONS(274), + [anon_sym_fish] = ACTIONS(274), + [anon_sym_from_json] = ACTIONS(274), + [anon_sym_is_none] = ACTIONS(274), + [anon_sym_is_some] = ACTIONS(274), + [anon_sym_length] = ACTIONS(274), + [anon_sym_metadata] = ACTIONS(274), + [anon_sym_output] = ACTIONS(274), + [anon_sym_output_error] = ACTIONS(274), + [anon_sym_random] = ACTIONS(274), + [anon_sym_random_boolean] = ACTIONS(274), + [anon_sym_random_float] = ACTIONS(274), + [anon_sym_random_integer] = ACTIONS(274), + [anon_sym_read] = ACTIONS(274), + [anon_sym_to_json] = ACTIONS(274), + [anon_sym_write] = ACTIONS(274), + }, + [64] = { + [ts_builtin_sym_end] = ACTIONS(276), + [sym__identifier_pattern] = ACTIONS(278), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(276), + [anon_sym_LPAREN] = ACTIONS(276), + [anon_sym_async] = ACTIONS(278), + [anon_sym_LBRACE] = ACTIONS(276), + [anon_sym_RBRACE] = ACTIONS(276), + [sym_integer] = ACTIONS(278), + [sym_float] = ACTIONS(276), + [sym_string] = ACTIONS(276), + [anon_sym_true] = ACTIONS(278), + [anon_sym_false] = ACTIONS(278), + [anon_sym_LBRACK] = ACTIONS(276), + [anon_sym_EQ] = ACTIONS(278), + [anon_sym_none] = ACTIONS(278), + [anon_sym_some] = ACTIONS(278), + [anon_sym_COLON] = ACTIONS(276), + [anon_sym_DOT_DOT] = ACTIONS(276), + [anon_sym_PLUS] = ACTIONS(278), + [anon_sym_DASH] = ACTIONS(278), + [anon_sym_STAR] = ACTIONS(276), + [anon_sym_SLASH] = ACTIONS(276), + [anon_sym_PERCENT] = ACTIONS(276), + [anon_sym_EQ_EQ] = ACTIONS(276), + [anon_sym_BANG_EQ] = ACTIONS(276), + [anon_sym_AMP_AMP] = ACTIONS(276), + [anon_sym_PIPE_PIPE] = ACTIONS(276), + [anon_sym_GT] = ACTIONS(278), + [anon_sym_LT] = ACTIONS(278), + [anon_sym_GT_EQ] = ACTIONS(276), + [anon_sym_LT_EQ] = ACTIONS(276), + [anon_sym_PLUS_EQ] = ACTIONS(276), + [anon_sym_DASH_EQ] = ACTIONS(276), + [anon_sym_if] = ACTIONS(278), + [anon_sym_match] = ACTIONS(278), + [anon_sym_while] = ACTIONS(278), + [anon_sym_for] = ACTIONS(278), + [anon_sym_asyncfor] = ACTIONS(276), + [anon_sym_return] = ACTIONS(278), + [anon_sym_DASH_GT] = ACTIONS(276), + [anon_sym_assert] = ACTIONS(278), + [anon_sym_assert_equal] = ACTIONS(278), + [anon_sym_bash] = ACTIONS(278), + [anon_sym_download] = ACTIONS(278), + [anon_sym_either_or] = ACTIONS(278), + [anon_sym_fish] = ACTIONS(278), + [anon_sym_from_json] = ACTIONS(278), + [anon_sym_is_none] = ACTIONS(278), + [anon_sym_is_some] = ACTIONS(278), + [anon_sym_length] = ACTIONS(278), + [anon_sym_metadata] = ACTIONS(278), + [anon_sym_output] = ACTIONS(278), + [anon_sym_output_error] = ACTIONS(278), + [anon_sym_random] = ACTIONS(278), + [anon_sym_random_boolean] = ACTIONS(278), + [anon_sym_random_float] = ACTIONS(278), + [anon_sym_random_integer] = ACTIONS(278), + [anon_sym_read] = ACTIONS(278), + [anon_sym_to_json] = ACTIONS(278), + [anon_sym_write] = ACTIONS(278), + }, [65] = { - [sym_assignment_operator] = STATE(27), - [sym_type_definition] = STATE(337), - [sym__identifier_pattern] = ACTIONS(220), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(220), - [anon_sym_LBRACE] = ACTIONS(218), - [anon_sym_RBRACE] = ACTIONS(218), - [anon_sym_SEMI] = ACTIONS(218), - [anon_sym_LPAREN] = ACTIONS(222), - [sym_integer] = ACTIONS(220), - [sym_float] = ACTIONS(218), - [sym_string] = ACTIONS(218), - [anon_sym_true] = ACTIONS(220), - [anon_sym_false] = ACTIONS(220), - [anon_sym_LBRACK] = ACTIONS(218), - [anon_sym_EQ] = ACTIONS(272), - [anon_sym_none] = ACTIONS(220), - [anon_sym_some] = ACTIONS(220), - [anon_sym_COLON] = ACTIONS(218), - [anon_sym_PLUS] = ACTIONS(220), - [anon_sym_DASH] = ACTIONS(220), - [anon_sym_STAR] = ACTIONS(218), - [anon_sym_SLASH] = ACTIONS(218), - [anon_sym_PERCENT] = ACTIONS(218), - [anon_sym_EQ_EQ] = ACTIONS(218), - [anon_sym_BANG_EQ] = ACTIONS(218), - [anon_sym_AMP_AMP] = ACTIONS(218), - [anon_sym_PIPE_PIPE] = ACTIONS(218), - [anon_sym_GT] = ACTIONS(220), - [anon_sym_LT] = ACTIONS(226), - [anon_sym_GT_EQ] = ACTIONS(218), - [anon_sym_LT_EQ] = ACTIONS(218), - [anon_sym_PLUS_EQ] = ACTIONS(228), - [anon_sym_DASH_EQ] = ACTIONS(228), - [anon_sym_if] = ACTIONS(220), - [anon_sym_match] = ACTIONS(220), - [anon_sym_while] = ACTIONS(220), - [anon_sym_for] = ACTIONS(220), - [anon_sym_asyncfor] = ACTIONS(218), - [anon_sym_return] = ACTIONS(220), - [anon_sym_DASH_GT] = ACTIONS(218), - [anon_sym_assert] = ACTIONS(220), - [anon_sym_assert_equal] = ACTIONS(220), - [anon_sym_bash] = ACTIONS(220), - [anon_sym_download] = ACTIONS(220), - [anon_sym_either_or] = ACTIONS(220), - [anon_sym_fish] = ACTIONS(220), - [anon_sym_from_json] = ACTIONS(220), - [anon_sym_is_none] = ACTIONS(220), - [anon_sym_is_some] = ACTIONS(220), - [anon_sym_length] = ACTIONS(220), - [anon_sym_metadata] = ACTIONS(220), - [anon_sym_output] = ACTIONS(220), - [anon_sym_output_error] = ACTIONS(220), - [anon_sym_random] = ACTIONS(220), - [anon_sym_random_boolean] = ACTIONS(220), - [anon_sym_random_float] = ACTIONS(220), - [anon_sym_random_integer] = ACTIONS(220), - [anon_sym_read] = ACTIONS(220), - [anon_sym_to_json] = ACTIONS(220), - [anon_sym_write] = ACTIONS(220), - }, - [66] = { - [ts_builtin_sym_end] = ACTIONS(274), - [sym__identifier_pattern] = ACTIONS(276), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(276), - [anon_sym_LBRACE] = ACTIONS(274), - [anon_sym_RBRACE] = ACTIONS(274), - [anon_sym_SEMI] = ACTIONS(274), - [anon_sym_LPAREN] = ACTIONS(274), - [sym_integer] = ACTIONS(276), - [sym_float] = ACTIONS(274), - [sym_string] = ACTIONS(274), - [anon_sym_true] = ACTIONS(276), - [anon_sym_false] = ACTIONS(276), - [anon_sym_LBRACK] = ACTIONS(274), - [anon_sym_EQ] = ACTIONS(276), - [anon_sym_none] = ACTIONS(276), - [anon_sym_some] = ACTIONS(276), - [anon_sym_COLON] = ACTIONS(274), - [anon_sym_DOT_DOT] = ACTIONS(274), - [anon_sym_PLUS] = ACTIONS(276), - [anon_sym_DASH] = ACTIONS(276), - [anon_sym_STAR] = ACTIONS(274), - [anon_sym_SLASH] = ACTIONS(274), - [anon_sym_PERCENT] = ACTIONS(274), - [anon_sym_EQ_EQ] = ACTIONS(274), - [anon_sym_BANG_EQ] = ACTIONS(274), - [anon_sym_AMP_AMP] = ACTIONS(274), - [anon_sym_PIPE_PIPE] = ACTIONS(274), - [anon_sym_GT] = ACTIONS(276), - [anon_sym_LT] = ACTIONS(276), - [anon_sym_GT_EQ] = ACTIONS(274), - [anon_sym_LT_EQ] = ACTIONS(274), - [anon_sym_PLUS_EQ] = ACTIONS(274), - [anon_sym_DASH_EQ] = ACTIONS(274), - [anon_sym_if] = ACTIONS(276), - [anon_sym_match] = ACTIONS(276), - [anon_sym_while] = ACTIONS(276), - [anon_sym_for] = ACTIONS(276), - [anon_sym_asyncfor] = ACTIONS(274), - [anon_sym_return] = ACTIONS(276), - [anon_sym_DASH_GT] = ACTIONS(274), - [anon_sym_assert] = ACTIONS(276), - [anon_sym_assert_equal] = ACTIONS(276), - [anon_sym_bash] = ACTIONS(276), - [anon_sym_download] = ACTIONS(276), - [anon_sym_either_or] = ACTIONS(276), - [anon_sym_fish] = ACTIONS(276), - [anon_sym_from_json] = ACTIONS(276), - [anon_sym_is_none] = ACTIONS(276), - [anon_sym_is_some] = ACTIONS(276), - [anon_sym_length] = ACTIONS(276), - [anon_sym_metadata] = ACTIONS(276), - [anon_sym_output] = ACTIONS(276), - [anon_sym_output_error] = ACTIONS(276), - [anon_sym_random] = ACTIONS(276), - [anon_sym_random_boolean] = ACTIONS(276), - [anon_sym_random_float] = ACTIONS(276), - [anon_sym_random_integer] = ACTIONS(276), - [anon_sym_read] = ACTIONS(276), - [anon_sym_to_json] = ACTIONS(276), - [anon_sym_write] = ACTIONS(276), - }, - [67] = { - [ts_builtin_sym_end] = ACTIONS(278), - [sym__identifier_pattern] = ACTIONS(280), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(280), - [anon_sym_LBRACE] = ACTIONS(278), - [anon_sym_RBRACE] = ACTIONS(278), - [anon_sym_SEMI] = ACTIONS(278), - [anon_sym_LPAREN] = ACTIONS(278), - [sym_integer] = ACTIONS(280), - [sym_float] = ACTIONS(278), - [sym_string] = ACTIONS(278), - [anon_sym_true] = ACTIONS(280), - [anon_sym_false] = ACTIONS(280), - [anon_sym_LBRACK] = ACTIONS(278), - [anon_sym_EQ] = ACTIONS(280), - [anon_sym_none] = ACTIONS(280), - [anon_sym_some] = ACTIONS(280), - [anon_sym_COLON] = ACTIONS(278), - [anon_sym_DOT_DOT] = ACTIONS(278), - [anon_sym_PLUS] = ACTIONS(280), - [anon_sym_DASH] = ACTIONS(280), - [anon_sym_STAR] = ACTIONS(278), - [anon_sym_SLASH] = ACTIONS(278), - [anon_sym_PERCENT] = ACTIONS(278), - [anon_sym_EQ_EQ] = ACTIONS(278), - [anon_sym_BANG_EQ] = ACTIONS(278), - [anon_sym_AMP_AMP] = ACTIONS(278), - [anon_sym_PIPE_PIPE] = ACTIONS(278), - [anon_sym_GT] = ACTIONS(280), - [anon_sym_LT] = ACTIONS(280), - [anon_sym_GT_EQ] = ACTIONS(278), - [anon_sym_LT_EQ] = ACTIONS(278), - [anon_sym_PLUS_EQ] = ACTIONS(278), - [anon_sym_DASH_EQ] = ACTIONS(278), - [anon_sym_if] = ACTIONS(280), - [anon_sym_match] = ACTIONS(280), - [anon_sym_while] = ACTIONS(280), - [anon_sym_for] = ACTIONS(280), - [anon_sym_asyncfor] = ACTIONS(278), - [anon_sym_return] = ACTIONS(280), - [anon_sym_DASH_GT] = ACTIONS(278), - [anon_sym_assert] = ACTIONS(280), - [anon_sym_assert_equal] = ACTIONS(280), - [anon_sym_bash] = ACTIONS(280), - [anon_sym_download] = ACTIONS(280), - [anon_sym_either_or] = ACTIONS(280), - [anon_sym_fish] = ACTIONS(280), - [anon_sym_from_json] = ACTIONS(280), - [anon_sym_is_none] = ACTIONS(280), - [anon_sym_is_some] = ACTIONS(280), - [anon_sym_length] = ACTIONS(280), - [anon_sym_metadata] = ACTIONS(280), - [anon_sym_output] = ACTIONS(280), - [anon_sym_output_error] = ACTIONS(280), - [anon_sym_random] = ACTIONS(280), - [anon_sym_random_boolean] = ACTIONS(280), - [anon_sym_random_float] = ACTIONS(280), - [anon_sym_random_integer] = ACTIONS(280), - [anon_sym_read] = ACTIONS(280), - [anon_sym_to_json] = ACTIONS(280), - [anon_sym_write] = ACTIONS(280), - }, - [68] = { - [sym_assignment_operator] = STATE(32), + [sym_assignment_operator] = STATE(35), [ts_builtin_sym_end] = ACTIONS(218), [sym__identifier_pattern] = ACTIONS(220), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(218), + [anon_sym_LPAREN] = ACTIONS(222), [anon_sym_async] = ACTIONS(220), [anon_sym_LBRACE] = ACTIONS(218), [anon_sym_RBRACE] = ACTIONS(218), - [anon_sym_SEMI] = ACTIONS(218), - [anon_sym_LPAREN] = ACTIONS(222), [sym_integer] = ACTIONS(220), [sym_float] = ACTIONS(218), [sym_string] = ACTIONS(218), @@ -7315,48 +7140,111 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(220), [anon_sym_write] = ACTIONS(220), }, - [69] = { - [ts_builtin_sym_end] = ACTIONS(282), + [66] = { + [ts_builtin_sym_end] = ACTIONS(280), + [sym__identifier_pattern] = ACTIONS(282), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(280), + [anon_sym_LPAREN] = ACTIONS(280), + [anon_sym_async] = ACTIONS(282), + [anon_sym_LBRACE] = ACTIONS(280), + [anon_sym_RBRACE] = ACTIONS(280), + [sym_integer] = ACTIONS(282), + [sym_float] = ACTIONS(280), + [sym_string] = ACTIONS(280), + [anon_sym_true] = ACTIONS(282), + [anon_sym_false] = ACTIONS(282), + [anon_sym_LBRACK] = ACTIONS(280), + [anon_sym_EQ] = ACTIONS(282), + [anon_sym_none] = ACTIONS(282), + [anon_sym_some] = ACTIONS(282), + [anon_sym_COLON] = ACTIONS(280), + [anon_sym_DOT_DOT] = ACTIONS(280), + [anon_sym_PLUS] = ACTIONS(282), + [anon_sym_DASH] = ACTIONS(282), + [anon_sym_STAR] = ACTIONS(280), + [anon_sym_SLASH] = ACTIONS(280), + [anon_sym_PERCENT] = ACTIONS(280), + [anon_sym_EQ_EQ] = ACTIONS(280), + [anon_sym_BANG_EQ] = ACTIONS(280), + [anon_sym_AMP_AMP] = ACTIONS(280), + [anon_sym_PIPE_PIPE] = ACTIONS(280), + [anon_sym_GT] = ACTIONS(282), + [anon_sym_LT] = ACTIONS(282), + [anon_sym_GT_EQ] = ACTIONS(280), + [anon_sym_LT_EQ] = ACTIONS(280), + [anon_sym_PLUS_EQ] = ACTIONS(280), + [anon_sym_DASH_EQ] = ACTIONS(280), + [anon_sym_if] = ACTIONS(282), + [anon_sym_match] = ACTIONS(282), + [anon_sym_while] = ACTIONS(282), + [anon_sym_for] = ACTIONS(282), + [anon_sym_asyncfor] = ACTIONS(280), + [anon_sym_return] = ACTIONS(282), + [anon_sym_DASH_GT] = ACTIONS(280), + [anon_sym_assert] = ACTIONS(282), + [anon_sym_assert_equal] = ACTIONS(282), + [anon_sym_bash] = ACTIONS(282), + [anon_sym_download] = ACTIONS(282), + [anon_sym_either_or] = ACTIONS(282), + [anon_sym_fish] = ACTIONS(282), + [anon_sym_from_json] = ACTIONS(282), + [anon_sym_is_none] = ACTIONS(282), + [anon_sym_is_some] = ACTIONS(282), + [anon_sym_length] = ACTIONS(282), + [anon_sym_metadata] = ACTIONS(282), + [anon_sym_output] = ACTIONS(282), + [anon_sym_output_error] = ACTIONS(282), + [anon_sym_random] = ACTIONS(282), + [anon_sym_random_boolean] = ACTIONS(282), + [anon_sym_random_float] = ACTIONS(282), + [anon_sym_random_integer] = ACTIONS(282), + [anon_sym_read] = ACTIONS(282), + [anon_sym_to_json] = ACTIONS(282), + [anon_sym_write] = ACTIONS(282), + }, + [67] = { + [ts_builtin_sym_end] = ACTIONS(222), [sym__identifier_pattern] = ACTIONS(284), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(222), + [anon_sym_LPAREN] = ACTIONS(222), [anon_sym_async] = ACTIONS(284), - [anon_sym_LBRACE] = ACTIONS(282), - [anon_sym_RBRACE] = ACTIONS(282), - [anon_sym_SEMI] = ACTIONS(282), - [anon_sym_LPAREN] = ACTIONS(282), + [anon_sym_LBRACE] = ACTIONS(222), + [anon_sym_RBRACE] = ACTIONS(222), [sym_integer] = ACTIONS(284), - [sym_float] = ACTIONS(282), - [sym_string] = ACTIONS(282), + [sym_float] = ACTIONS(222), + [sym_string] = ACTIONS(222), [anon_sym_true] = ACTIONS(284), [anon_sym_false] = ACTIONS(284), - [anon_sym_LBRACK] = ACTIONS(282), + [anon_sym_LBRACK] = ACTIONS(222), [anon_sym_EQ] = ACTIONS(284), [anon_sym_none] = ACTIONS(284), [anon_sym_some] = ACTIONS(284), - [anon_sym_COLON] = ACTIONS(282), - [anon_sym_DOT_DOT] = ACTIONS(282), + [anon_sym_COLON] = ACTIONS(222), + [anon_sym_DOT_DOT] = ACTIONS(222), [anon_sym_PLUS] = ACTIONS(284), [anon_sym_DASH] = ACTIONS(284), - [anon_sym_STAR] = ACTIONS(282), - [anon_sym_SLASH] = ACTIONS(282), - [anon_sym_PERCENT] = ACTIONS(282), - [anon_sym_EQ_EQ] = ACTIONS(282), - [anon_sym_BANG_EQ] = ACTIONS(282), - [anon_sym_AMP_AMP] = ACTIONS(282), - [anon_sym_PIPE_PIPE] = ACTIONS(282), + [anon_sym_STAR] = ACTIONS(222), + [anon_sym_SLASH] = ACTIONS(222), + [anon_sym_PERCENT] = ACTIONS(222), + [anon_sym_EQ_EQ] = ACTIONS(222), + [anon_sym_BANG_EQ] = ACTIONS(222), + [anon_sym_AMP_AMP] = ACTIONS(222), + [anon_sym_PIPE_PIPE] = ACTIONS(222), [anon_sym_GT] = ACTIONS(284), [anon_sym_LT] = ACTIONS(284), - [anon_sym_GT_EQ] = ACTIONS(282), - [anon_sym_LT_EQ] = ACTIONS(282), - [anon_sym_PLUS_EQ] = ACTIONS(282), - [anon_sym_DASH_EQ] = ACTIONS(282), + [anon_sym_GT_EQ] = ACTIONS(222), + [anon_sym_LT_EQ] = ACTIONS(222), + [anon_sym_PLUS_EQ] = ACTIONS(222), + [anon_sym_DASH_EQ] = ACTIONS(222), [anon_sym_if] = ACTIONS(284), [anon_sym_match] = ACTIONS(284), [anon_sym_while] = ACTIONS(284), [anon_sym_for] = ACTIONS(284), - [anon_sym_asyncfor] = ACTIONS(282), + [anon_sym_asyncfor] = ACTIONS(222), [anon_sym_return] = ACTIONS(284), - [anon_sym_DASH_GT] = ACTIONS(282), + [anon_sym_DASH_GT] = ACTIONS(222), [anon_sym_assert] = ACTIONS(284), [anon_sym_assert_equal] = ACTIONS(284), [anon_sym_bash] = ACTIONS(284), @@ -7378,15 +7266,141 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(284), [anon_sym_write] = ACTIONS(284), }, + [68] = { + [ts_builtin_sym_end] = ACTIONS(222), + [sym__identifier_pattern] = ACTIONS(284), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(222), + [anon_sym_LPAREN] = ACTIONS(222), + [anon_sym_async] = ACTIONS(284), + [anon_sym_LBRACE] = ACTIONS(222), + [anon_sym_RBRACE] = ACTIONS(222), + [sym_integer] = ACTIONS(284), + [sym_float] = ACTIONS(222), + [sym_string] = ACTIONS(222), + [anon_sym_true] = ACTIONS(284), + [anon_sym_false] = ACTIONS(284), + [anon_sym_LBRACK] = ACTIONS(222), + [anon_sym_EQ] = ACTIONS(284), + [anon_sym_none] = ACTIONS(284), + [anon_sym_some] = ACTIONS(284), + [anon_sym_COLON] = ACTIONS(222), + [anon_sym_DOT_DOT] = ACTIONS(222), + [anon_sym_PLUS] = ACTIONS(284), + [anon_sym_DASH] = ACTIONS(284), + [anon_sym_STAR] = ACTIONS(222), + [anon_sym_SLASH] = ACTIONS(222), + [anon_sym_PERCENT] = ACTIONS(222), + [anon_sym_EQ_EQ] = ACTIONS(222), + [anon_sym_BANG_EQ] = ACTIONS(222), + [anon_sym_AMP_AMP] = ACTIONS(222), + [anon_sym_PIPE_PIPE] = ACTIONS(222), + [anon_sym_GT] = ACTIONS(284), + [anon_sym_LT] = ACTIONS(284), + [anon_sym_GT_EQ] = ACTIONS(222), + [anon_sym_LT_EQ] = ACTIONS(222), + [anon_sym_PLUS_EQ] = ACTIONS(222), + [anon_sym_DASH_EQ] = ACTIONS(222), + [anon_sym_if] = ACTIONS(284), + [anon_sym_match] = ACTIONS(284), + [anon_sym_while] = ACTIONS(284), + [anon_sym_for] = ACTIONS(284), + [anon_sym_asyncfor] = ACTIONS(222), + [anon_sym_return] = ACTIONS(284), + [anon_sym_DASH_GT] = ACTIONS(222), + [anon_sym_assert] = ACTIONS(284), + [anon_sym_assert_equal] = ACTIONS(284), + [anon_sym_bash] = ACTIONS(284), + [anon_sym_download] = ACTIONS(284), + [anon_sym_either_or] = ACTIONS(284), + [anon_sym_fish] = ACTIONS(284), + [anon_sym_from_json] = ACTIONS(284), + [anon_sym_is_none] = ACTIONS(284), + [anon_sym_is_some] = ACTIONS(284), + [anon_sym_length] = ACTIONS(284), + [anon_sym_metadata] = ACTIONS(284), + [anon_sym_output] = ACTIONS(284), + [anon_sym_output_error] = ACTIONS(284), + [anon_sym_random] = ACTIONS(284), + [anon_sym_random_boolean] = ACTIONS(284), + [anon_sym_random_float] = ACTIONS(284), + [anon_sym_random_integer] = ACTIONS(284), + [anon_sym_read] = ACTIONS(284), + [anon_sym_to_json] = ACTIONS(284), + [anon_sym_write] = ACTIONS(284), + }, + [69] = { + [ts_builtin_sym_end] = ACTIONS(246), + [sym__identifier_pattern] = ACTIONS(248), + [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(246), + [anon_sym_LPAREN] = ACTIONS(246), + [anon_sym_async] = ACTIONS(248), + [anon_sym_LBRACE] = ACTIONS(246), + [anon_sym_RBRACE] = ACTIONS(246), + [sym_integer] = ACTIONS(248), + [sym_float] = ACTIONS(246), + [sym_string] = ACTIONS(246), + [anon_sym_true] = ACTIONS(248), + [anon_sym_false] = ACTIONS(248), + [anon_sym_LBRACK] = ACTIONS(246), + [anon_sym_EQ] = ACTIONS(248), + [anon_sym_none] = ACTIONS(248), + [anon_sym_some] = ACTIONS(248), + [anon_sym_COLON] = ACTIONS(246), + [anon_sym_DOT_DOT] = ACTIONS(246), + [anon_sym_PLUS] = ACTIONS(248), + [anon_sym_DASH] = ACTIONS(248), + [anon_sym_STAR] = ACTIONS(246), + [anon_sym_SLASH] = ACTIONS(246), + [anon_sym_PERCENT] = ACTIONS(246), + [anon_sym_EQ_EQ] = ACTIONS(246), + [anon_sym_BANG_EQ] = ACTIONS(246), + [anon_sym_AMP_AMP] = ACTIONS(246), + [anon_sym_PIPE_PIPE] = ACTIONS(246), + [anon_sym_GT] = ACTIONS(248), + [anon_sym_LT] = ACTIONS(248), + [anon_sym_GT_EQ] = ACTIONS(246), + [anon_sym_LT_EQ] = ACTIONS(246), + [anon_sym_PLUS_EQ] = ACTIONS(246), + [anon_sym_DASH_EQ] = ACTIONS(246), + [anon_sym_if] = ACTIONS(248), + [anon_sym_match] = ACTIONS(248), + [anon_sym_while] = ACTIONS(248), + [anon_sym_for] = ACTIONS(248), + [anon_sym_asyncfor] = ACTIONS(246), + [anon_sym_return] = ACTIONS(248), + [anon_sym_DASH_GT] = ACTIONS(246), + [anon_sym_assert] = ACTIONS(248), + [anon_sym_assert_equal] = ACTIONS(248), + [anon_sym_bash] = ACTIONS(248), + [anon_sym_download] = ACTIONS(248), + [anon_sym_either_or] = ACTIONS(248), + [anon_sym_fish] = ACTIONS(248), + [anon_sym_from_json] = ACTIONS(248), + [anon_sym_is_none] = ACTIONS(248), + [anon_sym_is_some] = ACTIONS(248), + [anon_sym_length] = ACTIONS(248), + [anon_sym_metadata] = ACTIONS(248), + [anon_sym_output] = ACTIONS(248), + [anon_sym_output_error] = ACTIONS(248), + [anon_sym_random] = ACTIONS(248), + [anon_sym_random_boolean] = ACTIONS(248), + [anon_sym_random_float] = ACTIONS(248), + [anon_sym_random_integer] = ACTIONS(248), + [anon_sym_read] = ACTIONS(248), + [anon_sym_to_json] = ACTIONS(248), + [anon_sym_write] = ACTIONS(248), + }, [70] = { [ts_builtin_sym_end] = ACTIONS(286), [sym__identifier_pattern] = ACTIONS(288), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(286), + [anon_sym_LPAREN] = ACTIONS(286), [anon_sym_async] = ACTIONS(288), [anon_sym_LBRACE] = ACTIONS(286), [anon_sym_RBRACE] = ACTIONS(286), - [anon_sym_SEMI] = ACTIONS(286), - [anon_sym_LPAREN] = ACTIONS(286), [sym_integer] = ACTIONS(288), [sym_float] = ACTIONS(286), [sym_string] = ACTIONS(286), @@ -7445,11 +7459,11 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [ts_builtin_sym_end] = ACTIONS(290), [sym__identifier_pattern] = ACTIONS(292), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(290), + [anon_sym_LPAREN] = ACTIONS(290), [anon_sym_async] = ACTIONS(292), [anon_sym_LBRACE] = ACTIONS(290), [anon_sym_RBRACE] = ACTIONS(290), - [anon_sym_SEMI] = ACTIONS(290), - [anon_sym_LPAREN] = ACTIONS(290), [sym_integer] = ACTIONS(292), [sym_float] = ACTIONS(290), [sym_string] = ACTIONS(290), @@ -7508,11 +7522,11 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [ts_builtin_sym_end] = ACTIONS(294), [sym__identifier_pattern] = ACTIONS(296), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(294), + [anon_sym_LPAREN] = ACTIONS(294), [anon_sym_async] = ACTIONS(296), [anon_sym_LBRACE] = ACTIONS(294), [anon_sym_RBRACE] = ACTIONS(294), - [anon_sym_SEMI] = ACTIONS(294), - [anon_sym_LPAREN] = ACTIONS(294), [sym_integer] = ACTIONS(296), [sym_float] = ACTIONS(294), [sym_string] = ACTIONS(294), @@ -7571,11 +7585,11 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [ts_builtin_sym_end] = ACTIONS(298), [sym__identifier_pattern] = ACTIONS(300), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(298), + [anon_sym_LPAREN] = ACTIONS(298), [anon_sym_async] = ACTIONS(300), [anon_sym_LBRACE] = ACTIONS(298), [anon_sym_RBRACE] = ACTIONS(298), - [anon_sym_SEMI] = ACTIONS(298), - [anon_sym_LPAREN] = ACTIONS(298), [sym_integer] = ACTIONS(300), [sym_float] = ACTIONS(298), [sym_string] = ACTIONS(298), @@ -7634,11 +7648,11 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [ts_builtin_sym_end] = ACTIONS(302), [sym__identifier_pattern] = ACTIONS(304), [sym__comment] = ACTIONS(3), + [anon_sym_SEMI] = ACTIONS(302), + [anon_sym_LPAREN] = ACTIONS(302), [anon_sym_async] = ACTIONS(304), [anon_sym_LBRACE] = ACTIONS(302), [anon_sym_RBRACE] = ACTIONS(302), - [anon_sym_SEMI] = ACTIONS(302), - [anon_sym_LPAREN] = ACTIONS(302), [sym_integer] = ACTIONS(304), [sym_float] = ACTIONS(302), [sym_string] = ACTIONS(302), @@ -7694,67 +7708,67 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(304), }, [75] = { - [ts_builtin_sym_end] = ACTIONS(234), - [sym__identifier_pattern] = ACTIONS(236), + [ts_builtin_sym_end] = ACTIONS(306), + [sym__identifier_pattern] = ACTIONS(308), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(236), - [anon_sym_LBRACE] = ACTIONS(234), - [anon_sym_RBRACE] = ACTIONS(234), - [anon_sym_SEMI] = ACTIONS(234), - [anon_sym_LPAREN] = ACTIONS(234), - [sym_integer] = ACTIONS(236), - [sym_float] = ACTIONS(234), - [sym_string] = ACTIONS(234), - [anon_sym_true] = ACTIONS(236), - [anon_sym_false] = ACTIONS(236), - [anon_sym_LBRACK] = ACTIONS(234), - [anon_sym_EQ] = ACTIONS(236), - [anon_sym_none] = ACTIONS(236), - [anon_sym_some] = ACTIONS(236), - [anon_sym_COLON] = ACTIONS(234), - [anon_sym_DOT_DOT] = ACTIONS(234), - [anon_sym_PLUS] = ACTIONS(236), - [anon_sym_DASH] = ACTIONS(236), - [anon_sym_STAR] = ACTIONS(234), - [anon_sym_SLASH] = ACTIONS(234), - [anon_sym_PERCENT] = ACTIONS(234), - [anon_sym_EQ_EQ] = ACTIONS(234), - [anon_sym_BANG_EQ] = ACTIONS(234), - [anon_sym_AMP_AMP] = ACTIONS(234), - [anon_sym_PIPE_PIPE] = ACTIONS(234), - [anon_sym_GT] = ACTIONS(236), - [anon_sym_LT] = ACTIONS(236), - [anon_sym_GT_EQ] = ACTIONS(234), - [anon_sym_LT_EQ] = ACTIONS(234), - [anon_sym_PLUS_EQ] = ACTIONS(234), - [anon_sym_DASH_EQ] = ACTIONS(234), - [anon_sym_if] = ACTIONS(236), - [anon_sym_match] = ACTIONS(236), - [anon_sym_while] = ACTIONS(236), - [anon_sym_for] = ACTIONS(236), - [anon_sym_asyncfor] = ACTIONS(234), - [anon_sym_return] = ACTIONS(236), - [anon_sym_DASH_GT] = ACTIONS(234), - [anon_sym_assert] = ACTIONS(236), - [anon_sym_assert_equal] = ACTIONS(236), - [anon_sym_bash] = ACTIONS(236), - [anon_sym_download] = ACTIONS(236), - [anon_sym_either_or] = ACTIONS(236), - [anon_sym_fish] = ACTIONS(236), - [anon_sym_from_json] = ACTIONS(236), - [anon_sym_is_none] = ACTIONS(236), - [anon_sym_is_some] = ACTIONS(236), - [anon_sym_length] = ACTIONS(236), - [anon_sym_metadata] = ACTIONS(236), - [anon_sym_output] = ACTIONS(236), - [anon_sym_output_error] = ACTIONS(236), - [anon_sym_random] = ACTIONS(236), - [anon_sym_random_boolean] = ACTIONS(236), - [anon_sym_random_float] = ACTIONS(236), - [anon_sym_random_integer] = ACTIONS(236), - [anon_sym_read] = ACTIONS(236), - [anon_sym_to_json] = ACTIONS(236), - [anon_sym_write] = ACTIONS(236), + [anon_sym_SEMI] = ACTIONS(306), + [anon_sym_LPAREN] = ACTIONS(306), + [anon_sym_async] = ACTIONS(308), + [anon_sym_LBRACE] = ACTIONS(306), + [anon_sym_RBRACE] = ACTIONS(306), + [sym_integer] = ACTIONS(308), + [sym_float] = ACTIONS(306), + [sym_string] = ACTIONS(306), + [anon_sym_true] = ACTIONS(308), + [anon_sym_false] = ACTIONS(308), + [anon_sym_LBRACK] = ACTIONS(306), + [anon_sym_EQ] = ACTIONS(308), + [anon_sym_none] = ACTIONS(308), + [anon_sym_some] = ACTIONS(308), + [anon_sym_COLON] = ACTIONS(306), + [anon_sym_DOT_DOT] = ACTIONS(306), + [anon_sym_PLUS] = ACTIONS(308), + [anon_sym_DASH] = ACTIONS(308), + [anon_sym_STAR] = ACTIONS(306), + [anon_sym_SLASH] = ACTIONS(306), + [anon_sym_PERCENT] = ACTIONS(306), + [anon_sym_EQ_EQ] = ACTIONS(306), + [anon_sym_BANG_EQ] = ACTIONS(306), + [anon_sym_AMP_AMP] = ACTIONS(306), + [anon_sym_PIPE_PIPE] = ACTIONS(306), + [anon_sym_GT] = ACTIONS(308), + [anon_sym_LT] = ACTIONS(308), + [anon_sym_GT_EQ] = ACTIONS(306), + [anon_sym_LT_EQ] = ACTIONS(306), + [anon_sym_PLUS_EQ] = ACTIONS(306), + [anon_sym_DASH_EQ] = ACTIONS(306), + [anon_sym_if] = ACTIONS(308), + [anon_sym_match] = ACTIONS(308), + [anon_sym_while] = ACTIONS(308), + [anon_sym_for] = ACTIONS(308), + [anon_sym_asyncfor] = ACTIONS(306), + [anon_sym_return] = ACTIONS(308), + [anon_sym_DASH_GT] = ACTIONS(306), + [anon_sym_assert] = ACTIONS(308), + [anon_sym_assert_equal] = ACTIONS(308), + [anon_sym_bash] = ACTIONS(308), + [anon_sym_download] = ACTIONS(308), + [anon_sym_either_or] = ACTIONS(308), + [anon_sym_fish] = ACTIONS(308), + [anon_sym_from_json] = ACTIONS(308), + [anon_sym_is_none] = ACTIONS(308), + [anon_sym_is_some] = ACTIONS(308), + [anon_sym_length] = ACTIONS(308), + [anon_sym_metadata] = ACTIONS(308), + [anon_sym_output] = ACTIONS(308), + [anon_sym_output_error] = ACTIONS(308), + [anon_sym_random] = ACTIONS(308), + [anon_sym_random_boolean] = ACTIONS(308), + [anon_sym_random_float] = ACTIONS(308), + [anon_sym_random_integer] = ACTIONS(308), + [anon_sym_read] = ACTIONS(308), + [anon_sym_to_json] = ACTIONS(308), + [anon_sym_write] = ACTIONS(308), }, }; @@ -7766,38 +7780,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(212), 1, anon_sym_DASH_GT, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - STATE(197), 1, + STATE(196), 1, sym_logic_operator, STATE(201), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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(306), 9, + ACTIONS(310), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(308), 32, + ACTIONS(312), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -7837,39 +7851,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(212), 1, anon_sym_DASH_GT, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_SEMI, - STATE(197), 1, + STATE(196), 1, sym_logic_operator, STATE(201), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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), 8, + ACTIONS(322), 8, ts_builtin_sym_end, + anon_sym_LPAREN, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(320), 32, + ACTIONS(324), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -7909,38 +7923,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(212), 1, anon_sym_DASH_GT, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - STATE(197), 1, + STATE(196), 1, sym_logic_operator, STATE(201), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, + ACTIONS(322), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(320), 32, + ACTIONS(324), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -7973,26 +7987,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [248] = 5, + [248] = 6, ACTIONS(3), 1, sym__comment, - STATE(212), 1, - sym_logic_operator, - STATE(213), 1, + ACTIONS(328), 1, + anon_sym_DOT_DOT, + STATE(177), 1, sym_math_operator, - ACTIONS(184), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + STATE(190), 1, + sym_logic_operator, + ACTIONS(196), 23, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_COLON, - anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -8005,7 +8020,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(186), 31, + ACTIONS(198), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8037,20 +8052,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [317] = 5, + [319] = 5, ACTIONS(3), 1, sym__comment, - STATE(212), 1, - sym_logic_operator, - STATE(213), 1, + STATE(177), 1, sym_math_operator, - ACTIONS(188), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + STATE(190), 1, + sym_logic_operator, + ACTIONS(196), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8069,6 +8084,72 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, + ACTIONS(198), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [388] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(330), 1, + anon_sym_COLON, + ACTIONS(332), 1, + anon_sym_DASH_GT, + STATE(177), 1, + sym_math_operator, + STATE(190), 1, + sym_logic_operator, + ACTIONS(188), 22, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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, ACTIONS(190), 31, sym__identifier_pattern, sym_integer, @@ -8101,93 +8182,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [386] = 6, + [461] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(324), 1, - anon_sym_DOT_DOT, - STATE(212), 1, - sym_logic_operator, - STATE(213), 1, + STATE(177), 1, sym_math_operator, - ACTIONS(184), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, + STATE(190), 1, + sym_logic_operator, + ACTIONS(206), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(186), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [457] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(326), 1, - anon_sym_COLON, - ACTIONS(328), 1, - anon_sym_DASH_GT, - STATE(212), 1, - sym_logic_operator, - STATE(213), 1, - sym_math_operator, - ACTIONS(202), 22, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, @@ -8200,7 +8213,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(204), 31, + anon_sym_DASH_GT, + ACTIONS(208), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8235,21 +8249,21 @@ static const uint16_t ts_small_parse_table[] = { [530] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(326), 1, + ACTIONS(330), 1, anon_sym_COLON, - ACTIONS(328), 1, + ACTIONS(332), 1, anon_sym_DASH_GT, - STATE(212), 1, - sym_logic_operator, - STATE(213), 1, + STATE(177), 1, sym_math_operator, - ACTIONS(194), 22, - anon_sym_LBRACE, - anon_sym_RBRACE, + STATE(190), 1, + sym_logic_operator, + ACTIONS(202), 22, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8266,7 +8280,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(196), 31, + ACTIONS(204), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8301,17 +8315,17 @@ static const uint16_t ts_small_parse_table[] = { [603] = 5, ACTIONS(3), 1, sym__comment, - STATE(181), 1, + STATE(206), 1, sym_logic_operator, - STATE(190), 1, + STATE(209), 1, sym_math_operator, - ACTIONS(188), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(206), 23, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8329,7 +8343,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(190), 31, + ACTIONS(208), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8364,86 +8378,21 @@ static const uint16_t ts_small_parse_table[] = { [671] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(330), 1, + ACTIONS(334), 1, anon_sym_COLON, - ACTIONS(332), 1, + ACTIONS(336), 1, anon_sym_DASH_GT, - STATE(181), 1, + STATE(206), 1, sym_logic_operator, - STATE(190), 1, - sym_math_operator, - ACTIONS(194), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(196), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [743] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(330), 1, - anon_sym_COLON, - ACTIONS(332), 1, - anon_sym_DASH_GT, - STATE(181), 1, - sym_logic_operator, - STATE(190), 1, + STATE(209), 1, sym_math_operator, ACTIONS(202), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8491,16 +8440,81 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [815] = 3, + [743] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(290), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(334), 1, + anon_sym_COLON, + ACTIONS(336), 1, + anon_sym_DASH_GT, + STATE(206), 1, + sym_logic_operator, + STATE(209), 1, + sym_math_operator, + ACTIONS(188), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(190), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [815] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(302), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8519,7 +8533,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(292), 31, + ACTIONS(304), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8554,13 +8568,13 @@ static const uint16_t ts_small_parse_table[] = { [878] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(282), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(222), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8614,13 +8628,13 @@ static const uint16_t ts_small_parse_table[] = { [941] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(302), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(242), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8639,7 +8653,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(304), 31, + ACTIONS(244), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8674,13 +8688,13 @@ static const uint16_t ts_small_parse_table[] = { [1004] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(222), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(272), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -8699,7 +8713,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(254), 31, + ACTIONS(274), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8732,315 +8746,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [1067] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(222), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(254), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1130] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(274), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(276), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1193] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(298), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(300), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1256] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(234), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(236), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1319] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(206), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(208), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1382] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(268), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9091,16 +8805,316 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1445] = 3, + [1130] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(230), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(254), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(256), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1193] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(250), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(252), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1256] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(306), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(308), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1319] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(280), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(282), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1382] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(238), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(240), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1445] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9154,13 +9168,13 @@ static const uint16_t ts_small_parse_table[] = { [1508] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(264), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(276), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9179,7 +9193,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(266), 31, + ACTIONS(278), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9214,13 +9228,13 @@ static const uint16_t ts_small_parse_table[] = { [1571] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(286), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(258), 24, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9239,7 +9253,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(288), 31, + ACTIONS(260), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9272,135 +9286,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [1634] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(214), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(216), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1697] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(260), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1760] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(294), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9451,76 +9345,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1823] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(280), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [1886] = 3, + [1697] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(246), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9571,17 +9405,376 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1949] = 4, + [1760] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(222), 1, - anon_sym_LPAREN, - ACTIONS(234), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(264), 24, anon_sym_SEMI, + anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(266), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1823] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(222), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(284), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1886] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(290), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(292), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [1949] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(286), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(288), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [2012] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(298), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(300), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [2075] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(214), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + 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(216), 31, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [2138] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(234), 24, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9632,17 +9825,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2014] = 4, + [2201] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(222), 1, anon_sym_LPAREN, ACTIONS(218), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9693,16 +9886,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2079] = 3, + [2266] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(238), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(222), 1, anon_sym_LPAREN, + ACTIONS(246), 23, + anon_sym_SEMI, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -9721,187 +9915,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(240), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2142] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(256), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(258), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2205] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(242), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(244), 31, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2268] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(250), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - 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(252), 31, + ACTIONS(248), 31, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9942,7 +9956,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, ACTIONS(226), 1, anon_sym_LT, - STATE(39), 1, + STATE(29), 1, sym_assignment_operator, STATE(340), 1, sym_type_definition, @@ -9950,10 +9964,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, ACTIONS(218), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -10005,16 +10019,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(224), 1, anon_sym_EQ, - STATE(28), 1, + STATE(31), 1, sym_assignment_operator, ACTIONS(228), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, ACTIONS(218), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -10063,41 +10077,41 @@ static const uint16_t ts_small_parse_table[] = { [2474] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(330), 1, + ACTIONS(334), 1, anon_sym_COLON, - ACTIONS(332), 1, + ACTIONS(336), 1, anon_sym_DASH_GT, - STATE(181), 1, + STATE(206), 1, sym_logic_operator, - STATE(190), 1, + STATE(209), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 3, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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(306), 8, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(322), 9, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, - ACTIONS(308), 26, + anon_sym_STAR, + ACTIONS(324), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -10127,42 +10141,42 @@ static const uint16_t ts_small_parse_table[] = { [2549] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(330), 1, - anon_sym_COLON, - ACTIONS(332), 1, - anon_sym_DASH_GT, ACTIONS(334), 1, + anon_sym_COLON, + ACTIONS(336), 1, + anon_sym_DASH_GT, + ACTIONS(338), 1, anon_sym_SEMI, - STATE(181), 1, + STATE(206), 1, sym_logic_operator, - STATE(190), 1, + STATE(209), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 3, + ACTIONS(314), 3, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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), 8, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(322), 8, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_STAR, - ACTIONS(320), 26, + ACTIONS(324), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -10192,41 +10206,41 @@ static const uint16_t ts_small_parse_table[] = { [2626] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(330), 1, + ACTIONS(334), 1, anon_sym_COLON, - ACTIONS(332), 1, + ACTIONS(336), 1, anon_sym_DASH_GT, - STATE(181), 1, + STATE(206), 1, sym_logic_operator, - STATE(190), 1, + STATE(209), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 3, + ACTIONS(314), 4, anon_sym_PLUS, + anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, + ACTIONS(310), 8, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(320), 26, + ACTIONS(312), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -10253,384 +10267,59 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2701] = 12, + [2701] = 21, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(330), 1, - anon_sym_COLON, - ACTIONS(332), 1, - anon_sym_DASH_GT, ACTIONS(340), 1, - anon_sym_COMMA, - STATE(181), 1, - sym_logic_operator, - STATE(190), 1, - sym_math_operator, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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(338), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - ACTIONS(336), 26, 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2777] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(343), 1, anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(344), 1, - anon_sym_RBRACE, ACTIONS(346), 1, - anon_sym_STAR, - STATE(121), 1, - aux_sym_match_repeat1, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(307), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2871] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(348), 1, - anon_sym_DOT_DOT, - STATE(216), 1, - sym_logic_operator, - STATE(220), 1, - sym_math_operator, - ACTIONS(184), 20, anon_sym_LBRACE, + ACTIONS(349), 1, anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(186), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2935] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(216), 1, - sym_logic_operator, - STATE(220), 1, - sym_math_operator, - ACTIONS(188), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(190), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [2997] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(351), 1, sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(346), 1, - anon_sym_STAR, - ACTIONS(350), 1, - anon_sym_RBRACE, - STATE(121), 1, - aux_sym_match_repeat1, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(307), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3091] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(352), 1, - sym__identifier_pattern, - ACTIONS(355), 1, - anon_sym_LBRACE, - ACTIONS(358), 1, - anon_sym_RBRACE, ACTIONS(360), 1, - anon_sym_LPAREN, - ACTIONS(363), 1, - sym_integer, - ACTIONS(372), 1, anon_sym_LBRACK, - ACTIONS(375), 1, + ACTIONS(363), 1, anon_sym_none, - ACTIONS(378), 1, + ACTIONS(366), 1, anon_sym_some, - ACTIONS(381), 1, + ACTIONS(369), 1, anon_sym_STAR, - STATE(121), 1, + STATE(116), 1, aux_sym_match_repeat1, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, STATE(307), 1, sym_expression, - STATE(367), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(366), 2, + ACTIONS(354), 2, sym_float, sym_string, - ACTIONS(369), 2, + ACTIONS(357), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(384), 20, + ACTIONS(372), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10651,43 +10340,59 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3185] = 5, + [2795] = 21, ACTIONS(3), 1, sym__comment, - STATE(216), 1, - sym_logic_operator, - STATE(220), 1, - sym_math_operator, - ACTIONS(184), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(186), 27, - anon_sym_async, + ACTIONS(124), 1, sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(377), 1, + anon_sym_RBRACE, + ACTIONS(379), 1, + anon_sym_STAR, + STATE(116), 1, + aux_sym_match_repeat1, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(307), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10708,24 +10413,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3247] = 7, + [2889] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(387), 1, + ACTIONS(381), 1, anon_sym_COLON, - ACTIONS(389), 1, + ACTIONS(383), 1, anon_sym_DASH_GT, - STATE(216), 1, + STATE(184), 1, sym_logic_operator, - STATE(220), 1, + STATE(188), 1, sym_math_operator, ACTIONS(202), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, @@ -10767,30 +10472,94 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3313] = 12, + [2955] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(330), 1, + ACTIONS(334), 1, anon_sym_COLON, - ACTIONS(332), 1, + ACTIONS(336), 1, anon_sym_DASH_GT, - ACTIONS(395), 1, + ACTIONS(389), 1, anon_sym_COMMA, - STATE(181), 1, + STATE(206), 1, sym_logic_operator, - STATE(190), 1, + STATE(209), 1, sym_math_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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(387), 6, + anon_sym_LPAREN, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + ACTIONS(385), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3031] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(334), 1, + anon_sym_COLON, + ACTIONS(336), 1, + anon_sym_DASH_GT, + ACTIONS(395), 1, + anon_sym_COMMA, + STATE(206), 1, + sym_logic_operator, + STATE(209), 1, + sym_math_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -10798,9 +10567,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, ACTIONS(393), 6, - anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, + anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -10831,2062 +10600,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3389] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(387), 1, - anon_sym_COLON, - ACTIONS(389), 1, - anon_sym_DASH_GT, - STATE(216), 1, - sym_logic_operator, - STATE(220), 1, - sym_math_operator, - ACTIONS(194), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - ACTIONS(196), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3455] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(399), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3546] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(401), 1, - sym__identifier_pattern, - ACTIONS(404), 1, - anon_sym_LBRACE, - ACTIONS(407), 1, - anon_sym_LPAREN, - ACTIONS(410), 1, - sym_integer, - ACTIONS(419), 1, - anon_sym_LBRACK, - ACTIONS(422), 1, - anon_sym_RBRACK, - ACTIONS(424), 1, - anon_sym_none, - ACTIONS(427), 1, - anon_sym_some, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(127), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(413), 2, - sym_float, - sym_string, - ACTIONS(416), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(430), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3637] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(433), 1, - anon_sym_RPAREN, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(279), 1, - aux_sym_function_repeat1, - STATE(310), 1, - sym_identifier, - STATE(312), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(168), 3, - sym_index, - sym_function_call, - sym_yield, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(321), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3730] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(435), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3821] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(437), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [3912] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(439), 1, - sym__identifier_pattern, - ACTIONS(442), 1, - anon_sym_LBRACE, - ACTIONS(445), 1, - anon_sym_LPAREN, - ACTIONS(448), 1, - anon_sym_RPAREN, - ACTIONS(450), 1, - sym_integer, - ACTIONS(459), 1, - anon_sym_LBRACK, - ACTIONS(462), 1, - anon_sym_none, - ACTIONS(465), 1, - anon_sym_some, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(453), 2, - sym_float, - sym_string, - ACTIONS(456), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(468), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4003] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(471), 1, - anon_sym_RBRACK, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(127), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4094] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(473), 1, - anon_sym_RBRACK, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(127), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4185] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(475), 1, - anon_sym_RBRACK, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(133), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4276] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(477), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4367] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(479), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4458] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(481), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4549] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(346), 1, - anon_sym_STAR, - STATE(117), 1, - aux_sym_match_repeat1, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(307), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4640] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(483), 1, - anon_sym_RPAREN, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(280), 1, - aux_sym_function_repeat1, - STATE(310), 1, - sym_identifier, - STATE(312), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(168), 3, - sym_index, - sym_function_call, - sym_yield, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(321), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4733] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(485), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(131), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4824] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(483), 1, - anon_sym_RPAREN, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(280), 1, - aux_sym_function_repeat1, - STATE(310), 1, - sym_identifier, - STATE(312), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(168), 3, - sym_index, - sym_function_call, - sym_yield, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(318), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [4917] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(487), 1, - anon_sym_RPAREN, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(275), 1, - aux_sym_function_repeat1, - STATE(310), 1, - sym_identifier, - STATE(312), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(168), 3, - sym_index, - sym_function_call, - sym_yield, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(321), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5010] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(489), 1, - anon_sym_RBRACK, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(152), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5101] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(491), 1, - anon_sym_RBRACK, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(132), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5192] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(194), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - 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, - ACTIONS(196), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5257] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(202), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - 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, - ACTIONS(204), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5322] = 21, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(487), 1, - anon_sym_RPAREN, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(275), 1, - aux_sym_function_repeat1, - STATE(310), 1, - sym_identifier, - STATE(312), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(168), 3, - sym_index, - sym_function_call, - sym_yield, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(319), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5415] = 5, + [3107] = 5, ACTIONS(3), 1, sym__comment, STATE(184), 1, - sym_math_operator, - STATE(185), 1, sym_logic_operator, - ACTIONS(188), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(190), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5476] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(497), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(126), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5567] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(499), 1, - anon_sym_RPAREN, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(124), 1, - sym_expression, - STATE(140), 1, - aux_sym__expression_list, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5658] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(346), 1, - anon_sym_STAR, - STATE(120), 1, - aux_sym_match_repeat1, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(307), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5749] = 20, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - ACTIONS(501), 1, - anon_sym_RBRACK, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(116), 1, - sym_expression, - STATE(127), 1, - aux_sym_list_repeat1, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5840] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(250), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(252), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5896] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(290), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(292), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [5952] = 3, - ACTIONS(3), 1, - sym__comment, + STATE(188), 1, + sym_math_operator, ACTIONS(206), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -12930,16 +10657,151 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [6008] = 3, + [3169] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(234), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(397), 1, + anon_sym_DOT_DOT, + STATE(184), 1, + sym_logic_operator, + STATE(188), 1, + sym_math_operator, + ACTIONS(196), 20, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(198), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3233] = 21, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(379), 1, + anon_sym_STAR, + ACTIONS(399), 1, + anon_sym_RBRACE, + STATE(116), 1, + aux_sym_match_repeat1, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(307), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3327] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(184), 1, + sym_logic_operator, + STATE(188), 1, + sym_math_operator, + ACTIONS(196), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -12955,7 +10817,2159 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(236), 27, + ACTIONS(198), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3389] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(381), 1, + anon_sym_COLON, + ACTIONS(383), 1, + anon_sym_DASH_GT, + STATE(184), 1, + sym_logic_operator, + STATE(188), 1, + sym_math_operator, + ACTIONS(188), 19, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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, + ACTIONS(190), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3455] = 21, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(401), 1, + anon_sym_RPAREN, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(282), 1, + aux_sym_function_repeat1, + STATE(310), 1, + sym_identifier, + STATE(318), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(168), 3, + sym_index, + sym_function_call, + sym_yield, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(323), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3548] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(379), 1, + anon_sym_STAR, + STATE(123), 1, + aux_sym_match_repeat1, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(307), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3639] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(403), 1, + anon_sym_RPAREN, + ACTIONS(405), 1, + anon_sym_LBRACE, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(135), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3730] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(407), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3821] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(188), 18, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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, + ACTIONS(190), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3886] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(202), 18, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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, + ACTIONS(204), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [3951] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(413), 1, + anon_sym_RBRACK, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(149), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4042] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(415), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(152), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4133] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(417), 1, + anon_sym_RBRACK, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(132), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4224] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(419), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4315] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(421), 1, + sym__identifier_pattern, + ACTIONS(424), 1, + anon_sym_LPAREN, + ACTIONS(427), 1, + anon_sym_RPAREN, + ACTIONS(429), 1, + anon_sym_LBRACE, + ACTIONS(432), 1, + sym_integer, + ACTIONS(441), 1, + anon_sym_LBRACK, + ACTIONS(444), 1, + anon_sym_none, + ACTIONS(447), 1, + anon_sym_some, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(435), 2, + sym_float, + sym_string, + ACTIONS(438), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(450), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4406] = 21, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(453), 1, + anon_sym_RPAREN, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(277), 1, + aux_sym_function_repeat1, + STATE(310), 1, + sym_identifier, + STATE(318), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(168), 3, + sym_index, + sym_function_call, + sym_yield, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(323), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4499] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(455), 1, + anon_sym_RBRACK, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(147), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4590] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(457), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4681] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(459), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(129), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4772] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(461), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4863] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(206), 20, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(208), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [4924] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(463), 1, + anon_sym_RBRACK, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(149), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5015] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(465), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5106] = 21, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(467), 1, + anon_sym_RPAREN, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(283), 1, + aux_sym_function_repeat1, + STATE(310), 1, + sym_identifier, + STATE(318), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(168), 3, + sym_index, + sym_function_call, + sym_yield, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(323), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5199] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(469), 1, + anon_sym_RBRACK, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(143), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5290] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(471), 1, + anon_sym_RBRACK, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(149), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5381] = 21, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(453), 1, + anon_sym_RPAREN, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(277), 1, + aux_sym_function_repeat1, + STATE(310), 1, + sym_identifier, + STATE(318), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(168), 3, + sym_index, + sym_function_call, + sym_yield, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(322), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5474] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(473), 1, + sym__identifier_pattern, + ACTIONS(476), 1, + anon_sym_LPAREN, + ACTIONS(479), 1, + anon_sym_LBRACE, + ACTIONS(482), 1, + sym_integer, + ACTIONS(491), 1, + anon_sym_LBRACK, + ACTIONS(494), 1, + anon_sym_RBRACK, + ACTIONS(496), 1, + anon_sym_none, + ACTIONS(499), 1, + anon_sym_some, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(119), 1, + sym_expression, + STATE(149), 1, + aux_sym_list_repeat1, + STATE(363), 1, + sym_function_expression, + ACTIONS(485), 2, + sym_float, + sym_string, + ACTIONS(488), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(502), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5565] = 21, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(401), 1, + anon_sym_RPAREN, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(282), 1, + aux_sym_function_repeat1, + STATE(310), 1, + sym_identifier, + STATE(318), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(168), 3, + sym_index, + sym_function_call, + sym_yield, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(320), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5658] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + ACTIONS(379), 1, + anon_sym_STAR, + STATE(117), 1, + aux_sym_match_repeat1, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(307), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5749] = 20, + ACTIONS(3), 1, + sym__comment, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(160), 1, + anon_sym_LPAREN, + ACTIONS(166), 1, + sym_integer, + ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, + anon_sym_some, + ACTIONS(405), 1, + anon_sym_LBRACE, + ACTIONS(505), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(120), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(363), 1, + sym_function_expression, + ACTIONS(168), 2, + sym_float, + sym_string, + ACTIONS(170), 2, + anon_sym_true, + anon_sym_false, + STATE(93), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5840] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(222), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(284), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5896] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(306), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(308), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [5952] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(258), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(260), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6008] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(250), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(252), 27, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -12986,13 +13000,13 @@ static const uint16_t ts_small_parse_table[] = { [6064] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(298), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(280), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13008,7 +13022,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(300), 27, + ACTIONS(282), 27, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -13037,280 +13051,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [6120] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(274), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(276), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6176] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(222), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(254), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6232] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(214), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(216), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6288] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(222), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(254), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6344] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(242), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(244), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6400] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(230), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13354,16 +13103,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [6456] = 3, + [6176] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(268), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(246), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13379,7 +13128,272 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(270), 27, + ACTIONS(248), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6232] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(302), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(304), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6288] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(298), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(300), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6344] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(254), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(256), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6400] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(214), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(216), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6456] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(272), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(274), 27, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -13410,13 +13424,66 @@ static const uint16_t ts_small_parse_table[] = { [6512] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(264), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(242), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(244), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6568] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(264), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13460,70 +13527,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [6568] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(294), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(296), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, [6624] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(222), 1, anon_sym_LPAREN, - ACTIONS(234), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(246), 20, anon_sym_SEMI, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13539,7 +13553,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(236), 27, + ACTIONS(248), 27, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -13573,11 +13587,11 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(222), 1, anon_sym_LPAREN, ACTIONS(218), 20, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13624,13 +13638,13 @@ static const uint16_t ts_small_parse_table[] = { [6740] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(238), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(276), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13646,7 +13660,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(240), 27, + ACTIONS(278), 27, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -13677,13 +13691,172 @@ static const uint16_t ts_small_parse_table[] = { [6796] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(282), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(294), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(296), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6852] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(290), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(292), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6908] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(234), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(236), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [6964] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(222), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13727,228 +13900,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [6852] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(256), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(258), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6908] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(246), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(248), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [6964] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(260), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(262), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, [7020] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(280), 27, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [7076] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(286), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -13992,16 +13953,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [7132] = 3, + [7076] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(302), 21, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(238), 21, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, @@ -14017,7 +13978,60 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(304), 27, + ACTIONS(240), 27, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7132] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(268), 21, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + 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(270), 27, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -14048,50 +14062,50 @@ static const uint16_t ts_small_parse_table[] = { [7188] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(158), 1, sym__identifier_pattern, ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(305), 1, + STATE(83), 1, sym_expression, - STATE(367), 1, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(363), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(168), 4, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14115,50 +14129,50 @@ static const uint16_t ts_small_parse_table[] = { [7273] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(158), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(13), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(19), 1, + ACTIONS(172), 1, anon_sym_LBRACK, - ACTIONS(21), 1, + ACTIONS(174), 1, anon_sym_none, - ACTIONS(23), 1, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(43), 1, + STATE(79), 1, sym_expression, - STATE(46), 1, + STATE(97), 1, sym_built_in_function, - STATE(53), 1, + STATE(110), 1, sym_function, - STATE(366), 1, + STATE(363), 1, sym_function_expression, - ACTIONS(15), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(17), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_option, - ACTIONS(37), 20, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14182,50 +14196,50 @@ static const uint16_t ts_small_parse_table[] = { [7358] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + STATE(122), 1, + sym_expression, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(309), 1, - sym_expression, - STATE(367), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14247,11 +14261,614 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [7443] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(173), 1, + sym_function, + STATE(174), 1, + sym_function_expression, + STATE(318), 1, + sym_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(153), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7528] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(131), 1, + sym_expression, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7613] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(130), 1, + sym_expression, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7698] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(297), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7783] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(125), 1, + sym_expression, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7868] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(301), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [7953] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(311), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [8038] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(305), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [8123] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(118), 1, + sym_expression, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [8208] = 18, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(13), 1, sym_integer, @@ -14261,15 +14878,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_none, ACTIONS(23), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(44), 1, - sym_expression, - STATE(46), 1, + STATE(51), 1, sym_built_in_function, - STATE(53), 1, + STATE(55), 1, sym_function, - STATE(366), 1, + STATE(76), 1, + sym_expression, + STATE(377), 1, sym_function_expression, ACTIONS(15), 2, sym_float, @@ -14277,17 +14894,17 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(58), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + STATE(69), 4, sym_boolean, sym_list, sym_map, @@ -14313,656 +14930,53 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [7528] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - STATE(86), 1, - sym_expression, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [7613] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(118), 1, - sym_expression, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [7698] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(153), 1, - sym_function_expression, - STATE(155), 1, - sym_built_in_function, - STATE(161), 1, - sym_function, - STATE(312), 1, - sym_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(159), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [7783] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(145), 1, - sym_expression, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [7868] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(146), 1, - sym_expression, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [7953] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(298), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [8038] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(296), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [8123] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(302), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [8208] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(295), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, [8293] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, + ACTIONS(158), 1, sym__identifier_pattern, - ACTIONS(126), 1, + ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(128), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(134), 1, + ACTIONS(172), 1, anon_sym_LBRACK, - ACTIONS(136), 1, + ACTIONS(174), 1, anon_sym_none, - ACTIONS(138), 1, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(397), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(85), 1, + STATE(81), 1, sym_expression, - STATE(95), 1, + STATE(97), 1, sym_built_in_function, - STATE(105), 1, + STATE(110), 1, sym_function, - STATE(361), 1, + STATE(363), 1, sym_function_expression, - ACTIONS(130), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(132), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(106), 4, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(152), 20, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14986,50 +15000,50 @@ static const uint16_t ts_small_parse_table[] = { [8378] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(7), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(21), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(23), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(122), 1, + STATE(42), 1, sym_expression, - STATE(155), 1, + STATE(51), 1, sym_built_in_function, - STATE(167), 1, + STATE(55), 1, sym_function, - STATE(367), 1, + STATE(377), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(168), 4, + STATE(58), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + STATE(69), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(37), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15053,50 +15067,50 @@ static const uint16_t ts_small_parse_table[] = { [8463] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(126), 1, + ACTIONS(7), 1, anon_sym_LPAREN, - ACTIONS(128), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(134), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(136), 1, + ACTIONS(21), 1, anon_sym_none, - ACTIONS(138), 1, + ACTIONS(23), 1, anon_sym_some, - ACTIONS(397), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(79), 1, + STATE(41), 1, sym_expression, - STATE(95), 1, + STATE(51), 1, sym_built_in_function, - STATE(105), 1, + STATE(55), 1, sym_function, - STATE(361), 1, + STATE(377), 1, sym_function_expression, - ACTIONS(130), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(132), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(106), 4, + STATE(58), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(152), 20, + STATE(69), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(37), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15120,50 +15134,50 @@ static const uint16_t ts_small_parse_table[] = { [8548] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, - STATE(167), 1, + STATE(173), 1, sym_function, - STATE(300), 1, - sym_expression, - STATE(367), 1, + STATE(174), 1, sym_function_expression, - ACTIONS(164), 2, + STATE(314), 1, + sym_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, + STATE(153), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15187,50 +15201,50 @@ static const uint16_t ts_small_parse_table[] = { [8633] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(306), 1, + STATE(303), 1, sym_expression, - STATE(367), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15254,50 +15268,50 @@ static const uint16_t ts_small_parse_table[] = { [8718] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(7), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(21), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(23), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(301), 1, + STATE(46), 1, sym_expression, - STATE(367), 1, + STATE(51), 1, + sym_built_in_function, + STATE(55), 1, + sym_function, + STATE(377), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(168), 4, + STATE(58), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + STATE(69), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(37), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15323,7 +15337,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(13), 1, sym_integer, @@ -15333,15 +15347,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_none, ACTIONS(23), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(53), 1, - sym_function, - STATE(76), 1, + STATE(49), 1, sym_expression, - STATE(366), 1, + STATE(51), 1, + sym_built_in_function, + STATE(55), 1, + sym_function, + STATE(377), 1, sym_function_expression, ACTIONS(15), 2, sym_float, @@ -15349,17 +15363,17 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(58), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + STATE(69), 4, sym_boolean, sym_list, sym_map, @@ -15386,11 +15400,78 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [8888] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(309), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [8973] = 18, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(13), 1, sym_integer, @@ -15400,15 +15481,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_none, ACTIONS(23), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(48), 1, + STATE(44), 1, sym_expression, - STATE(53), 1, + STATE(51), 1, + sym_built_in_function, + STATE(55), 1, sym_function, - STATE(366), 1, + STATE(377), 1, sym_function_expression, ACTIONS(15), 2, sym_float, @@ -15416,17 +15497,17 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(58), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + STATE(69), 4, sym_boolean, sym_list, sym_map, @@ -15452,120 +15533,53 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [8973] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(311), 1, - sym_expression, - STATE(367), 1, - sym_function_expression, - ACTIONS(164), 2, - sym_float, - sym_string, - ACTIONS(166), 2, - anon_sym_true, - anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(182), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, [9058] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, + ACTIONS(158), 1, sym__identifier_pattern, - ACTIONS(126), 1, + ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(128), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(134), 1, + ACTIONS(172), 1, anon_sym_LBRACK, - ACTIONS(136), 1, + ACTIONS(174), 1, anon_sym_none, - ACTIONS(138), 1, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(397), 1, + ACTIONS(405), 1, anon_sym_LBRACE, STATE(84), 1, sym_expression, - STATE(95), 1, + STATE(97), 1, sym_built_in_function, - STATE(105), 1, + STATE(110), 1, sym_function, - STATE(361), 1, + STATE(363), 1, sym_function_expression, - ACTIONS(130), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(132), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(106), 4, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(152), 20, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15589,50 +15603,50 @@ static const uint16_t ts_small_parse_table[] = { [9143] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(375), 1, anon_sym_LBRACE, - ACTIONS(505), 1, + ACTIONS(509), 1, anon_sym_LPAREN, - STATE(91), 1, - sym_function, - STATE(95), 1, + STATE(97), 1, sym_built_in_function, - STATE(110), 1, + STATE(103), 1, + sym_function, + STATE(105), 1, sym_function_expression, - STATE(317), 1, + STATE(319), 1, sym_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, + STATE(88), 4, sym_identifier, sym_index, sym_function_call, sym_yield, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - ACTIONS(152), 20, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15658,7 +15672,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(13), 1, sym_integer, @@ -15668,15 +15682,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_none, ACTIONS(23), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(46), 1, - sym_built_in_function, STATE(47), 1, sym_expression, - STATE(53), 1, + STATE(51), 1, + sym_built_in_function, + STATE(55), 1, sym_function, - STATE(366), 1, + STATE(377), 1, sym_function_expression, ACTIONS(15), 2, sym_float, @@ -15684,17 +15698,17 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(58), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + STATE(69), 4, sym_boolean, sym_list, sym_map, @@ -15723,50 +15737,50 @@ static const uint16_t ts_small_parse_table[] = { [9313] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(507), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - STATE(46), 1, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, sym_built_in_function, - STATE(58), 1, - sym_function_expression, - STATE(59), 1, + STATE(167), 1, sym_function, - STATE(313), 1, + STATE(306), 1, sym_expression, - ACTIONS(164), 2, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(60), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - ACTIONS(37), 20, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15790,50 +15804,50 @@ static const uint16_t ts_small_parse_table[] = { [9398] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(397), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(81), 1, - sym_expression, - STATE(95), 1, + ACTIONS(511), 1, + anon_sym_LPAREN, + STATE(51), 1, sym_built_in_function, - STATE(105), 1, + STATE(68), 1, sym_function, - STATE(361), 1, + STATE(70), 1, sym_function_expression, - ACTIONS(130), 2, + STATE(315), 1, + sym_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(132), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, + STATE(67), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(152), 20, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(37), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15857,50 +15871,50 @@ static const uint16_t ts_small_parse_table[] = { [9483] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(148), 1, + STATE(142), 1, sym_expression, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(367), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15924,50 +15938,50 @@ static const uint16_t ts_small_parse_table[] = { [9568] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(507), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - STATE(46), 1, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, sym_built_in_function, - STATE(58), 1, - sym_function_expression, - STATE(59), 1, + STATE(167), 1, sym_function, - STATE(314), 1, + STATE(308), 1, sym_expression, - ACTIONS(164), 2, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(60), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - ACTIONS(37), 20, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -15991,50 +16005,50 @@ static const uint16_t ts_small_parse_table[] = { [9653] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(158), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(13), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(19), 1, + ACTIONS(172), 1, anon_sym_LBRACK, - ACTIONS(21), 1, + ACTIONS(174), 1, anon_sym_none, - ACTIONS(23), 1, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(41), 1, + STATE(86), 1, sym_expression, - STATE(46), 1, + STATE(97), 1, sym_built_in_function, - STATE(53), 1, + STATE(110), 1, sym_function, - STATE(366), 1, + STATE(363), 1, sym_function_expression, - ACTIONS(15), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(17), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_option, - ACTIONS(37), 20, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16058,50 +16072,50 @@ static const uint16_t ts_small_parse_table[] = { [9738] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + ACTIONS(511), 1, + anon_sym_LPAREN, + STATE(51), 1, sym_built_in_function, - STATE(167), 1, + STATE(68), 1, sym_function, - STATE(304), 1, - sym_expression, - STATE(367), 1, + STATE(70), 1, sym_function_expression, - ACTIONS(164), 2, + STATE(317), 1, + sym_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, + STATE(67), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(37), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16125,50 +16139,50 @@ static const uint16_t ts_small_parse_table[] = { [9823] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(303), 1, + STATE(302), 1, sym_expression, - STATE(367), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16192,50 +16206,50 @@ static const uint16_t ts_small_parse_table[] = { [9908] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(158), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(13), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(19), 1, + ACTIONS(172), 1, anon_sym_LBRACK, - ACTIONS(21), 1, + ACTIONS(174), 1, anon_sym_none, - ACTIONS(23), 1, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(49), 1, + STATE(85), 1, sym_expression, - STATE(53), 1, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, sym_function, - STATE(366), 1, + STATE(363), 1, sym_function_expression, - ACTIONS(15), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(17), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_option, - ACTIONS(37), 20, + STATE(109), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16259,50 +16273,50 @@ static const uint16_t ts_small_parse_table[] = { [9993] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, - sym__identifier_pattern, - ACTIONS(160), 1, - anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(158), 1, + sym__identifier_pattern, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + ACTIONS(509), 1, + anon_sym_LPAREN, + STATE(97), 1, sym_built_in_function, - STATE(167), 1, + STATE(103), 1, sym_function, - STATE(233), 1, - sym_expression, - STATE(367), 1, + STATE(105), 1, sym_function_expression, - ACTIONS(164), 2, + STATE(316), 1, + sym_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(168), 4, + STATE(88), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16324,11 +16338,145 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [10078] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(312), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [10163] = 18, + ACTIONS(3), 1, + sym__comment, + ACTIONS(124), 1, + sym__identifier_pattern, + ACTIONS(126), 1, + anon_sym_LPAREN, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(240), 1, + sym_expression, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, + sym_float, + sym_string, + ACTIONS(136), 2, + anon_sym_true, + anon_sym_false, + STATE(156), 4, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [10248] = 18, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(7), 1, anon_sym_LPAREN, ACTIONS(13), 1, sym_integer, @@ -16338,15 +16486,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_none, ACTIONS(23), 1, anon_sym_some, - ACTIONS(503), 1, + ACTIONS(507), 1, anon_sym_LBRACE, - STATE(45), 1, + STATE(43), 1, sym_expression, - STATE(46), 1, + STATE(51), 1, sym_built_in_function, - STATE(53), 1, + STATE(55), 1, sym_function, - STATE(366), 1, + STATE(377), 1, sym_function_expression, ACTIONS(15), 2, sym_float, @@ -16354,17 +16502,17 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(64), 4, + STATE(56), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(75), 4, + STATE(58), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + STATE(69), 4, sym_boolean, sym_list, sym_map, @@ -16390,187 +16538,53 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [10163] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - STATE(82), 1, - sym_expression, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [10248] = 18, - ACTIONS(3), 1, - sym__comment, - ACTIONS(120), 1, - sym__identifier_pattern, - ACTIONS(126), 1, - anon_sym_LPAREN, - ACTIONS(128), 1, - sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, - ACTIONS(138), 1, - anon_sym_some, - ACTIONS(397), 1, - anon_sym_LBRACE, - STATE(83), 1, - sym_expression, - STATE(95), 1, - sym_built_in_function, - STATE(105), 1, - sym_function, - STATE(361), 1, - sym_function_expression, - ACTIONS(130), 2, - sym_float, - sym_string, - ACTIONS(132), 2, - anon_sym_true, - anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - STATE(106), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - ACTIONS(152), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, [10333] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(162), 1, - sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, - ACTIONS(172), 1, - anon_sym_some, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(505), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - STATE(91), 1, - sym_function, - STATE(95), 1, - sym_built_in_function, - STATE(110), 1, - sym_function_expression, - STATE(315), 1, + ACTIONS(132), 1, + sym_integer, + ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, + anon_sym_some, + ACTIONS(375), 1, + anon_sym_LBRACE, + STATE(124), 1, sym_expression, - ACTIONS(164), 2, + STATE(158), 1, + sym_built_in_function, + STATE(167), 1, + sym_function, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(90), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - ACTIONS(152), 20, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16594,50 +16608,50 @@ static const uint16_t ts_small_parse_table[] = { [10418] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(120), 1, + ACTIONS(124), 1, sym__identifier_pattern, ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(128), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(134), 1, - anon_sym_LBRACK, - ACTIONS(136), 1, - anon_sym_none, ACTIONS(138), 1, + anon_sym_LBRACK, + ACTIONS(140), 1, + anon_sym_none, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(397), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(95), 1, + STATE(158), 1, sym_built_in_function, - STATE(105), 1, + STATE(167), 1, sym_function, - STATE(113), 1, + STATE(298), 1, sym_expression, - STATE(361), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(130), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(132), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, - STATE(94), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(96), 4, + STATE(156), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(106), 4, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(152), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16661,50 +16675,50 @@ static const uint16_t ts_small_parse_table[] = { [10503] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(123), 1, - sym_expression, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(367), 1, + STATE(313), 1, + sym_expression, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16728,50 +16742,50 @@ static const uint16_t ts_small_parse_table[] = { [10588] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(158), 1, sym__identifier_pattern, ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(155), 1, + STATE(97), 1, sym_built_in_function, - STATE(167), 1, + STATE(110), 1, sym_function, - STATE(308), 1, + STATE(115), 1, sym_expression, - STATE(367), 1, + STATE(363), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(168), 4, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16795,50 +16809,50 @@ static const uint16_t ts_small_parse_table[] = { [10673] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(297), 1, + STATE(299), 1, sym_expression, - STATE(367), 1, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16862,50 +16876,50 @@ static const uint16_t ts_small_parse_table[] = { [10758] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(158), 1, sym__identifier_pattern, ACTIONS(160), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(166), 1, sym_integer, - ACTIONS(168), 1, - anon_sym_LBRACK, - ACTIONS(170), 1, - anon_sym_none, ACTIONS(172), 1, + anon_sym_LBRACK, + ACTIONS(174), 1, + anon_sym_none, + ACTIONS(176), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(405), 1, anon_sym_LBRACE, - STATE(155), 1, - sym_built_in_function, - STATE(167), 1, - sym_function, - STATE(299), 1, + STATE(80), 1, sym_expression, - STATE(367), 1, + STATE(97), 1, + sym_built_in_function, + STATE(110), 1, + sym_function, + STATE(363), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(168), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(170), 2, anon_sym_true, anon_sym_false, - STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, + STATE(93), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - STATE(168), 4, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(109), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(186), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16929,50 +16943,50 @@ static const uint16_t ts_small_parse_table[] = { [10843] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(125), 1, - sym_expression, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, STATE(167), 1, sym_function, - STATE(367), 1, + STATE(300), 1, + sym_expression, + STATE(362), 1, sym_function_expression, - ACTIONS(164), 2, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, STATE(168), 4, sym_identifier, sym_index, sym_function_call, sym_yield, - ACTIONS(182), 20, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16996,50 +17010,50 @@ static const uint16_t ts_small_parse_table[] = { [10928] = 18, ACTIONS(3), 1, sym__comment, - ACTIONS(154), 1, + ACTIONS(124), 1, sym__identifier_pattern, - ACTIONS(160), 1, + ACTIONS(126), 1, anon_sym_LPAREN, - ACTIONS(162), 1, + ACTIONS(132), 1, sym_integer, - ACTIONS(168), 1, + ACTIONS(138), 1, anon_sym_LBRACK, - ACTIONS(170), 1, + ACTIONS(140), 1, anon_sym_none, - ACTIONS(172), 1, + ACTIONS(142), 1, anon_sym_some, - ACTIONS(342), 1, + ACTIONS(375), 1, anon_sym_LBRACE, - STATE(153), 1, - sym_function_expression, - STATE(155), 1, + STATE(158), 1, sym_built_in_function, - STATE(161), 1, + STATE(167), 1, sym_function, - STATE(316), 1, + STATE(304), 1, sym_expression, - ACTIONS(164), 2, + STATE(362), 1, + sym_function_expression, + ACTIONS(134), 2, sym_float, sym_string, - ACTIONS(166), 2, + ACTIONS(136), 2, anon_sym_true, anon_sym_false, STATE(156), 4, - sym_boolean, - sym_list, - sym_map, - sym_option, - STATE(159), 4, - sym_identifier, - sym_index, - sym_function_call, - sym_yield, - STATE(164), 4, sym__expression_kind, sym_value, sym_math, sym_logic, - ACTIONS(182), 20, + STATE(159), 4, + sym_boolean, + sym_list, + sym_map, + sym_option, + STATE(168), 4, + sym_identifier, + sym_index, + sym_function_call, + sym_yield, + ACTIONS(156), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -17063,26 +17077,26 @@ static const uint16_t ts_small_parse_table[] = { [11013] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(513), 1, + ACTIONS(517), 1, anon_sym_elseif, - ACTIONS(515), 1, + ACTIONS(519), 1, anon_sym_else, - STATE(238), 1, + STATE(245), 1, sym_else, STATE(223), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(509), 9, + ACTIONS(513), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(511), 32, + ACTIONS(515), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -17118,26 +17132,26 @@ static const uint16_t ts_small_parse_table[] = { [11075] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(513), 1, + ACTIONS(517), 1, anon_sym_elseif, - ACTIONS(515), 1, + ACTIONS(519), 1, anon_sym_else, - STATE(231), 1, + STATE(241), 1, sym_else, STATE(225), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(517), 9, + ACTIONS(521), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(519), 32, + ACTIONS(523), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -17179,17 +17193,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, ACTIONS(226), 1, anon_sym_LT, - STATE(31), 1, + STATE(40), 1, sym_assignment_operator, - STATE(339), 1, + STATE(341), 1, sym_type_definition, ACTIONS(228), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, ACTIONS(218), 14, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_STAR, anon_sym_SLASH, @@ -17229,22 +17243,22 @@ static const uint16_t ts_small_parse_table[] = { [11202] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(525), 1, + ACTIONS(529), 1, anon_sym_elseif, STATE(225), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(521), 9, + ACTIONS(525), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(523), 33, + ACTIONS(527), 33, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -17285,15 +17299,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(224), 1, anon_sym_EQ, - STATE(29), 1, + STATE(37), 1, sym_assignment_operator, ACTIONS(228), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, ACTIONS(218), 14, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, + anon_sym_RBRACE, anon_sym_COLON, anon_sym_STAR, anon_sym_SLASH, @@ -17332,158 +17346,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [11319] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(528), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(530), 33, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [11370] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(242), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(244), 33, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [11421] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(230), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(232), 33, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [11472] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(532), 10, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -17523,20 +17393,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11523] = 3, + [11370] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(536), 9, + ACTIONS(234), 10, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, + anon_sym_elseif, anon_sym_asyncfor, - ACTIONS(538), 32, + ACTIONS(236), 33, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -17545,6 +17416,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_none, anon_sym_some, anon_sym_if, + anon_sym_else, anon_sym_match, anon_sym_while, anon_sym_for, @@ -17569,15 +17441,214 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11572] = 3, + [11421] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(258), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(260), 33, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [11472] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(294), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(296), 33, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [11523] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(536), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(538), 33, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [11574] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(338), 1, + anon_sym_SEMI, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(322), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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(324), 21, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [11641] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(540), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -17615,124 +17686,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11621] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(306), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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(308), 21, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [11686] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(334), 1, - anon_sym_SEMI, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(318), 2, - anon_sym_RBRACE, - anon_sym_COMMA, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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(320), 21, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [11753] = 3, + [11690] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(544), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -17770,33 +17732,40 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11802] = 4, + [11739] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(322), 1, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(322), 3, anon_sym_SEMI, - ACTIONS(318), 8, - ts_builtin_sym_end, - anon_sym_LBRACE, + anon_sym_COMMA, anon_sym_RBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(320), 32, - anon_sym_async, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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(324), 21, sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -17817,15 +17786,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11853] = 3, + [11804] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(548), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -17863,20 +17832,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11902] = 3, + [11853] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(517), 9, + ACTIONS(326), 1, + anon_sym_SEMI, + ACTIONS(322), 8, ts_builtin_sym_end, + anon_sym_LPAREN, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(519), 32, + ACTIONS(324), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -17909,15 +17879,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11951] = 3, + [11904] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(552), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -17955,115 +17925,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12000] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(318), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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(320), 21, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12065] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(318), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(320), 32, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12114] = 3, + [11953] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(556), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -18101,15 +17971,69 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12163] = 3, + [12002] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(310), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RBRACE, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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(312), 21, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12067] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(560), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -18147,15 +18071,61 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12212] = 3, + [12116] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(322), 9, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(324), 32, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12165] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(564), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -18193,15 +18163,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12261] = 3, + [12214] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(568), 9, ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -18239,161 +18209,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12310] = 7, + [12263] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(572), 1, - anon_sym_elseif, - ACTIONS(574), 1, - anon_sym_else, - STATE(262), 1, - sym_else, - STATE(247), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(509), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(511), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12366] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(572), 1, - anon_sym_elseif, - ACTIONS(574), 1, - anon_sym_else, - STATE(260), 1, - sym_else, - STATE(248), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(517), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(519), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12422] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(576), 1, - anon_sym_elseif, - STATE(248), 2, - sym_else_if, - aux_sym_if_else_repeat1, ACTIONS(521), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, + ts_builtin_sym_end, anon_sym_SEMI, anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(523), 27, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_none, - anon_sym_some, - anon_sym_else, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12473] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(581), 6, anon_sym_LBRACE, - anon_sym_LPAREN, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(579), 32, + ACTIONS(523), 32, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -18426,15 +18255,290 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12519] = 3, + [12312] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(532), 10, + ACTIONS(572), 9, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_LPAREN, anon_sym_LBRACE, anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(574), 32, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12361] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(576), 1, + anon_sym_elseif, + ACTIONS(578), 1, + anon_sym_else, + STATE(265), 1, + sym_else, + STATE(248), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(513), 9, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(515), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12417] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(576), 1, + anon_sym_elseif, + ACTIONS(578), 1, + anon_sym_else, + STATE(261), 1, + sym_else, + STATE(249), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(521), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(523), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12473] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(580), 1, + anon_sym_elseif, + STATE(249), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(525), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(527), 27, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_else, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12524] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(585), 6, + anon_sym_LPAREN, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(583), 32, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12570] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(536), 10, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_elseif, + ACTIONS(538), 27, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_none, + anon_sym_some, + anon_sym_else, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12615] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(532), 10, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -18468,21 +18572,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12564] = 3, + [12660] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(242), 10, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(258), 10, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_STAR, anon_sym_elseif, - ACTIONS(244), 27, + ACTIONS(260), 27, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -18510,21 +18614,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12609] = 3, + [12705] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(528), 10, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(234), 10, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_STAR, anon_sym_elseif, - ACTIONS(530), 27, + ACTIONS(236), 27, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -18552,21 +18656,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12654] = 3, + [12750] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(230), 10, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(294), 10, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_STAR, anon_sym_elseif, - ACTIONS(232), 27, + ACTIONS(296), 27, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -18594,376 +18698,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [12699] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(560), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(562), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12742] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(556), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(558), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12785] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(548), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(550), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12828] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(318), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(320), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12871] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(334), 1, - anon_sym_SEMI, - ACTIONS(318), 8, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(320), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12916] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(540), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(542), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [12959] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(536), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(538), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13002] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(568), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(570), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13045] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(517), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - ACTIONS(519), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13088] = 3, + [12795] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(544), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -18995,15 +18738,296 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13131] = 3, + [12838] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(564), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(540), 9, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(542), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12881] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(568), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(570), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12924] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(322), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(324), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [12967] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(556), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(558), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13010] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(560), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(562), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13053] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(338), 1, + anon_sym_SEMI, + ACTIONS(322), 8, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(324), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13098] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(572), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(574), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13141] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(564), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -19035,15 +19059,55 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13174] = 3, + [13184] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(552), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(521), 9, anon_sym_SEMI, anon_sym_LPAREN, anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + ACTIONS(523), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13227] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(552), 9, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -19075,20 +19139,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13217] = 4, + [13270] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(587), 1, + ACTIONS(548), 9, + anon_sym_SEMI, + anon_sym_LPAREN, anon_sym_COMMA, - ACTIONS(585), 7, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_STAR, - ACTIONS(583), 26, + ACTIONS(550), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -19115,18 +19179,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13261] = 3, + [13313] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(591), 7, + ACTIONS(591), 1, + anon_sym_COMMA, + ACTIONS(589), 7, + anon_sym_LPAREN, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_STAR, - ACTIONS(589), 26, + ACTIONS(587), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -19153,16 +19219,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13302] = 3, + [13357] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(422), 6, - anon_sym_LBRACE, + ACTIONS(595), 7, anon_sym_LPAREN, + anon_sym_LBRACE, + anon_sym_RBRACE, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, + anon_sym_STAR, ACTIONS(593), 26, sym__identifier_pattern, sym_integer, @@ -19190,49 +19257,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13342] = 3, + [13398] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(448), 6, - anon_sym_LBRACE, + ACTIONS(427), 6, anon_sym_LPAREN, anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - ACTIONS(595), 26, - 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_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13382] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(599), 5, anon_sym_LBRACE, - anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, @@ -19263,12 +19294,49 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13421] = 3, + [13438] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(494), 6, + anon_sym_LPAREN, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + ACTIONS(599), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13478] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(603), 5, - anon_sym_LBRACE, anon_sym_LPAREN, + anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, @@ -19299,93 +19367,129 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13460] = 7, + [13517] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(572), 1, - anon_sym_elseif, - ACTIONS(605), 1, - anon_sym_else, - STATE(262), 1, - sym_else, - STATE(273), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(509), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - ACTIONS(511), 21, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13505] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(572), 1, - anon_sym_elseif, - ACTIONS(605), 1, - anon_sym_else, - STATE(260), 1, - sym_else, - STATE(248), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(517), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - ACTIONS(519), 21, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13550] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(609), 6, + ACTIONS(607), 5, + anon_sym_LPAREN, anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + ACTIONS(605), 26, + 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_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13556] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(576), 1, + anon_sym_elseif, + ACTIONS(609), 1, + anon_sym_else, + STATE(261), 1, + sym_else, + STATE(249), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(521), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RBRACE, + ACTIONS(523), 21, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13601] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(576), 1, + anon_sym_elseif, + ACTIONS(609), 1, + anon_sym_else, + STATE(265), 1, + sym_else, + STATE(274), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(513), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RBRACE, + ACTIONS(515), 21, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [13646] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(613), 6, anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_LBRACE, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(607), 22, + ACTIONS(611), 22, anon_sym_async, sym__identifier_pattern, anon_sym_assert, @@ -19408,120 +19512,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13586] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - ACTIONS(611), 1, - anon_sym_RPAREN, - STATE(46), 1, - sym_built_in_function, - STATE(281), 1, - aux_sym_function_repeat1, - STATE(355), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13627] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_RBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(285), 1, - aux_sym_map_repeat1, - STATE(344), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13668] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - ACTIONS(613), 1, - anon_sym_RBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(282), 1, - aux_sym_map_repeat1, - STATE(344), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13709] = 7, + [13682] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, ACTIONS(615), 1, - anon_sym_RBRACE, - STATE(46), 1, + anon_sym_RPAREN, + STATE(51), 1, sym_built_in_function, - STATE(282), 1, - aux_sym_map_repeat1, - STATE(344), 1, + STATE(278), 1, + aux_sym_function_repeat1, + STATE(359), 1, sym_identifier, ACTIONS(37), 20, anon_sym_assert, @@ -19544,20 +19546,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13750] = 7, + [13723] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, ACTIONS(617), 1, + sym__identifier_pattern, + ACTIONS(620), 1, anon_sym_RPAREN, - STATE(46), 1, + STATE(51), 1, sym_built_in_function, - STATE(281), 1, + STATE(278), 1, aux_sym_function_repeat1, - STATE(355), 1, + STATE(359), 1, sym_identifier, - ACTIONS(37), 20, + ACTIONS(622), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -19578,18 +19580,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13791] = 7, + [13764] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(619), 1, - anon_sym_RPAREN, - STATE(46), 1, + ACTIONS(625), 1, + anon_sym_RBRACE, + STATE(51), 1, sym_built_in_function, STATE(281), 1, - aux_sym_function_repeat1, - STATE(355), 1, + aux_sym_map_repeat1, + STATE(350), 1, sym_identifier, ACTIONS(37), 20, anon_sym_assert, @@ -19612,20 +19614,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13832] = 7, + [13805] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(621), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(624), 1, - anon_sym_RPAREN, - STATE(46), 1, + ACTIONS(627), 1, + anon_sym_RBRACE, + STATE(51), 1, sym_built_in_function, STATE(281), 1, - aux_sym_function_repeat1, - STATE(355), 1, + aux_sym_map_repeat1, + STATE(350), 1, sym_identifier, - ACTIONS(626), 20, + ACTIONS(37), 20, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -19646,18 +19648,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13873] = 7, + [13846] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(629), 1, sym__identifier_pattern, ACTIONS(632), 1, anon_sym_RBRACE, - STATE(46), 1, + STATE(51), 1, sym_built_in_function, - STATE(282), 1, + STATE(281), 1, aux_sym_map_repeat1, - STATE(344), 1, + STATE(350), 1, sym_identifier, ACTIONS(634), 20, anon_sym_assert, @@ -19680,86 +19682,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [13914] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - ACTIONS(92), 1, - anon_sym_RBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(277), 1, - aux_sym_map_repeat1, - STATE(344), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13955] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - ACTIONS(96), 1, - anon_sym_RBRACE, - STATE(46), 1, - sym_built_in_function, - STATE(278), 1, - aux_sym_map_repeat1, - STATE(344), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [13996] = 7, + [13887] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, ACTIONS(637), 1, - anon_sym_RBRACE, - STATE(46), 1, + anon_sym_RPAREN, + STATE(51), 1, sym_built_in_function, - STATE(282), 1, - aux_sym_map_repeat1, - STATE(344), 1, + STATE(278), 1, + aux_sym_function_repeat1, + STATE(359), 1, sym_identifier, ACTIONS(37), 20, anon_sym_assert, @@ -19782,14 +19716,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14037] = 5, + [13928] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - STATE(46), 1, + ACTIONS(639), 1, + anon_sym_RPAREN, + STATE(51), 1, sym_built_in_function, - STATE(371), 1, + STATE(278), 1, + aux_sym_function_repeat1, + STATE(359), 1, sym_identifier, ACTIONS(37), 20, anon_sym_assert, @@ -19812,103 +19750,144 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14072] = 4, + [13969] = 7, ACTIONS(3), 1, sym__comment, + ACTIONS(5), 1, + sym__identifier_pattern, ACTIONS(641), 1, anon_sym_RBRACE, - ACTIONS(643), 1, + STATE(51), 1, + sym_built_in_function, + STATE(281), 1, + aux_sym_map_repeat1, + STATE(350), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14010] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym__identifier_pattern, + STATE(51), 1, + sym_built_in_function, + STATE(284), 1, + aux_sym_map_repeat1, + STATE(350), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14048] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym__identifier_pattern, + STATE(51), 1, + sym_built_in_function, + STATE(280), 1, + aux_sym_map_repeat1, + STATE(350), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14086] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym__identifier_pattern, + STATE(51), 1, + sym_built_in_function, + STATE(279), 1, + aux_sym_map_repeat1, + STATE(350), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14124] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(645), 1, anon_sym_COMMA, - ACTIONS(639), 21, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [14105] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - STATE(46), 1, - sym_built_in_function, - STATE(374), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [14140] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - STATE(46), 1, - sym_built_in_function, - STATE(362), 1, - sym_identifier, - ACTIONS(37), 20, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_either_or, - anon_sym_fish, - anon_sym_from_json, - anon_sym_is_none, - anon_sym_is_some, - 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, - [14175] = 4, - ACTIONS(3), 1, - sym__comment, ACTIONS(647), 1, anon_sym_RBRACE, - ACTIONS(649), 1, - anon_sym_COMMA, - ACTIONS(645), 21, + ACTIONS(643), 21, sym__identifier_pattern, anon_sym_assert, anon_sym_assert_equal, @@ -19930,14 +19909,44 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14208] = 4, + [14157] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(624), 1, - anon_sym_RPAREN, + ACTIONS(5), 1, + sym__identifier_pattern, + STATE(51), 1, + sym_built_in_function, + STATE(375), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14192] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(651), 1, + anon_sym_COMMA, ACTIONS(653), 1, - anon_sym_COMMA, - ACTIONS(651), 21, + anon_sym_RBRACE, + ACTIONS(649), 21, sym__identifier_pattern, anon_sym_assert, anon_sym_assert_equal, @@ -19959,11 +19968,73 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14241] = 3, + [14225] = 5, ACTIONS(3), 1, sym__comment, + ACTIONS(5), 1, + sym__identifier_pattern, + STATE(51), 1, + sym_built_in_function, + STATE(376), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14260] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym__identifier_pattern, + STATE(51), 1, + sym_built_in_function, + STATE(368), 1, + sym_identifier, + ACTIONS(37), 20, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14295] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(620), 1, + anon_sym_RPAREN, ACTIONS(657), 1, - anon_sym_RBRACE, + anon_sym_COMMA, ACTIONS(655), 21, sym__identifier_pattern, anon_sym_assert, @@ -19986,12 +20057,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14271] = 3, + [14328] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(641), 1, + ACTIONS(647), 1, anon_sym_RBRACE, - ACTIONS(639), 21, + ACTIONS(643), 21, sym__identifier_pattern, anon_sym_assert, anon_sym_assert_equal, @@ -20013,7 +20084,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14301] = 3, + [14358] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(661), 1, @@ -20040,504 +20111,471 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [14331] = 12, + [14388] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(663), 1, - anon_sym_async, ACTIONS(665), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(256), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14377] = 12, + anon_sym_RBRACE, + ACTIONS(663), 21, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_either_or, + anon_sym_fish, + anon_sym_from_json, + anon_sym_is_none, + anon_sym_is_some, + 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, + [14418] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(663), 1, - anon_sym_async, - ACTIONS(665), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(264), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14423] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(667), 1, anon_sym_async, ACTIONS(669), 1, anon_sym_LBRACE, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(252), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14469] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(671), 1, - anon_sym_async, - ACTIONS(673), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(244), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14515] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(675), 1, - anon_sym_async, - ACTIONS(677), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(264), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14561] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(679), 1, - anon_sym_async, - ACTIONS(681), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(230), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14607] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(671), 1, - anon_sym_async, - ACTIONS(673), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - STATE(237), 1, - sym_block, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14653] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, - ACTIONS(679), 1, - anon_sym_async, - ACTIONS(681), 1, - anon_sym_LBRACE, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, STATE(227), 1, sym_block, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14699] = 12, + [14464] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(671), 1, + anon_sym_async, + ACTIONS(673), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + STATE(252), 1, + sym_block, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [14510] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(675), 1, anon_sym_async, ACTIONS(677), 1, anon_sym_LBRACE, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - STATE(256), 1, + STATE(257), 1, sym_block, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14745] = 12, + [14556] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(679), 1, + anon_sym_async, + ACTIONS(681), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + STATE(257), 1, + sym_block, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [14602] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(671), 1, + anon_sym_async, + ACTIONS(673), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + STATE(251), 1, + sym_block, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [14648] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(683), 1, + anon_sym_async, + ACTIONS(685), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + STATE(233), 1, + sym_block, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [14694] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(667), 1, anon_sym_async, ACTIONS(669), 1, anon_sym_LBRACE, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - STATE(250), 1, + STATE(231), 1, sym_block, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14791] = 10, + [14740] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(675), 1, + anon_sym_async, + ACTIONS(677), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + STATE(267), 1, + sym_block, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [14786] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(683), 1, - anon_sym_RPAREN, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [14831] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(493), 1, - anon_sym_COLON, - ACTIONS(495), 1, - anon_sym_DASH_GT, + anon_sym_async, ACTIONS(685), 1, anon_sym_LBRACE, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + STATE(236), 1, + sym_block, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14871] = 10, + [14832] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(679), 1, + anon_sym_async, + ACTIONS(681), 1, + anon_sym_LBRACE, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + STATE(267), 1, + sym_block, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [14878] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(687), 1, anon_sym_EQ_GT, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14911] = 10, + [14918] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(689), 1, - anon_sym_RPAREN, - STATE(184), 1, + anon_sym_LBRACE, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14951] = 10, + [14958] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(691), 1, anon_sym_LBRACE, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [14991] = 6, + [14998] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(222), 1, anon_sym_LPAREN, ACTIONS(226), 1, anon_sym_LT, - STATE(291), 1, + STATE(293), 1, sym_type_definition, ACTIONS(220), 2, anon_sym_DASH, @@ -20556,214 +20594,274 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [15023] = 10, + [15030] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, anon_sym_DASH_GT, ACTIONS(693), 1, anon_sym_RPAREN, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [15063] = 9, + [15070] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(493), 1, + ACTIONS(409), 1, anon_sym_COLON, - ACTIONS(495), 1, + ACTIONS(411), 1, anon_sym_DASH_GT, - STATE(184), 1, + ACTIONS(695), 1, + anon_sym_RPAREN, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [15100] = 9, + [15110] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + ACTIONS(697), 1, + anon_sym_RPAREN, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [15150] = 9, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(381), 1, + anon_sym_COLON, + ACTIONS(383), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [15187] = 9, ACTIONS(3), 1, sym__comment, ACTIONS(210), 1, anon_sym_COLON, ACTIONS(212), 1, anon_sym_DASH_GT, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [15137] = 9, + [15224] = 9, ACTIONS(3), 1, sym__comment, - ACTIONS(198), 1, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(334), 1, anon_sym_COLON, - ACTIONS(200), 1, + ACTIONS(336), 1, anon_sym_DASH_GT, - ACTIONS(312), 1, - anon_sym_DASH, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [15174] = 9, + [15261] = 9, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(326), 1, + ACTIONS(192), 1, anon_sym_COLON, - ACTIONS(328), 1, + ACTIONS(194), 1, anon_sym_DASH_GT, - STATE(184), 1, - sym_math_operator, - STATE(185), 1, - sym_logic_operator, - ACTIONS(316), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(314), 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, - [15211] = 9, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, anon_sym_DASH, - ACTIONS(387), 1, - anon_sym_COLON, - ACTIONS(389), 1, - anon_sym_DASH_GT, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [15248] = 9, + [15298] = 9, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 1, + ACTIONS(316), 1, + anon_sym_DASH, + ACTIONS(409), 1, + anon_sym_COLON, + ACTIONS(411), 1, + anon_sym_DASH_GT, + STATE(181), 1, + sym_math_operator, + STATE(182), 1, + sym_logic_operator, + ACTIONS(320), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(314), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(318), 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, + [15335] = 9, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 1, anon_sym_DASH, ACTIONS(330), 1, anon_sym_COLON, ACTIONS(332), 1, anon_sym_DASH_GT, - STATE(184), 1, + STATE(181), 1, sym_math_operator, - STATE(185), 1, + STATE(182), 1, sym_logic_operator, - ACTIONS(316), 2, + ACTIONS(320), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(310), 4, + ACTIONS(314), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(314), 6, + ACTIONS(318), 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, - [15285] = 4, + [15372] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(695), 1, + ACTIONS(699), 1, anon_sym_RPAREN, - ACTIONS(270), 3, + ACTIONS(252), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(268), 12, + ACTIONS(250), 12, anon_sym_COLON, anon_sym_PLUS, anon_sym_STAR, @@ -20776,77 +20874,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [15311] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(697), 1, - anon_sym_RPAREN, - ACTIONS(270), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(268), 12, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [15337] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(701), 1, - anon_sym_DASH_GT, - ACTIONS(699), 15, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_none, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - anon_sym_option, - [15361] = 4, + [15398] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(703), 1, - anon_sym_RPAREN, - ACTIONS(270), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(268), 12, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, anon_sym_DASH_GT, - [15387] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(707), 1, - anon_sym_DASH_GT, - ACTIONS(705), 15, + ACTIONS(701), 15, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, @@ -20862,9 +20895,55 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [15411] = 2, + [15422] = 4, ACTIONS(3), 1, sym__comment, + ACTIONS(705), 1, + anon_sym_RPAREN, + ACTIONS(252), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(250), 12, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [15448] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(707), 1, + anon_sym_RPAREN, + ACTIONS(252), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(250), 12, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [15474] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(711), 1, + anon_sym_DASH_GT, ACTIONS(709), 15, anon_sym_LPAREN, anon_sym_RPAREN, @@ -20881,45 +20960,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [15432] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(699), 15, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_none, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - anon_sym_option, - [15453] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(711), 15, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_none, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - anon_sym_option, - [15474] = 2, + [15498] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(713), 15, @@ -20938,23 +20979,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [15495] = 8, + [15519] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(715), 1, + ACTIONS(715), 15, anon_sym_LPAREN, - ACTIONS(718), 1, anon_sym_RPAREN, - ACTIONS(720), 1, + anon_sym_COMMA, anon_sym_LBRACK, - ACTIONS(726), 1, - anon_sym_option, - STATE(327), 1, - aux_sym_type_repeat1, - STATE(330), 1, - sym_type, - ACTIONS(723), 8, + anon_sym_RBRACK, anon_sym_none, + anon_sym_GT, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -20962,22 +20997,61 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [15527] = 8, + anon_sym_option, + [15540] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(729), 1, + ACTIONS(701), 15, anon_sym_LPAREN, - ACTIONS(731), 1, anon_sym_RPAREN, - ACTIONS(733), 1, + anon_sym_COMMA, anon_sym_LBRACK, - ACTIONS(737), 1, + anon_sym_RBRACK, + anon_sym_none, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + anon_sym_option, + [15561] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(717), 15, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_none, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + anon_sym_option, + [15582] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(719), 1, + anon_sym_LPAREN, + ACTIONS(722), 1, + anon_sym_RPAREN, + ACTIONS(724), 1, + anon_sym_LBRACK, + ACTIONS(730), 1, anon_sym_option, STATE(329), 1, aux_sym_type_repeat1, - STATE(330), 1, + STATE(332), 1, sym_type, - ACTIONS(735), 8, + ACTIONS(727), 8, anon_sym_none, anon_sym_any, anon_sym_bool, @@ -20986,22 +21060,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [15559] = 8, + [15614] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(729), 1, - anon_sym_LPAREN, ACTIONS(733), 1, - anon_sym_LBRACK, - ACTIONS(737), 1, - anon_sym_option, - ACTIONS(739), 1, + anon_sym_LPAREN, + ACTIONS(735), 1, anon_sym_RPAREN, - STATE(327), 1, + ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, + anon_sym_option, + STATE(329), 1, aux_sym_type_repeat1, - STATE(330), 1, + STATE(332), 1, sym_type, - ACTIONS(735), 8, + ACTIONS(739), 8, anon_sym_none, anon_sym_any, anon_sym_bool, @@ -21010,12 +21084,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [15591] = 3, + [15646] = 8, ACTIONS(3), 1, sym__comment, + ACTIONS(733), 1, + anon_sym_LPAREN, + ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, + anon_sym_option, ACTIONS(743), 1, + anon_sym_RPAREN, + STATE(330), 1, + aux_sym_type_repeat1, + STATE(332), 1, + sym_type, + ACTIONS(739), 8, + anon_sym_none, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [15678] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(747), 1, anon_sym_COMMA, - ACTIONS(741), 12, + ACTIONS(745), 12, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_LBRACK, @@ -21028,18 +21126,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [15612] = 6, + [15699] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(729), 1, - anon_sym_LPAREN, ACTIONS(733), 1, - anon_sym_LBRACK, + anon_sym_LPAREN, ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, anon_sym_option, - STATE(364), 1, + STATE(374), 1, sym_type, - ACTIONS(735), 8, + ACTIONS(739), 8, anon_sym_none, anon_sym_any, anon_sym_bool, @@ -21048,10 +21146,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [15638] = 2, + [15725] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(718), 12, + ACTIONS(722), 12, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_LBRACK, @@ -21064,18 +21162,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_num, anon_sym_str, anon_sym_option, - [15656] = 6, + [15743] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(729), 1, - anon_sym_LPAREN, ACTIONS(733), 1, - anon_sym_LBRACK, + anon_sym_LPAREN, ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, anon_sym_option, - STATE(325), 1, + STATE(369), 1, sym_type, - ACTIONS(735), 8, + ACTIONS(739), 8, anon_sym_none, anon_sym_any, anon_sym_bool, @@ -21084,18 +21182,58 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [15682] = 6, + [15769] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(729), 1, - anon_sym_LPAREN, ACTIONS(733), 1, - anon_sym_LBRACK, + anon_sym_LPAREN, ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, + anon_sym_option, + STATE(328), 1, + sym_type, + ACTIONS(739), 8, + anon_sym_none, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [15795] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(733), 1, + anon_sym_LPAREN, + ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, + anon_sym_option, + STATE(360), 1, + sym_type, + ACTIONS(739), 8, + anon_sym_none, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [15821] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(733), 1, + anon_sym_LPAREN, + ACTIONS(737), 1, + anon_sym_LBRACK, + ACTIONS(741), 1, anon_sym_option, STATE(326), 1, sym_type, - ACTIONS(735), 8, + ACTIONS(739), 8, anon_sym_none, anon_sym_any, anon_sym_bool, @@ -21104,327 +21242,287 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [15708] = 6, + [15847] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(729), 1, - anon_sym_LPAREN, - ACTIONS(733), 1, - anon_sym_LBRACK, - ACTIONS(737), 1, - anon_sym_option, - STATE(378), 1, - sym_type, - ACTIONS(735), 8, - anon_sym_none, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [15734] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(729), 1, - anon_sym_LPAREN, - ACTIONS(733), 1, - anon_sym_LBRACK, - ACTIONS(737), 1, - anon_sym_option, - STATE(376), 1, - sym_type, - ACTIONS(735), 8, - anon_sym_none, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [15760] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(745), 1, + STATE(39), 1, + sym_assignment_operator, + ACTIONS(228), 3, anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [15859] = 3, + ACTIONS(3), 1, + sym__comment, + STATE(36), 1, + sym_assignment_operator, + ACTIONS(228), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [15871] = 3, + ACTIONS(3), 1, + sym__comment, STATE(33), 1, sym_assignment_operator, + ACTIONS(228), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [15883] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(749), 1, + anon_sym_EQ, + STATE(39), 1, + sym_assignment_operator, ACTIONS(228), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [15774] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(33), 1, - sym_assignment_operator, - ACTIONS(228), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [15786] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(38), 1, - sym_assignment_operator, - ACTIONS(228), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [15798] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(34), 1, - sym_assignment_operator, - ACTIONS(228), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [15810] = 4, + [15897] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(675), 1, anon_sym_async, ACTIONS(677), 1, anon_sym_LBRACE, - STATE(170), 1, + STATE(264), 1, sym_block, - [15823] = 4, + [15910] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(671), 1, + ACTIONS(679), 1, anon_sym_async, - ACTIONS(673), 1, + ACTIONS(681), 1, anon_sym_LBRACE, - STATE(232), 1, + STATE(102), 1, sym_block, - [15836] = 4, + [15923] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(683), 1, + anon_sym_async, + ACTIONS(685), 1, + anon_sym_LBRACE, + STATE(243), 1, + sym_block, + [15936] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(675), 1, anon_sym_async, ACTIONS(677), 1, anon_sym_LBRACE, - STATE(174), 1, + STATE(166), 1, sym_block, - [15849] = 4, + [15949] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(747), 1, - anon_sym_EQ, - ACTIONS(749), 1, - anon_sym_LT, - STATE(375), 1, - sym_type_definition, - [15862] = 4, + ACTIONS(679), 1, + anon_sym_async, + ACTIONS(681), 1, + anon_sym_LBRACE, + STATE(92), 1, + sym_block, + [15962] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(683), 1, + anon_sym_async, + ACTIONS(685), 1, + anon_sym_LBRACE, + STATE(61), 1, + sym_block, + [15975] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(675), 1, anon_sym_async, ACTIONS(677), 1, anon_sym_LBRACE, - STATE(259), 1, + STATE(162), 1, sym_block, - [15875] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(671), 1, - anon_sym_async, - ACTIONS(673), 1, - anon_sym_LBRACE, - STATE(69), 1, - sym_block, - [15888] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(663), 1, - anon_sym_async, - ACTIONS(665), 1, - anon_sym_LBRACE, - STATE(88), 1, - sym_block, - [15901] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(663), 1, - anon_sym_async, - ACTIONS(665), 1, - anon_sym_LBRACE, - STATE(103), 1, - sym_block, - [15914] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(671), 1, - anon_sym_async, - ACTIONS(673), 1, - anon_sym_LBRACE, - STATE(67), 1, - sym_block, - [15927] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(663), 1, - anon_sym_async, - ACTIONS(665), 1, - anon_sym_LBRACE, - STATE(259), 1, - sym_block, - [15940] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(347), 1, - sym_type_definition, - [15950] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(348), 1, - sym_type_definition, - [15960] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(343), 1, - sym_type_definition, - [15970] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(346), 1, - sym_type_definition, - [15980] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(291), 1, - sym_type_definition, - [15990] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(341), 1, - sym_type_definition, - [16000] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(749), 1, - anon_sym_LT, - STATE(349), 1, - sym_type_definition, - [16010] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(687), 1, - anon_sym_EQ_GT, - [16017] = 2, + [15988] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(751), 1, + anon_sym_EQ, + ACTIONS(753), 1, + anon_sym_LT, + STATE(366), 1, + sym_type_definition, + [16001] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(679), 1, + anon_sym_async, + ACTIONS(681), 1, anon_sym_LBRACE, - [16024] = 2, + STATE(264), 1, + sym_block, + [16014] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(683), 1, + anon_sym_async, + ACTIONS(685), 1, + anon_sym_LBRACE, + STATE(57), 1, + sym_block, + [16027] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(753), 1, - anon_sym_LPAREN, - [16031] = 2, + anon_sym_LT, + STATE(344), 1, + sym_type_definition, + [16037] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(753), 1, + anon_sym_LT, + STATE(346), 1, + sym_type_definition, + [16047] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(753), 1, + anon_sym_LT, + STATE(349), 1, + sym_type_definition, + [16057] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(753), 1, + anon_sym_LT, + STATE(347), 1, + sym_type_definition, + [16067] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(753), 1, + anon_sym_LT, + STATE(348), 1, + sym_type_definition, + [16077] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(753), 1, + anon_sym_LT, + STATE(352), 1, + sym_type_definition, + [16087] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(753), 1, + anon_sym_LT, + STATE(293), 1, + sym_type_definition, + [16097] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(755), 1, - anon_sym_LPAREN, - [16038] = 2, + anon_sym_GT, + [16104] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(757), 1, - anon_sym_in, - [16045] = 2, + anon_sym_LBRACE, + [16111] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(759), 1, - ts_builtin_sym_end, - [16052] = 2, + anon_sym_LPAREN, + [16118] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(761), 1, - anon_sym_RPAREN, - [16059] = 2, + anon_sym_LPAREN, + [16125] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(763), 1, - anon_sym_LPAREN, - [16066] = 2, + anon_sym_LBRACE, + [16132] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(765), 1, anon_sym_LPAREN, - [16073] = 2, + [16139] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(767), 1, - anon_sym_LPAREN, - [16080] = 2, + anon_sym_EQ, + [16146] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(687), 1, + anon_sym_EQ_GT, + [16153] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(769), 1, - anon_sym_LBRACE, - [16087] = 2, + anon_sym_in, + [16160] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(771), 1, - anon_sym_LPAREN, - [16094] = 2, + anon_sym_RBRACK, + [16167] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(773), 1, anon_sym_LBRACE, - [16101] = 2, + [16174] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(775), 1, - anon_sym_in, - [16108] = 2, + anon_sym_LBRACE, + [16181] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(777), 1, - anon_sym_LBRACE, - [16115] = 2, + anon_sym_LPAREN, + [16188] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(779), 1, anon_sym_LBRACE, - [16122] = 2, + [16195] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(781), 1, - anon_sym_in, - [16129] = 2, + anon_sym_RPAREN, + [16202] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(783), 1, - anon_sym_EQ, - [16136] = 2, + anon_sym_in, + [16209] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(785), 1, - anon_sym_GT, - [16143] = 2, + anon_sym_in, + [16216] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(787), 1, anon_sym_LPAREN, - [16150] = 2, + [16223] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(789), 1, - anon_sym_RBRACK, + anon_sym_LPAREN, + [16230] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(791), 1, + ts_builtin_sym_end, + [16237] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(793), 1, + anon_sym_LPAREN, }; static const uint32_t ts_small_parse_table_map[] = { @@ -21432,9 +21530,9 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(77)] = 82, [SMALL_STATE(78)] = 166, [SMALL_STATE(79)] = 248, - [SMALL_STATE(80)] = 317, - [SMALL_STATE(81)] = 386, - [SMALL_STATE(82)] = 457, + [SMALL_STATE(80)] = 319, + [SMALL_STATE(81)] = 388, + [SMALL_STATE(82)] = 461, [SMALL_STATE(83)] = 530, [SMALL_STATE(84)] = 603, [SMALL_STATE(85)] = 671, @@ -21458,51 +21556,51 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(103)] = 1823, [SMALL_STATE(104)] = 1886, [SMALL_STATE(105)] = 1949, - [SMALL_STATE(106)] = 2014, - [SMALL_STATE(107)] = 2079, - [SMALL_STATE(108)] = 2142, - [SMALL_STATE(109)] = 2205, - [SMALL_STATE(110)] = 2268, + [SMALL_STATE(106)] = 2012, + [SMALL_STATE(107)] = 2075, + [SMALL_STATE(108)] = 2138, + [SMALL_STATE(109)] = 2201, + [SMALL_STATE(110)] = 2266, [SMALL_STATE(111)] = 2331, [SMALL_STATE(112)] = 2405, [SMALL_STATE(113)] = 2474, [SMALL_STATE(114)] = 2549, [SMALL_STATE(115)] = 2626, [SMALL_STATE(116)] = 2701, - [SMALL_STATE(117)] = 2777, - [SMALL_STATE(118)] = 2871, - [SMALL_STATE(119)] = 2935, - [SMALL_STATE(120)] = 2997, - [SMALL_STATE(121)] = 3091, - [SMALL_STATE(122)] = 3185, - [SMALL_STATE(123)] = 3247, - [SMALL_STATE(124)] = 3313, + [SMALL_STATE(117)] = 2795, + [SMALL_STATE(118)] = 2889, + [SMALL_STATE(119)] = 2955, + [SMALL_STATE(120)] = 3031, + [SMALL_STATE(121)] = 3107, + [SMALL_STATE(122)] = 3169, + [SMALL_STATE(123)] = 3233, + [SMALL_STATE(124)] = 3327, [SMALL_STATE(125)] = 3389, [SMALL_STATE(126)] = 3455, - [SMALL_STATE(127)] = 3546, - [SMALL_STATE(128)] = 3637, + [SMALL_STATE(127)] = 3548, + [SMALL_STATE(128)] = 3639, [SMALL_STATE(129)] = 3730, [SMALL_STATE(130)] = 3821, - [SMALL_STATE(131)] = 3912, - [SMALL_STATE(132)] = 4003, - [SMALL_STATE(133)] = 4094, - [SMALL_STATE(134)] = 4185, - [SMALL_STATE(135)] = 4276, - [SMALL_STATE(136)] = 4367, - [SMALL_STATE(137)] = 4458, - [SMALL_STATE(138)] = 4549, - [SMALL_STATE(139)] = 4640, - [SMALL_STATE(140)] = 4733, - [SMALL_STATE(141)] = 4824, - [SMALL_STATE(142)] = 4917, - [SMALL_STATE(143)] = 5010, - [SMALL_STATE(144)] = 5101, - [SMALL_STATE(145)] = 5192, - [SMALL_STATE(146)] = 5257, - [SMALL_STATE(147)] = 5322, - [SMALL_STATE(148)] = 5415, - [SMALL_STATE(149)] = 5476, - [SMALL_STATE(150)] = 5567, + [SMALL_STATE(131)] = 3886, + [SMALL_STATE(132)] = 3951, + [SMALL_STATE(133)] = 4042, + [SMALL_STATE(134)] = 4133, + [SMALL_STATE(135)] = 4224, + [SMALL_STATE(136)] = 4315, + [SMALL_STATE(137)] = 4406, + [SMALL_STATE(138)] = 4499, + [SMALL_STATE(139)] = 4590, + [SMALL_STATE(140)] = 4681, + [SMALL_STATE(141)] = 4772, + [SMALL_STATE(142)] = 4863, + [SMALL_STATE(143)] = 4924, + [SMALL_STATE(144)] = 5015, + [SMALL_STATE(145)] = 5106, + [SMALL_STATE(146)] = 5199, + [SMALL_STATE(147)] = 5290, + [SMALL_STATE(148)] = 5381, + [SMALL_STATE(149)] = 5474, + [SMALL_STATE(150)] = 5565, [SMALL_STATE(151)] = 5658, [SMALL_STATE(152)] = 5749, [SMALL_STATE(153)] = 5840, @@ -21584,523 +21682,527 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(229)] = 11421, [SMALL_STATE(230)] = 11472, [SMALL_STATE(231)] = 11523, - [SMALL_STATE(232)] = 11572, - [SMALL_STATE(233)] = 11621, - [SMALL_STATE(234)] = 11686, - [SMALL_STATE(235)] = 11753, - [SMALL_STATE(236)] = 11802, + [SMALL_STATE(232)] = 11574, + [SMALL_STATE(233)] = 11641, + [SMALL_STATE(234)] = 11690, + [SMALL_STATE(235)] = 11739, + [SMALL_STATE(236)] = 11804, [SMALL_STATE(237)] = 11853, - [SMALL_STATE(238)] = 11902, - [SMALL_STATE(239)] = 11951, - [SMALL_STATE(240)] = 12000, - [SMALL_STATE(241)] = 12065, - [SMALL_STATE(242)] = 12114, - [SMALL_STATE(243)] = 12163, - [SMALL_STATE(244)] = 12212, - [SMALL_STATE(245)] = 12261, - [SMALL_STATE(246)] = 12310, - [SMALL_STATE(247)] = 12366, - [SMALL_STATE(248)] = 12422, + [SMALL_STATE(238)] = 11904, + [SMALL_STATE(239)] = 11953, + [SMALL_STATE(240)] = 12002, + [SMALL_STATE(241)] = 12067, + [SMALL_STATE(242)] = 12116, + [SMALL_STATE(243)] = 12165, + [SMALL_STATE(244)] = 12214, + [SMALL_STATE(245)] = 12263, + [SMALL_STATE(246)] = 12312, + [SMALL_STATE(247)] = 12361, + [SMALL_STATE(248)] = 12417, [SMALL_STATE(249)] = 12473, - [SMALL_STATE(250)] = 12519, - [SMALL_STATE(251)] = 12564, - [SMALL_STATE(252)] = 12609, - [SMALL_STATE(253)] = 12654, - [SMALL_STATE(254)] = 12699, - [SMALL_STATE(255)] = 12742, - [SMALL_STATE(256)] = 12785, - [SMALL_STATE(257)] = 12828, - [SMALL_STATE(258)] = 12871, - [SMALL_STATE(259)] = 12916, - [SMALL_STATE(260)] = 12959, - [SMALL_STATE(261)] = 13002, - [SMALL_STATE(262)] = 13045, - [SMALL_STATE(263)] = 13088, - [SMALL_STATE(264)] = 13131, - [SMALL_STATE(265)] = 13174, - [SMALL_STATE(266)] = 13217, - [SMALL_STATE(267)] = 13261, - [SMALL_STATE(268)] = 13302, - [SMALL_STATE(269)] = 13342, - [SMALL_STATE(270)] = 13382, - [SMALL_STATE(271)] = 13421, - [SMALL_STATE(272)] = 13460, - [SMALL_STATE(273)] = 13505, - [SMALL_STATE(274)] = 13550, - [SMALL_STATE(275)] = 13586, - [SMALL_STATE(276)] = 13627, - [SMALL_STATE(277)] = 13668, - [SMALL_STATE(278)] = 13709, - [SMALL_STATE(279)] = 13750, - [SMALL_STATE(280)] = 13791, - [SMALL_STATE(281)] = 13832, - [SMALL_STATE(282)] = 13873, - [SMALL_STATE(283)] = 13914, - [SMALL_STATE(284)] = 13955, - [SMALL_STATE(285)] = 13996, - [SMALL_STATE(286)] = 14037, - [SMALL_STATE(287)] = 14072, - [SMALL_STATE(288)] = 14105, - [SMALL_STATE(289)] = 14140, - [SMALL_STATE(290)] = 14175, - [SMALL_STATE(291)] = 14208, - [SMALL_STATE(292)] = 14241, - [SMALL_STATE(293)] = 14271, - [SMALL_STATE(294)] = 14301, - [SMALL_STATE(295)] = 14331, - [SMALL_STATE(296)] = 14377, - [SMALL_STATE(297)] = 14423, - [SMALL_STATE(298)] = 14469, - [SMALL_STATE(299)] = 14515, - [SMALL_STATE(300)] = 14561, - [SMALL_STATE(301)] = 14607, - [SMALL_STATE(302)] = 14653, - [SMALL_STATE(303)] = 14699, - [SMALL_STATE(304)] = 14745, - [SMALL_STATE(305)] = 14791, - [SMALL_STATE(306)] = 14831, - [SMALL_STATE(307)] = 14871, - [SMALL_STATE(308)] = 14911, - [SMALL_STATE(309)] = 14951, - [SMALL_STATE(310)] = 14991, - [SMALL_STATE(311)] = 15023, - [SMALL_STATE(312)] = 15063, - [SMALL_STATE(313)] = 15100, - [SMALL_STATE(314)] = 15137, - [SMALL_STATE(315)] = 15174, - [SMALL_STATE(316)] = 15211, - [SMALL_STATE(317)] = 15248, - [SMALL_STATE(318)] = 15285, - [SMALL_STATE(319)] = 15311, - [SMALL_STATE(320)] = 15337, - [SMALL_STATE(321)] = 15361, - [SMALL_STATE(322)] = 15387, - [SMALL_STATE(323)] = 15411, - [SMALL_STATE(324)] = 15432, - [SMALL_STATE(325)] = 15453, - [SMALL_STATE(326)] = 15474, - [SMALL_STATE(327)] = 15495, - [SMALL_STATE(328)] = 15527, - [SMALL_STATE(329)] = 15559, - [SMALL_STATE(330)] = 15591, - [SMALL_STATE(331)] = 15612, - [SMALL_STATE(332)] = 15638, - [SMALL_STATE(333)] = 15656, - [SMALL_STATE(334)] = 15682, - [SMALL_STATE(335)] = 15708, - [SMALL_STATE(336)] = 15734, - [SMALL_STATE(337)] = 15760, - [SMALL_STATE(338)] = 15774, - [SMALL_STATE(339)] = 15786, - [SMALL_STATE(340)] = 15798, - [SMALL_STATE(341)] = 15810, - [SMALL_STATE(342)] = 15823, - [SMALL_STATE(343)] = 15836, - [SMALL_STATE(344)] = 15849, - [SMALL_STATE(345)] = 15862, - [SMALL_STATE(346)] = 15875, - [SMALL_STATE(347)] = 15888, - [SMALL_STATE(348)] = 15901, - [SMALL_STATE(349)] = 15914, - [SMALL_STATE(350)] = 15927, - [SMALL_STATE(351)] = 15940, - [SMALL_STATE(352)] = 15950, - [SMALL_STATE(353)] = 15960, - [SMALL_STATE(354)] = 15970, - [SMALL_STATE(355)] = 15980, - [SMALL_STATE(356)] = 15990, - [SMALL_STATE(357)] = 16000, - [SMALL_STATE(358)] = 16010, - [SMALL_STATE(359)] = 16017, - [SMALL_STATE(360)] = 16024, - [SMALL_STATE(361)] = 16031, - [SMALL_STATE(362)] = 16038, - [SMALL_STATE(363)] = 16045, - [SMALL_STATE(364)] = 16052, - [SMALL_STATE(365)] = 16059, - [SMALL_STATE(366)] = 16066, - [SMALL_STATE(367)] = 16073, - [SMALL_STATE(368)] = 16080, - [SMALL_STATE(369)] = 16087, - [SMALL_STATE(370)] = 16094, - [SMALL_STATE(371)] = 16101, - [SMALL_STATE(372)] = 16108, - [SMALL_STATE(373)] = 16115, - [SMALL_STATE(374)] = 16122, - [SMALL_STATE(375)] = 16129, - [SMALL_STATE(376)] = 16136, - [SMALL_STATE(377)] = 16143, - [SMALL_STATE(378)] = 16150, + [SMALL_STATE(250)] = 12524, + [SMALL_STATE(251)] = 12570, + [SMALL_STATE(252)] = 12615, + [SMALL_STATE(253)] = 12660, + [SMALL_STATE(254)] = 12705, + [SMALL_STATE(255)] = 12750, + [SMALL_STATE(256)] = 12795, + [SMALL_STATE(257)] = 12838, + [SMALL_STATE(258)] = 12881, + [SMALL_STATE(259)] = 12924, + [SMALL_STATE(260)] = 12967, + [SMALL_STATE(261)] = 13010, + [SMALL_STATE(262)] = 13053, + [SMALL_STATE(263)] = 13098, + [SMALL_STATE(264)] = 13141, + [SMALL_STATE(265)] = 13184, + [SMALL_STATE(266)] = 13227, + [SMALL_STATE(267)] = 13270, + [SMALL_STATE(268)] = 13313, + [SMALL_STATE(269)] = 13357, + [SMALL_STATE(270)] = 13398, + [SMALL_STATE(271)] = 13438, + [SMALL_STATE(272)] = 13478, + [SMALL_STATE(273)] = 13517, + [SMALL_STATE(274)] = 13556, + [SMALL_STATE(275)] = 13601, + [SMALL_STATE(276)] = 13646, + [SMALL_STATE(277)] = 13682, + [SMALL_STATE(278)] = 13723, + [SMALL_STATE(279)] = 13764, + [SMALL_STATE(280)] = 13805, + [SMALL_STATE(281)] = 13846, + [SMALL_STATE(282)] = 13887, + [SMALL_STATE(283)] = 13928, + [SMALL_STATE(284)] = 13969, + [SMALL_STATE(285)] = 14010, + [SMALL_STATE(286)] = 14048, + [SMALL_STATE(287)] = 14086, + [SMALL_STATE(288)] = 14124, + [SMALL_STATE(289)] = 14157, + [SMALL_STATE(290)] = 14192, + [SMALL_STATE(291)] = 14225, + [SMALL_STATE(292)] = 14260, + [SMALL_STATE(293)] = 14295, + [SMALL_STATE(294)] = 14328, + [SMALL_STATE(295)] = 14358, + [SMALL_STATE(296)] = 14388, + [SMALL_STATE(297)] = 14418, + [SMALL_STATE(298)] = 14464, + [SMALL_STATE(299)] = 14510, + [SMALL_STATE(300)] = 14556, + [SMALL_STATE(301)] = 14602, + [SMALL_STATE(302)] = 14648, + [SMALL_STATE(303)] = 14694, + [SMALL_STATE(304)] = 14740, + [SMALL_STATE(305)] = 14786, + [SMALL_STATE(306)] = 14832, + [SMALL_STATE(307)] = 14878, + [SMALL_STATE(308)] = 14918, + [SMALL_STATE(309)] = 14958, + [SMALL_STATE(310)] = 14998, + [SMALL_STATE(311)] = 15030, + [SMALL_STATE(312)] = 15070, + [SMALL_STATE(313)] = 15110, + [SMALL_STATE(314)] = 15150, + [SMALL_STATE(315)] = 15187, + [SMALL_STATE(316)] = 15224, + [SMALL_STATE(317)] = 15261, + [SMALL_STATE(318)] = 15298, + [SMALL_STATE(319)] = 15335, + [SMALL_STATE(320)] = 15372, + [SMALL_STATE(321)] = 15398, + [SMALL_STATE(322)] = 15422, + [SMALL_STATE(323)] = 15448, + [SMALL_STATE(324)] = 15474, + [SMALL_STATE(325)] = 15498, + [SMALL_STATE(326)] = 15519, + [SMALL_STATE(327)] = 15540, + [SMALL_STATE(328)] = 15561, + [SMALL_STATE(329)] = 15582, + [SMALL_STATE(330)] = 15614, + [SMALL_STATE(331)] = 15646, + [SMALL_STATE(332)] = 15678, + [SMALL_STATE(333)] = 15699, + [SMALL_STATE(334)] = 15725, + [SMALL_STATE(335)] = 15743, + [SMALL_STATE(336)] = 15769, + [SMALL_STATE(337)] = 15795, + [SMALL_STATE(338)] = 15821, + [SMALL_STATE(339)] = 15847, + [SMALL_STATE(340)] = 15859, + [SMALL_STATE(341)] = 15871, + [SMALL_STATE(342)] = 15883, + [SMALL_STATE(343)] = 15897, + [SMALL_STATE(344)] = 15910, + [SMALL_STATE(345)] = 15923, + [SMALL_STATE(346)] = 15936, + [SMALL_STATE(347)] = 15949, + [SMALL_STATE(348)] = 15962, + [SMALL_STATE(349)] = 15975, + [SMALL_STATE(350)] = 15988, + [SMALL_STATE(351)] = 16001, + [SMALL_STATE(352)] = 16014, + [SMALL_STATE(353)] = 16027, + [SMALL_STATE(354)] = 16037, + [SMALL_STATE(355)] = 16047, + [SMALL_STATE(356)] = 16057, + [SMALL_STATE(357)] = 16067, + [SMALL_STATE(358)] = 16077, + [SMALL_STATE(359)] = 16087, + [SMALL_STATE(360)] = 16097, + [SMALL_STATE(361)] = 16104, + [SMALL_STATE(362)] = 16111, + [SMALL_STATE(363)] = 16118, + [SMALL_STATE(364)] = 16125, + [SMALL_STATE(365)] = 16132, + [SMALL_STATE(366)] = 16139, + [SMALL_STATE(367)] = 16146, + [SMALL_STATE(368)] = 16153, + [SMALL_STATE(369)] = 16160, + [SMALL_STATE(370)] = 16167, + [SMALL_STATE(371)] = 16174, + [SMALL_STATE(372)] = 16181, + [SMALL_STATE(373)] = 16188, + [SMALL_STATE(374)] = 16195, + [SMALL_STATE(375)] = 16202, + [SMALL_STATE(376)] = 16209, + [SMALL_STATE(377)] = 16216, + [SMALL_STATE(378)] = 16223, + [SMALL_STATE(379)] = 16230, + [SMALL_STATE(380)] = 16237, }; 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(46), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(370), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(365), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(195), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(288), - [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), - [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [41] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(46), - [44] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(370), - [47] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), - [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(147), - [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(75), - [56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(75), - [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(73), - [62] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(144), - [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(66), - [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(365), - [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), - [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(194), - [77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(195), - [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(288), - [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(288), - [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(196), - [89] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(50), - [92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), - [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [120] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), - [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(372), - [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), - [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [132] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), - [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [136] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), - [138] = {.entry = {.count = 1, .reusable = false}}, SHIFT(369), - [140] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207), - [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179), - [144] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189), - [146] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286), - [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215), - [152] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [154] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), - [156] = {.entry = {.count = 1, .reusable = false}}, SHIFT(368), - [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [162] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156), - [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(158), - [172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(360), - [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), - [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289), - [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(210), - [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), - [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), - [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), - [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), - [194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), - [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), - [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), - [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(373), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(380), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [47] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(51), + [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(148), + [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(373), + [56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), + [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(69), + [62] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(69), + [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(74), + [68] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(138), + [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(73), + [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(380), + [77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(183), + [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(197), + [83] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(187), + [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(289), + [89] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(289), + [92] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(189), + [95] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(48), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(158), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(361), + [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [132] = {.entry = {.count = 1, .reusable = false}}, SHIFT(159), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [136] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [140] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), + [142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(372), + [144] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215), + [146] = {.entry = {.count = 1, .reusable = false}}, SHIFT(205), + [148] = {.entry = {.count = 1, .reusable = false}}, SHIFT(221), + [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291), + [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [154] = {.entry = {.count = 1, .reusable = false}}, SHIFT(212), + [156] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163), + [158] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), + [160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [162] = {.entry = {.count = 1, .reusable = false}}, SHIFT(370), + [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), + [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(378), + [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), + [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(292), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217), + [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107), + [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), + [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_built_in_function, 1), [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_built_in_function, 1), [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_expression, 1), - [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(249), - [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(336), - [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), - [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), - [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), - [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), - [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_expression, 1), - [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [262] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), - [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), - [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_option, 1), - [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_option, 1), - [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), - [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), - [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(250), + [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(337), + [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), + [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), + [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), + [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_option, 4), + [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_option, 4), + [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), + [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2), + [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 2), + [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), + [282] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), + [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_expression, 1), + [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), + [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_option, 4), - [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_option, 4), - [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), - [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), - [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), - [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), - [312] = {.entry = {.count = 1, .reusable = false}}, SHIFT(270), - [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), - [316] = {.entry = {.count = 1, .reusable = false}}, SHIFT(271), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), - [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), + [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_option, 1), + [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_option, 1), + [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), + [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), + [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), + [316] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272), + [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [320] = {.entry = {.count = 1, .reusable = false}}, SHIFT(273), + [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), + [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [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(268), - [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), - [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), - [346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), - [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), - [352] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(155), - [355] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(284), - [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), - [360] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(128), - [363] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(156), - [366] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(156), - [369] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(157), - [372] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(143), - [375] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(158), - [378] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(360), - [381] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(358), - [384] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(160), - [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [340] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(158), + [343] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(145), + [346] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(286), + [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), + [351] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(159), + [354] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(159), + [357] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(160), + [360] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(134), + [363] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(161), + [366] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(372), + [369] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(367), + [372] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(163), + [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), + [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367), + [381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [385] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [401] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(95), - [404] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(283), - [407] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(141), - [410] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(94), - [413] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(94), - [416] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(93), - [419] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(134), - [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [424] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(92), - [427] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(369), - [430] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(100), - [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), - [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [439] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(95), - [442] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(283), - [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(141), - [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), - [450] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(94), - [453] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(94), - [456] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(93), - [459] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(134), - [462] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(92), - [465] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(369), - [468] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(100), + [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), + [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), + [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), + [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), + [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [421] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(97), + [424] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(150), + [427] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), + [429] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(287), + [432] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(101), + [435] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(101), + [438] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(87), + [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(146), + [444] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(106), + [447] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(378), + [450] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(107), + [453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357), + [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), + [469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), [471] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), - [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357), - [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), - [505] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [509] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [511] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [515] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342), - [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), - [519] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [523] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [525] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(188), - [528] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), - [530] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), + [473] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(97), + [476] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(150), + [479] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(287), + [482] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(101), + [485] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(101), + [488] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(87), + [491] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(146), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [496] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(106), + [499] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(378), + [502] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(107), + [505] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [513] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [515] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [519] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), + [521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [523] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [527] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [529] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(194), [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), [534] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), - [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), - [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), - [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), - [546] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), + [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), + [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), + [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [546] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), [550] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), - [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), - [554] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), - [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [558] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), - [562] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), - [564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), - [566] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), - [568] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), - [570] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), - [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), - [574] = {.entry = {.count = 1, .reusable = false}}, SHIFT(350), - [576] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(218), - [579] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), - [581] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [583] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), - [589] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 4), - [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 4), - [593] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [595] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), - [597] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [599] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [601] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [603] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [605] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), - [607] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_definition, 3), - [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), - [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351), - [621] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(46), - [624] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [626] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(50), - [629] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(46), + [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), + [554] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), + [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), + [558] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [562] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), + [566] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [568] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [570] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [572] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [574] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), + [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [578] = {.entry = {.count = 1, .reusable = false}}, SHIFT(351), + [580] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(185), + [583] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [587] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [593] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 4), + [595] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 4), + [597] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), + [599] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [601] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [603] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [605] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [607] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [609] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), + [611] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_definition, 3), + [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), + [617] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(51), + [620] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [622] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(48), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [629] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(51), [632] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [634] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(50), - [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [639] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 4), - [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [645] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), - [647] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), - [651] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), - [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), - [655] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 5), - [657] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 5), + [634] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(48), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), + [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [643] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 4), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), + [647] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [649] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [653] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [655] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), + [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), [659] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 3), [661] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 3), - [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372), - [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373), - [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370), - [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368), - [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), - [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [699] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), - [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [705] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), - [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), - [709] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [711] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), - [713] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [715] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(328), - [718] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [720] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(335), - [723] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(323), - [726] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(377), - [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), - [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), - [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), - [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), - [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377), - [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), - [741] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), - [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), - [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), - [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), - [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), - [759] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), - [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [663] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 5), + [665] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 5), + [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364), + [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371), + [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361), + [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370), + [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373), + [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [701] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), + [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), + [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [709] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), + [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), + [713] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [715] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), + [717] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [719] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(331), + [722] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), + [724] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(335), + [727] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(325), + [730] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(365), + [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), + [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), + [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), + [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), + [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(365), + [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [745] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), + [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), + [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), + [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), + [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327), [773] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [783] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), - [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), - [789] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), + [783] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), + [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [789] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [791] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [793] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), }; #ifdef __cplusplus