diff --git a/src/abstract_tree/value_node.rs b/src/abstract_tree/value_node.rs index bc57c67..f603e4d 100644 --- a/src/abstract_tree/value_node.rs +++ b/src/abstract_tree/value_node.rs @@ -17,7 +17,7 @@ pub enum ValueNode { String(String), List(Vec), Empty, - Map(BTreeMap), + Map(BTreeMap)>), } impl AbstractTree for ValueNode { @@ -105,6 +105,7 @@ impl AbstractTree for ValueNode { "map" => { let mut child_nodes = BTreeMap::new(); let mut current_key = "".to_string(); + let mut current_type = None; for index in 0..child.child_count() - 1 { let child_syntax_node = child.child(index).unwrap(); @@ -113,14 +114,21 @@ impl AbstractTree for ValueNode { current_key = Identifier::from_syntax_node(source, child_syntax_node, context)? .take_inner(); + current_type = None; + } + + if child_syntax_node.kind() == "type_definition" { + current_type = Some( + TypeDefinition::from_syntax_node(source, child_syntax_node, context)? + .take_inner(), + ); } if child_syntax_node.kind() == "statement" { - let key = current_key.clone(); let statement = Statement::from_syntax_node(source, child_syntax_node, context)?; - child_nodes.insert(key, statement); + child_nodes.insert(current_key.clone(), (statement, current_type.clone())); } } @@ -162,10 +170,10 @@ impl AbstractTree for ValueNode { let map = Map::new(); { - for (key, statement) in key_statement_pairs { + for (key, (statement, r#type)) in key_statement_pairs { let value = statement.run(source, context)?; - map.set(key.clone(), value, None)?; + map.set(key.clone(), value, r#type.clone())?; } } @@ -273,6 +281,25 @@ mod tests { assert_eq!(evaluate("{ x = 1, foo = 'bar' }"), Ok(Value::Map(map))); } + #[test] + fn evaluate_map_types() { + let map = Map::new(); + + map.set("x".to_string(), Value::Integer(1), Some(Type::Integer)) + .unwrap(); + map.set( + "foo".to_string(), + Value::String("bar".to_string()), + Some(Type::String), + ) + .unwrap(); + + assert_eq!( + evaluate("{ x = 1, foo = 'bar' }"), + Ok(Value::Map(map)) + ); + } + #[test] fn evaluate_function() { let result = evaluate("(fn) { 1 }"); diff --git a/tree-sitter-dust/corpus/maps.txt b/tree-sitter-dust/corpus/maps.txt index 6c2391a..de21453 100644 --- a/tree-sitter-dust/corpus/maps.txt +++ b/tree-sitter-dust/corpus/maps.txt @@ -17,6 +17,44 @@ Simple Map (value (integer))))))))) +================================================================================ +Map with Types +================================================================================ + +{ + answer = 42 + stuff <[str]> = [ "some" "stuff" ] +} + +-------------------------------------------------------------------------------- + +(root + (statement + (expression + (value + (map + (identifier) + (type_definition + (type)) + (statement + (expression + (value + (integer)))) + (identifier) + (type_definition + (type + (type))) + (statement + (expression + (value + (list + (expression + (value + (string))) + (expression + (value + (string)))))))))))) + ================================================================================ Nested Maps ================================================================================ diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 6a81204..d0a29e1 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -167,6 +167,7 @@ module.exports = grammar({ repeat( seq( $.identifier, + optional($.type_definition), '=', $.statement, optional(','), diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index 6ebcad0..eb26854 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -496,6 +496,18 @@ "type": "SYMBOL", "name": "identifier" }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "type_definition" + }, + { + "type": "BLANK" + } + ] + }, { "type": "STRING", "value": "=" diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index 533e388..2bd7974 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -339,6 +339,10 @@ { "type": "statement", "named": true + }, + { + "type": "type_definition", + "named": true } ] } diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index cf3243c..b05f01e 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,8 +6,8 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 333 -#define LARGE_STATE_COUNT 74 +#define STATE_COUNT 339 +#define LARGE_STATE_COUNT 76 #define SYMBOL_COUNT 110 #define ALIAS_COUNT 0 #define TOKEN_COUNT 71 @@ -813,55 +813,55 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [4] = 3, [5] = 3, [6] = 6, - [7] = 6, - [8] = 8, + [7] = 7, + [8] = 7, [9] = 6, [10] = 10, - [11] = 10, - [12] = 12, - [13] = 6, + [11] = 7, + [12] = 6, + [13] = 13, [14] = 10, - [15] = 8, - [16] = 10, - [17] = 12, - [18] = 8, - [19] = 10, - [20] = 12, - [21] = 6, + [15] = 10, + [16] = 13, + [17] = 13, + [18] = 13, + [19] = 7, + [20] = 13, + [21] = 7, [22] = 22, [23] = 23, - [24] = 24, - [25] = 24, - [26] = 24, - [27] = 27, - [28] = 23, - [29] = 24, - [30] = 23, - [31] = 24, - [32] = 32, - [33] = 33, - [34] = 34, - [35] = 23, - [36] = 23, - [37] = 27, - [38] = 33, + [24] = 23, + [25] = 25, + [26] = 23, + [27] = 23, + [28] = 28, + [29] = 29, + [30] = 30, + [31] = 31, + [32] = 25, + [33] = 25, + [34] = 29, + [35] = 25, + [36] = 25, + [37] = 23, + [38] = 28, [39] = 39, - [40] = 34, - [41] = 32, + [40] = 40, + [41] = 31, [42] = 42, [43] = 43, - [44] = 42, - [45] = 39, + [44] = 44, + [45] = 30, [46] = 46, [47] = 47, - [48] = 48, + [48] = 46, [49] = 49, - [50] = 46, - [51] = 51, - [52] = 46, + [50] = 47, + [51] = 40, + [52] = 47, [53] = 53, - [54] = 39, - [55] = 42, + [54] = 40, + [55] = 46, [56] = 56, [57] = 57, [58] = 58, @@ -882,145 +882,145 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [73] = 73, [74] = 74, [75] = 75, - [76] = 74, - [77] = 27, - [78] = 32, - [79] = 34, - [80] = 27, - [81] = 33, - [82] = 32, - [83] = 33, - [84] = 34, - [85] = 60, - [86] = 67, - [87] = 56, - [88] = 66, - [89] = 62, - [90] = 58, - [91] = 61, - [92] = 63, - [93] = 48, - [94] = 71, - [95] = 59, - [96] = 69, - [97] = 70, - [98] = 68, - [99] = 57, - [100] = 47, - [101] = 72, - [102] = 65, - [103] = 43, - [104] = 64, - [105] = 75, - [106] = 74, - [107] = 74, - [108] = 33, - [109] = 109, - [110] = 27, - [111] = 32, - [112] = 27, - [113] = 113, - [114] = 34, - [115] = 34, - [116] = 116, - [117] = 33, - [118] = 32, - [119] = 119, - [120] = 116, - [121] = 116, - [122] = 67, - [123] = 60, - [124] = 47, - [125] = 65, - [126] = 57, - [127] = 48, - [128] = 69, - [129] = 71, - [130] = 62, - [131] = 66, + [76] = 76, + [77] = 77, + [78] = 76, + [79] = 31, + [80] = 29, + [81] = 28, + [82] = 29, + [83] = 30, + [84] = 31, + [85] = 28, + [86] = 30, + [87] = 64, + [88] = 62, + [89] = 43, + [90] = 70, + [91] = 59, + [92] = 39, + [93] = 69, + [94] = 58, + [95] = 74, + [96] = 61, + [97] = 75, + [98] = 66, + [99] = 68, + [100] = 71, + [101] = 67, + [102] = 72, + [103] = 65, + [104] = 60, + [105] = 56, + [106] = 63, + [107] = 77, + [108] = 76, + [109] = 76, + [110] = 30, + [111] = 111, + [112] = 112, + [113] = 29, + [114] = 29, + [115] = 28, + [116] = 31, + [117] = 117, + [118] = 117, + [119] = 30, + [120] = 117, + [121] = 31, + [122] = 28, + [123] = 123, + [124] = 72, + [125] = 64, + [126] = 69, + [127] = 65, + [128] = 74, + [129] = 58, + [130] = 43, + [131] = 71, [132] = 70, - [133] = 72, - [134] = 58, - [135] = 56, - [136] = 61, - [137] = 63, - [138] = 68, - [139] = 59, - [140] = 140, - [141] = 141, - [142] = 140, + [133] = 61, + [134] = 67, + [135] = 75, + [136] = 60, + [137] = 59, + [138] = 66, + [139] = 68, + [140] = 62, + [141] = 39, + [142] = 142, [143] = 143, - [144] = 144, + [144] = 143, [145] = 145, [146] = 146, - [147] = 147, - [148] = 145, - [149] = 43, + [147] = 146, + [148] = 148, + [149] = 149, [150] = 145, [151] = 151, - [152] = 151, - [153] = 146, - [154] = 147, - [155] = 144, - [156] = 144, - [157] = 157, - [158] = 158, - [159] = 151, - [160] = 160, - [161] = 146, - [162] = 162, - [163] = 64, + [152] = 152, + [153] = 152, + [154] = 145, + [155] = 56, + [156] = 156, + [157] = 156, + [158] = 148, + [159] = 148, + [160] = 146, + [161] = 161, + [162] = 152, + [163] = 163, [164] = 164, - [165] = 162, - [166] = 162, - [167] = 167, - [168] = 168, + [165] = 63, + [166] = 166, + [167] = 164, + [168] = 164, [169] = 169, [170] = 170, [171] = 171, - [172] = 169, + [172] = 172, [173] = 173, - [174] = 169, - [175] = 175, - [176] = 169, - [177] = 168, - [178] = 167, - [179] = 175, - [180] = 180, - [181] = 167, - [182] = 182, - [183] = 173, - [184] = 184, - [185] = 184, - [186] = 186, - [187] = 167, - [188] = 171, - [189] = 173, - [190] = 180, - [191] = 182, - [192] = 169, - [193] = 193, - [194] = 175, - [195] = 193, - [196] = 168, - [197] = 170, - [198] = 170, - [199] = 199, - [200] = 167, - [201] = 175, - [202] = 175, - [203] = 186, - [204] = 180, - [205] = 169, - [206] = 175, - [207] = 167, - [208] = 68, - [209] = 74, - [210] = 59, - [211] = 74, - [212] = 212, - [213] = 75, - [214] = 214, + [174] = 174, + [175] = 169, + [176] = 176, + [177] = 172, + [178] = 173, + [179] = 179, + [180] = 176, + [181] = 181, + [182] = 170, + [183] = 179, + [184] = 169, + [185] = 173, + [186] = 174, + [187] = 169, + [188] = 173, + [189] = 170, + [190] = 190, + [191] = 181, + [192] = 192, + [193] = 169, + [194] = 173, + [195] = 195, + [196] = 190, + [197] = 192, + [198] = 192, + [199] = 171, + [200] = 195, + [201] = 195, + [202] = 179, + [203] = 181, + [204] = 173, + [205] = 170, + [206] = 169, + [207] = 170, + [208] = 170, + [209] = 209, + [210] = 76, + [211] = 77, + [212] = 76, + [213] = 61, + [214] = 70, [215] = 215, [216] = 216, [217] = 217, @@ -1028,33 +1028,33 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [219] = 219, [220] = 220, [221] = 221, - [222] = 222, - [223] = 219, + [222] = 218, + [223] = 223, [224] = 224, [225] = 225, [226] = 226, - [227] = 157, - [228] = 160, - [229] = 164, - [230] = 230, - [231] = 59, - [232] = 68, - [233] = 214, - [234] = 212, - [235] = 219, - [236] = 215, + [227] = 227, + [228] = 228, + [229] = 151, + [230] = 161, + [231] = 166, + [232] = 232, + [233] = 216, + [234] = 61, + [235] = 215, + [236] = 70, [237] = 221, - [238] = 217, - [239] = 220, - [240] = 222, - [241] = 224, - [242] = 225, - [243] = 216, - [244] = 218, - [245] = 226, - [246] = 219, - [247] = 247, - [248] = 248, + [238] = 218, + [239] = 217, + [240] = 223, + [241] = 220, + [242] = 218, + [243] = 219, + [244] = 224, + [245] = 227, + [246] = 225, + [247] = 226, + [248] = 228, [249] = 249, [250] = 250, [251] = 251, @@ -1063,37 +1063,37 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [254] = 254, [255] = 255, [256] = 256, - [257] = 254, + [257] = 257, [258] = 258, [259] = 258, - [260] = 260, - [261] = 261, - [262] = 260, - [263] = 258, - [264] = 260, - [265] = 254, - [266] = 261, - [267] = 261, + [260] = 256, + [261] = 257, + [262] = 256, + [263] = 263, + [264] = 264, + [265] = 263, + [266] = 257, + [267] = 258, [268] = 268, - [269] = 269, - [270] = 268, - [271] = 269, + [269] = 263, + [270] = 270, + [271] = 270, [272] = 272, [273] = 273, [274] = 274, [275] = 275, [276] = 276, - [277] = 273, - [278] = 272, - [279] = 275, - [280] = 280, - [281] = 281, + [277] = 275, + [278] = 273, + [279] = 279, + [280] = 272, + [281] = 276, [282] = 282, [283] = 283, - [284] = 283, + [284] = 284, [285] = 285, [286] = 286, - [287] = 287, + [287] = 286, [288] = 288, [289] = 289, [290] = 290, @@ -1107,38 +1107,44 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [298] = 298, [299] = 299, [300] = 300, - [301] = 300, - [302] = 300, + [301] = 301, + [302] = 302, [303] = 303, [304] = 304, [305] = 305, [306] = 304, - [307] = 303, - [308] = 305, - [309] = 304, - [310] = 303, - [311] = 311, - [312] = 312, - [313] = 312, - [314] = 311, - [315] = 311, - [316] = 312, + [307] = 304, + [308] = 308, + [309] = 309, + [310] = 308, + [311] = 309, + [312] = 308, + [313] = 313, + [314] = 314, + [315] = 313, + [316] = 309, [317] = 317, [318] = 318, - [319] = 319, + [319] = 318, [320] = 320, - [321] = 321, - [322] = 322, - [323] = 323, - [324] = 319, - [325] = 319, + [321] = 320, + [322] = 318, + [323] = 320, + [324] = 324, + [325] = 325, [326] = 326, - [327] = 323, - [328] = 323, - [329] = 319, - [330] = 319, - [331] = 318, + [327] = 327, + [328] = 327, + [329] = 324, + [330] = 325, + [331] = 325, [332] = 332, + [333] = 324, + [334] = 334, + [335] = 325, + [336] = 325, + [337] = 337, + [338] = 338, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -2164,21 +2170,21 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [3] = {.lex_state = 25}, [4] = {.lex_state = 25}, [5] = {.lex_state = 25}, - [6] = {.lex_state = 25}, + [6] = {.lex_state = 1}, [7] = {.lex_state = 25}, - [8] = {.lex_state = 1}, - [9] = {.lex_state = 25}, - [10] = {.lex_state = 25}, + [8] = {.lex_state = 25}, + [9] = {.lex_state = 1}, + [10] = {.lex_state = 1}, [11] = {.lex_state = 25}, [12] = {.lex_state = 1}, [13] = {.lex_state = 25}, - [14] = {.lex_state = 25}, + [14] = {.lex_state = 1}, [15] = {.lex_state = 1}, [16] = {.lex_state = 25}, - [17] = {.lex_state = 1}, - [18] = {.lex_state = 1}, + [17] = {.lex_state = 25}, + [18] = {.lex_state = 25}, [19] = {.lex_state = 25}, - [20] = {.lex_state = 1}, + [20] = {.lex_state = 25}, [21] = {.lex_state = 25}, [22] = {.lex_state = 25}, [23] = {.lex_state = 25}, @@ -2235,8 +2241,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [74] = {.lex_state = 25}, [75] = {.lex_state = 25}, [76] = {.lex_state = 25}, - [77] = {.lex_state = 1}, - [78] = {.lex_state = 1}, + [77] = {.lex_state = 25}, + [78] = {.lex_state = 25}, [79] = {.lex_state = 1}, [80] = {.lex_state = 1}, [81] = {.lex_state = 1}, @@ -2266,22 +2272,22 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [105] = {.lex_state = 1}, [106] = {.lex_state = 1}, [107] = {.lex_state = 1}, - [108] = {.lex_state = 2}, + [108] = {.lex_state = 1}, [109] = {.lex_state = 1}, [110] = {.lex_state = 2}, - [111] = {.lex_state = 2}, - [112] = {.lex_state = 2}, - [113] = {.lex_state = 1}, + [111] = {.lex_state = 1}, + [112] = {.lex_state = 1}, + [113] = {.lex_state = 2}, [114] = {.lex_state = 2}, [115] = {.lex_state = 2}, - [116] = {.lex_state = 1}, - [117] = {.lex_state = 2}, - [118] = {.lex_state = 2}, - [119] = {.lex_state = 1}, + [116] = {.lex_state = 2}, + [117] = {.lex_state = 1}, + [118] = {.lex_state = 1}, + [119] = {.lex_state = 2}, [120] = {.lex_state = 1}, - [121] = {.lex_state = 1}, + [121] = {.lex_state = 2}, [122] = {.lex_state = 2}, - [123] = {.lex_state = 2}, + [123] = {.lex_state = 1}, [124] = {.lex_state = 2}, [125] = {.lex_state = 2}, [126] = {.lex_state = 2}, @@ -2298,8 +2304,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [137] = {.lex_state = 2}, [138] = {.lex_state = 2}, [139] = {.lex_state = 2}, - [140] = {.lex_state = 1}, - [141] = {.lex_state = 1}, + [140] = {.lex_state = 2}, + [141] = {.lex_state = 2}, [142] = {.lex_state = 1}, [143] = {.lex_state = 1}, [144] = {.lex_state = 1}, @@ -2307,24 +2313,24 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [146] = {.lex_state = 1}, [147] = {.lex_state = 1}, [148] = {.lex_state = 1}, - [149] = {.lex_state = 3}, + [149] = {.lex_state = 1}, [150] = {.lex_state = 1}, - [151] = {.lex_state = 1}, + [151] = {.lex_state = 0}, [152] = {.lex_state = 1}, [153] = {.lex_state = 1}, [154] = {.lex_state = 1}, - [155] = {.lex_state = 1}, + [155] = {.lex_state = 3}, [156] = {.lex_state = 1}, - [157] = {.lex_state = 0}, + [157] = {.lex_state = 1}, [158] = {.lex_state = 1}, [159] = {.lex_state = 1}, - [160] = {.lex_state = 0}, - [161] = {.lex_state = 1}, + [160] = {.lex_state = 1}, + [161] = {.lex_state = 0}, [162] = {.lex_state = 1}, - [163] = {.lex_state = 3}, - [164] = {.lex_state = 0}, - [165] = {.lex_state = 1}, - [166] = {.lex_state = 1}, + [163] = {.lex_state = 1}, + [164] = {.lex_state = 1}, + [165] = {.lex_state = 3}, + [166] = {.lex_state = 0}, [167] = {.lex_state = 1}, [168] = {.lex_state = 1}, [169] = {.lex_state = 1}, @@ -2366,15 +2372,15 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [205] = {.lex_state = 1}, [206] = {.lex_state = 1}, [207] = {.lex_state = 1}, - [208] = {.lex_state = 0}, - [209] = {.lex_state = 2}, - [210] = {.lex_state = 0}, + [208] = {.lex_state = 1}, + [209] = {.lex_state = 1}, + [210] = {.lex_state = 2}, [211] = {.lex_state = 2}, - [212] = {.lex_state = 0}, - [213] = {.lex_state = 2}, + [212] = {.lex_state = 2}, + [213] = {.lex_state = 0}, [214] = {.lex_state = 0}, - [215] = {.lex_state = 25}, - [216] = {.lex_state = 25}, + [215] = {.lex_state = 0}, + [216] = {.lex_state = 0}, [217] = {.lex_state = 25}, [218] = {.lex_state = 25}, [219] = {.lex_state = 25}, @@ -2385,16 +2391,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [224] = {.lex_state = 25}, [225] = {.lex_state = 25}, [226] = {.lex_state = 25}, - [227] = {.lex_state = 5}, - [228] = {.lex_state = 5}, + [227] = {.lex_state = 25}, + [228] = {.lex_state = 25}, [229] = {.lex_state = 5}, - [230] = {.lex_state = 25}, + [230] = {.lex_state = 5}, [231] = {.lex_state = 5}, - [232] = {.lex_state = 5}, + [232] = {.lex_state = 25}, [233] = {.lex_state = 5}, [234] = {.lex_state = 5}, - [235] = {.lex_state = 1}, - [236] = {.lex_state = 1}, + [235] = {.lex_state = 5}, + [236] = {.lex_state = 5}, [237] = {.lex_state = 1}, [238] = {.lex_state = 1}, [239] = {.lex_state = 1}, @@ -2426,71 +2432,77 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [265] = {.lex_state = 1}, [266] = {.lex_state = 1}, [267] = {.lex_state = 1}, - [268] = {.lex_state = 2}, - [269] = {.lex_state = 2}, + [268] = {.lex_state = 1}, + [269] = {.lex_state = 1}, [270] = {.lex_state = 2}, [271] = {.lex_state = 2}, [272] = {.lex_state = 2}, [273] = {.lex_state = 2}, [274] = {.lex_state = 1}, [275] = {.lex_state = 1}, - [276] = {.lex_state = 1}, - [277] = {.lex_state = 2}, + [276] = {.lex_state = 2}, + [277] = {.lex_state = 1}, [278] = {.lex_state = 2}, [279] = {.lex_state = 1}, - [280] = {.lex_state = 1}, - [281] = {.lex_state = 1}, - [282] = {.lex_state = 4}, - [283] = {.lex_state = 2}, - [284] = {.lex_state = 2}, - [285] = {.lex_state = 7}, - [286] = {.lex_state = 7}, - [287] = {.lex_state = 7}, - [288] = {.lex_state = 7}, + [280] = {.lex_state = 2}, + [281] = {.lex_state = 2}, + [282] = {.lex_state = 1}, + [283] = {.lex_state = 1}, + [284] = {.lex_state = 1}, + [285] = {.lex_state = 1}, + [286] = {.lex_state = 2}, + [287] = {.lex_state = 2}, + [288] = {.lex_state = 4}, [289] = {.lex_state = 7}, [290] = {.lex_state = 7}, - [291] = {.lex_state = 1}, - [292] = {.lex_state = 1}, - [293] = {.lex_state = 1}, - [294] = {.lex_state = 1}, + [291] = {.lex_state = 7}, + [292] = {.lex_state = 7}, + [293] = {.lex_state = 7}, + [294] = {.lex_state = 7}, [295] = {.lex_state = 1}, [296] = {.lex_state = 1}, [297] = {.lex_state = 1}, [298] = {.lex_state = 1}, [299] = {.lex_state = 1}, - [300] = {.lex_state = 25}, - [301] = {.lex_state = 25}, - [302] = {.lex_state = 25}, + [300] = {.lex_state = 1}, + [301] = {.lex_state = 1}, + [302] = {.lex_state = 1}, [303] = {.lex_state = 1}, - [304] = {.lex_state = 1}, - [305] = {.lex_state = 1}, - [306] = {.lex_state = 1}, - [307] = {.lex_state = 1}, + [304] = {.lex_state = 25}, + [305] = {.lex_state = 25}, + [306] = {.lex_state = 25}, + [307] = {.lex_state = 25}, [308] = {.lex_state = 1}, [309] = {.lex_state = 1}, [310] = {.lex_state = 1}, - [311] = {.lex_state = 0}, - [312] = {.lex_state = 0}, - [313] = {.lex_state = 0}, - [314] = {.lex_state = 0}, - [315] = {.lex_state = 0}, - [316] = {.lex_state = 0}, + [311] = {.lex_state = 1}, + [312] = {.lex_state = 1}, + [313] = {.lex_state = 1}, + [314] = {.lex_state = 25}, + [315] = {.lex_state = 1}, + [316] = {.lex_state = 1}, [317] = {.lex_state = 0}, - [318] = {.lex_state = 1}, + [318] = {.lex_state = 0}, [319] = {.lex_state = 0}, - [320] = {.lex_state = 25}, + [320] = {.lex_state = 0}, [321] = {.lex_state = 0}, - [322] = {.lex_state = 5}, + [322] = {.lex_state = 0}, [323] = {.lex_state = 0}, [324] = {.lex_state = 0}, [325] = {.lex_state = 0}, - [326] = {.lex_state = 5}, - [327] = {.lex_state = 0}, - [328] = {.lex_state = 0}, + [326] = {.lex_state = 0}, + [327] = {.lex_state = 1}, + [328] = {.lex_state = 1}, [329] = {.lex_state = 0}, [330] = {.lex_state = 0}, - [331] = {.lex_state = 1}, - [332] = {.lex_state = 0}, + [331] = {.lex_state = 0}, + [332] = {.lex_state = 5}, + [333] = {.lex_state = 0}, + [334] = {.lex_state = 0}, + [335] = {.lex_state = 0}, + [336] = {.lex_state = 0}, + [337] = {.lex_state = 5}, + [338] = {.lex_state = 25}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2568,30 +2580,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(332), - [sym_block] = STATE(219), + [sym_root] = STATE(334), + [sym_block] = STATE(218), [sym_statement] = STATE(22), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(22), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -2629,29 +2641,29 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [2] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [ts_builtin_sym_end] = ACTIONS(35), [sym__identifier_pattern] = ACTIONS(37), @@ -2691,31 +2703,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(79), }, [3] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(16), - [sym_expression] = STATE(74), + [sym_block] = STATE(218), + [sym_statement] = STATE(8), + [sym_expression] = STATE(76), [sym_identifier] = STATE(73), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(16), - [aux_sym_map_repeat1] = STATE(267), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(8), + [aux_sym_map_repeat1] = STATE(265), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -2753,31 +2765,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [4] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(14), - [sym_expression] = STATE(74), + [sym_block] = STATE(218), + [sym_statement] = STATE(21), + [sym_expression] = STATE(76), [sym_identifier] = STATE(73), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(14), - [aux_sym_map_repeat1] = STATE(266), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(21), + [aux_sym_map_repeat1] = STATE(263), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -2815,31 +2827,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [5] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(16), - [sym_expression] = STATE(74), + [sym_block] = STATE(218), + [sym_statement] = STATE(8), + [sym_expression] = STATE(76), [sym_identifier] = STATE(73), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(16), - [aux_sym_map_repeat1] = STATE(261), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(8), + [aux_sym_map_repeat1] = STATE(269), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -2877,96 +2889,96 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [6] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(2), - [sym__identifier_pattern] = ACTIONS(5), + [sym_expression] = STATE(112), + [aux_sym__expression_list] = STATE(145), + [sym_identifier] = STATE(88), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(88), + [sym_math] = STATE(88), + [sym_math_operator] = STATE(207), + [sym_logic] = STATE(88), + [sym_logic_operator] = STATE(187), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(88), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), + [anon_sym_LBRACE] = ACTIONS(90), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_COLON] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_RPAREN] = ACTIONS(104), + [anon_sym_PLUS] = ACTIONS(106), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(114), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [7] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(90), + [anon_sym_RBRACE] = ACTIONS(118), [sym_integer] = ACTIONS(11), [sym_float] = ACTIONS(13), [sym_string] = ACTIONS(13), @@ -2999,212 +3011,212 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [8] = { - [sym_expression] = STATE(109), - [aux_sym__expression_list] = STATE(148), - [sym_identifier] = STATE(97), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(97), - [sym_math] = STATE(97), - [sym_math_operator] = STATE(199), - [sym_logic] = STATE(97), - [sym_logic_operator] = STATE(198), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(218), + [sym_statement] = STATE(2), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(2), + [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_LBRACE] = ACTIONS(94), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_COLON] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_RPAREN] = ACTIONS(108), - [anon_sym_PLUS] = ACTIONS(110), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_DASH_GT] = ACTIONS(118), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_RBRACE] = ACTIONS(120), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), }, [9] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(2), - [sym__identifier_pattern] = ACTIONS(5), + [sym_expression] = STATE(112), + [aux_sym__expression_list] = STATE(154), + [sym_identifier] = STATE(88), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(88), + [sym_math] = STATE(88), + [sym_math_operator] = STATE(207), + [sym_logic] = STATE(88), + [sym_logic_operator] = STATE(187), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(122), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), + [anon_sym_LBRACE] = ACTIONS(90), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_COLON] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_RPAREN] = ACTIONS(122), + [anon_sym_PLUS] = ACTIONS(106), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(114), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [10] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(2), - [sym__identifier_pattern] = ACTIONS(5), + [sym_expression] = STATE(112), + [aux_sym__expression_list] = STATE(162), + [sym_identifier] = STATE(88), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(88), + [sym_math] = STATE(88), + [sym_math_operator] = STATE(209), + [sym_logic] = STATE(88), + [sym_logic_operator] = STATE(192), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(124), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), + [anon_sym_LBRACE] = ACTIONS(90), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_COLON] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_RPAREN] = ACTIONS(124), + [anon_sym_PLUS] = ACTIONS(106), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(114), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [11] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3243,90 +3255,90 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [12] = { - [sym_expression] = STATE(109), - [aux_sym__expression_list] = STATE(156), - [sym_identifier] = STATE(97), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(97), - [sym_math] = STATE(97), - [sym_math_operator] = STATE(167), - [sym_logic] = STATE(97), - [sym_logic_operator] = STATE(174), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_expression] = STATE(112), + [aux_sym__expression_list] = STATE(150), + [sym_identifier] = STATE(88), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(88), + [sym_math] = STATE(88), + [sym_math_operator] = STATE(207), + [sym_logic] = STATE(88), + [sym_logic_operator] = STATE(187), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_LBRACE] = ACTIONS(94), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_COLON] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(106), + [anon_sym_LBRACE] = ACTIONS(90), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_COLON] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(102), [anon_sym_RPAREN] = ACTIONS(128), - [anon_sym_PLUS] = ACTIONS(110), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_DASH_GT] = ACTIONS(118), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_PLUS] = ACTIONS(106), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(114), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [13] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3365,151 +3377,151 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [14] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(2), - [sym__identifier_pattern] = ACTIONS(5), + [sym_expression] = STATE(112), + [aux_sym__expression_list] = STATE(152), + [sym_identifier] = STATE(88), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(88), + [sym_math] = STATE(88), + [sym_math_operator] = STATE(209), + [sym_logic] = STATE(88), + [sym_logic_operator] = STATE(197), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(132), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), + [anon_sym_LBRACE] = ACTIONS(90), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_COLON] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_RPAREN] = ACTIONS(132), + [anon_sym_PLUS] = ACTIONS(106), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(114), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [15] = { - [sym_expression] = STATE(109), - [aux_sym__expression_list] = STATE(145), - [sym_identifier] = STATE(97), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(97), - [sym_math] = STATE(97), - [sym_math_operator] = STATE(199), - [sym_logic] = STATE(97), - [sym_logic_operator] = STATE(197), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_expression] = STATE(112), + [aux_sym__expression_list] = STATE(153), + [sym_identifier] = STATE(88), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(88), + [sym_math] = STATE(88), + [sym_math_operator] = STATE(209), + [sym_logic] = STATE(88), + [sym_logic_operator] = STATE(198), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_LBRACE] = ACTIONS(94), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_COLON] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(106), + [anon_sym_LBRACE] = ACTIONS(90), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_COLON] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(102), [anon_sym_RPAREN] = ACTIONS(134), - [anon_sym_PLUS] = ACTIONS(110), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_DASH_GT] = ACTIONS(118), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_PLUS] = ACTIONS(106), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(114), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [16] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3548,151 +3560,151 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [17] = { - [sym_expression] = STATE(109), - [aux_sym__expression_list] = STATE(144), - [sym_identifier] = STATE(97), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(97), - [sym_math] = STATE(97), - [sym_math_operator] = STATE(167), - [sym_logic] = STATE(97), - [sym_logic_operator] = STATE(174), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(218), + [sym_statement] = STATE(2), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(2), + [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_LBRACE] = ACTIONS(94), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_COLON] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_RPAREN] = ACTIONS(138), - [anon_sym_PLUS] = ACTIONS(110), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_DASH_GT] = ACTIONS(118), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_RBRACE] = ACTIONS(138), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), }, [18] = { - [sym_expression] = STATE(109), - [aux_sym__expression_list] = STATE(150), - [sym_identifier] = STATE(97), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(97), - [sym_math] = STATE(97), - [sym_math_operator] = STATE(199), - [sym_logic] = STATE(97), - [sym_logic_operator] = STATE(170), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(218), + [sym_statement] = STATE(2), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(2), + [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_LBRACE] = ACTIONS(94), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_COLON] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_RPAREN] = ACTIONS(140), - [anon_sym_PLUS] = ACTIONS(110), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_DASH_GT] = ACTIONS(118), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_RBRACE] = ACTIONS(140), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), }, [19] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3731,90 +3743,90 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [20] = { - [sym_expression] = STATE(109), - [aux_sym__expression_list] = STATE(155), - [sym_identifier] = STATE(97), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(97), - [sym_math] = STATE(97), - [sym_math_operator] = STATE(167), - [sym_logic] = STATE(97), - [sym_logic_operator] = STATE(174), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(218), + [sym_statement] = STATE(2), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(2), + [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_LBRACE] = ACTIONS(94), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_COLON] = ACTIONS(104), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_RPAREN] = ACTIONS(144), - [anon_sym_PLUS] = ACTIONS(110), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_DASH_GT] = ACTIONS(118), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_RBRACE] = ACTIONS(144), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), }, [21] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -3853,29 +3865,29 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [22] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(2), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(2), [ts_builtin_sym_end] = ACTIONS(148), [sym__identifier_pattern] = ACTIONS(5), @@ -3914,509 +3926,29 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(33), }, [23] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(16), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [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), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [24] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(9), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [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), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [25] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(7), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(7), - [sym__identifier_pattern] = ACTIONS(5), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [26] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(13), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(13), - [sym__identifier_pattern] = ACTIONS(5), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [27] = { - [sym_math_operator] = STATE(178), - [sym_logic_operator] = STATE(176), - [ts_builtin_sym_end] = ACTIONS(150), - [sym__identifier_pattern] = ACTIONS(152), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(152), - [anon_sym_LBRACE] = ACTIONS(150), - [anon_sym_RBRACE] = ACTIONS(150), - [anon_sym_SEMI] = ACTIONS(150), - [sym_integer] = ACTIONS(152), - [sym_float] = ACTIONS(150), - [sym_string] = ACTIONS(150), - [anon_sym_true] = ACTIONS(152), - [anon_sym_false] = ACTIONS(152), - [anon_sym_LBRACK] = ACTIONS(150), - [anon_sym_EQ] = ACTIONS(152), - [anon_sym_COLON] = ACTIONS(150), - [anon_sym_DOT_DOT] = ACTIONS(154), - [anon_sym_LPAREN] = ACTIONS(150), - [anon_sym_PLUS] = ACTIONS(152), - [anon_sym_DASH] = ACTIONS(152), - [anon_sym_STAR] = ACTIONS(150), - [anon_sym_SLASH] = ACTIONS(150), - [anon_sym_PERCENT] = ACTIONS(150), - [anon_sym_EQ_EQ] = ACTIONS(150), - [anon_sym_BANG_EQ] = ACTIONS(150), - [anon_sym_AMP_AMP] = ACTIONS(150), - [anon_sym_PIPE_PIPE] = ACTIONS(150), - [anon_sym_GT] = ACTIONS(152), - [anon_sym_LT] = ACTIONS(152), - [anon_sym_GT_EQ] = ACTIONS(150), - [anon_sym_LT_EQ] = ACTIONS(150), - [anon_sym_PLUS_EQ] = ACTIONS(150), - [anon_sym_DASH_EQ] = ACTIONS(150), - [anon_sym_if] = ACTIONS(152), - [anon_sym_match] = ACTIONS(152), - [anon_sym_while] = ACTIONS(152), - [anon_sym_for] = ACTIONS(152), - [anon_sym_asyncfor] = ACTIONS(150), - [anon_sym_return] = ACTIONS(152), - [anon_sym_DASH_GT] = 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_fish] = ACTIONS(152), - [anon_sym_from_json] = 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), - }, - [28] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(19), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(19), - [sym__identifier_pattern] = ACTIONS(5), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [29] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(6), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(6), - [sym__identifier_pattern] = ACTIONS(5), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [30] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(10), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [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), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), - }, - [31] = { - [sym_block] = STATE(219), + [sym_block] = STATE(218), [sym_statement] = STATE(21), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(21), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4453,211 +3985,31 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(33), [anon_sym_write] = ACTIONS(33), }, - [32] = { - [sym_math_operator] = STATE(178), - [sym_logic_operator] = STATE(176), - [ts_builtin_sym_end] = ACTIONS(156), - [sym__identifier_pattern] = ACTIONS(158), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(158), - [anon_sym_LBRACE] = ACTIONS(156), - [anon_sym_RBRACE] = ACTIONS(156), - [anon_sym_SEMI] = ACTIONS(156), - [sym_integer] = ACTIONS(158), - [sym_float] = ACTIONS(156), - [sym_string] = ACTIONS(156), - [anon_sym_true] = ACTIONS(158), - [anon_sym_false] = ACTIONS(158), - [anon_sym_LBRACK] = ACTIONS(156), - [anon_sym_EQ] = ACTIONS(158), - [anon_sym_COLON] = ACTIONS(156), - [anon_sym_DOT_DOT] = ACTIONS(156), - [anon_sym_LPAREN] = ACTIONS(156), - [anon_sym_PLUS] = ACTIONS(158), - [anon_sym_DASH] = ACTIONS(158), - [anon_sym_STAR] = ACTIONS(156), - [anon_sym_SLASH] = ACTIONS(156), - [anon_sym_PERCENT] = ACTIONS(156), - [anon_sym_EQ_EQ] = ACTIONS(156), - [anon_sym_BANG_EQ] = ACTIONS(156), - [anon_sym_AMP_AMP] = ACTIONS(156), - [anon_sym_PIPE_PIPE] = ACTIONS(156), - [anon_sym_GT] = ACTIONS(158), - [anon_sym_LT] = ACTIONS(158), - [anon_sym_GT_EQ] = ACTIONS(156), - [anon_sym_LT_EQ] = ACTIONS(156), - [anon_sym_PLUS_EQ] = ACTIONS(156), - [anon_sym_DASH_EQ] = ACTIONS(156), - [anon_sym_if] = ACTIONS(158), - [anon_sym_match] = ACTIONS(158), - [anon_sym_while] = ACTIONS(158), - [anon_sym_for] = ACTIONS(158), - [anon_sym_asyncfor] = ACTIONS(156), - [anon_sym_return] = ACTIONS(158), - [anon_sym_DASH_GT] = ACTIONS(156), - [anon_sym_assert] = ACTIONS(158), - [anon_sym_assert_equal] = ACTIONS(158), - [anon_sym_bash] = ACTIONS(158), - [anon_sym_download] = ACTIONS(158), - [anon_sym_fish] = ACTIONS(158), - [anon_sym_from_json] = ACTIONS(158), - [anon_sym_length] = ACTIONS(158), - [anon_sym_metadata] = ACTIONS(158), - [anon_sym_output] = ACTIONS(158), - [anon_sym_output_error] = ACTIONS(158), - [anon_sym_random] = ACTIONS(158), - [anon_sym_random_boolean] = ACTIONS(158), - [anon_sym_random_float] = ACTIONS(158), - [anon_sym_random_integer] = ACTIONS(158), - [anon_sym_read] = ACTIONS(158), - [anon_sym_to_json] = ACTIONS(158), - [anon_sym_write] = ACTIONS(158), - }, - [33] = { - [sym_math_operator] = STATE(178), - [sym_logic_operator] = STATE(176), - [ts_builtin_sym_end] = ACTIONS(160), - [sym__identifier_pattern] = ACTIONS(162), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(162), - [anon_sym_LBRACE] = ACTIONS(160), - [anon_sym_RBRACE] = ACTIONS(160), - [anon_sym_SEMI] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(160), - [sym_string] = ACTIONS(160), - [anon_sym_true] = ACTIONS(162), - [anon_sym_false] = ACTIONS(162), - [anon_sym_LBRACK] = ACTIONS(160), - [anon_sym_EQ] = ACTIONS(162), - [anon_sym_COLON] = ACTIONS(164), - [anon_sym_DOT_DOT] = ACTIONS(160), - [anon_sym_LPAREN] = ACTIONS(160), - [anon_sym_PLUS] = ACTIONS(112), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_PLUS_EQ] = ACTIONS(160), - [anon_sym_DASH_EQ] = ACTIONS(160), - [anon_sym_if] = ACTIONS(162), - [anon_sym_match] = ACTIONS(162), - [anon_sym_while] = ACTIONS(162), - [anon_sym_for] = ACTIONS(162), - [anon_sym_asyncfor] = ACTIONS(160), - [anon_sym_return] = ACTIONS(162), - [anon_sym_DASH_GT] = ACTIONS(166), - [anon_sym_assert] = ACTIONS(162), - [anon_sym_assert_equal] = ACTIONS(162), - [anon_sym_bash] = ACTIONS(162), - [anon_sym_download] = ACTIONS(162), - [anon_sym_fish] = ACTIONS(162), - [anon_sym_from_json] = ACTIONS(162), - [anon_sym_length] = ACTIONS(162), - [anon_sym_metadata] = ACTIONS(162), - [anon_sym_output] = ACTIONS(162), - [anon_sym_output_error] = ACTIONS(162), - [anon_sym_random] = ACTIONS(162), - [anon_sym_random_boolean] = ACTIONS(162), - [anon_sym_random_float] = ACTIONS(162), - [anon_sym_random_integer] = ACTIONS(162), - [anon_sym_read] = ACTIONS(162), - [anon_sym_to_json] = ACTIONS(162), - [anon_sym_write] = ACTIONS(162), - }, - [34] = { - [sym_math_operator] = STATE(178), - [sym_logic_operator] = STATE(176), - [ts_builtin_sym_end] = ACTIONS(168), - [sym__identifier_pattern] = ACTIONS(170), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(170), - [anon_sym_LBRACE] = ACTIONS(168), - [anon_sym_RBRACE] = ACTIONS(168), - [anon_sym_SEMI] = ACTIONS(168), - [sym_integer] = ACTIONS(170), - [sym_float] = ACTIONS(168), - [sym_string] = ACTIONS(168), - [anon_sym_true] = ACTIONS(170), - [anon_sym_false] = ACTIONS(170), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_EQ] = ACTIONS(170), - [anon_sym_COLON] = ACTIONS(164), - [anon_sym_DOT_DOT] = ACTIONS(168), - [anon_sym_LPAREN] = ACTIONS(168), - [anon_sym_PLUS] = ACTIONS(170), - [anon_sym_DASH] = ACTIONS(170), - [anon_sym_STAR] = ACTIONS(168), - [anon_sym_SLASH] = ACTIONS(168), - [anon_sym_PERCENT] = ACTIONS(168), - [anon_sym_EQ_EQ] = ACTIONS(168), - [anon_sym_BANG_EQ] = ACTIONS(168), - [anon_sym_AMP_AMP] = ACTIONS(168), - [anon_sym_PIPE_PIPE] = ACTIONS(168), - [anon_sym_GT] = ACTIONS(170), - [anon_sym_LT] = ACTIONS(170), - [anon_sym_GT_EQ] = ACTIONS(168), - [anon_sym_LT_EQ] = ACTIONS(168), - [anon_sym_PLUS_EQ] = ACTIONS(168), - [anon_sym_DASH_EQ] = ACTIONS(168), - [anon_sym_if] = ACTIONS(170), - [anon_sym_match] = ACTIONS(170), - [anon_sym_while] = ACTIONS(170), - [anon_sym_for] = ACTIONS(170), - [anon_sym_asyncfor] = ACTIONS(168), - [anon_sym_return] = ACTIONS(170), - [anon_sym_DASH_GT] = ACTIONS(168), - [anon_sym_assert] = ACTIONS(170), - [anon_sym_assert_equal] = ACTIONS(170), - [anon_sym_bash] = ACTIONS(170), - [anon_sym_download] = ACTIONS(170), - [anon_sym_fish] = ACTIONS(170), - [anon_sym_from_json] = ACTIONS(170), - [anon_sym_length] = ACTIONS(170), - [anon_sym_metadata] = ACTIONS(170), - [anon_sym_output] = ACTIONS(170), - [anon_sym_output_error] = ACTIONS(170), - [anon_sym_random] = ACTIONS(170), - [anon_sym_random_boolean] = ACTIONS(170), - [anon_sym_random_float] = ACTIONS(170), - [anon_sym_random_integer] = ACTIONS(170), - [anon_sym_read] = ACTIONS(170), - [anon_sym_to_json] = ACTIONS(170), - [anon_sym_write] = ACTIONS(170), - }, - [35] = { - [sym_block] = STATE(219), - [sym_statement] = STATE(14), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [aux_sym_root_repeat1] = STATE(14), + [24] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(8), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(8), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -4693,30 +4045,150 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(33), [anon_sym_write] = ACTIONS(33), }, - [36] = { - [sym_block] = STATE(219), + [25] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(18), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [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), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [26] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(7), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(7), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [27] = { + [sym_block] = STATE(218), [sym_statement] = STATE(11), - [sym_expression] = STATE(74), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(219), - [sym_index_assignment] = STATE(219), - [sym_if_else] = STATE(219), - [sym_if] = STATE(160), - [sym_match] = STATE(219), - [sym_while] = STATE(219), - [sym_for] = STATE(219), - [sym_return] = STATE(219), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [aux_sym_root_repeat1] = STATE(11), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), @@ -4753,9 +4225,9 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(33), [anon_sym_write] = ACTIONS(33), }, - [37] = { - [sym_math_operator] = STATE(178), - [sym_logic_operator] = STATE(176), + [28] = { + [sym_math_operator] = STATE(182), + [sym_logic_operator] = STATE(184), [ts_builtin_sym_end] = ACTIONS(150), [sym__identifier_pattern] = ACTIONS(152), [sym__comment] = ACTIONS(3), @@ -4813,282 +4285,822 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(152), [anon_sym_write] = ACTIONS(152), }, - [38] = { - [sym_math_operator] = STATE(200), - [sym_logic_operator] = STATE(172), - [ts_builtin_sym_end] = ACTIONS(160), - [sym__identifier_pattern] = ACTIONS(162), + [29] = { + [sym_math_operator] = STATE(182), + [sym_logic_operator] = STATE(184), + [ts_builtin_sym_end] = ACTIONS(154), + [sym__identifier_pattern] = ACTIONS(156), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(162), - [anon_sym_LBRACE] = ACTIONS(160), - [anon_sym_RBRACE] = ACTIONS(160), - [anon_sym_SEMI] = ACTIONS(160), - [sym_integer] = ACTIONS(162), - [sym_float] = ACTIONS(160), - [sym_string] = ACTIONS(160), - [anon_sym_true] = ACTIONS(162), - [anon_sym_false] = ACTIONS(162), - [anon_sym_LBRACK] = ACTIONS(160), - [anon_sym_EQ] = ACTIONS(162), - [anon_sym_COLON] = ACTIONS(172), - [anon_sym_LPAREN] = ACTIONS(160), - [anon_sym_PLUS] = ACTIONS(112), - [anon_sym_DASH] = ACTIONS(112), - [anon_sym_STAR] = ACTIONS(110), - [anon_sym_SLASH] = ACTIONS(110), - [anon_sym_PERCENT] = ACTIONS(110), - [anon_sym_EQ_EQ] = ACTIONS(114), - [anon_sym_BANG_EQ] = ACTIONS(114), - [anon_sym_AMP_AMP] = ACTIONS(114), - [anon_sym_PIPE_PIPE] = ACTIONS(114), - [anon_sym_GT] = ACTIONS(116), - [anon_sym_LT] = ACTIONS(116), - [anon_sym_GT_EQ] = ACTIONS(114), - [anon_sym_LT_EQ] = ACTIONS(114), - [anon_sym_PLUS_EQ] = ACTIONS(160), - [anon_sym_DASH_EQ] = ACTIONS(160), - [anon_sym_if] = ACTIONS(162), - [anon_sym_match] = ACTIONS(162), - [anon_sym_while] = ACTIONS(162), - [anon_sym_for] = ACTIONS(162), - [anon_sym_asyncfor] = ACTIONS(160), - [anon_sym_return] = ACTIONS(162), - [anon_sym_DASH_GT] = ACTIONS(166), - [anon_sym_assert] = ACTIONS(162), - [anon_sym_assert_equal] = ACTIONS(162), - [anon_sym_bash] = ACTIONS(162), - [anon_sym_download] = ACTIONS(162), - [anon_sym_fish] = ACTIONS(162), - [anon_sym_from_json] = ACTIONS(162), - [anon_sym_length] = ACTIONS(162), - [anon_sym_metadata] = ACTIONS(162), - [anon_sym_output] = ACTIONS(162), - [anon_sym_output_error] = ACTIONS(162), - [anon_sym_random] = ACTIONS(162), - [anon_sym_random_boolean] = ACTIONS(162), - [anon_sym_random_float] = ACTIONS(162), - [anon_sym_random_integer] = ACTIONS(162), - [anon_sym_read] = ACTIONS(162), - [anon_sym_to_json] = ACTIONS(162), - [anon_sym_write] = ACTIONS(162), + [anon_sym_async] = ACTIONS(156), + [anon_sym_LBRACE] = ACTIONS(154), + [anon_sym_RBRACE] = ACTIONS(154), + [anon_sym_SEMI] = ACTIONS(154), + [sym_integer] = ACTIONS(156), + [sym_float] = ACTIONS(154), + [sym_string] = ACTIONS(154), + [anon_sym_true] = ACTIONS(156), + [anon_sym_false] = ACTIONS(156), + [anon_sym_LBRACK] = ACTIONS(154), + [anon_sym_EQ] = ACTIONS(156), + [anon_sym_COLON] = ACTIONS(154), + [anon_sym_DOT_DOT] = ACTIONS(154), + [anon_sym_LPAREN] = ACTIONS(154), + [anon_sym_PLUS] = ACTIONS(156), + [anon_sym_DASH] = ACTIONS(156), + [anon_sym_STAR] = ACTIONS(154), + [anon_sym_SLASH] = ACTIONS(154), + [anon_sym_PERCENT] = ACTIONS(154), + [anon_sym_EQ_EQ] = ACTIONS(154), + [anon_sym_BANG_EQ] = ACTIONS(154), + [anon_sym_AMP_AMP] = ACTIONS(154), + [anon_sym_PIPE_PIPE] = ACTIONS(154), + [anon_sym_GT] = ACTIONS(156), + [anon_sym_LT] = ACTIONS(156), + [anon_sym_GT_EQ] = ACTIONS(154), + [anon_sym_LT_EQ] = ACTIONS(154), + [anon_sym_PLUS_EQ] = ACTIONS(154), + [anon_sym_DASH_EQ] = ACTIONS(154), + [anon_sym_if] = ACTIONS(156), + [anon_sym_match] = ACTIONS(156), + [anon_sym_while] = ACTIONS(156), + [anon_sym_for] = ACTIONS(156), + [anon_sym_asyncfor] = ACTIONS(154), + [anon_sym_return] = ACTIONS(156), + [anon_sym_DASH_GT] = 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_fish] = ACTIONS(156), + [anon_sym_from_json] = 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), + }, + [30] = { + [sym_math_operator] = STATE(182), + [sym_logic_operator] = STATE(184), + [ts_builtin_sym_end] = ACTIONS(158), + [sym__identifier_pattern] = ACTIONS(160), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(160), + [anon_sym_LBRACE] = ACTIONS(158), + [anon_sym_RBRACE] = ACTIONS(158), + [anon_sym_SEMI] = ACTIONS(158), + [sym_integer] = ACTIONS(160), + [sym_float] = ACTIONS(158), + [sym_string] = ACTIONS(158), + [anon_sym_true] = ACTIONS(160), + [anon_sym_false] = ACTIONS(160), + [anon_sym_LBRACK] = ACTIONS(158), + [anon_sym_EQ] = ACTIONS(160), + [anon_sym_COLON] = ACTIONS(162), + [anon_sym_DOT_DOT] = ACTIONS(158), + [anon_sym_LPAREN] = ACTIONS(158), + [anon_sym_PLUS] = ACTIONS(160), + [anon_sym_DASH] = ACTIONS(160), + [anon_sym_STAR] = ACTIONS(158), + [anon_sym_SLASH] = ACTIONS(158), + [anon_sym_PERCENT] = ACTIONS(158), + [anon_sym_EQ_EQ] = ACTIONS(158), + [anon_sym_BANG_EQ] = ACTIONS(158), + [anon_sym_AMP_AMP] = ACTIONS(158), + [anon_sym_PIPE_PIPE] = ACTIONS(158), + [anon_sym_GT] = ACTIONS(160), + [anon_sym_LT] = ACTIONS(160), + [anon_sym_GT_EQ] = ACTIONS(158), + [anon_sym_LT_EQ] = ACTIONS(158), + [anon_sym_PLUS_EQ] = ACTIONS(158), + [anon_sym_DASH_EQ] = ACTIONS(158), + [anon_sym_if] = ACTIONS(160), + [anon_sym_match] = ACTIONS(160), + [anon_sym_while] = ACTIONS(160), + [anon_sym_for] = ACTIONS(160), + [anon_sym_asyncfor] = ACTIONS(158), + [anon_sym_return] = ACTIONS(160), + [anon_sym_DASH_GT] = ACTIONS(158), + [anon_sym_assert] = ACTIONS(160), + [anon_sym_assert_equal] = ACTIONS(160), + [anon_sym_bash] = ACTIONS(160), + [anon_sym_download] = ACTIONS(160), + [anon_sym_fish] = ACTIONS(160), + [anon_sym_from_json] = ACTIONS(160), + [anon_sym_length] = ACTIONS(160), + [anon_sym_metadata] = ACTIONS(160), + [anon_sym_output] = ACTIONS(160), + [anon_sym_output_error] = ACTIONS(160), + [anon_sym_random] = ACTIONS(160), + [anon_sym_random_boolean] = ACTIONS(160), + [anon_sym_random_float] = ACTIONS(160), + [anon_sym_random_integer] = ACTIONS(160), + [anon_sym_read] = ACTIONS(160), + [anon_sym_to_json] = ACTIONS(160), + [anon_sym_write] = ACTIONS(160), + }, + [31] = { + [sym_math_operator] = STATE(182), + [sym_logic_operator] = STATE(184), + [ts_builtin_sym_end] = ACTIONS(164), + [sym__identifier_pattern] = ACTIONS(166), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(166), + [anon_sym_LBRACE] = ACTIONS(164), + [anon_sym_RBRACE] = ACTIONS(164), + [anon_sym_SEMI] = ACTIONS(164), + [sym_integer] = ACTIONS(166), + [sym_float] = ACTIONS(164), + [sym_string] = ACTIONS(164), + [anon_sym_true] = ACTIONS(166), + [anon_sym_false] = ACTIONS(166), + [anon_sym_LBRACK] = ACTIONS(164), + [anon_sym_EQ] = ACTIONS(166), + [anon_sym_COLON] = ACTIONS(162), + [anon_sym_DOT_DOT] = ACTIONS(164), + [anon_sym_LPAREN] = ACTIONS(164), + [anon_sym_PLUS] = ACTIONS(108), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_PLUS_EQ] = ACTIONS(164), + [anon_sym_DASH_EQ] = ACTIONS(164), + [anon_sym_if] = ACTIONS(166), + [anon_sym_match] = ACTIONS(166), + [anon_sym_while] = ACTIONS(166), + [anon_sym_for] = ACTIONS(166), + [anon_sym_asyncfor] = ACTIONS(164), + [anon_sym_return] = ACTIONS(166), + [anon_sym_DASH_GT] = ACTIONS(168), + [anon_sym_assert] = ACTIONS(166), + [anon_sym_assert_equal] = ACTIONS(166), + [anon_sym_bash] = ACTIONS(166), + [anon_sym_download] = ACTIONS(166), + [anon_sym_fish] = ACTIONS(166), + [anon_sym_from_json] = ACTIONS(166), + [anon_sym_length] = ACTIONS(166), + [anon_sym_metadata] = ACTIONS(166), + [anon_sym_output] = ACTIONS(166), + [anon_sym_output_error] = ACTIONS(166), + [anon_sym_random] = ACTIONS(166), + [anon_sym_random_boolean] = ACTIONS(166), + [anon_sym_random_float] = ACTIONS(166), + [anon_sym_random_integer] = ACTIONS(166), + [anon_sym_read] = ACTIONS(166), + [anon_sym_to_json] = ACTIONS(166), + [anon_sym_write] = ACTIONS(166), + }, + [32] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(16), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [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), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [33] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(17), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(17), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [34] = { + [sym_math_operator] = STATE(182), + [sym_logic_operator] = STATE(184), + [ts_builtin_sym_end] = ACTIONS(154), + [sym__identifier_pattern] = ACTIONS(156), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(156), + [anon_sym_LBRACE] = ACTIONS(154), + [anon_sym_RBRACE] = ACTIONS(154), + [anon_sym_SEMI] = ACTIONS(154), + [sym_integer] = ACTIONS(156), + [sym_float] = ACTIONS(154), + [sym_string] = ACTIONS(154), + [anon_sym_true] = ACTIONS(156), + [anon_sym_false] = ACTIONS(156), + [anon_sym_LBRACK] = ACTIONS(154), + [anon_sym_EQ] = ACTIONS(156), + [anon_sym_COLON] = ACTIONS(154), + [anon_sym_DOT_DOT] = ACTIONS(170), + [anon_sym_LPAREN] = ACTIONS(154), + [anon_sym_PLUS] = ACTIONS(156), + [anon_sym_DASH] = ACTIONS(156), + [anon_sym_STAR] = ACTIONS(154), + [anon_sym_SLASH] = ACTIONS(154), + [anon_sym_PERCENT] = ACTIONS(154), + [anon_sym_EQ_EQ] = ACTIONS(154), + [anon_sym_BANG_EQ] = ACTIONS(154), + [anon_sym_AMP_AMP] = ACTIONS(154), + [anon_sym_PIPE_PIPE] = ACTIONS(154), + [anon_sym_GT] = ACTIONS(156), + [anon_sym_LT] = ACTIONS(156), + [anon_sym_GT_EQ] = ACTIONS(154), + [anon_sym_LT_EQ] = ACTIONS(154), + [anon_sym_PLUS_EQ] = ACTIONS(154), + [anon_sym_DASH_EQ] = ACTIONS(154), + [anon_sym_if] = ACTIONS(156), + [anon_sym_match] = ACTIONS(156), + [anon_sym_while] = ACTIONS(156), + [anon_sym_for] = ACTIONS(156), + [anon_sym_asyncfor] = ACTIONS(154), + [anon_sym_return] = ACTIONS(156), + [anon_sym_DASH_GT] = 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_fish] = ACTIONS(156), + [anon_sym_from_json] = 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_block] = STATE(218), + [sym_statement] = STATE(20), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [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), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [36] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(13), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(13), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [37] = { + [sym_block] = STATE(218), + [sym_statement] = STATE(19), + [sym_expression] = STATE(76), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(218), + [sym_index_assignment] = STATE(218), + [sym_if_else] = STATE(218), + [sym_if] = STATE(151), + [sym_match] = STATE(218), + [sym_while] = STATE(218), + [sym_for] = STATE(218), + [sym_return] = STATE(218), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [aux_sym_root_repeat1] = STATE(19), + [sym__identifier_pattern] = ACTIONS(5), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), + }, + [38] = { + [sym_math_operator] = STATE(170), + [sym_logic_operator] = STATE(193), + [ts_builtin_sym_end] = ACTIONS(150), + [sym__identifier_pattern] = ACTIONS(152), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(152), + [anon_sym_LBRACE] = ACTIONS(150), + [anon_sym_RBRACE] = ACTIONS(150), + [anon_sym_SEMI] = ACTIONS(150), + [sym_integer] = ACTIONS(152), + [sym_float] = ACTIONS(150), + [sym_string] = ACTIONS(150), + [anon_sym_true] = ACTIONS(152), + [anon_sym_false] = ACTIONS(152), + [anon_sym_LBRACK] = ACTIONS(150), + [anon_sym_EQ] = ACTIONS(152), + [anon_sym_COLON] = ACTIONS(150), + [anon_sym_LPAREN] = ACTIONS(150), + [anon_sym_PLUS] = ACTIONS(152), + [anon_sym_DASH] = ACTIONS(152), + [anon_sym_STAR] = ACTIONS(150), + [anon_sym_SLASH] = ACTIONS(150), + [anon_sym_PERCENT] = ACTIONS(150), + [anon_sym_EQ_EQ] = ACTIONS(150), + [anon_sym_BANG_EQ] = ACTIONS(150), + [anon_sym_AMP_AMP] = ACTIONS(150), + [anon_sym_PIPE_PIPE] = ACTIONS(150), + [anon_sym_GT] = ACTIONS(152), + [anon_sym_LT] = ACTIONS(152), + [anon_sym_GT_EQ] = ACTIONS(150), + [anon_sym_LT_EQ] = ACTIONS(150), + [anon_sym_PLUS_EQ] = ACTIONS(150), + [anon_sym_DASH_EQ] = ACTIONS(150), + [anon_sym_if] = ACTIONS(152), + [anon_sym_match] = ACTIONS(152), + [anon_sym_while] = ACTIONS(152), + [anon_sym_for] = ACTIONS(152), + [anon_sym_asyncfor] = ACTIONS(150), + [anon_sym_return] = ACTIONS(152), + [anon_sym_DASH_GT] = 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_fish] = ACTIONS(152), + [anon_sym_from_json] = 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), }, [39] = { - [sym_block] = STATE(235), - [sym_statement] = STATE(240), - [sym_expression] = STATE(107), - [sym_identifier] = STATE(103), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(104), - [sym_math] = STATE(97), - [sym_logic] = STATE(97), - [sym_assignment] = STATE(235), - [sym_index_assignment] = STATE(235), - [sym_if_else] = STATE(235), - [sym_if] = STATE(228), - [sym_match] = STATE(235), - [sym_while] = STATE(235), - [sym_for] = STATE(235), - [sym_return] = STATE(235), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [ts_builtin_sym_end] = ACTIONS(172), + [sym__identifier_pattern] = ACTIONS(174), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(176), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), - [anon_sym_return] = ACTIONS(188), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_LBRACE] = ACTIONS(172), + [anon_sym_RBRACE] = ACTIONS(172), + [anon_sym_SEMI] = ACTIONS(172), + [sym_integer] = ACTIONS(174), + [sym_float] = ACTIONS(172), + [sym_string] = ACTIONS(172), + [anon_sym_true] = ACTIONS(174), + [anon_sym_false] = ACTIONS(174), + [anon_sym_LBRACK] = ACTIONS(172), + [anon_sym_EQ] = ACTIONS(174), + [anon_sym_COLON] = ACTIONS(172), + [anon_sym_DOT_DOT] = ACTIONS(172), + [anon_sym_LPAREN] = ACTIONS(172), + [anon_sym_PLUS] = ACTIONS(174), + [anon_sym_DASH] = ACTIONS(174), + [anon_sym_STAR] = ACTIONS(172), + [anon_sym_SLASH] = ACTIONS(172), + [anon_sym_PERCENT] = ACTIONS(172), + [anon_sym_EQ_EQ] = ACTIONS(172), + [anon_sym_BANG_EQ] = ACTIONS(172), + [anon_sym_AMP_AMP] = ACTIONS(172), + [anon_sym_PIPE_PIPE] = ACTIONS(172), + [anon_sym_GT] = ACTIONS(174), + [anon_sym_LT] = ACTIONS(174), + [anon_sym_GT_EQ] = ACTIONS(172), + [anon_sym_LT_EQ] = ACTIONS(172), + [anon_sym_PLUS_EQ] = ACTIONS(172), + [anon_sym_DASH_EQ] = ACTIONS(172), + [anon_sym_if] = ACTIONS(174), + [anon_sym_match] = ACTIONS(174), + [anon_sym_while] = ACTIONS(174), + [anon_sym_for] = ACTIONS(174), + [anon_sym_asyncfor] = ACTIONS(172), + [anon_sym_in] = ACTIONS(174), + [anon_sym_return] = ACTIONS(174), + [anon_sym_DASH_GT] = ACTIONS(172), + [anon_sym_assert] = ACTIONS(174), + [anon_sym_assert_equal] = ACTIONS(174), + [anon_sym_bash] = ACTIONS(174), + [anon_sym_download] = ACTIONS(174), + [anon_sym_fish] = ACTIONS(174), + [anon_sym_from_json] = ACTIONS(174), + [anon_sym_length] = ACTIONS(174), + [anon_sym_metadata] = ACTIONS(174), + [anon_sym_output] = ACTIONS(174), + [anon_sym_output_error] = ACTIONS(174), + [anon_sym_random] = ACTIONS(174), + [anon_sym_random_boolean] = ACTIONS(174), + [anon_sym_random_float] = ACTIONS(174), + [anon_sym_random_integer] = ACTIONS(174), + [anon_sym_read] = ACTIONS(174), + [anon_sym_to_json] = ACTIONS(174), + [anon_sym_write] = ACTIONS(174), }, [40] = { - [sym_math_operator] = STATE(200), - [sym_logic_operator] = STATE(172), - [ts_builtin_sym_end] = ACTIONS(168), - [sym__identifier_pattern] = ACTIONS(170), + [sym_block] = STATE(222), + [sym_statement] = STATE(220), + [sym_expression] = STATE(78), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(222), + [sym_index_assignment] = STATE(222), + [sym_if_else] = STATE(222), + [sym_if] = STATE(151), + [sym_match] = STATE(222), + [sym_while] = STATE(222), + [sym_for] = STATE(222), + [sym_return] = STATE(222), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(170), - [anon_sym_LBRACE] = ACTIONS(168), - [anon_sym_RBRACE] = ACTIONS(168), - [anon_sym_SEMI] = ACTIONS(168), - [sym_integer] = ACTIONS(170), - [sym_float] = ACTIONS(168), - [sym_string] = ACTIONS(168), - [anon_sym_true] = ACTIONS(170), - [anon_sym_false] = ACTIONS(170), - [anon_sym_LBRACK] = ACTIONS(168), - [anon_sym_EQ] = ACTIONS(170), - [anon_sym_COLON] = ACTIONS(172), - [anon_sym_LPAREN] = ACTIONS(168), - [anon_sym_PLUS] = ACTIONS(170), - [anon_sym_DASH] = ACTIONS(170), - [anon_sym_STAR] = ACTIONS(168), - [anon_sym_SLASH] = ACTIONS(168), - [anon_sym_PERCENT] = ACTIONS(168), - [anon_sym_EQ_EQ] = ACTIONS(168), - [anon_sym_BANG_EQ] = ACTIONS(168), - [anon_sym_AMP_AMP] = ACTIONS(168), - [anon_sym_PIPE_PIPE] = ACTIONS(168), - [anon_sym_GT] = ACTIONS(170), - [anon_sym_LT] = ACTIONS(170), - [anon_sym_GT_EQ] = ACTIONS(168), - [anon_sym_LT_EQ] = ACTIONS(168), - [anon_sym_PLUS_EQ] = ACTIONS(168), - [anon_sym_DASH_EQ] = ACTIONS(168), - [anon_sym_if] = ACTIONS(170), - [anon_sym_match] = ACTIONS(170), - [anon_sym_while] = ACTIONS(170), - [anon_sym_for] = ACTIONS(170), - [anon_sym_asyncfor] = ACTIONS(168), - [anon_sym_return] = ACTIONS(170), - [anon_sym_DASH_GT] = ACTIONS(168), - [anon_sym_assert] = ACTIONS(170), - [anon_sym_assert_equal] = ACTIONS(170), - [anon_sym_bash] = ACTIONS(170), - [anon_sym_download] = ACTIONS(170), - [anon_sym_fish] = ACTIONS(170), - [anon_sym_from_json] = ACTIONS(170), - [anon_sym_length] = ACTIONS(170), - [anon_sym_metadata] = ACTIONS(170), - [anon_sym_output] = ACTIONS(170), - [anon_sym_output_error] = ACTIONS(170), - [anon_sym_random] = ACTIONS(170), - [anon_sym_random_boolean] = ACTIONS(170), - [anon_sym_random_float] = ACTIONS(170), - [anon_sym_random_integer] = ACTIONS(170), - [anon_sym_read] = ACTIONS(170), - [anon_sym_to_json] = ACTIONS(170), - [anon_sym_write] = ACTIONS(170), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), }, [41] = { - [sym_math_operator] = STATE(200), - [sym_logic_operator] = STATE(172), - [ts_builtin_sym_end] = ACTIONS(156), - [sym__identifier_pattern] = ACTIONS(158), + [sym_math_operator] = STATE(170), + [sym_logic_operator] = STATE(193), + [ts_builtin_sym_end] = ACTIONS(164), + [sym__identifier_pattern] = ACTIONS(166), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(158), - [anon_sym_LBRACE] = ACTIONS(156), - [anon_sym_RBRACE] = ACTIONS(156), - [anon_sym_SEMI] = ACTIONS(156), - [sym_integer] = ACTIONS(158), - [sym_float] = ACTIONS(156), - [sym_string] = ACTIONS(156), - [anon_sym_true] = ACTIONS(158), - [anon_sym_false] = ACTIONS(158), - [anon_sym_LBRACK] = ACTIONS(156), - [anon_sym_EQ] = ACTIONS(158), - [anon_sym_COLON] = ACTIONS(156), - [anon_sym_LPAREN] = ACTIONS(156), - [anon_sym_PLUS] = ACTIONS(158), - [anon_sym_DASH] = ACTIONS(158), - [anon_sym_STAR] = ACTIONS(156), - [anon_sym_SLASH] = ACTIONS(156), - [anon_sym_PERCENT] = ACTIONS(156), - [anon_sym_EQ_EQ] = ACTIONS(156), - [anon_sym_BANG_EQ] = ACTIONS(156), - [anon_sym_AMP_AMP] = ACTIONS(156), - [anon_sym_PIPE_PIPE] = ACTIONS(156), - [anon_sym_GT] = ACTIONS(158), - [anon_sym_LT] = ACTIONS(158), - [anon_sym_GT_EQ] = ACTIONS(156), - [anon_sym_LT_EQ] = ACTIONS(156), - [anon_sym_PLUS_EQ] = ACTIONS(156), - [anon_sym_DASH_EQ] = ACTIONS(156), - [anon_sym_if] = ACTIONS(158), - [anon_sym_match] = ACTIONS(158), - [anon_sym_while] = ACTIONS(158), - [anon_sym_for] = ACTIONS(158), - [anon_sym_asyncfor] = ACTIONS(156), - [anon_sym_return] = ACTIONS(158), - [anon_sym_DASH_GT] = ACTIONS(156), - [anon_sym_assert] = ACTIONS(158), - [anon_sym_assert_equal] = ACTIONS(158), - [anon_sym_bash] = ACTIONS(158), - [anon_sym_download] = ACTIONS(158), - [anon_sym_fish] = ACTIONS(158), - [anon_sym_from_json] = ACTIONS(158), - [anon_sym_length] = ACTIONS(158), - [anon_sym_metadata] = ACTIONS(158), - [anon_sym_output] = ACTIONS(158), - [anon_sym_output_error] = ACTIONS(158), - [anon_sym_random] = ACTIONS(158), - [anon_sym_random_boolean] = ACTIONS(158), - [anon_sym_random_float] = ACTIONS(158), - [anon_sym_random_integer] = ACTIONS(158), - [anon_sym_read] = ACTIONS(158), - [anon_sym_to_json] = ACTIONS(158), - [anon_sym_write] = ACTIONS(158), + [anon_sym_async] = ACTIONS(166), + [anon_sym_LBRACE] = ACTIONS(164), + [anon_sym_RBRACE] = ACTIONS(164), + [anon_sym_SEMI] = ACTIONS(164), + [sym_integer] = ACTIONS(166), + [sym_float] = ACTIONS(164), + [sym_string] = ACTIONS(164), + [anon_sym_true] = ACTIONS(166), + [anon_sym_false] = ACTIONS(166), + [anon_sym_LBRACK] = ACTIONS(164), + [anon_sym_EQ] = ACTIONS(166), + [anon_sym_COLON] = ACTIONS(176), + [anon_sym_LPAREN] = ACTIONS(164), + [anon_sym_PLUS] = ACTIONS(108), + [anon_sym_DASH] = ACTIONS(108), + [anon_sym_STAR] = ACTIONS(106), + [anon_sym_SLASH] = ACTIONS(106), + [anon_sym_PERCENT] = ACTIONS(106), + [anon_sym_EQ_EQ] = ACTIONS(110), + [anon_sym_BANG_EQ] = ACTIONS(110), + [anon_sym_AMP_AMP] = ACTIONS(110), + [anon_sym_PIPE_PIPE] = ACTIONS(110), + [anon_sym_GT] = ACTIONS(112), + [anon_sym_LT] = ACTIONS(112), + [anon_sym_GT_EQ] = ACTIONS(110), + [anon_sym_LT_EQ] = ACTIONS(110), + [anon_sym_PLUS_EQ] = ACTIONS(164), + [anon_sym_DASH_EQ] = ACTIONS(164), + [anon_sym_if] = ACTIONS(166), + [anon_sym_match] = ACTIONS(166), + [anon_sym_while] = ACTIONS(166), + [anon_sym_for] = ACTIONS(166), + [anon_sym_asyncfor] = ACTIONS(164), + [anon_sym_return] = ACTIONS(166), + [anon_sym_DASH_GT] = ACTIONS(168), + [anon_sym_assert] = ACTIONS(166), + [anon_sym_assert_equal] = ACTIONS(166), + [anon_sym_bash] = ACTIONS(166), + [anon_sym_download] = ACTIONS(166), + [anon_sym_fish] = ACTIONS(166), + [anon_sym_from_json] = ACTIONS(166), + [anon_sym_length] = ACTIONS(166), + [anon_sym_metadata] = ACTIONS(166), + [anon_sym_output] = ACTIONS(166), + [anon_sym_output_error] = ACTIONS(166), + [anon_sym_random] = ACTIONS(166), + [anon_sym_random_boolean] = ACTIONS(166), + [anon_sym_random_float] = ACTIONS(166), + [anon_sym_random_integer] = ACTIONS(166), + [anon_sym_read] = ACTIONS(166), + [anon_sym_to_json] = ACTIONS(166), + [anon_sym_write] = ACTIONS(166), }, [42] = { - [sym_block] = STATE(235), - [sym_statement] = STATE(243), - [sym_expression] = STATE(209), - [sym_identifier] = STATE(149), - [sym_value] = STATE(132), - [sym_boolean] = STATE(126), - [sym_list] = STATE(126), - [sym_map] = STATE(126), - [sym_index] = STATE(163), - [sym_math] = STATE(132), - [sym_logic] = STATE(132), - [sym_assignment] = STATE(235), - [sym_index_assignment] = STATE(235), - [sym_if_else] = STATE(235), - [sym_if] = STATE(228), - [sym_match] = STATE(235), - [sym_while] = STATE(235), - [sym_for] = STATE(235), - [sym_return] = STATE(235), - [sym_function] = STATE(126), - [sym_function_call] = STATE(132), - [sym_yield] = STATE(132), - [sym_built_in_function] = STATE(127), - [sym__identifier_pattern] = ACTIONS(190), + [sym_block] = STATE(242), + [sym_statement] = STATE(279), + [sym_expression] = STATE(210), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), + [sym_if] = STATE(229), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(192), - [sym_integer] = ACTIONS(194), - [sym_float] = ACTIONS(196), - [sym_string] = ACTIONS(196), - [anon_sym_true] = ACTIONS(198), - [anon_sym_false] = ACTIONS(198), - [anon_sym_LBRACK] = ACTIONS(200), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(206), [anon_sym_assert_equal] = ACTIONS(206), @@ -5109,8 +5121,6 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(206), }, [43] = { - [sym_assignment_operator] = STATE(52), - [sym_type_definition] = STATE(302), [ts_builtin_sym_end] = ACTIONS(208), [sym__identifier_pattern] = ACTIONS(210), [sym__comment] = ACTIONS(3), @@ -5124,8 +5134,9 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_true] = ACTIONS(210), [anon_sym_false] = ACTIONS(210), [anon_sym_LBRACK] = ACTIONS(208), - [anon_sym_EQ] = ACTIONS(212), + [anon_sym_EQ] = ACTIONS(210), [anon_sym_COLON] = ACTIONS(208), + [anon_sym_DOT_DOT] = ACTIONS(208), [anon_sym_LPAREN] = ACTIONS(208), [anon_sym_PLUS] = ACTIONS(210), [anon_sym_DASH] = ACTIONS(210), @@ -5137,16 +5148,17 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_AMP] = ACTIONS(208), [anon_sym_PIPE_PIPE] = ACTIONS(208), [anon_sym_GT] = ACTIONS(210), - [anon_sym_LT] = ACTIONS(214), + [anon_sym_LT] = ACTIONS(210), [anon_sym_GT_EQ] = ACTIONS(208), [anon_sym_LT_EQ] = ACTIONS(208), - [anon_sym_PLUS_EQ] = ACTIONS(216), - [anon_sym_DASH_EQ] = ACTIONS(216), + [anon_sym_PLUS_EQ] = ACTIONS(208), + [anon_sym_DASH_EQ] = ACTIONS(208), [anon_sym_if] = ACTIONS(210), [anon_sym_match] = ACTIONS(210), [anon_sym_while] = ACTIONS(210), [anon_sym_for] = ACTIONS(210), [anon_sym_asyncfor] = ACTIONS(208), + [anon_sym_in] = ACTIONS(210), [anon_sym_return] = ACTIONS(210), [anon_sym_DASH_GT] = ACTIONS(208), [anon_sym_assert] = ACTIONS(210), @@ -5168,29 +5180,265 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(210), }, [44] = { - [sym_block] = STATE(223), - [sym_statement] = STATE(216), - [sym_expression] = STATE(76), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(223), - [sym_index_assignment] = STATE(223), - [sym_if_else] = STATE(223), - [sym_if] = STATE(160), - [sym_match] = STATE(223), - [sym_while] = STATE(223), - [sym_for] = STATE(223), - [sym_return] = STATE(223), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), + [sym_block] = STATE(242), + [sym_statement] = STATE(249), + [sym_expression] = STATE(109), + [sym_identifier] = STATE(105), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(106), + [sym_math] = STATE(88), + [sym_logic] = STATE(88), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), + [sym_if] = STATE(229), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(212), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(214), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), + }, + [45] = { + [sym_math_operator] = STATE(170), + [sym_logic_operator] = STATE(193), + [ts_builtin_sym_end] = ACTIONS(158), + [sym__identifier_pattern] = ACTIONS(160), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(160), + [anon_sym_LBRACE] = ACTIONS(158), + [anon_sym_RBRACE] = ACTIONS(158), + [anon_sym_SEMI] = ACTIONS(158), + [sym_integer] = ACTIONS(160), + [sym_float] = ACTIONS(158), + [sym_string] = ACTIONS(158), + [anon_sym_true] = ACTIONS(160), + [anon_sym_false] = ACTIONS(160), + [anon_sym_LBRACK] = ACTIONS(158), + [anon_sym_EQ] = ACTIONS(160), + [anon_sym_COLON] = ACTIONS(176), + [anon_sym_LPAREN] = ACTIONS(158), + [anon_sym_PLUS] = ACTIONS(160), + [anon_sym_DASH] = ACTIONS(160), + [anon_sym_STAR] = ACTIONS(158), + [anon_sym_SLASH] = ACTIONS(158), + [anon_sym_PERCENT] = ACTIONS(158), + [anon_sym_EQ_EQ] = ACTIONS(158), + [anon_sym_BANG_EQ] = ACTIONS(158), + [anon_sym_AMP_AMP] = ACTIONS(158), + [anon_sym_PIPE_PIPE] = ACTIONS(158), + [anon_sym_GT] = ACTIONS(160), + [anon_sym_LT] = ACTIONS(160), + [anon_sym_GT_EQ] = ACTIONS(158), + [anon_sym_LT_EQ] = ACTIONS(158), + [anon_sym_PLUS_EQ] = ACTIONS(158), + [anon_sym_DASH_EQ] = ACTIONS(158), + [anon_sym_if] = ACTIONS(160), + [anon_sym_match] = ACTIONS(160), + [anon_sym_while] = ACTIONS(160), + [anon_sym_for] = ACTIONS(160), + [anon_sym_asyncfor] = ACTIONS(158), + [anon_sym_return] = ACTIONS(160), + [anon_sym_DASH_GT] = ACTIONS(158), + [anon_sym_assert] = ACTIONS(160), + [anon_sym_assert_equal] = ACTIONS(160), + [anon_sym_bash] = ACTIONS(160), + [anon_sym_download] = ACTIONS(160), + [anon_sym_fish] = ACTIONS(160), + [anon_sym_from_json] = ACTIONS(160), + [anon_sym_length] = ACTIONS(160), + [anon_sym_metadata] = ACTIONS(160), + [anon_sym_output] = ACTIONS(160), + [anon_sym_output_error] = ACTIONS(160), + [anon_sym_random] = ACTIONS(160), + [anon_sym_random_boolean] = ACTIONS(160), + [anon_sym_random_float] = ACTIONS(160), + [anon_sym_random_integer] = ACTIONS(160), + [anon_sym_read] = ACTIONS(160), + [anon_sym_to_json] = ACTIONS(160), + [anon_sym_write] = ACTIONS(160), + }, + [46] = { + [sym_block] = STATE(238), + [sym_statement] = STATE(240), + [sym_expression] = STATE(108), + [sym_identifier] = STATE(105), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(106), + [sym_math] = STATE(88), + [sym_logic] = STATE(88), + [sym_assignment] = STATE(238), + [sym_index_assignment] = STATE(238), + [sym_if_else] = STATE(238), + [sym_if] = STATE(229), + [sym_match] = STATE(238), + [sym_while] = STATE(238), + [sym_for] = STATE(238), + [sym_return] = STATE(238), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(212), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(214), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), + }, + [47] = { + [sym_block] = STATE(238), + [sym_statement] = STATE(244), + [sym_expression] = STATE(108), + [sym_identifier] = STATE(105), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(106), + [sym_math] = STATE(88), + [sym_logic] = STATE(88), + [sym_assignment] = STATE(238), + [sym_index_assignment] = STATE(238), + [sym_if_else] = STATE(238), + [sym_if] = STATE(229), + [sym_match] = STATE(238), + [sym_while] = STATE(238), + [sym_for] = STATE(238), + [sym_return] = STATE(238), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(212), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(214), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), + }, + [48] = { + [sym_block] = STATE(222), + [sym_statement] = STATE(223), + [sym_expression] = STATE(78), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(222), + [sym_index_assignment] = STATE(222), + [sym_if_else] = STATE(222), + [sym_if] = STATE(151), + [sym_match] = STATE(222), + [sym_while] = STATE(222), + [sym_for] = STATE(222), + [sym_return] = STATE(222), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -5226,400 +5474,164 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(33), [anon_sym_write] = ACTIONS(33), }, - [45] = { - [sym_block] = STATE(235), - [sym_statement] = STATE(240), - [sym_expression] = STATE(209), - [sym_identifier] = STATE(149), - [sym_value] = STATE(132), - [sym_boolean] = STATE(126), - [sym_list] = STATE(126), - [sym_map] = STATE(126), - [sym_index] = STATE(163), - [sym_math] = STATE(132), - [sym_logic] = STATE(132), - [sym_assignment] = STATE(235), - [sym_index_assignment] = STATE(235), - [sym_if_else] = STATE(235), - [sym_if] = STATE(228), - [sym_match] = STATE(235), - [sym_while] = STATE(235), - [sym_for] = STATE(235), - [sym_return] = STATE(235), - [sym_function] = STATE(126), - [sym_function_call] = STATE(132), - [sym_yield] = STATE(132), - [sym_built_in_function] = STATE(127), - [sym__identifier_pattern] = ACTIONS(190), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(192), - [sym_integer] = ACTIONS(194), - [sym_float] = ACTIONS(196), - [sym_string] = ACTIONS(196), - [anon_sym_true] = ACTIONS(198), - [anon_sym_false] = ACTIONS(198), - [anon_sym_LBRACK] = ACTIONS(200), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), - [anon_sym_return] = ACTIONS(204), - [anon_sym_assert] = ACTIONS(206), - [anon_sym_assert_equal] = ACTIONS(206), - [anon_sym_bash] = ACTIONS(206), - [anon_sym_download] = ACTIONS(206), - [anon_sym_fish] = ACTIONS(206), - [anon_sym_from_json] = ACTIONS(206), - [anon_sym_length] = ACTIONS(206), - [anon_sym_metadata] = ACTIONS(206), - [anon_sym_output] = ACTIONS(206), - [anon_sym_output_error] = ACTIONS(206), - [anon_sym_random] = ACTIONS(206), - [anon_sym_random_boolean] = ACTIONS(206), - [anon_sym_random_float] = ACTIONS(206), - [anon_sym_random_integer] = ACTIONS(206), - [anon_sym_read] = ACTIONS(206), - [anon_sym_to_json] = ACTIONS(206), - [anon_sym_write] = ACTIONS(206), - }, - [46] = { - [sym_block] = STATE(235), - [sym_statement] = STATE(239), - [sym_expression] = STATE(209), - [sym_identifier] = STATE(149), - [sym_value] = STATE(132), - [sym_boolean] = STATE(126), - [sym_list] = STATE(126), - [sym_map] = STATE(126), - [sym_index] = STATE(163), - [sym_math] = STATE(132), - [sym_logic] = STATE(132), - [sym_assignment] = STATE(235), - [sym_index_assignment] = STATE(235), - [sym_if_else] = STATE(235), - [sym_if] = STATE(228), - [sym_match] = STATE(235), - [sym_while] = STATE(235), - [sym_for] = STATE(235), - [sym_return] = STATE(235), - [sym_function] = STATE(126), - [sym_function_call] = STATE(132), - [sym_yield] = STATE(132), - [sym_built_in_function] = STATE(127), - [sym__identifier_pattern] = ACTIONS(190), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(192), - [sym_integer] = ACTIONS(194), - [sym_float] = ACTIONS(196), - [sym_string] = ACTIONS(196), - [anon_sym_true] = ACTIONS(198), - [anon_sym_false] = ACTIONS(198), - [anon_sym_LBRACK] = ACTIONS(200), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), - [anon_sym_return] = ACTIONS(204), - [anon_sym_assert] = ACTIONS(206), - [anon_sym_assert_equal] = ACTIONS(206), - [anon_sym_bash] = ACTIONS(206), - [anon_sym_download] = ACTIONS(206), - [anon_sym_fish] = ACTIONS(206), - [anon_sym_from_json] = ACTIONS(206), - [anon_sym_length] = ACTIONS(206), - [anon_sym_metadata] = ACTIONS(206), - [anon_sym_output] = ACTIONS(206), - [anon_sym_output_error] = ACTIONS(206), - [anon_sym_random] = ACTIONS(206), - [anon_sym_random_boolean] = ACTIONS(206), - [anon_sym_random_float] = ACTIONS(206), - [anon_sym_random_integer] = ACTIONS(206), - [anon_sym_read] = ACTIONS(206), - [anon_sym_to_json] = ACTIONS(206), - [anon_sym_write] = ACTIONS(206), - }, - [47] = { - [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), - [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_COLON] = ACTIONS(218), - [anon_sym_DOT_DOT] = ACTIONS(218), - [anon_sym_LPAREN] = 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_in] = ACTIONS(220), - [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_fish] = ACTIONS(220), - [anon_sym_from_json] = 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), - }, - [48] = { - [ts_builtin_sym_end] = ACTIONS(222), - [sym__identifier_pattern] = ACTIONS(224), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(224), - [anon_sym_LBRACE] = ACTIONS(222), - [anon_sym_RBRACE] = ACTIONS(222), - [anon_sym_SEMI] = ACTIONS(222), - [sym_integer] = ACTIONS(224), - [sym_float] = ACTIONS(222), - [sym_string] = ACTIONS(222), - [anon_sym_true] = ACTIONS(224), - [anon_sym_false] = ACTIONS(224), - [anon_sym_LBRACK] = ACTIONS(222), - [anon_sym_EQ] = ACTIONS(224), - [anon_sym_COLON] = ACTIONS(222), - [anon_sym_DOT_DOT] = ACTIONS(222), - [anon_sym_LPAREN] = ACTIONS(222), - [anon_sym_PLUS] = ACTIONS(224), - [anon_sym_DASH] = ACTIONS(224), - [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(224), - [anon_sym_LT] = ACTIONS(224), - [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(224), - [anon_sym_match] = ACTIONS(224), - [anon_sym_while] = ACTIONS(224), - [anon_sym_for] = ACTIONS(224), - [anon_sym_asyncfor] = ACTIONS(222), - [anon_sym_in] = ACTIONS(224), - [anon_sym_return] = ACTIONS(224), - [anon_sym_DASH_GT] = ACTIONS(222), - [anon_sym_assert] = ACTIONS(224), - [anon_sym_assert_equal] = ACTIONS(224), - [anon_sym_bash] = ACTIONS(224), - [anon_sym_download] = ACTIONS(224), - [anon_sym_fish] = ACTIONS(224), - [anon_sym_from_json] = ACTIONS(224), - [anon_sym_length] = ACTIONS(224), - [anon_sym_metadata] = ACTIONS(224), - [anon_sym_output] = ACTIONS(224), - [anon_sym_output_error] = ACTIONS(224), - [anon_sym_random] = ACTIONS(224), - [anon_sym_random_boolean] = ACTIONS(224), - [anon_sym_random_float] = ACTIONS(224), - [anon_sym_random_integer] = ACTIONS(224), - [anon_sym_read] = ACTIONS(224), - [anon_sym_to_json] = ACTIONS(224), - [anon_sym_write] = ACTIONS(224), - }, [49] = { - [sym_block] = STATE(246), - [sym_statement] = STATE(247), - [sym_expression] = STATE(106), - [sym_identifier] = STATE(103), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(104), - [sym_math] = STATE(97), - [sym_logic] = STATE(97), - [sym_assignment] = STATE(246), - [sym_index_assignment] = STATE(246), - [sym_if_else] = STATE(246), - [sym_if] = STATE(228), - [sym_match] = STATE(246), - [sym_while] = STATE(246), - [sym_for] = STATE(246), - [sym_return] = STATE(246), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(242), + [sym_statement] = STATE(274), + [sym_expression] = STATE(210), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), + [sym_if] = STATE(229), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(176), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), - [anon_sym_return] = ACTIONS(188), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(204), + [anon_sym_assert] = ACTIONS(206), + [anon_sym_assert_equal] = ACTIONS(206), + [anon_sym_bash] = ACTIONS(206), + [anon_sym_download] = ACTIONS(206), + [anon_sym_fish] = ACTIONS(206), + [anon_sym_from_json] = ACTIONS(206), + [anon_sym_length] = ACTIONS(206), + [anon_sym_metadata] = ACTIONS(206), + [anon_sym_output] = ACTIONS(206), + [anon_sym_output_error] = ACTIONS(206), + [anon_sym_random] = ACTIONS(206), + [anon_sym_random_boolean] = ACTIONS(206), + [anon_sym_random_float] = ACTIONS(206), + [anon_sym_random_integer] = ACTIONS(206), + [anon_sym_read] = ACTIONS(206), + [anon_sym_to_json] = ACTIONS(206), + [anon_sym_write] = ACTIONS(206), }, [50] = { - [sym_block] = STATE(235), - [sym_statement] = STATE(239), - [sym_expression] = STATE(107), - [sym_identifier] = STATE(103), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(104), - [sym_math] = STATE(97), - [sym_logic] = STATE(97), - [sym_assignment] = STATE(235), - [sym_index_assignment] = STATE(235), - [sym_if_else] = STATE(235), - [sym_if] = STATE(228), - [sym_match] = STATE(235), - [sym_while] = STATE(235), - [sym_for] = STATE(235), - [sym_return] = STATE(235), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(222), + [sym_statement] = STATE(224), + [sym_expression] = STATE(78), + [sym_identifier] = STATE(56), + [sym_value] = STATE(62), + [sym_boolean] = STATE(67), + [sym_list] = STATE(67), + [sym_map] = STATE(67), + [sym_index] = STATE(63), + [sym_math] = STATE(62), + [sym_logic] = STATE(62), + [sym_assignment] = STATE(222), + [sym_index_assignment] = STATE(222), + [sym_if_else] = STATE(222), + [sym_if] = STATE(151), + [sym_match] = STATE(222), + [sym_while] = STATE(222), + [sym_for] = STATE(222), + [sym_return] = STATE(222), + [sym_function] = STATE(67), + [sym_function_call] = STATE(62), + [sym_yield] = STATE(62), + [sym_built_in_function] = STATE(43), + [sym__identifier_pattern] = ACTIONS(5), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(176), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), - [anon_sym_return] = ACTIONS(188), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [sym_integer] = ACTIONS(11), + [sym_float] = ACTIONS(13), + [sym_string] = ACTIONS(13), + [anon_sym_true] = ACTIONS(15), + [anon_sym_false] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(19), + [anon_sym_if] = ACTIONS(21), + [anon_sym_match] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_for] = ACTIONS(27), + [anon_sym_asyncfor] = ACTIONS(29), + [anon_sym_return] = ACTIONS(31), + [anon_sym_assert] = ACTIONS(33), + [anon_sym_assert_equal] = ACTIONS(33), + [anon_sym_bash] = ACTIONS(33), + [anon_sym_download] = ACTIONS(33), + [anon_sym_fish] = ACTIONS(33), + [anon_sym_from_json] = ACTIONS(33), + [anon_sym_length] = ACTIONS(33), + [anon_sym_metadata] = ACTIONS(33), + [anon_sym_output] = ACTIONS(33), + [anon_sym_output_error] = ACTIONS(33), + [anon_sym_random] = ACTIONS(33), + [anon_sym_random_boolean] = ACTIONS(33), + [anon_sym_random_float] = ACTIONS(33), + [anon_sym_random_integer] = ACTIONS(33), + [anon_sym_read] = ACTIONS(33), + [anon_sym_to_json] = ACTIONS(33), + [anon_sym_write] = ACTIONS(33), }, [51] = { - [sym_block] = STATE(246), - [sym_statement] = STATE(276), - [sym_expression] = STATE(211), - [sym_identifier] = STATE(149), - [sym_value] = STATE(132), - [sym_boolean] = STATE(126), - [sym_list] = STATE(126), - [sym_map] = STATE(126), - [sym_index] = STATE(163), - [sym_math] = STATE(132), - [sym_logic] = STATE(132), - [sym_assignment] = STATE(246), - [sym_index_assignment] = STATE(246), - [sym_if_else] = STATE(246), - [sym_if] = STATE(228), - [sym_match] = STATE(246), - [sym_while] = STATE(246), - [sym_for] = STATE(246), - [sym_return] = STATE(246), - [sym_function] = STATE(126), - [sym_function_call] = STATE(132), - [sym_yield] = STATE(132), - [sym_built_in_function] = STATE(127), - [sym__identifier_pattern] = ACTIONS(190), + [sym_block] = STATE(238), + [sym_statement] = STATE(241), + [sym_expression] = STATE(212), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(238), + [sym_index_assignment] = STATE(238), + [sym_if_else] = STATE(238), + [sym_if] = STATE(229), + [sym_match] = STATE(238), + [sym_while] = STATE(238), + [sym_for] = STATE(238), + [sym_return] = STATE(238), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(192), - [sym_integer] = ACTIONS(194), - [sym_float] = ACTIONS(196), - [sym_string] = ACTIONS(196), - [anon_sym_true] = ACTIONS(198), - [anon_sym_false] = ACTIONS(198), - [anon_sym_LBRACK] = ACTIONS(200), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(206), [anon_sym_assert_equal] = ACTIONS(206), @@ -5640,104 +5652,104 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(206), }, [52] = { - [sym_block] = STATE(223), - [sym_statement] = STATE(220), - [sym_expression] = STATE(76), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(223), - [sym_index_assignment] = STATE(223), - [sym_if_else] = STATE(223), - [sym_if] = STATE(160), - [sym_match] = STATE(223), - [sym_while] = STATE(223), - [sym_for] = STATE(223), - [sym_return] = STATE(223), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [sym__identifier_pattern] = ACTIONS(5), + [sym_block] = STATE(238), + [sym_statement] = STATE(244), + [sym_expression] = STATE(212), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(238), + [sym_index_assignment] = STATE(238), + [sym_if_else] = STATE(238), + [sym_if] = STATE(229), + [sym_match] = STATE(238), + [sym_while] = STATE(238), + [sym_for] = STATE(238), + [sym_return] = STATE(238), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(204), + [anon_sym_assert] = ACTIONS(206), + [anon_sym_assert_equal] = ACTIONS(206), + [anon_sym_bash] = ACTIONS(206), + [anon_sym_download] = ACTIONS(206), + [anon_sym_fish] = ACTIONS(206), + [anon_sym_from_json] = ACTIONS(206), + [anon_sym_length] = ACTIONS(206), + [anon_sym_metadata] = ACTIONS(206), + [anon_sym_output] = ACTIONS(206), + [anon_sym_output_error] = ACTIONS(206), + [anon_sym_random] = ACTIONS(206), + [anon_sym_random_boolean] = ACTIONS(206), + [anon_sym_random_float] = ACTIONS(206), + [anon_sym_random_integer] = ACTIONS(206), + [anon_sym_read] = ACTIONS(206), + [anon_sym_to_json] = ACTIONS(206), + [anon_sym_write] = ACTIONS(206), }, [53] = { - [sym_block] = STATE(246), - [sym_statement] = STATE(276), - [sym_expression] = STATE(211), - [sym_identifier] = STATE(149), - [sym_value] = STATE(132), - [sym_boolean] = STATE(126), - [sym_list] = STATE(126), - [sym_map] = STATE(126), - [sym_index] = STATE(163), - [sym_math] = STATE(132), - [sym_logic] = STATE(132), - [sym_assignment] = STATE(246), - [sym_index_assignment] = STATE(246), - [sym_if_else] = STATE(246), - [sym_if] = STATE(228), - [sym_match] = STATE(246), - [sym_while] = STATE(246), - [sym_for] = STATE(246), - [sym_return] = STATE(246), - [sym_function] = STATE(126), - [sym_function_call] = STATE(132), - [sym_yield] = STATE(132), - [sym_built_in_function] = STATE(127), - [sym__identifier_pattern] = ACTIONS(190), + [sym_block] = STATE(242), + [sym_statement] = STATE(279), + [sym_expression] = STATE(210), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), + [sym_if] = STATE(229), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(192), - [sym_integer] = ACTIONS(194), - [sym_float] = ACTIONS(196), - [sym_string] = ACTIONS(196), - [anon_sym_true] = ACTIONS(198), - [anon_sym_false] = ACTIONS(198), - [anon_sym_LBRACK] = ACTIONS(200), - [anon_sym_LPAREN] = ACTIONS(202), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), [anon_sym_return] = ACTIONS(204), [anon_sym_assert] = ACTIONS(206), [anon_sym_assert_equal] = ACTIONS(206), @@ -5758,124 +5770,242 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_write] = ACTIONS(206), }, [54] = { - [sym_block] = STATE(223), - [sym_statement] = STATE(222), - [sym_expression] = STATE(76), - [sym_identifier] = STATE(43), - [sym_value] = STATE(70), - [sym_boolean] = STATE(57), - [sym_list] = STATE(57), - [sym_map] = STATE(57), - [sym_index] = STATE(64), - [sym_math] = STATE(70), - [sym_logic] = STATE(70), - [sym_assignment] = STATE(223), - [sym_index_assignment] = STATE(223), - [sym_if_else] = STATE(223), - [sym_if] = STATE(160), - [sym_match] = STATE(223), - [sym_while] = STATE(223), - [sym_for] = STATE(223), - [sym_return] = STATE(223), - [sym_function] = STATE(57), - [sym_function_call] = STATE(70), - [sym_yield] = STATE(70), - [sym_built_in_function] = STATE(48), - [sym__identifier_pattern] = ACTIONS(5), + [sym_block] = STATE(238), + [sym_statement] = STATE(241), + [sym_expression] = STATE(108), + [sym_identifier] = STATE(105), + [sym_value] = STATE(88), + [sym_boolean] = STATE(101), + [sym_list] = STATE(101), + [sym_map] = STATE(101), + [sym_index] = STATE(106), + [sym_math] = STATE(88), + [sym_logic] = STATE(88), + [sym_assignment] = STATE(238), + [sym_index_assignment] = STATE(238), + [sym_if_else] = STATE(238), + [sym_if] = STATE(229), + [sym_match] = STATE(238), + [sym_while] = STATE(238), + [sym_for] = STATE(238), + [sym_return] = STATE(238), + [sym_function] = STATE(101), + [sym_function_call] = STATE(88), + [sym_yield] = STATE(88), + [sym_built_in_function] = STATE(89), + [sym__identifier_pattern] = ACTIONS(88), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [sym_integer] = ACTIONS(11), - [sym_float] = ACTIONS(13), - [sym_string] = ACTIONS(13), - [anon_sym_true] = ACTIONS(15), - [anon_sym_false] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(17), - [anon_sym_LPAREN] = ACTIONS(19), - [anon_sym_if] = ACTIONS(21), - [anon_sym_match] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_for] = ACTIONS(27), - [anon_sym_asyncfor] = ACTIONS(29), - [anon_sym_return] = ACTIONS(31), - [anon_sym_assert] = ACTIONS(33), - [anon_sym_assert_equal] = ACTIONS(33), - [anon_sym_bash] = ACTIONS(33), - [anon_sym_download] = ACTIONS(33), - [anon_sym_fish] = ACTIONS(33), - [anon_sym_from_json] = ACTIONS(33), - [anon_sym_length] = ACTIONS(33), - [anon_sym_metadata] = ACTIONS(33), - [anon_sym_output] = ACTIONS(33), - [anon_sym_output_error] = ACTIONS(33), - [anon_sym_random] = ACTIONS(33), - [anon_sym_random_boolean] = ACTIONS(33), - [anon_sym_random_float] = ACTIONS(33), - [anon_sym_random_integer] = ACTIONS(33), - [anon_sym_read] = ACTIONS(33), - [anon_sym_to_json] = ACTIONS(33), - [anon_sym_write] = ACTIONS(33), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(212), + [sym_integer] = ACTIONS(92), + [sym_float] = ACTIONS(94), + [sym_string] = ACTIONS(94), + [anon_sym_true] = ACTIONS(96), + [anon_sym_false] = ACTIONS(96), + [anon_sym_LBRACK] = ACTIONS(98), + [anon_sym_LPAREN] = ACTIONS(102), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(214), + [anon_sym_assert] = ACTIONS(116), + [anon_sym_assert_equal] = ACTIONS(116), + [anon_sym_bash] = ACTIONS(116), + [anon_sym_download] = ACTIONS(116), + [anon_sym_fish] = ACTIONS(116), + [anon_sym_from_json] = ACTIONS(116), + [anon_sym_length] = ACTIONS(116), + [anon_sym_metadata] = ACTIONS(116), + [anon_sym_output] = ACTIONS(116), + [anon_sym_output_error] = ACTIONS(116), + [anon_sym_random] = ACTIONS(116), + [anon_sym_random_boolean] = ACTIONS(116), + [anon_sym_random_float] = ACTIONS(116), + [anon_sym_random_integer] = ACTIONS(116), + [anon_sym_read] = ACTIONS(116), + [anon_sym_to_json] = ACTIONS(116), + [anon_sym_write] = ACTIONS(116), }, [55] = { - [sym_block] = STATE(235), - [sym_statement] = STATE(243), - [sym_expression] = STATE(107), - [sym_identifier] = STATE(103), - [sym_value] = STATE(97), - [sym_boolean] = STATE(99), - [sym_list] = STATE(99), - [sym_map] = STATE(99), - [sym_index] = STATE(104), - [sym_math] = STATE(97), - [sym_logic] = STATE(97), - [sym_assignment] = STATE(235), - [sym_index_assignment] = STATE(235), - [sym_if_else] = STATE(235), - [sym_if] = STATE(228), - [sym_match] = STATE(235), - [sym_while] = STATE(235), - [sym_for] = STATE(235), - [sym_return] = STATE(235), - [sym_function] = STATE(99), - [sym_function_call] = STATE(97), - [sym_yield] = STATE(97), - [sym_built_in_function] = STATE(93), - [sym__identifier_pattern] = ACTIONS(92), + [sym_block] = STATE(238), + [sym_statement] = STATE(240), + [sym_expression] = STATE(212), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(238), + [sym_index_assignment] = STATE(238), + [sym_if_else] = STATE(238), + [sym_if] = STATE(229), + [sym_match] = STATE(238), + [sym_while] = STATE(238), + [sym_for] = STATE(238), + [sym_return] = STATE(238), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(174), - [anon_sym_LBRACE] = ACTIONS(176), - [sym_integer] = ACTIONS(96), - [sym_float] = ACTIONS(98), - [sym_string] = ACTIONS(98), - [anon_sym_true] = ACTIONS(100), - [anon_sym_false] = ACTIONS(100), - [anon_sym_LBRACK] = ACTIONS(102), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_if] = ACTIONS(178), - [anon_sym_match] = ACTIONS(180), - [anon_sym_while] = ACTIONS(182), - [anon_sym_for] = ACTIONS(184), - [anon_sym_asyncfor] = ACTIONS(186), - [anon_sym_return] = ACTIONS(188), - [anon_sym_assert] = ACTIONS(120), - [anon_sym_assert_equal] = ACTIONS(120), - [anon_sym_bash] = ACTIONS(120), - [anon_sym_download] = ACTIONS(120), - [anon_sym_fish] = ACTIONS(120), - [anon_sym_from_json] = ACTIONS(120), - [anon_sym_length] = ACTIONS(120), - [anon_sym_metadata] = ACTIONS(120), - [anon_sym_output] = ACTIONS(120), - [anon_sym_output_error] = ACTIONS(120), - [anon_sym_random] = ACTIONS(120), - [anon_sym_random_boolean] = ACTIONS(120), - [anon_sym_random_float] = ACTIONS(120), - [anon_sym_random_integer] = ACTIONS(120), - [anon_sym_read] = ACTIONS(120), - [anon_sym_to_json] = ACTIONS(120), - [anon_sym_write] = ACTIONS(120), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(204), + [anon_sym_assert] = ACTIONS(206), + [anon_sym_assert_equal] = ACTIONS(206), + [anon_sym_bash] = ACTIONS(206), + [anon_sym_download] = ACTIONS(206), + [anon_sym_fish] = ACTIONS(206), + [anon_sym_from_json] = ACTIONS(206), + [anon_sym_length] = ACTIONS(206), + [anon_sym_metadata] = ACTIONS(206), + [anon_sym_output] = ACTIONS(206), + [anon_sym_output_error] = ACTIONS(206), + [anon_sym_random] = ACTIONS(206), + [anon_sym_random_boolean] = ACTIONS(206), + [anon_sym_random_float] = ACTIONS(206), + [anon_sym_random_integer] = ACTIONS(206), + [anon_sym_read] = ACTIONS(206), + [anon_sym_to_json] = ACTIONS(206), + [anon_sym_write] = ACTIONS(206), }, [56] = { + [sym_assignment_operator] = STATE(48), + [sym_type_definition] = STATE(304), + [ts_builtin_sym_end] = ACTIONS(216), + [sym__identifier_pattern] = ACTIONS(218), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(218), + [anon_sym_LBRACE] = ACTIONS(216), + [anon_sym_RBRACE] = ACTIONS(216), + [anon_sym_SEMI] = ACTIONS(216), + [sym_integer] = ACTIONS(218), + [sym_float] = ACTIONS(216), + [sym_string] = ACTIONS(216), + [anon_sym_true] = ACTIONS(218), + [anon_sym_false] = ACTIONS(218), + [anon_sym_LBRACK] = ACTIONS(216), + [anon_sym_EQ] = ACTIONS(220), + [anon_sym_COLON] = ACTIONS(216), + [anon_sym_LPAREN] = ACTIONS(216), + [anon_sym_PLUS] = ACTIONS(218), + [anon_sym_DASH] = ACTIONS(218), + [anon_sym_STAR] = ACTIONS(216), + [anon_sym_SLASH] = ACTIONS(216), + [anon_sym_PERCENT] = ACTIONS(216), + [anon_sym_EQ_EQ] = ACTIONS(216), + [anon_sym_BANG_EQ] = ACTIONS(216), + [anon_sym_AMP_AMP] = ACTIONS(216), + [anon_sym_PIPE_PIPE] = ACTIONS(216), + [anon_sym_GT] = ACTIONS(218), + [anon_sym_LT] = ACTIONS(222), + [anon_sym_GT_EQ] = ACTIONS(216), + [anon_sym_LT_EQ] = ACTIONS(216), + [anon_sym_PLUS_EQ] = ACTIONS(224), + [anon_sym_DASH_EQ] = ACTIONS(224), + [anon_sym_if] = ACTIONS(218), + [anon_sym_match] = ACTIONS(218), + [anon_sym_while] = ACTIONS(218), + [anon_sym_for] = ACTIONS(218), + [anon_sym_asyncfor] = ACTIONS(216), + [anon_sym_return] = ACTIONS(218), + [anon_sym_DASH_GT] = ACTIONS(216), + [anon_sym_assert] = ACTIONS(218), + [anon_sym_assert_equal] = ACTIONS(218), + [anon_sym_bash] = ACTIONS(218), + [anon_sym_download] = ACTIONS(218), + [anon_sym_fish] = ACTIONS(218), + [anon_sym_from_json] = ACTIONS(218), + [anon_sym_length] = ACTIONS(218), + [anon_sym_metadata] = ACTIONS(218), + [anon_sym_output] = ACTIONS(218), + [anon_sym_output_error] = ACTIONS(218), + [anon_sym_random] = ACTIONS(218), + [anon_sym_random_boolean] = ACTIONS(218), + [anon_sym_random_float] = ACTIONS(218), + [anon_sym_random_integer] = ACTIONS(218), + [anon_sym_read] = ACTIONS(218), + [anon_sym_to_json] = ACTIONS(218), + [anon_sym_write] = ACTIONS(218), + }, + [57] = { + [sym_block] = STATE(242), + [sym_statement] = STATE(274), + [sym_expression] = STATE(210), + [sym_identifier] = STATE(155), + [sym_value] = STATE(140), + [sym_boolean] = STATE(134), + [sym_list] = STATE(134), + [sym_map] = STATE(134), + [sym_index] = STATE(165), + [sym_math] = STATE(140), + [sym_logic] = STATE(140), + [sym_assignment] = STATE(242), + [sym_index_assignment] = STATE(242), + [sym_if_else] = STATE(242), + [sym_if] = STATE(229), + [sym_match] = STATE(242), + [sym_while] = STATE(242), + [sym_for] = STATE(242), + [sym_return] = STATE(242), + [sym_function] = STATE(134), + [sym_function_call] = STATE(140), + [sym_yield] = STATE(140), + [sym_built_in_function] = STATE(130), + [sym__identifier_pattern] = ACTIONS(178), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(180), + [anon_sym_LBRACE] = ACTIONS(182), + [sym_integer] = ACTIONS(184), + [sym_float] = ACTIONS(186), + [sym_string] = ACTIONS(186), + [anon_sym_true] = ACTIONS(188), + [anon_sym_false] = ACTIONS(188), + [anon_sym_LBRACK] = ACTIONS(190), + [anon_sym_LPAREN] = ACTIONS(192), + [anon_sym_if] = ACTIONS(194), + [anon_sym_match] = ACTIONS(196), + [anon_sym_while] = ACTIONS(198), + [anon_sym_for] = ACTIONS(200), + [anon_sym_asyncfor] = ACTIONS(202), + [anon_sym_return] = ACTIONS(204), + [anon_sym_assert] = ACTIONS(206), + [anon_sym_assert_equal] = ACTIONS(206), + [anon_sym_bash] = ACTIONS(206), + [anon_sym_download] = ACTIONS(206), + [anon_sym_fish] = ACTIONS(206), + [anon_sym_from_json] = ACTIONS(206), + [anon_sym_length] = ACTIONS(206), + [anon_sym_metadata] = ACTIONS(206), + [anon_sym_output] = ACTIONS(206), + [anon_sym_output_error] = ACTIONS(206), + [anon_sym_random] = ACTIONS(206), + [anon_sym_random_boolean] = ACTIONS(206), + [anon_sym_random_float] = ACTIONS(206), + [anon_sym_random_integer] = ACTIONS(206), + [anon_sym_read] = ACTIONS(206), + [anon_sym_to_json] = ACTIONS(206), + [anon_sym_write] = ACTIONS(206), + }, + [58] = { [ts_builtin_sym_end] = ACTIONS(226), [sym__identifier_pattern] = ACTIONS(228), [sym__comment] = ACTIONS(3), @@ -5933,7 +6063,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(228), [anon_sym_write] = ACTIONS(228), }, - [57] = { + [59] = { [ts_builtin_sym_end] = ACTIONS(230), [sym__identifier_pattern] = ACTIONS(232), [sym__comment] = ACTIONS(3), @@ -5991,7 +6121,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(232), [anon_sym_write] = ACTIONS(232), }, - [58] = { + [60] = { [ts_builtin_sym_end] = ACTIONS(234), [sym__identifier_pattern] = ACTIONS(236), [sym__comment] = ACTIONS(3), @@ -6049,7 +6179,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(236), [anon_sym_write] = ACTIONS(236), }, - [59] = { + [61] = { [ts_builtin_sym_end] = ACTIONS(238), [sym__identifier_pattern] = ACTIONS(240), [sym__comment] = ACTIONS(3), @@ -6107,7 +6237,123 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(240), [anon_sym_write] = ACTIONS(240), }, - [60] = { + [62] = { + [ts_builtin_sym_end] = ACTIONS(216), + [sym__identifier_pattern] = ACTIONS(218), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(218), + [anon_sym_LBRACE] = ACTIONS(216), + [anon_sym_RBRACE] = ACTIONS(216), + [anon_sym_SEMI] = ACTIONS(216), + [sym_integer] = ACTIONS(218), + [sym_float] = ACTIONS(216), + [sym_string] = ACTIONS(216), + [anon_sym_true] = ACTIONS(218), + [anon_sym_false] = ACTIONS(218), + [anon_sym_LBRACK] = ACTIONS(216), + [anon_sym_EQ] = ACTIONS(218), + [anon_sym_COLON] = ACTIONS(216), + [anon_sym_DOT_DOT] = ACTIONS(216), + [anon_sym_LPAREN] = ACTIONS(216), + [anon_sym_PLUS] = ACTIONS(218), + [anon_sym_DASH] = ACTIONS(218), + [anon_sym_STAR] = ACTIONS(216), + [anon_sym_SLASH] = ACTIONS(216), + [anon_sym_PERCENT] = ACTIONS(216), + [anon_sym_EQ_EQ] = ACTIONS(216), + [anon_sym_BANG_EQ] = ACTIONS(216), + [anon_sym_AMP_AMP] = ACTIONS(216), + [anon_sym_PIPE_PIPE] = ACTIONS(216), + [anon_sym_GT] = ACTIONS(218), + [anon_sym_LT] = ACTIONS(218), + [anon_sym_GT_EQ] = ACTIONS(216), + [anon_sym_LT_EQ] = ACTIONS(216), + [anon_sym_PLUS_EQ] = ACTIONS(216), + [anon_sym_DASH_EQ] = ACTIONS(216), + [anon_sym_if] = ACTIONS(218), + [anon_sym_match] = ACTIONS(218), + [anon_sym_while] = ACTIONS(218), + [anon_sym_for] = ACTIONS(218), + [anon_sym_asyncfor] = ACTIONS(216), + [anon_sym_return] = ACTIONS(218), + [anon_sym_DASH_GT] = ACTIONS(216), + [anon_sym_assert] = ACTIONS(218), + [anon_sym_assert_equal] = ACTIONS(218), + [anon_sym_bash] = ACTIONS(218), + [anon_sym_download] = ACTIONS(218), + [anon_sym_fish] = ACTIONS(218), + [anon_sym_from_json] = ACTIONS(218), + [anon_sym_length] = ACTIONS(218), + [anon_sym_metadata] = ACTIONS(218), + [anon_sym_output] = ACTIONS(218), + [anon_sym_output_error] = ACTIONS(218), + [anon_sym_random] = ACTIONS(218), + [anon_sym_random_boolean] = ACTIONS(218), + [anon_sym_random_float] = ACTIONS(218), + [anon_sym_random_integer] = ACTIONS(218), + [anon_sym_read] = ACTIONS(218), + [anon_sym_to_json] = ACTIONS(218), + [anon_sym_write] = ACTIONS(218), + }, + [63] = { + [sym_assignment_operator] = STATE(50), + [ts_builtin_sym_end] = ACTIONS(216), + [sym__identifier_pattern] = ACTIONS(218), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(218), + [anon_sym_LBRACE] = ACTIONS(216), + [anon_sym_RBRACE] = ACTIONS(216), + [anon_sym_SEMI] = ACTIONS(216), + [sym_integer] = ACTIONS(218), + [sym_float] = ACTIONS(216), + [sym_string] = ACTIONS(216), + [anon_sym_true] = ACTIONS(218), + [anon_sym_false] = ACTIONS(218), + [anon_sym_LBRACK] = ACTIONS(216), + [anon_sym_EQ] = ACTIONS(220), + [anon_sym_COLON] = ACTIONS(216), + [anon_sym_LPAREN] = ACTIONS(216), + [anon_sym_PLUS] = ACTIONS(218), + [anon_sym_DASH] = ACTIONS(218), + [anon_sym_STAR] = ACTIONS(216), + [anon_sym_SLASH] = ACTIONS(216), + [anon_sym_PERCENT] = ACTIONS(216), + [anon_sym_EQ_EQ] = ACTIONS(216), + [anon_sym_BANG_EQ] = ACTIONS(216), + [anon_sym_AMP_AMP] = ACTIONS(216), + [anon_sym_PIPE_PIPE] = ACTIONS(216), + [anon_sym_GT] = ACTIONS(218), + [anon_sym_LT] = ACTIONS(218), + [anon_sym_GT_EQ] = ACTIONS(216), + [anon_sym_LT_EQ] = ACTIONS(216), + [anon_sym_PLUS_EQ] = ACTIONS(224), + [anon_sym_DASH_EQ] = ACTIONS(224), + [anon_sym_if] = ACTIONS(218), + [anon_sym_match] = ACTIONS(218), + [anon_sym_while] = ACTIONS(218), + [anon_sym_for] = ACTIONS(218), + [anon_sym_asyncfor] = ACTIONS(216), + [anon_sym_return] = ACTIONS(218), + [anon_sym_DASH_GT] = ACTIONS(216), + [anon_sym_assert] = ACTIONS(218), + [anon_sym_assert_equal] = ACTIONS(218), + [anon_sym_bash] = ACTIONS(218), + [anon_sym_download] = ACTIONS(218), + [anon_sym_fish] = ACTIONS(218), + [anon_sym_from_json] = ACTIONS(218), + [anon_sym_length] = ACTIONS(218), + [anon_sym_metadata] = ACTIONS(218), + [anon_sym_output] = ACTIONS(218), + [anon_sym_output_error] = ACTIONS(218), + [anon_sym_random] = ACTIONS(218), + [anon_sym_random_boolean] = ACTIONS(218), + [anon_sym_random_float] = ACTIONS(218), + [anon_sym_random_integer] = ACTIONS(218), + [anon_sym_read] = ACTIONS(218), + [anon_sym_to_json] = ACTIONS(218), + [anon_sym_write] = ACTIONS(218), + }, + [64] = { [ts_builtin_sym_end] = ACTIONS(242), [sym__identifier_pattern] = ACTIONS(244), [sym__comment] = ACTIONS(3), @@ -6165,7 +6411,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(244), [anon_sym_write] = ACTIONS(244), }, - [61] = { + [65] = { [ts_builtin_sym_end] = ACTIONS(246), [sym__identifier_pattern] = ACTIONS(248), [sym__comment] = ACTIONS(3), @@ -6223,7 +6469,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(248), [anon_sym_write] = ACTIONS(248), }, - [62] = { + [66] = { [ts_builtin_sym_end] = ACTIONS(250), [sym__identifier_pattern] = ACTIONS(252), [sym__comment] = ACTIONS(3), @@ -6281,7 +6527,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(252), [anon_sym_write] = ACTIONS(252), }, - [63] = { + [67] = { [ts_builtin_sym_end] = ACTIONS(254), [sym__identifier_pattern] = ACTIONS(256), [sym__comment] = ACTIONS(3), @@ -6339,65 +6585,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(256), [anon_sym_write] = ACTIONS(256), }, - [64] = { - [sym_assignment_operator] = STATE(54), - [ts_builtin_sym_end] = ACTIONS(208), - [sym__identifier_pattern] = ACTIONS(210), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(210), - [anon_sym_LBRACE] = ACTIONS(208), - [anon_sym_RBRACE] = ACTIONS(208), - [anon_sym_SEMI] = ACTIONS(208), - [sym_integer] = ACTIONS(210), - [sym_float] = ACTIONS(208), - [sym_string] = ACTIONS(208), - [anon_sym_true] = ACTIONS(210), - [anon_sym_false] = ACTIONS(210), - [anon_sym_LBRACK] = ACTIONS(208), - [anon_sym_EQ] = ACTIONS(212), - [anon_sym_COLON] = ACTIONS(208), - [anon_sym_LPAREN] = ACTIONS(208), - [anon_sym_PLUS] = ACTIONS(210), - [anon_sym_DASH] = ACTIONS(210), - [anon_sym_STAR] = ACTIONS(208), - [anon_sym_SLASH] = ACTIONS(208), - [anon_sym_PERCENT] = ACTIONS(208), - [anon_sym_EQ_EQ] = ACTIONS(208), - [anon_sym_BANG_EQ] = ACTIONS(208), - [anon_sym_AMP_AMP] = ACTIONS(208), - [anon_sym_PIPE_PIPE] = ACTIONS(208), - [anon_sym_GT] = ACTIONS(210), - [anon_sym_LT] = ACTIONS(210), - [anon_sym_GT_EQ] = ACTIONS(208), - [anon_sym_LT_EQ] = ACTIONS(208), - [anon_sym_PLUS_EQ] = ACTIONS(216), - [anon_sym_DASH_EQ] = ACTIONS(216), - [anon_sym_if] = ACTIONS(210), - [anon_sym_match] = ACTIONS(210), - [anon_sym_while] = ACTIONS(210), - [anon_sym_for] = ACTIONS(210), - [anon_sym_asyncfor] = ACTIONS(208), - [anon_sym_return] = ACTIONS(210), - [anon_sym_DASH_GT] = ACTIONS(208), - [anon_sym_assert] = ACTIONS(210), - [anon_sym_assert_equal] = ACTIONS(210), - [anon_sym_bash] = ACTIONS(210), - [anon_sym_download] = ACTIONS(210), - [anon_sym_fish] = ACTIONS(210), - [anon_sym_from_json] = ACTIONS(210), - [anon_sym_length] = ACTIONS(210), - [anon_sym_metadata] = ACTIONS(210), - [anon_sym_output] = ACTIONS(210), - [anon_sym_output_error] = ACTIONS(210), - [anon_sym_random] = ACTIONS(210), - [anon_sym_random_boolean] = ACTIONS(210), - [anon_sym_random_float] = ACTIONS(210), - [anon_sym_random_integer] = ACTIONS(210), - [anon_sym_read] = ACTIONS(210), - [anon_sym_to_json] = ACTIONS(210), - [anon_sym_write] = ACTIONS(210), - }, - [65] = { + [68] = { [ts_builtin_sym_end] = ACTIONS(258), [sym__identifier_pattern] = ACTIONS(260), [sym__comment] = ACTIONS(3), @@ -6455,7 +6643,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(260), [anon_sym_write] = ACTIONS(260), }, - [66] = { + [69] = { [ts_builtin_sym_end] = ACTIONS(262), [sym__identifier_pattern] = ACTIONS(264), [sym__comment] = ACTIONS(3), @@ -6513,7 +6701,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(264), [anon_sym_write] = ACTIONS(264), }, - [67] = { + [70] = { [ts_builtin_sym_end] = ACTIONS(266), [sym__identifier_pattern] = ACTIONS(268), [sym__comment] = ACTIONS(3), @@ -6571,7 +6759,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(268), [anon_sym_write] = ACTIONS(268), }, - [68] = { + [71] = { [ts_builtin_sym_end] = ACTIONS(270), [sym__identifier_pattern] = ACTIONS(272), [sym__comment] = ACTIONS(3), @@ -6629,7 +6817,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(272), [anon_sym_write] = ACTIONS(272), }, - [69] = { + [72] = { [ts_builtin_sym_end] = ACTIONS(274), [sym__identifier_pattern] = ACTIONS(276), [sym__comment] = ACTIONS(3), @@ -6687,237 +6875,179 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_to_json] = ACTIONS(276), [anon_sym_write] = ACTIONS(276), }, - [70] = { - [ts_builtin_sym_end] = ACTIONS(208), - [sym__identifier_pattern] = ACTIONS(210), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(210), - [anon_sym_LBRACE] = ACTIONS(208), - [anon_sym_RBRACE] = ACTIONS(208), - [anon_sym_SEMI] = ACTIONS(208), - [sym_integer] = ACTIONS(210), - [sym_float] = ACTIONS(208), - [sym_string] = ACTIONS(208), - [anon_sym_true] = ACTIONS(210), - [anon_sym_false] = ACTIONS(210), - [anon_sym_LBRACK] = ACTIONS(208), - [anon_sym_EQ] = ACTIONS(210), - [anon_sym_COLON] = ACTIONS(208), - [anon_sym_DOT_DOT] = ACTIONS(208), - [anon_sym_LPAREN] = ACTIONS(208), - [anon_sym_PLUS] = ACTIONS(210), - [anon_sym_DASH] = ACTIONS(210), - [anon_sym_STAR] = ACTIONS(208), - [anon_sym_SLASH] = ACTIONS(208), - [anon_sym_PERCENT] = ACTIONS(208), - [anon_sym_EQ_EQ] = ACTIONS(208), - [anon_sym_BANG_EQ] = ACTIONS(208), - [anon_sym_AMP_AMP] = ACTIONS(208), - [anon_sym_PIPE_PIPE] = ACTIONS(208), - [anon_sym_GT] = ACTIONS(210), - [anon_sym_LT] = ACTIONS(210), - [anon_sym_GT_EQ] = ACTIONS(208), - [anon_sym_LT_EQ] = ACTIONS(208), - [anon_sym_PLUS_EQ] = ACTIONS(208), - [anon_sym_DASH_EQ] = ACTIONS(208), - [anon_sym_if] = ACTIONS(210), - [anon_sym_match] = ACTIONS(210), - [anon_sym_while] = ACTIONS(210), - [anon_sym_for] = ACTIONS(210), - [anon_sym_asyncfor] = ACTIONS(208), - [anon_sym_return] = ACTIONS(210), - [anon_sym_DASH_GT] = ACTIONS(208), - [anon_sym_assert] = ACTIONS(210), - [anon_sym_assert_equal] = ACTIONS(210), - [anon_sym_bash] = ACTIONS(210), - [anon_sym_download] = ACTIONS(210), - [anon_sym_fish] = ACTIONS(210), - [anon_sym_from_json] = ACTIONS(210), - [anon_sym_length] = ACTIONS(210), - [anon_sym_metadata] = ACTIONS(210), - [anon_sym_output] = ACTIONS(210), - [anon_sym_output_error] = ACTIONS(210), - [anon_sym_random] = ACTIONS(210), - [anon_sym_random_boolean] = ACTIONS(210), - [anon_sym_random_float] = ACTIONS(210), - [anon_sym_random_integer] = ACTIONS(210), - [anon_sym_read] = ACTIONS(210), - [anon_sym_to_json] = ACTIONS(210), - [anon_sym_write] = ACTIONS(210), - }, - [71] = { - [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), - [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_COLON] = ACTIONS(278), - [anon_sym_DOT_DOT] = ACTIONS(278), - [anon_sym_LPAREN] = 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_fish] = ACTIONS(280), - [anon_sym_from_json] = 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), - }, - [72] = { - [ts_builtin_sym_end] = ACTIONS(282), - [sym__identifier_pattern] = ACTIONS(284), - [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(284), - [anon_sym_LBRACE] = ACTIONS(282), - [anon_sym_RBRACE] = ACTIONS(282), - [anon_sym_SEMI] = ACTIONS(282), - [sym_integer] = ACTIONS(284), - [sym_float] = ACTIONS(282), - [sym_string] = ACTIONS(282), - [anon_sym_true] = ACTIONS(284), - [anon_sym_false] = ACTIONS(284), - [anon_sym_LBRACK] = ACTIONS(282), - [anon_sym_EQ] = ACTIONS(284), - [anon_sym_COLON] = ACTIONS(282), - [anon_sym_DOT_DOT] = ACTIONS(282), - [anon_sym_LPAREN] = ACTIONS(282), - [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_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_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_return] = ACTIONS(284), - [anon_sym_DASH_GT] = ACTIONS(282), - [anon_sym_assert] = ACTIONS(284), - [anon_sym_assert_equal] = ACTIONS(284), - [anon_sym_bash] = ACTIONS(284), - [anon_sym_download] = ACTIONS(284), - [anon_sym_fish] = ACTIONS(284), - [anon_sym_from_json] = 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), - }, [73] = { - [sym_assignment_operator] = STATE(52), - [sym_type_definition] = STATE(302), - [sym__identifier_pattern] = ACTIONS(210), + [sym_assignment_operator] = STATE(48), + [sym_type_definition] = STATE(305), + [sym__identifier_pattern] = ACTIONS(218), [sym__comment] = ACTIONS(3), - [anon_sym_async] = ACTIONS(210), - [anon_sym_LBRACE] = ACTIONS(208), - [anon_sym_RBRACE] = ACTIONS(208), - [anon_sym_SEMI] = ACTIONS(208), - [sym_integer] = ACTIONS(210), - [sym_float] = ACTIONS(208), - [sym_string] = ACTIONS(208), - [anon_sym_true] = ACTIONS(210), - [anon_sym_false] = ACTIONS(210), - [anon_sym_LBRACK] = ACTIONS(208), + [anon_sym_async] = ACTIONS(218), + [anon_sym_LBRACE] = ACTIONS(216), + [anon_sym_RBRACE] = ACTIONS(216), + [anon_sym_SEMI] = ACTIONS(216), + [sym_integer] = ACTIONS(218), + [sym_float] = ACTIONS(216), + [sym_string] = ACTIONS(216), + [anon_sym_true] = ACTIONS(218), + [anon_sym_false] = ACTIONS(218), + [anon_sym_LBRACK] = ACTIONS(216), + [anon_sym_EQ] = ACTIONS(278), + [anon_sym_COLON] = ACTIONS(216), + [anon_sym_LPAREN] = ACTIONS(216), + [anon_sym_PLUS] = ACTIONS(218), + [anon_sym_DASH] = ACTIONS(218), + [anon_sym_STAR] = ACTIONS(216), + [anon_sym_SLASH] = ACTIONS(216), + [anon_sym_PERCENT] = ACTIONS(216), + [anon_sym_EQ_EQ] = ACTIONS(216), + [anon_sym_BANG_EQ] = ACTIONS(216), + [anon_sym_AMP_AMP] = ACTIONS(216), + [anon_sym_PIPE_PIPE] = ACTIONS(216), + [anon_sym_GT] = ACTIONS(218), + [anon_sym_LT] = ACTIONS(222), + [anon_sym_GT_EQ] = ACTIONS(216), + [anon_sym_LT_EQ] = ACTIONS(216), + [anon_sym_PLUS_EQ] = ACTIONS(224), + [anon_sym_DASH_EQ] = ACTIONS(224), + [anon_sym_if] = ACTIONS(218), + [anon_sym_match] = ACTIONS(218), + [anon_sym_while] = ACTIONS(218), + [anon_sym_for] = ACTIONS(218), + [anon_sym_asyncfor] = ACTIONS(216), + [anon_sym_return] = ACTIONS(218), + [anon_sym_DASH_GT] = ACTIONS(216), + [anon_sym_assert] = ACTIONS(218), + [anon_sym_assert_equal] = ACTIONS(218), + [anon_sym_bash] = ACTIONS(218), + [anon_sym_download] = ACTIONS(218), + [anon_sym_fish] = ACTIONS(218), + [anon_sym_from_json] = ACTIONS(218), + [anon_sym_length] = ACTIONS(218), + [anon_sym_metadata] = ACTIONS(218), + [anon_sym_output] = ACTIONS(218), + [anon_sym_output_error] = ACTIONS(218), + [anon_sym_random] = ACTIONS(218), + [anon_sym_random_boolean] = ACTIONS(218), + [anon_sym_random_float] = ACTIONS(218), + [anon_sym_random_integer] = ACTIONS(218), + [anon_sym_read] = ACTIONS(218), + [anon_sym_to_json] = ACTIONS(218), + [anon_sym_write] = ACTIONS(218), + }, + [74] = { + [ts_builtin_sym_end] = ACTIONS(280), + [sym__identifier_pattern] = ACTIONS(282), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(282), + [anon_sym_LBRACE] = ACTIONS(280), + [anon_sym_RBRACE] = ACTIONS(280), + [anon_sym_SEMI] = 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_COLON] = ACTIONS(280), + [anon_sym_DOT_DOT] = ACTIONS(280), + [anon_sym_LPAREN] = 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_fish] = ACTIONS(282), + [anon_sym_from_json] = 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), + }, + [75] = { + [ts_builtin_sym_end] = ACTIONS(284), + [sym__identifier_pattern] = ACTIONS(286), + [sym__comment] = ACTIONS(3), + [anon_sym_async] = ACTIONS(286), + [anon_sym_LBRACE] = ACTIONS(284), + [anon_sym_RBRACE] = ACTIONS(284), + [anon_sym_SEMI] = ACTIONS(284), + [sym_integer] = ACTIONS(286), + [sym_float] = ACTIONS(284), + [sym_string] = ACTIONS(284), + [anon_sym_true] = ACTIONS(286), + [anon_sym_false] = ACTIONS(286), + [anon_sym_LBRACK] = ACTIONS(284), [anon_sym_EQ] = ACTIONS(286), - [anon_sym_COLON] = ACTIONS(208), - [anon_sym_LPAREN] = ACTIONS(208), - [anon_sym_PLUS] = ACTIONS(210), - [anon_sym_DASH] = ACTIONS(210), - [anon_sym_STAR] = ACTIONS(208), - [anon_sym_SLASH] = ACTIONS(208), - [anon_sym_PERCENT] = ACTIONS(208), - [anon_sym_EQ_EQ] = ACTIONS(208), - [anon_sym_BANG_EQ] = ACTIONS(208), - [anon_sym_AMP_AMP] = ACTIONS(208), - [anon_sym_PIPE_PIPE] = ACTIONS(208), - [anon_sym_GT] = ACTIONS(210), - [anon_sym_LT] = ACTIONS(214), - [anon_sym_GT_EQ] = ACTIONS(208), - [anon_sym_LT_EQ] = ACTIONS(208), - [anon_sym_PLUS_EQ] = ACTIONS(216), - [anon_sym_DASH_EQ] = ACTIONS(216), - [anon_sym_if] = ACTIONS(210), - [anon_sym_match] = ACTIONS(210), - [anon_sym_while] = ACTIONS(210), - [anon_sym_for] = ACTIONS(210), - [anon_sym_asyncfor] = ACTIONS(208), - [anon_sym_return] = ACTIONS(210), - [anon_sym_DASH_GT] = ACTIONS(208), - [anon_sym_assert] = ACTIONS(210), - [anon_sym_assert_equal] = ACTIONS(210), - [anon_sym_bash] = ACTIONS(210), - [anon_sym_download] = ACTIONS(210), - [anon_sym_fish] = ACTIONS(210), - [anon_sym_from_json] = ACTIONS(210), - [anon_sym_length] = ACTIONS(210), - [anon_sym_metadata] = ACTIONS(210), - [anon_sym_output] = ACTIONS(210), - [anon_sym_output_error] = ACTIONS(210), - [anon_sym_random] = ACTIONS(210), - [anon_sym_random_boolean] = ACTIONS(210), - [anon_sym_random_float] = ACTIONS(210), - [anon_sym_random_integer] = ACTIONS(210), - [anon_sym_read] = ACTIONS(210), - [anon_sym_to_json] = ACTIONS(210), - [anon_sym_write] = ACTIONS(210), + [anon_sym_COLON] = ACTIONS(284), + [anon_sym_DOT_DOT] = ACTIONS(284), + [anon_sym_LPAREN] = ACTIONS(284), + [anon_sym_PLUS] = ACTIONS(286), + [anon_sym_DASH] = ACTIONS(286), + [anon_sym_STAR] = ACTIONS(284), + [anon_sym_SLASH] = ACTIONS(284), + [anon_sym_PERCENT] = ACTIONS(284), + [anon_sym_EQ_EQ] = ACTIONS(284), + [anon_sym_BANG_EQ] = ACTIONS(284), + [anon_sym_AMP_AMP] = ACTIONS(284), + [anon_sym_PIPE_PIPE] = ACTIONS(284), + [anon_sym_GT] = ACTIONS(286), + [anon_sym_LT] = ACTIONS(286), + [anon_sym_GT_EQ] = ACTIONS(284), + [anon_sym_LT_EQ] = ACTIONS(284), + [anon_sym_PLUS_EQ] = ACTIONS(284), + [anon_sym_DASH_EQ] = ACTIONS(284), + [anon_sym_if] = ACTIONS(286), + [anon_sym_match] = ACTIONS(286), + [anon_sym_while] = ACTIONS(286), + [anon_sym_for] = ACTIONS(286), + [anon_sym_asyncfor] = ACTIONS(284), + [anon_sym_return] = ACTIONS(286), + [anon_sym_DASH_GT] = ACTIONS(284), + [anon_sym_assert] = ACTIONS(286), + [anon_sym_assert_equal] = ACTIONS(286), + [anon_sym_bash] = ACTIONS(286), + [anon_sym_download] = ACTIONS(286), + [anon_sym_fish] = ACTIONS(286), + [anon_sym_from_json] = ACTIONS(286), + [anon_sym_length] = ACTIONS(286), + [anon_sym_metadata] = ACTIONS(286), + [anon_sym_output] = ACTIONS(286), + [anon_sym_output_error] = ACTIONS(286), + [anon_sym_random] = ACTIONS(286), + [anon_sym_random_boolean] = ACTIONS(286), + [anon_sym_random_float] = ACTIONS(286), + [anon_sym_random_integer] = ACTIONS(286), + [anon_sym_read] = ACTIONS(286), + [anon_sym_to_json] = ACTIONS(286), + [anon_sym_write] = ACTIONS(286), }, }; @@ -6925,27 +7055,27 @@ static const uint16_t ts_small_parse_table[] = { [0] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(166), 1, + ACTIONS(168), 1, anon_sym_DASH_GT, - ACTIONS(172), 1, + ACTIONS(176), 1, anon_sym_COLON, ACTIONS(292), 1, anon_sym_SEMI, - STATE(172), 1, - sym_logic_operator, - STATE(200), 1, + STATE(170), 1, sym_math_operator, - ACTIONS(116), 2, + STATE(193), 1, + sym_logic_operator, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -6992,25 +7122,25 @@ static const uint16_t ts_small_parse_table[] = { [79] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(166), 1, + ACTIONS(168), 1, anon_sym_DASH_GT, - ACTIONS(172), 1, + ACTIONS(176), 1, anon_sym_COLON, - STATE(172), 1, - sym_logic_operator, - STATE(200), 1, + STATE(170), 1, sym_math_operator, - ACTIONS(116), 2, + STATE(193), 1, + sym_logic_operator, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -7058,25 +7188,25 @@ static const uint16_t ts_small_parse_table[] = { [156] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(166), 1, + ACTIONS(168), 1, anon_sym_DASH_GT, - ACTIONS(172), 1, + ACTIONS(176), 1, anon_sym_COLON, - STATE(172), 1, - sym_logic_operator, - STATE(200), 1, + STATE(170), 1, sym_math_operator, - ACTIONS(116), 2, + STATE(193), 1, + sym_logic_operator, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -7121,16 +7251,79 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [233] = 6, + [233] = 11, ACTIONS(3), 1, sym__comment, + ACTIONS(114), 1, + anon_sym_DASH_GT, ACTIONS(298), 1, - anon_sym_DOT_DOT, - STATE(187), 1, - sym_math_operator, - STATE(192), 1, + anon_sym_COLON, + STATE(169), 1, sym_logic_operator, - ACTIONS(150), 23, + STATE(208), 1, + sym_math_operator, + ACTIONS(108), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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(164), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(166), 22, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [309] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(169), 1, + sym_logic_operator, + STATE(208), 1, + sym_math_operator, + ACTIONS(154), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7140,6 +7333,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_COLON, + anon_sym_DOT_DOT, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_STAR, @@ -7154,7 +7348,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(152), 26, + ACTIONS(156), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -7181,132 +7375,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [299] = 5, + [373] = 5, ACTIONS(3), 1, sym__comment, - STATE(187), 1, - sym_math_operator, - STATE(192), 1, + STATE(169), 1, sym_logic_operator, - ACTIONS(156), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(158), 26, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [363] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(300), 1, - anon_sym_COLON, - STATE(187), 1, + STATE(208), 1, sym_math_operator, - STATE(192), 1, - sym_logic_operator, - ACTIONS(168), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(170), 26, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [429] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(187), 1, - sym_math_operator, - STATE(192), 1, - sym_logic_operator, ACTIONS(150), 24, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7359,35 +7434,76 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [493] = 11, + [437] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(118), 1, - anon_sym_DASH_GT, ACTIONS(300), 1, - anon_sym_COLON, - STATE(187), 1, - sym_math_operator, - STATE(192), 1, + anon_sym_DOT_DOT, + STATE(169), 1, sym_logic_operator, - ACTIONS(112), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 3, + STATE(208), 1, + sym_math_operator, + ACTIONS(154), 23, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 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(160), 13, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(156), 26, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [503] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(298), 1, + anon_sym_COLON, + STATE(169), 1, + sym_logic_operator, + STATE(208), 1, + sym_math_operator, + ACTIONS(158), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7399,50 +7515,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOT_DOT, anon_sym_LPAREN, anon_sym_RPAREN, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(162), 22, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [569] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(156), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_LPAREN, - anon_sym_RPAREN, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -7455,7 +7527,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(158), 26, + ACTIONS(160), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -7482,35 +7554,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [632] = 11, + [569] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(104), 1, + ACTIONS(100), 1, anon_sym_COLON, - ACTIONS(118), 1, + ACTIONS(114), 1, anon_sym_DASH_GT, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, + STATE(187), 1, sym_logic_operator, + STATE(207), 1, + sym_math_operator, + ACTIONS(108), 2, + anon_sym_PLUS, + anon_sym_DASH, ACTIONS(112), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(116), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 3, + ACTIONS(106), 3, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 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(160), 12, + ACTIONS(164), 12, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7523,7 +7595,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(162), 22, + ACTIONS(166), 22, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -7546,16 +7618,74 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [644] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(187), 1, + sym_logic_operator, + STATE(207), 1, + sym_math_operator, + ACTIONS(150), 23, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(152), 26, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [707] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(104), 1, + ACTIONS(100), 1, anon_sym_COLON, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, + STATE(187), 1, sym_logic_operator, - ACTIONS(168), 22, + STATE(207), 1, + sym_math_operator, + ACTIONS(158), 22, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7578,7 +7708,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(170), 26, + ACTIONS(160), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -7661,6 +7791,116 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [830] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(216), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(218), 26, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [888] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(208), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(210), 26, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [946] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(266), 24, @@ -7715,10 +7955,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [888] = 3, + [1004] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(226), 24, + ACTIONS(230), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7743,7 +7983,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(228), 26, + ACTIONS(232), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -7770,7 +8010,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [946] = 3, + [1062] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(172), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(174), 26, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [1120] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(262), 24, @@ -7825,175 +8120,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1004] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(250), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(252), 26, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [1062] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(234), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(236), 26, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [1120] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(246), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(248), 26, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, [1178] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(254), 24, + ACTIONS(226), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8018,7 +8148,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(256), 26, + ACTIONS(228), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8048,7 +8178,7 @@ static const uint16_t ts_small_parse_table[] = { [1236] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(222), 24, + ACTIONS(280), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8073,7 +8203,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(224), 26, + ACTIONS(282), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8101,61 +8231,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [1294] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 24, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - ACTIONS(280), 26, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [1352] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(238), 24, @@ -8210,10 +8285,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [1410] = 3, + [1352] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(274), 24, + ACTIONS(284), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8238,7 +8313,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(276), 26, + ACTIONS(286), 26, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [1410] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(250), 24, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + ACTIONS(252), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8268,7 +8398,7 @@ static const uint16_t ts_small_parse_table[] = { [1468] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(208), 24, + ACTIONS(258), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8293,7 +8423,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(210), 26, + ACTIONS(260), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8378,7 +8508,7 @@ static const uint16_t ts_small_parse_table[] = { [1584] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(230), 24, + ACTIONS(254), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8403,7 +8533,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(232), 26, + ACTIONS(256), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8433,7 +8563,7 @@ static const uint16_t ts_small_parse_table[] = { [1642] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(218), 24, + ACTIONS(274), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8458,7 +8588,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(220), 26, + ACTIONS(276), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8488,7 +8618,7 @@ static const uint16_t ts_small_parse_table[] = { [1700] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(282), 24, + ACTIONS(246), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8513,7 +8643,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(284), 26, + ACTIONS(248), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8543,7 +8673,7 @@ static const uint16_t ts_small_parse_table[] = { [1758] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(258), 24, + ACTIONS(234), 24, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8568,7 +8698,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - ACTIONS(260), 26, + ACTIONS(236), 26, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8598,18 +8728,18 @@ static const uint16_t ts_small_parse_table[] = { [1816] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(220), 1, anon_sym_EQ, - ACTIONS(214), 1, + ACTIONS(222), 1, anon_sym_LT, - STATE(50), 1, + STATE(46), 1, sym_assignment_operator, - STATE(301), 1, + STATE(307), 1, sym_type_definition, - ACTIONS(216), 2, + ACTIONS(224), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(208), 19, + ACTIONS(216), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8629,7 +8759,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - ACTIONS(210), 24, + ACTIONS(218), 24, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8657,14 +8787,14 @@ static const uint16_t ts_small_parse_table[] = { [1883] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(220), 1, anon_sym_EQ, - STATE(39), 1, + STATE(47), 1, sym_assignment_operator, - ACTIONS(216), 2, + ACTIONS(224), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(208), 19, + ACTIONS(216), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -8684,7 +8814,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - ACTIONS(210), 25, + ACTIONS(218), 25, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -8713,25 +8843,25 @@ static const uint16_t ts_small_parse_table[] = { [1945] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(104), 1, + ACTIONS(100), 1, anon_sym_COLON, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(118), 1, + ACTIONS(114), 1, anon_sym_DASH_GT, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, + STATE(187), 1, sym_logic_operator, - ACTIONS(116), 2, + STATE(207), 1, + sym_math_operator, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -8769,87 +8899,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2015] = 12, + [2015] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(104), 1, + ACTIONS(100), 1, anon_sym_COLON, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(118), 1, + ACTIONS(114), 1, anon_sym_DASH_GT, - ACTIONS(302), 1, - anon_sym_SEMI, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, + STATE(187), 1, sym_logic_operator, - ACTIONS(116), 2, + STATE(207), 1, + sym_math_operator, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 3, + ACTIONS(106), 3, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 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(288), 8, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(290), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2087] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(104), 1, - anon_sym_COLON, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(118), 1, - anon_sym_DASH_GT, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 3, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -8888,102 +8958,45 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2157] = 11, + [2085] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(304), 1, + ACTIONS(100), 1, anon_sym_COLON, - ACTIONS(306), 1, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(114), 1, anon_sym_DASH_GT, - STATE(169), 1, + ACTIONS(302), 1, + anon_sym_SEMI, + STATE(187), 1, sym_logic_operator, - STATE(181), 1, + STATE(207), 1, sym_math_operator, ACTIONS(112), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(116), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 3, - anon_sym_STAR, + ACTIONS(106), 3, + anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 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(160), 8, + ACTIONS(288), 8, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_SEMI, anon_sym_COMMA, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - ACTIONS(162), 20, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2226] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(104), 1, - anon_sym_COLON, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(118), 1, - anon_sym_DASH_GT, - ACTIONS(312), 1, - anon_sym_COMMA, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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(310), 6, - anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(308), 21, + anon_sym_STAR, + ACTIONS(290), 21, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9005,21 +9018,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2297] = 6, + [2157] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(314), 1, - anon_sym_DOT_DOT, - STATE(169), 1, - sym_logic_operator, - STATE(181), 1, + ACTIONS(304), 1, + anon_sym_COLON, + STATE(205), 1, sym_math_operator, - ACTIONS(150), 18, + STATE(206), 1, + sym_logic_operator, + ACTIONS(158), 18, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - anon_sym_COLON, + anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9033,7 +9046,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(152), 24, + ACTIONS(160), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -9058,20 +9071,139 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2356] = 5, + [2216] = 12, ACTIONS(3), 1, sym__comment, - STATE(169), 1, + ACTIONS(100), 1, + anon_sym_COLON, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(114), 1, + anon_sym_DASH_GT, + ACTIONS(310), 1, + anon_sym_COMMA, + STATE(187), 1, sym_logic_operator, - STATE(181), 1, + STATE(207), 1, sym_math_operator, - ACTIONS(156), 19, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + ACTIONS(306), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2287] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(100), 1, + anon_sym_COLON, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(114), 1, + anon_sym_DASH_GT, + ACTIONS(316), 1, + anon_sym_COMMA, + STATE(187), 1, + sym_logic_operator, + STATE(207), 1, + sym_math_operator, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(314), 6, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(312), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2358] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(318), 1, + anon_sym_DOT_DOT, + STATE(205), 1, + sym_math_operator, + STATE(206), 1, + sym_logic_operator, + ACTIONS(154), 18, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON, - anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9085,7 +9217,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(158), 24, + ACTIONS(156), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -9110,13 +9242,65 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2413] = 5, + [2417] = 5, ACTIONS(3), 1, sym__comment, - STATE(169), 1, - sym_logic_operator, - STATE(181), 1, + STATE(205), 1, sym_math_operator, + STATE(206), 1, + sym_logic_operator, + ACTIONS(154), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(156), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2474] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(205), 1, + sym_math_operator, + STATE(206), 1, + sym_logic_operator, ACTIONS(150), 19, anon_sym_LBRACE, anon_sym_RBRACE, @@ -9162,101 +9346,47 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2470] = 12, + [2531] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(104), 1, + ACTIONS(304), 1, anon_sym_COLON, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(118), 1, - anon_sym_DASH_GT, ACTIONS(320), 1, - anon_sym_COMMA, - STATE(167), 1, + anon_sym_DASH_GT, + STATE(205), 1, sym_math_operator, - STATE(174), 1, + STATE(206), 1, sym_logic_operator, - ACTIONS(116), 2, + ACTIONS(108), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, + ACTIONS(106), 3, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 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), 6, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - ACTIONS(316), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2541] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(304), 1, - anon_sym_COLON, - STATE(169), 1, - sym_logic_operator, - STATE(181), 1, - sym_math_operator, - ACTIONS(168), 18, + ACTIONS(164), 8, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(170), 24, + ACTIONS(166), 20, 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, @@ -9274,156 +9404,47 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2600] = 6, + [2600] = 12, ACTIONS(3), 1, sym__comment, + ACTIONS(100), 1, + anon_sym_COLON, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(114), 1, + anon_sym_DASH_GT, ACTIONS(322), 1, - anon_sym_COLON, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - ACTIONS(168), 17, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - 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, - anon_sym_DASH_GT, - ACTIONS(170), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2658] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(104), 1, - anon_sym_COLON, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(118), 1, - anon_sym_DASH_GT, - ACTIONS(324), 1, anon_sym_RPAREN, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(160), 5, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - ACTIONS(114), 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(162), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2728] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - STATE(205), 1, + STATE(187), 1, sym_logic_operator, STATE(207), 1, sym_math_operator, ACTIONS(112), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(116), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 3, + ACTIONS(106), 4, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(164), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(110), 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(160), 7, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - ACTIONS(162), 20, - anon_sym_async, + ACTIONS(166), 21, sym__identifier_pattern, - anon_sym_EQ, + sym_integer, + anon_sym_true, + anon_sym_false, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -9441,19 +9462,78 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2796] = 5, + [2670] = 12, ACTIONS(3), 1, sym__comment, - STATE(205), 1, + ACTIONS(100), 1, + anon_sym_COLON, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(114), 1, + anon_sym_DASH_GT, + ACTIONS(324), 1, + anon_sym_RPAREN, + STATE(187), 1, sym_logic_operator, STATE(207), 1, sym_math_operator, - ACTIONS(156), 18, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(164), 5, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + ACTIONS(110), 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(166), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2740] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(326), 1, + anon_sym_COLON, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(158), 17, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - anon_sym_COLON, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, @@ -9467,7 +9547,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(158), 24, + ACTIONS(160), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -9492,153 +9572,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [2852] = 6, + [2798] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(104), 1, + ACTIONS(100), 1, anon_sym_COLON, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(168), 17, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - ACTIONS(170), 24, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, + ACTIONS(108), 1, anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2910] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(104), 1, - anon_sym_COLON, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(118), 1, - anon_sym_DASH_GT, - ACTIONS(326), 1, - anon_sym_RPAREN, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(160), 5, - anon_sym_LBRACE, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - ACTIONS(114), 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(162), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [2980] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(104), 1, - anon_sym_COLON, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(118), 1, + ACTIONS(114), 1, anon_sym_DASH_GT, ACTIONS(328), 1, anon_sym_RPAREN, - STATE(167), 1, - sym_math_operator, - STATE(174), 1, + STATE(187), 1, sym_logic_operator, - ACTIONS(116), 2, + STATE(207), 1, + sym_math_operator, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(160), 5, + ACTIONS(164), 5, anon_sym_LBRACE, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LPAREN, - ACTIONS(114), 6, + ACTIONS(110), 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(162), 21, + ACTIONS(166), 21, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -9660,10 +9630,170 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [2868] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(108), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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(164), 7, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + ACTIONS(166), 20, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2936] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(150), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(152), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [2992] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(100), 1, + anon_sym_COLON, + STATE(187), 1, + sym_logic_operator, + STATE(207), 1, + sym_math_operator, + ACTIONS(158), 17, + anon_sym_LBRACE, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + ACTIONS(160), 24, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [3050] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(266), 19, + ACTIONS(274), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9683,7 +9813,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(268), 24, + ACTIONS(276), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -9757,342 +9887,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [3152] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(218), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(220), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3203] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(258), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(260), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3254] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(230), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(232), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3305] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(222), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(224), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3356] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(274), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(276), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3407] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(280), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3458] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(250), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - ACTIONS(252), 24, - anon_sym_async, - sym__identifier_pattern, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [3509] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(262), 19, @@ -10140,7 +9934,151 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3560] = 3, + [3203] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(246), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(248), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3254] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(280), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(282), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3305] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(226), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(228), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3356] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(208), 19, @@ -10188,10 +10126,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [3611] = 3, + [3407] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(282), 19, + ACTIONS(270), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10211,7 +10149,199 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(284), 24, + ACTIONS(272), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3458] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(266), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(268), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3509] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(238), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(240), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3560] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(254), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(256), 24, + anon_sym_async, + sym__identifier_pattern, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [3611] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(284), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + ACTIONS(286), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10287,7 +10417,7 @@ static const uint16_t ts_small_parse_table[] = { [3713] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(226), 19, + ACTIONS(230), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10307,7 +10437,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(228), 24, + ACTIONS(232), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10335,7 +10465,7 @@ static const uint16_t ts_small_parse_table[] = { [3764] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(246), 19, + ACTIONS(250), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10355,7 +10485,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(248), 24, + ACTIONS(252), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10383,7 +10513,7 @@ static const uint16_t ts_small_parse_table[] = { [3815] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(254), 19, + ACTIONS(258), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10403,7 +10533,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(256), 24, + ACTIONS(260), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10431,7 +10561,7 @@ static const uint16_t ts_small_parse_table[] = { [3866] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(270), 19, + ACTIONS(216), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10451,7 +10581,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(272), 24, + ACTIONS(218), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10479,7 +10609,7 @@ static const uint16_t ts_small_parse_table[] = { [3917] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(238), 19, + ACTIONS(172), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10499,7 +10629,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - ACTIONS(240), 24, + ACTIONS(174), 24, anon_sym_async, sym__identifier_pattern, anon_sym_EQ, @@ -10527,38 +10657,98 @@ static const uint16_t ts_small_parse_table[] = { [3968] = 16, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, - sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, ACTIONS(330), 1, + sym__identifier_pattern, + ACTIONS(333), 1, anon_sym_LBRACE, - ACTIONS(332), 1, + ACTIONS(336), 1, anon_sym_RBRACE, - ACTIONS(334), 1, + ACTIONS(338), 1, + sym_integer, + ACTIONS(347), 1, + anon_sym_LBRACK, + ACTIONS(350), 1, + anon_sym_LPAREN, + ACTIONS(353), 1, anon_sym_STAR, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(141), 1, + STATE(142), 1, aux_sym_match_repeat1, - STATE(282), 1, + STATE(288), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(341), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(344), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(356), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [4044] = 16, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym__identifier_pattern, + ACTIONS(184), 1, + sym_integer, + ACTIONS(190), 1, + anon_sym_LBRACK, + ACTIONS(192), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + anon_sym_LBRACE, + ACTIONS(361), 1, + anon_sym_RBRACE, + ACTIONS(363), 1, + anon_sym_STAR, + STATE(130), 1, + sym_built_in_function, + STATE(142), 1, + aux_sym_match_repeat1, + STATE(288), 1, + sym_expression, + ACTIONS(186), 2, + sym_float, + sym_string, + ACTIONS(188), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -10584,101 +10774,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [4044] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(336), 1, - sym__identifier_pattern, - ACTIONS(339), 1, - anon_sym_LBRACE, - ACTIONS(342), 1, - anon_sym_RBRACE, - ACTIONS(344), 1, - sym_integer, - ACTIONS(353), 1, - anon_sym_LBRACK, - ACTIONS(356), 1, - anon_sym_LPAREN, - ACTIONS(359), 1, - anon_sym_STAR, - STATE(127), 1, - sym_built_in_function, - STATE(141), 1, - aux_sym_match_repeat1, - STATE(282), 1, - sym_expression, - ACTIONS(347), 2, - sym_float, - sym_string, - ACTIONS(350), 2, - anon_sym_true, - anon_sym_false, - STATE(126), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(132), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(362), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, [4120] = 16, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - ACTIONS(334), 1, + ACTIONS(363), 1, anon_sym_STAR, ACTIONS(365), 1, anon_sym_RBRACE, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(141), 1, + STATE(142), 1, aux_sym_match_repeat1, - STATE(282), 1, + STATE(288), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -10707,36 +10837,36 @@ static const uint16_t ts_small_parse_table[] = { [4196] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(367), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(370), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(373), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(382), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(385), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(388), 1, + ACTIONS(367), 1, anon_sym_RPAREN, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - STATE(109), 1, + STATE(112), 1, sym_expression, - STATE(143), 1, + STATE(149), 1, aux_sym__expression_list, - ACTIONS(376), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(379), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -10744,7 +10874,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(390), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10765,36 +10895,36 @@ static const uint16_t ts_small_parse_table[] = { [4269] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(393), 1, - anon_sym_RPAREN, - STATE(93), 1, + ACTIONS(369), 1, + anon_sym_RBRACK, + STATE(89), 1, sym_built_in_function, - STATE(109), 1, + STATE(111), 1, sym_expression, - STATE(143), 1, - aux_sym__expression_list, - ACTIONS(98), 2, + STATE(148), 1, + aux_sym_list_repeat1, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -10802,7 +10932,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10823,36 +10953,36 @@ static const uint16_t ts_small_parse_table[] = { [4342] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(395), 1, - anon_sym_RPAREN, - STATE(93), 1, + ACTIONS(371), 1, + anon_sym_RBRACK, + STATE(89), 1, sym_built_in_function, - STATE(109), 1, + STATE(111), 1, sym_expression, - STATE(143), 1, - aux_sym__expression_list, - ACTIONS(98), 2, + STATE(158), 1, + aux_sym_list_repeat1, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -10860,7 +10990,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10881,36 +11011,36 @@ static const uint16_t ts_small_parse_table[] = { [4415] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(397), 1, + ACTIONS(373), 1, anon_sym_RBRACK, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - STATE(113), 1, + STATE(111), 1, sym_expression, - STATE(152), 1, + STATE(163), 1, aux_sym_list_repeat1, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -10918,7 +11048,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10939,36 +11069,36 @@ static const uint16_t ts_small_parse_table[] = { [4488] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(375), 1, sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(378), 1, anon_sym_LBRACE, - ACTIONS(334), 1, - anon_sym_STAR, - STATE(127), 1, + ACTIONS(381), 1, + sym_integer, + ACTIONS(390), 1, + anon_sym_LBRACK, + ACTIONS(393), 1, + anon_sym_LPAREN, + ACTIONS(396), 1, + anon_sym_RPAREN, + STATE(89), 1, sym_built_in_function, - STATE(140), 1, - aux_sym_match_repeat1, - STATE(282), 1, + STATE(112), 1, sym_expression, - ACTIONS(196), 2, + STATE(149), 1, + aux_sym__expression_list, + ACTIONS(384), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(387), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -10976,7 +11106,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(398), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -10997,36 +11127,36 @@ static const uint16_t ts_small_parse_table[] = { [4561] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(399), 1, + ACTIONS(401), 1, anon_sym_RPAREN, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - STATE(109), 1, + STATE(112), 1, sym_expression, - STATE(143), 1, + STATE(149), 1, aux_sym__expression_list, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -11034,7 +11164,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11052,21 +11182,245 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [4634] = 8, + [4634] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(407), 1, + anon_sym_elseif, + ACTIONS(409), 1, + anon_sym_else, + STATE(227), 1, + sym_else, + STATE(161), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(403), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(405), 27, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [4691] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(88), 1, + sym__identifier_pattern, + ACTIONS(90), 1, + anon_sym_LBRACE, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + ACTIONS(411), 1, + anon_sym_RPAREN, + STATE(89), 1, + sym_built_in_function, + STATE(112), 1, + sym_expression, + STATE(149), 1, + aux_sym__expression_list, + ACTIONS(94), 2, + sym_float, + sym_string, + ACTIONS(96), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(116), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [4764] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(88), 1, + sym__identifier_pattern, + ACTIONS(90), 1, + anon_sym_LBRACE, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + ACTIONS(413), 1, + anon_sym_RPAREN, + STATE(89), 1, + sym_built_in_function, + STATE(112), 1, + sym_expression, + STATE(149), 1, + aux_sym__expression_list, + ACTIONS(94), 2, + sym_float, + sym_string, + ACTIONS(96), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(116), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [4837] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(88), 1, + sym__identifier_pattern, + ACTIONS(90), 1, + anon_sym_LBRACE, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + ACTIONS(415), 1, + anon_sym_RPAREN, + STATE(89), 1, + sym_built_in_function, + STATE(112), 1, + sym_expression, + STATE(149), 1, + aux_sym__expression_list, + ACTIONS(94), 2, + sym_float, + sym_string, + ACTIONS(96), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(116), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [4910] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(220), 1, anon_sym_EQ, - ACTIONS(214), 1, + ACTIONS(222), 1, anon_sym_LT, - STATE(46), 1, + STATE(55), 1, sym_assignment_operator, - STATE(300), 1, + STATE(306), 1, sym_type_definition, - ACTIONS(216), 2, + ACTIONS(224), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(208), 14, + ACTIONS(216), 14, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -11081,7 +11435,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - ACTIONS(210), 21, + ACTIONS(218), 21, sym__identifier_pattern, anon_sym_PLUS, anon_sym_DASH, @@ -11103,271 +11457,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [4693] = 15, + [4969] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, - anon_sym_LBRACK, - ACTIONS(106), 1, - anon_sym_LPAREN, - ACTIONS(401), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_built_in_function, - STATE(109), 1, - sym_expression, - STATE(143), 1, - aux_sym__expression_list, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [4766] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(92), 1, - sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, - sym_integer, - ACTIONS(102), 1, - anon_sym_LBRACK, - ACTIONS(106), 1, - anon_sym_LPAREN, - ACTIONS(403), 1, - anon_sym_RBRACK, - STATE(93), 1, - sym_built_in_function, - STATE(113), 1, - sym_expression, - STATE(158), 1, - aux_sym_list_repeat1, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [4839] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(92), 1, - sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, - sym_integer, - ACTIONS(102), 1, - anon_sym_LBRACK, - ACTIONS(106), 1, - anon_sym_LPAREN, - ACTIONS(405), 1, - anon_sym_RBRACK, - STATE(93), 1, - sym_built_in_function, - STATE(113), 1, - sym_expression, - STATE(158), 1, - aux_sym_list_repeat1, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [4912] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(92), 1, - sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, - sym_integer, - ACTIONS(102), 1, - anon_sym_LBRACK, - ACTIONS(106), 1, - anon_sym_LPAREN, - ACTIONS(407), 1, - anon_sym_RBRACK, - STATE(93), 1, - sym_built_in_function, - STATE(113), 1, - sym_expression, - STATE(159), 1, - aux_sym_list_repeat1, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [4985] = 15, - ACTIONS(3), 1, - sym__comment, ACTIONS(190), 1, - sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - ACTIONS(334), 1, + ACTIONS(363), 1, anon_sym_STAR, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(142), 1, + STATE(144), 1, aux_sym_match_repeat1, - STATE(282), 1, + STATE(288), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -11393,39 +11515,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5058] = 15, + [5042] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(409), 1, - anon_sym_RPAREN, - STATE(93), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + ACTIONS(363), 1, + anon_sym_STAR, + STATE(130), 1, sym_built_in_function, - STATE(109), 1, - sym_expression, STATE(143), 1, - aux_sym__expression_list, - ACTIONS(98), 2, + aux_sym_match_repeat1, + STATE(288), 1, + sym_expression, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -11433,7 +11555,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11451,97 +11573,105 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5131] = 15, + [5115] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(411), 1, - anon_sym_RPAREN, - STATE(93), 1, - sym_built_in_function, - STATE(109), 1, - sym_expression, - STATE(143), 1, - aux_sym__expression_list, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [5204] = 7, - ACTIONS(3), 1, - sym__comment, ACTIONS(417), 1, - anon_sym_elseif, - ACTIONS(419), 1, - anon_sym_else, - STATE(225), 1, - sym_else, - STATE(164), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(413), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + anon_sym_RBRACK, + STATE(89), 1, + sym_built_in_function, + STATE(111), 1, + sym_expression, + STATE(163), 1, + aux_sym_list_repeat1, + ACTIONS(94), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(415), 27, - anon_sym_async, - sym__identifier_pattern, - sym_integer, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(116), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [5188] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(88), 1, + sym__identifier_pattern, + ACTIONS(90), 1, + anon_sym_LBRACE, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + ACTIONS(419), 1, + anon_sym_RBRACK, + STATE(89), 1, + sym_built_in_function, + STATE(111), 1, + sym_expression, + STATE(163), 1, + aux_sym_list_repeat1, + ACTIONS(94), 2, + sym_float, + sym_string, + ACTIONS(96), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11562,94 +11692,36 @@ static const uint16_t ts_small_parse_table[] = { [5261] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(421), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(424), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(427), 1, - sym_integer, - ACTIONS(436), 1, - anon_sym_LBRACK, - ACTIONS(439), 1, - anon_sym_RBRACK, - ACTIONS(441), 1, - anon_sym_LPAREN, - STATE(93), 1, - sym_built_in_function, - STATE(113), 1, - sym_expression, - STATE(158), 1, - aux_sym_list_repeat1, - ACTIONS(430), 2, - sym_float, - sym_string, - ACTIONS(433), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(444), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [5334] = 15, - ACTIONS(3), 1, - sym__comment, ACTIONS(92), 1, - sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(447), 1, + ACTIONS(421), 1, anon_sym_RBRACK, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - STATE(113), 1, + STATE(111), 1, sym_expression, - STATE(158), 1, + STATE(159), 1, aux_sym_list_repeat1, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -11657,7 +11729,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11675,19 +11747,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5407] = 7, + [5334] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(417), 1, + ACTIONS(407), 1, anon_sym_elseif, - ACTIONS(419), 1, + ACTIONS(409), 1, anon_sym_else, - STATE(221), 1, + STATE(226), 1, sym_else, - STATE(157), 2, + STATE(166), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(449), 9, + ACTIONS(423), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -11697,7 +11769,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(451), 27, + ACTIONS(425), 27, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -11725,39 +11797,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [5464] = 15, + [5391] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - ACTIONS(453), 1, - anon_sym_RBRACK, - STATE(93), 1, + ACTIONS(427), 1, + anon_sym_RPAREN, + STATE(89), 1, sym_built_in_function, - STATE(113), 1, + STATE(112), 1, sym_expression, - STATE(151), 1, - aux_sym_list_repeat1, - ACTIONS(98), 2, + STATE(149), 1, + aux_sym__expression_list, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -11765,7 +11837,65 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [5464] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(429), 1, + sym__identifier_pattern, + ACTIONS(432), 1, + anon_sym_LBRACE, + ACTIONS(435), 1, + sym_integer, + ACTIONS(444), 1, + anon_sym_LBRACK, + ACTIONS(447), 1, + anon_sym_RBRACK, + ACTIONS(449), 1, + anon_sym_LPAREN, + STATE(89), 1, + sym_built_in_function, + STATE(111), 1, + sym_expression, + STATE(163), 1, + aux_sym_list_repeat1, + ACTIONS(438), 2, + sym_float, + sym_string, + ACTIONS(441), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(452), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11786,34 +11916,34 @@ static const uint16_t ts_small_parse_table[] = { [5537] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, ACTIONS(455), 1, anon_sym_fn, - STATE(15), 1, + STATE(14), 1, sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -11821,7 +11951,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11842,14 +11972,14 @@ static const uint16_t ts_small_parse_table[] = { [5607] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(220), 1, anon_sym_EQ, - STATE(45), 1, + STATE(52), 1, sym_assignment_operator, - ACTIONS(216), 2, + ACTIONS(224), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(208), 14, + ACTIONS(216), 14, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -11864,7 +11994,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - ACTIONS(210), 22, + ACTIONS(218), 22, sym__identifier_pattern, anon_sym_PLUS, anon_sym_DASH, @@ -11892,7 +12022,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(461), 1, anon_sym_elseif, - STATE(164), 2, + STATE(166), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(457), 9, @@ -11937,34 +12067,34 @@ static const uint16_t ts_small_parse_table[] = { [5713] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, ACTIONS(464), 1, anon_sym_fn, - STATE(8), 1, + STATE(15), 1, sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -11972,7 +12102,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -11993,34 +12123,34 @@ static const uint16_t ts_small_parse_table[] = { [5783] = 14, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, ACTIONS(466), 1, anon_sym_fn, - STATE(18), 1, + STATE(10), 1, sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -12028,7 +12158,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12049,32 +12179,32 @@ static const uint16_t ts_small_parse_table[] = { [5853] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - STATE(84), 1, + STATE(79), 1, sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -12082,7 +12212,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12103,32 +12233,32 @@ static const uint16_t ts_small_parse_table[] = { [5920] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - STATE(93), 1, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(43), 1, sym_built_in_function, - STATE(105), 1, + STATE(45), 1, sym_expression, - ACTIONS(98), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -12136,7 +12266,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12157,32 +12287,32 @@ static const uint16_t ts_small_parse_table[] = { [5987] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(108), 1, - sym_expression, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(196), 2, + STATE(278), 1, + sym_expression, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12211,32 +12341,32 @@ static const uint16_t ts_small_parse_table[] = { [6054] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - STATE(93), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(130), 1, sym_built_in_function, - STATE(121), 1, + STATE(271), 1, sym_expression, - ACTIONS(98), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12244,7 +12374,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12265,32 +12395,32 @@ static const uint16_t ts_small_parse_table[] = { [6121] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(270), 1, + STATE(114), 1, sym_expression, - ACTIONS(196), 2, + STATE(130), 1, + sym_built_in_function, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12319,32 +12449,32 @@ static const uint16_t ts_small_parse_table[] = { [6188] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(17), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(19), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(38), 1, - sym_expression, - STATE(48), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(13), 2, + STATE(286), 1, + sym_expression, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12352,7 +12482,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12373,32 +12503,32 @@ static const uint16_t ts_small_parse_table[] = { [6255] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - STATE(17), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(121), 1, sym_expression, - STATE(93), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12406,7 +12536,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12427,32 +12557,32 @@ static const uint16_t ts_small_parse_table[] = { [6322] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - STATE(83), 1, - sym_expression, - STATE(93), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(130), 1, sym_built_in_function, - ACTIONS(98), 2, + STATE(280), 1, + sym_expression, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12460,7 +12590,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12481,32 +12611,32 @@ static const uint16_t ts_small_parse_table[] = { [6389] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(17), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(19), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(37), 1, - sym_expression, - STATE(48), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(13), 2, + STATE(270), 1, + sym_expression, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12514,7 +12644,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12535,32 +12665,32 @@ static const uint16_t ts_small_parse_table[] = { [6456] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(33), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(80), 1, sym_expression, - STATE(48), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(13), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -12568,7 +12698,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12589,32 +12719,32 @@ static const uint16_t ts_small_parse_table[] = { [6523] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(213), 1, + STATE(211), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12643,32 +12773,32 @@ static const uint16_t ts_small_parse_table[] = { [6590] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(17), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(19), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(34), 1, - sym_expression, - STATE(48), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(13), 2, + STATE(272), 1, + sym_expression, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -12676,7 +12806,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12707,9 +12837,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, ACTIONS(468), 1, anon_sym_LBRACE, - STATE(27), 1, + STATE(38), 1, sym_expression, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, ACTIONS(13), 2, sym_float, @@ -12717,12 +12847,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -12751,32 +12881,32 @@ static const uint16_t ts_small_parse_table[] = { [6724] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(468), 1, anon_sym_LBRACE, - STATE(118), 1, + STATE(30), 1, sym_expression, - STATE(127), 1, + STATE(43), 1, sym_built_in_function, - ACTIONS(196), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -12784,7 +12914,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12805,32 +12935,32 @@ static const uint16_t ts_small_parse_table[] = { [6791] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(468), 1, anon_sym_LBRACE, - STATE(114), 1, - sym_expression, - STATE(127), 1, + STATE(43), 1, sym_built_in_function, - ACTIONS(196), 2, + STATE(77), 1, + sym_expression, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -12838,7 +12968,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12859,32 +12989,32 @@ static const uint16_t ts_small_parse_table[] = { [6858] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(468), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(277), 1, + STATE(31), 1, sym_expression, - ACTIONS(196), 2, + STATE(43), 1, + sym_built_in_function, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -12892,7 +13022,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12913,32 +13043,32 @@ static const uint16_t ts_small_parse_table[] = { [6925] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - STATE(12), 1, + ACTIONS(468), 1, + anon_sym_LBRACE, + STATE(29), 1, sym_expression, - STATE(93), 1, + STATE(43), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -12946,7 +13076,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -12967,32 +13097,32 @@ static const uint16_t ts_small_parse_table[] = { [6992] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(278), 1, + STATE(287), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13021,32 +13151,32 @@ static const uint16_t ts_small_parse_table[] = { [7059] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(272), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(84), 1, sym_expression, - ACTIONS(196), 2, + STATE(89), 1, + sym_built_in_function, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13054,7 +13184,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13075,32 +13205,86 @@ static const uint16_t ts_small_parse_table[] = { [7126] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(468), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(283), 1, + STATE(34), 1, sym_expression, - ACTIONS(196), 2, + STATE(43), 1, + sym_built_in_function, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(62), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(33), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [7193] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(178), 1, + sym__identifier_pattern, + ACTIONS(184), 1, + sym_integer, + ACTIONS(190), 1, + anon_sym_LBRACK, + ACTIONS(192), 1, + anon_sym_LPAREN, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(119), 1, + sym_expression, + STATE(130), 1, + sym_built_in_function, + ACTIONS(186), 2, + sym_float, + sym_string, + ACTIONS(188), 2, + anon_sym_true, + anon_sym_false, + STATE(134), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13126,89 +13310,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [7193] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(92), 1, - sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, - sym_integer, - ACTIONS(102), 1, - anon_sym_LBRACK, - ACTIONS(106), 1, - anon_sym_LPAREN, - STATE(79), 1, - sym_expression, - STATE(93), 1, - sym_built_in_function, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, [7260] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(268), 1, + STATE(276), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13237,32 +13367,32 @@ static const uint16_t ts_small_parse_table[] = { [7327] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - STATE(20), 1, + STATE(85), 1, sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13270,7 +13400,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13291,32 +13421,32 @@ static const uint16_t ts_small_parse_table[] = { [7394] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - STATE(82), 1, - sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + STATE(117), 1, + sym_expression, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13324,7 +13454,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13345,32 +13475,32 @@ static const uint16_t ts_small_parse_table[] = { [7461] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(11), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(17), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(19), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(468), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(273), 1, + STATE(41), 1, sym_expression, - ACTIONS(196), 2, + STATE(43), 1, + sym_built_in_function, + ACTIONS(13), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(67), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(62), 7, sym_identifier, sym_value, sym_index, @@ -13378,7 +13508,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13399,32 +13529,32 @@ static const uint16_t ts_small_parse_table[] = { [7528] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - STATE(81), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(113), 1, sym_expression, - STATE(93), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13432,7 +13562,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13453,32 +13583,32 @@ static const uint16_t ts_small_parse_table[] = { [7595] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(271), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(9), 1, sym_expression, - ACTIONS(196), 2, + STATE(89), 1, + sym_built_in_function, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13486,7 +13616,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13507,86 +13637,32 @@ static const uint16_t ts_small_parse_table[] = { [7662] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, - anon_sym_LBRACK, - ACTIONS(106), 1, - anon_sym_LPAREN, - STATE(80), 1, - sym_expression, - STATE(93), 1, - sym_built_in_function, - ACTIONS(98), 2, - sym_float, - sym_string, - ACTIONS(100), 2, - anon_sym_true, - anon_sym_false, - STATE(99), 4, - sym_boolean, - sym_list, - sym_map, - sym_function, - STATE(97), 7, - sym_identifier, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(120), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [7729] = 13, - ACTIONS(3), 1, - sym__comment, ACTIONS(190), 1, - sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - STATE(269), 1, + STATE(281), 1, sym_expression, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13612,35 +13688,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [7796] = 13, + [7729] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(48), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(89), 1, sym_built_in_function, - STATE(75), 1, + STATE(120), 1, sym_expression, - ACTIONS(13), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13648,7 +13724,61 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(116), 17, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [7796] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(88), 1, + sym__identifier_pattern, + ACTIONS(90), 1, + anon_sym_LBRACE, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(89), 1, + sym_built_in_function, + STATE(118), 1, + sym_expression, + ACTIONS(94), 2, + sym_float, + sym_string, + ACTIONS(96), 2, + anon_sym_true, + anon_sym_false, + STATE(101), 4, + sym_boolean, + sym_list, + sym_map, + sym_function, + STATE(88), 7, + sym_identifier, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13669,32 +13799,32 @@ static const uint16_t ts_small_parse_table[] = { [7863] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(94), 1, - anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - STATE(93), 1, + ACTIONS(359), 1, + anon_sym_LBRACE, + STATE(130), 1, sym_built_in_function, - STATE(116), 1, + STATE(273), 1, sym_expression, - ACTIONS(98), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13702,7 +13832,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13723,32 +13853,32 @@ static const uint16_t ts_small_parse_table[] = { [7930] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - STATE(93), 1, - sym_built_in_function, - STATE(120), 1, + STATE(12), 1, sym_expression, - ACTIONS(98), 2, + STATE(89), 1, + sym_built_in_function, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13756,7 +13886,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13777,32 +13907,32 @@ static const uint16_t ts_small_parse_table[] = { [7997] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - STATE(93), 1, - sym_built_in_function, - STATE(119), 1, + STATE(6), 1, sym_expression, - ACTIONS(98), 2, + STATE(89), 1, + sym_built_in_function, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13810,7 +13940,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13831,32 +13961,32 @@ static const uint16_t ts_small_parse_table[] = { [8064] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(11), 1, - sym_integer, - ACTIONS(17), 1, - anon_sym_LBRACK, - ACTIONS(19), 1, - anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(40), 1, - sym_expression, - STATE(48), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(89), 1, sym_built_in_function, - ACTIONS(13), 2, + STATE(107), 1, + sym_expression, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13864,7 +13994,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13885,32 +14015,32 @@ static const uint16_t ts_small_parse_table[] = { [8131] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(112), 1, + STATE(122), 1, sym_expression, - STATE(127), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(196), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -13939,32 +14069,32 @@ static const uint16_t ts_small_parse_table[] = { [8198] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(92), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(94), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - ACTIONS(96), 1, + ACTIONS(92), 1, sym_integer, - ACTIONS(102), 1, + ACTIONS(98), 1, anon_sym_LBRACK, - ACTIONS(106), 1, + ACTIONS(102), 1, anon_sym_LPAREN, - STATE(77), 1, + STATE(82), 1, sym_expression, - STATE(93), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(98), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(100), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(99), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(97), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -13972,7 +14102,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(120), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -13993,32 +14123,32 @@ static const uint16_t ts_small_parse_table[] = { [8265] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(194), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(200), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(127), 1, - sym_built_in_function, - STATE(284), 1, + STATE(110), 1, sym_expression, - ACTIONS(196), 2, + STATE(130), 1, + sym_built_in_function, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -14047,32 +14177,32 @@ static const uint16_t ts_small_parse_table[] = { [8332] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(178), 1, sym__identifier_pattern, - ACTIONS(11), 1, + ACTIONS(184), 1, sym_integer, - ACTIONS(17), 1, + ACTIONS(190), 1, anon_sym_LBRACK, - ACTIONS(19), 1, + ACTIONS(192), 1, anon_sym_LPAREN, - ACTIONS(468), 1, + ACTIONS(359), 1, anon_sym_LBRACE, - STATE(41), 1, + STATE(116), 1, sym_expression, - STATE(48), 1, + STATE(130), 1, sym_built_in_function, - ACTIONS(13), 2, + ACTIONS(186), 2, sym_float, sym_string, - ACTIONS(15), 2, + ACTIONS(188), 2, anon_sym_true, anon_sym_false, - STATE(57), 4, + STATE(134), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(70), 7, + STATE(140), 7, sym_identifier, sym_value, sym_index, @@ -14080,7 +14210,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(33), 17, + ACTIONS(206), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14101,32 +14231,32 @@ static const uint16_t ts_small_parse_table[] = { [8399] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(117), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(86), 1, sym_expression, - STATE(127), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(196), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -14134,7 +14264,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14155,32 +14285,32 @@ static const uint16_t ts_small_parse_table[] = { [8466] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(110), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(83), 1, sym_expression, - STATE(127), 1, + STATE(89), 1, sym_built_in_function, - ACTIONS(196), 2, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -14188,7 +14318,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14209,32 +14339,32 @@ static const uint16_t ts_small_parse_table[] = { [8533] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(190), 1, + ACTIONS(88), 1, sym__identifier_pattern, - ACTIONS(194), 1, - sym_integer, - ACTIONS(200), 1, - anon_sym_LBRACK, - ACTIONS(202), 1, - anon_sym_LPAREN, - ACTIONS(330), 1, + ACTIONS(90), 1, anon_sym_LBRACE, - STATE(115), 1, - sym_expression, - STATE(127), 1, + ACTIONS(92), 1, + sym_integer, + ACTIONS(98), 1, + anon_sym_LBRACK, + ACTIONS(102), 1, + anon_sym_LPAREN, + STATE(89), 1, sym_built_in_function, - ACTIONS(196), 2, + STATE(123), 1, + sym_expression, + ACTIONS(94), 2, sym_float, sym_string, - ACTIONS(198), 2, + ACTIONS(96), 2, anon_sym_true, anon_sym_false, - STATE(126), 4, + STATE(101), 4, sym_boolean, sym_list, sym_map, sym_function, - STATE(132), 7, + STATE(88), 7, sym_identifier, sym_value, sym_index, @@ -14242,7 +14372,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - ACTIONS(206), 17, + ACTIONS(116), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14260,75 +14390,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [8600] = 3, + [8600] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(270), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_elseif, - anon_sym_asyncfor, - ACTIONS(272), 28, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [8646] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(306), 1, + ACTIONS(302), 1, + anon_sym_SEMI, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_COLON, - STATE(205), 1, + STATE(175), 1, sym_logic_operator, - STATE(207), 1, + STATE(189), 1, sym_math_operator, - ACTIONS(116), 2, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(288), 3, + ACTIONS(288), 2, anon_sym_RBRACE, - anon_sym_SEMI, anon_sym_COMMA, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -14354,7 +14442,109 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [8708] = 3, + [8664] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(294), 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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(296), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [8726] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(288), 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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(290), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [8788] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(238), 10, @@ -14397,62 +14587,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [8754] = 12, + [8834] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(302), 1, - anon_sym_SEMI, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(288), 2, - anon_sym_RBRACE, - anon_sym_COMMA, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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(290), 18, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [8818] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(470), 10, + ACTIONS(266), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -14463,7 +14601,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_elseif, anon_sym_asyncfor, - ACTIONS(472), 28, + ACTIONS(268), 28, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -14492,40 +14630,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [8864] = 11, + [8880] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(294), 3, + ACTIONS(470), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, - anon_sym_COMMA, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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(296), 18, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_elseif, + anon_sym_asyncfor, + ACTIONS(472), 28, + anon_sym_async, sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -14627,130 +14757,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [9016] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(482), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(484), 27, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9060] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(486), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(488), 27, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9104] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(490), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(492), 27, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9148] = 4, + [9016] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(292), 1, @@ -14792,10 +14799,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [9194] = 3, + [9062] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(494), 9, + ACTIONS(482), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -14805,7 +14812,130 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(496), 27, + ACTIONS(484), 27, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [9106] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(486), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(488), 27, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [9150] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(490), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(492), 27, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [9194] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(288), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(290), 27, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -14836,7 +14966,7 @@ static const uint16_t ts_small_parse_table[] = { [9238] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(413), 9, + ACTIONS(494), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -14846,7 +14976,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_asyncfor, - ACTIONS(415), 27, + ACTIONS(496), 27, anon_sym_async, sym__identifier_pattern, sym_integer, @@ -14916,47 +15046,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [9326] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(288), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_asyncfor, - ACTIONS(290), 27, - anon_sym_async, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_return, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9370] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(502), 9, @@ -14997,7 +15086,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [9414] = 3, + [9370] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(506), 9, @@ -15038,6 +15127,47 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [9414] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(423), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_asyncfor, + ACTIONS(425), 27, + anon_sym_async, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_return, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [9458] = 3, ACTIONS(3), 1, sym__comment, @@ -15086,12 +15216,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, ACTIONS(516), 1, anon_sym_else, - STATE(242), 1, + STATE(245), 1, sym_else, - STATE(229), 2, + STATE(230), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(413), 9, + ACTIONS(403), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -15101,7 +15231,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_STAR, - ACTIONS(415), 21, + ACTIONS(405), 21, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -15130,12 +15260,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, ACTIONS(516), 1, anon_sym_else, - STATE(237), 1, + STATE(247), 1, sym_else, - STATE(227), 2, + STATE(231), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(449), 9, + ACTIONS(423), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -15145,7 +15275,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_STAR, - ACTIONS(451), 21, + ACTIONS(425), 21, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -15172,7 +15302,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(518), 1, anon_sym_elseif, - STATE(229), 2, + STATE(231), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(457), 9, @@ -15247,80 +15377,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_to_json, anon_sym_write, [9691] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(238), 10, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - anon_sym_elseif, - ACTIONS(240), 22, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_else, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9731] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(270), 10, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - anon_sym_elseif, - ACTIONS(272), 22, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_else, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9771] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(474), 10, @@ -15357,7 +15413,44 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [9811] = 3, + [9731] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(238), 10, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + anon_sym_elseif, + ACTIONS(240), 22, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [9771] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(470), 10, @@ -15394,322 +15487,44 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [9811] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(266), 10, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + anon_sym_elseif, + ACTIONS(268), 22, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_else, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [9851] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(288), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(290), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9889] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(478), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(480), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9927] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(413), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(415), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [9965] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(486), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(488), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [10003] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(494), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(496), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [10041] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(498), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(500), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [10079] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(502), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(504), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [10117] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(506), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(508), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [10155] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(482), 9, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_STAR, - ACTIONS(484), 21, - sym__identifier_pattern, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [10193] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(490), 9, @@ -15744,10 +15559,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [10231] = 3, + [9889] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(510), 9, + ACTIONS(288), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -15757,7 +15572,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_STAR, - ACTIONS(512), 21, + ACTIONS(290), 21, sym__identifier_pattern, sym_integer, anon_sym_true, @@ -15779,7 +15594,112 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [10269] = 4, + [9927] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(478), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(480), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [9965] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(494), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(496), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10003] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(486), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(488), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10041] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(302), 1, @@ -15815,6 +15735,216 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, + [10081] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(482), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(484), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10119] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(498), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(500), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10157] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(423), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(425), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10195] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(502), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(504), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10233] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(506), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(508), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [10271] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(510), 9, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LPAREN, + anon_sym_STAR, + ACTIONS(512), 21, + sym__identifier_pattern, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, [10309] = 4, ACTIONS(3), 1, sym__comment, @@ -15886,7 +16016,7 @@ static const uint16_t ts_small_parse_table[] = { [10384] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(388), 6, + ACTIONS(396), 6, anon_sym_LBRACE, sym_float, sym_string, @@ -15918,7 +16048,7 @@ static const uint16_t ts_small_parse_table[] = { [10419] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(439), 6, + ACTIONS(447), 6, anon_sym_LBRACE, sym_float, sym_string, @@ -16044,13 +16174,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(84), 1, + ACTIONS(86), 1, anon_sym_RBRACE, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(266), 1, + STATE(269), 1, aux_sym_map_repeat1, - STATE(320), 1, + STATE(314), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16073,17 +16203,17 @@ static const uint16_t ts_small_parse_table[] = { [10593] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(551), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(554), 1, - anon_sym_RBRACE, - STATE(48), 1, + ACTIONS(551), 1, + anon_sym_RPAREN, + STATE(43), 1, sym_built_in_function, - STATE(255), 1, - aux_sym_map_repeat1, - STATE(320), 1, + STATE(268), 1, + aux_sym_function_repeat1, + STATE(317), 1, sym_identifier, - ACTIONS(556), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16104,17 +16234,17 @@ static const uint16_t ts_small_parse_table[] = { [10631] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(559), 1, + ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(562), 1, + ACTIONS(553), 1, anon_sym_RPAREN, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(256), 1, + STATE(257), 1, aux_sym_function_repeat1, STATE(317), 1, sym_identifier, - ACTIONS(564), 17, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16137,13 +16267,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(86), 1, - anon_sym_RBRACE, - STATE(48), 1, + ACTIONS(555), 1, + anon_sym_RPAREN, + STATE(43), 1, sym_built_in_function, STATE(261), 1, - aux_sym_map_repeat1, - STATE(320), 1, + aux_sym_function_repeat1, + STATE(317), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16168,13 +16298,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(567), 1, - anon_sym_RPAREN, - STATE(48), 1, + ACTIONS(82), 1, + anon_sym_RBRACE, + STATE(43), 1, sym_built_in_function, - STATE(256), 1, - aux_sym_function_repeat1, - STATE(317), 1, + STATE(265), 1, + aux_sym_map_repeat1, + STATE(314), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16199,11 +16329,11 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(569), 1, + ACTIONS(557), 1, anon_sym_RPAREN, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(256), 1, + STATE(268), 1, aux_sym_function_repeat1, STATE(317), 1, sym_identifier, @@ -16230,13 +16360,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(571), 1, - anon_sym_RPAREN, - STATE(48), 1, + ACTIONS(84), 1, + anon_sym_RBRACE, + STATE(43), 1, sym_built_in_function, STATE(263), 1, - aux_sym_function_repeat1, - STATE(317), 1, + aux_sym_map_repeat1, + STATE(314), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16261,13 +16391,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(573), 1, + ACTIONS(559), 1, anon_sym_RBRACE, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(255), 1, + STATE(264), 1, aux_sym_map_repeat1, - STATE(320), 1, + STATE(314), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16290,17 +16420,17 @@ static const uint16_t ts_small_parse_table[] = { [10859] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(561), 1, sym__identifier_pattern, - ACTIONS(575), 1, - anon_sym_RPAREN, - STATE(48), 1, + ACTIONS(564), 1, + anon_sym_RBRACE, + STATE(43), 1, sym_built_in_function, - STATE(259), 1, - aux_sym_function_repeat1, - STATE(317), 1, + STATE(264), 1, + aux_sym_map_repeat1, + STATE(314), 1, sym_identifier, - ACTIONS(33), 17, + ACTIONS(566), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16323,13 +16453,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(577), 1, - anon_sym_RPAREN, - STATE(48), 1, + ACTIONS(569), 1, + anon_sym_RBRACE, + STATE(43), 1, sym_built_in_function, - STATE(256), 1, - aux_sym_function_repeat1, - STATE(317), 1, + STATE(264), 1, + aux_sym_map_repeat1, + STATE(314), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16354,11 +16484,11 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(579), 1, + ACTIONS(571), 1, anon_sym_RPAREN, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(258), 1, + STATE(268), 1, aux_sym_function_repeat1, STATE(317), 1, sym_identifier, @@ -16385,13 +16515,13 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - ACTIONS(82), 1, - anon_sym_RBRACE, - STATE(48), 1, + ACTIONS(573), 1, + anon_sym_RPAREN, + STATE(43), 1, sym_built_in_function, - STATE(267), 1, - aux_sym_map_repeat1, - STATE(320), 1, + STATE(266), 1, + aux_sym_function_repeat1, + STATE(317), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16414,17 +16544,17 @@ static const uint16_t ts_small_parse_table[] = { [11011] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(575), 1, sym__identifier_pattern, - ACTIONS(581), 1, - anon_sym_RBRACE, - STATE(48), 1, + ACTIONS(578), 1, + anon_sym_RPAREN, + STATE(43), 1, sym_built_in_function, - STATE(255), 1, - aux_sym_map_repeat1, - STATE(320), 1, + STATE(268), 1, + aux_sym_function_repeat1, + STATE(317), 1, sym_identifier, - ACTIONS(33), 17, + ACTIONS(580), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16449,11 +16579,11 @@ static const uint16_t ts_small_parse_table[] = { sym__identifier_pattern, ACTIONS(583), 1, anon_sym_RBRACE, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(255), 1, + STATE(264), 1, aux_sym_map_repeat1, - STATE(320), 1, + STATE(314), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16476,31 +16606,31 @@ static const uint16_t ts_small_parse_table[] = { [11087] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(306), 1, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_COLON, ACTIONS(585), 1, anon_sym_async, ACTIONS(587), 1, anon_sym_LBRACE, - STATE(205), 1, + STATE(175), 1, sym_logic_operator, - STATE(207), 1, + STATE(189), 1, sym_math_operator, - STATE(212), 1, + STATE(233), 1, sym_block, - ACTIONS(116), 2, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -16510,31 +16640,31 @@ static const uint16_t ts_small_parse_table[] = { [11133] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(306), 1, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_COLON, ACTIONS(589), 1, anon_sym_async, ACTIONS(591), 1, anon_sym_LBRACE, - STATE(205), 1, + STATE(175), 1, sym_logic_operator, - STATE(207), 1, + STATE(189), 1, sym_math_operator, - STATE(245), 1, + STATE(216), 1, sym_block, - ACTIONS(116), 2, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -16544,31 +16674,31 @@ static const uint16_t ts_small_parse_table[] = { [11179] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(306), 1, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_COLON, ACTIONS(593), 1, anon_sym_async, ACTIONS(595), 1, anon_sym_LBRACE, - STATE(205), 1, + STATE(175), 1, sym_logic_operator, - STATE(207), 1, + STATE(189), 1, sym_math_operator, - STATE(234), 1, + STATE(237), 1, sym_block, - ACTIONS(116), 2, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -16578,260 +16708,71 @@ static const uint16_t ts_small_parse_table[] = { [11225] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(306), 1, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - ACTIONS(597), 1, - anon_sym_async, - ACTIONS(599), 1, - anon_sym_LBRACE, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - STATE(226), 1, - sym_block, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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, - [11271] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - ACTIONS(585), 1, - anon_sym_async, - ACTIONS(587), 1, - anon_sym_LBRACE, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - STATE(214), 1, - sym_block, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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, - [11317] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - ACTIONS(597), 1, - anon_sym_async, - ACTIONS(599), 1, - anon_sym_LBRACE, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - STATE(217), 1, - sym_block, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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, - [11363] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 1, - anon_sym_RPAREN, - ACTIONS(603), 1, - anon_sym_COMMA, - ACTIONS(601), 18, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [11393] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym__identifier_pattern, - STATE(48), 1, - sym_built_in_function, - STATE(331), 1, - sym_identifier, - ACTIONS(33), 17, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [11425] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(607), 1, - anon_sym_RBRACE, - ACTIONS(609), 1, - anon_sym_COMMA, - ACTIONS(605), 18, - sym__identifier_pattern, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_bash, - anon_sym_download, - anon_sym_fish, - anon_sym_from_json, - anon_sym_length, - anon_sym_metadata, - anon_sym_output, - anon_sym_output_error, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_read, - anon_sym_to_json, - anon_sym_write, - [11455] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - ACTIONS(589), 1, - anon_sym_async, - ACTIONS(591), 1, - anon_sym_LBRACE, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - STATE(238), 1, - sym_block, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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, - [11501] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_COLON, ACTIONS(593), 1, anon_sym_async, ACTIONS(595), 1, anon_sym_LBRACE, - STATE(205), 1, + STATE(175), 1, sym_logic_operator, - STATE(207), 1, + STATE(189), 1, sym_math_operator, - STATE(233), 1, + STATE(243), 1, sym_block, - ACTIONS(116), 2, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 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, - [11547] = 5, + [11271] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(599), 1, + anon_sym_RBRACE, + ACTIONS(601), 1, + anon_sym_COMMA, + ACTIONS(597), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [11301] = 5, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, sym__identifier_pattern, - STATE(48), 1, + STATE(43), 1, sym_built_in_function, - STATE(318), 1, + STATE(328), 1, sym_identifier, ACTIONS(33), 17, anon_sym_assert, @@ -16851,13 +16792,50 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11579] = 3, + [11333] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(613), 1, - anon_sym_RPAREN, - ACTIONS(611), 18, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + ACTIONS(585), 1, + anon_sym_async, + ACTIONS(587), 1, + anon_sym_LBRACE, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + STATE(235), 1, + sym_block, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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, + [11379] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, sym__identifier_pattern, + STATE(43), 1, + sym_built_in_function, + STATE(327), 1, + sym_identifier, + ACTIONS(33), 17, anon_sym_assert, anon_sym_assert_equal, anon_sym_bash, @@ -16875,12 +16853,48 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11606] = 3, + [11411] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(617), 1, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + ACTIONS(603), 1, + anon_sym_async, + ACTIONS(605), 1, + anon_sym_LBRACE, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + STATE(219), 1, + sym_block, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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, + [11457] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, anon_sym_RBRACE, - ACTIONS(615), 18, + ACTIONS(611), 1, + anon_sym_COMMA, + ACTIONS(607), 18, sym__identifier_pattern, anon_sym_assert, anon_sym_assert_equal, @@ -16899,121 +16913,268 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_read, anon_sym_to_json, anon_sym_write, - [11633] = 10, + [11487] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, + ACTIONS(108), 1, anon_sym_DASH, - ACTIONS(306), 1, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(322), 1, + ACTIONS(326), 1, anon_sym_COLON, + ACTIONS(603), 1, + anon_sym_async, + ACTIONS(605), 1, + anon_sym_LBRACE, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + STATE(221), 1, + sym_block, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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, + [11533] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + ACTIONS(589), 1, + anon_sym_async, + ACTIONS(591), 1, + anon_sym_LBRACE, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + STATE(215), 1, + sym_block, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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, + [11579] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(578), 1, + anon_sym_RPAREN, + ACTIONS(615), 1, + anon_sym_COMMA, + ACTIONS(613), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [11609] = 3, + ACTIONS(3), 1, + sym__comment, ACTIONS(619), 1, - anon_sym_EQ_GT, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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, - [11673] = 10, + anon_sym_RPAREN, + ACTIONS(617), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [11636] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, - ACTIONS(621), 1, - anon_sym_LBRACE, - STATE(205), 1, - sym_logic_operator, - STATE(207), 1, - sym_math_operator, - ACTIONS(116), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(110), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(114), 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, - [11713] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(112), 1, - anon_sym_DASH, - ACTIONS(306), 1, - anon_sym_DASH_GT, - ACTIONS(322), 1, - anon_sym_COLON, ACTIONS(623), 1, + anon_sym_RBRACE, + ACTIONS(621), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [11663] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + anon_sym_RBRACE, + ACTIONS(607), 18, + sym__identifier_pattern, + anon_sym_assert, + anon_sym_assert_equal, + anon_sym_bash, + anon_sym_download, + anon_sym_fish, + anon_sym_from_json, + anon_sym_length, + anon_sym_metadata, + anon_sym_output, + anon_sym_output_error, + anon_sym_random, + anon_sym_random_boolean, + anon_sym_random_float, + anon_sym_random_integer, + anon_sym_read, + anon_sym_to_json, + anon_sym_write, + [11690] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, + ACTIONS(625), 1, anon_sym_LBRACE, - STATE(205), 1, + STATE(175), 1, sym_logic_operator, - STATE(207), 1, + STATE(189), 1, sym_math_operator, - ACTIONS(116), 2, + ACTIONS(112), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(110), 4, + ACTIONS(106), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(114), 6, + ACTIONS(110), 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, - [11753] = 3, + [11730] = 10, ACTIONS(3), 1, sym__comment, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, + anon_sym_DASH_GT, + ACTIONS(326), 1, + anon_sym_COLON, ACTIONS(627), 1, + anon_sym_LBRACE, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(112), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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, + [11770] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(108), 1, + anon_sym_DASH, + ACTIONS(320), 1, anon_sym_DASH_GT, - ACTIONS(625), 13, - anon_sym_COMMA, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, + ACTIONS(326), 1, + anon_sym_COLON, + ACTIONS(629), 1, + anon_sym_EQ_GT, + STATE(175), 1, + sym_logic_operator, + STATE(189), 1, + sym_math_operator, + ACTIONS(112), 2, anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [11775] = 3, + anon_sym_LT, + ACTIONS(106), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(110), 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, + [11810] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(631), 1, + ACTIONS(633), 1, anon_sym_DASH_GT, - ACTIONS(629), 13, + ACTIONS(631), 13, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, @@ -17027,26 +17188,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [11797] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(633), 13, - anon_sym_COMMA, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [11816] = 2, + [11832] = 3, ACTIONS(3), 1, sym__comment, + ACTIONS(637), 1, + anon_sym_DASH_GT, ACTIONS(635), 13, anon_sym_COMMA, anon_sym_LBRACK, @@ -17061,27 +17207,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [11835] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(637), 13, - anon_sym_COMMA, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, [11854] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(625), 13, + ACTIONS(631), 13, anon_sym_COMMA, anon_sym_LBRACK, anon_sym_RBRACK, @@ -17095,75 +17224,126 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [11873] = 7, + [11873] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(639), 1, - anon_sym_LBRACK, - ACTIONS(641), 1, - anon_sym_LPAREN, - ACTIONS(643), 1, - anon_sym_RPAREN, - STATE(293), 1, - aux_sym_type_repeat1, - STATE(294), 1, - sym_type, - ACTIONS(645), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [11901] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(647), 1, - anon_sym_LBRACK, - ACTIONS(650), 1, - anon_sym_LPAREN, - ACTIONS(653), 1, - anon_sym_RPAREN, - STATE(292), 1, - aux_sym_type_repeat1, - STATE(294), 1, - sym_type, - ACTIONS(655), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [11929] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(639), 1, - anon_sym_LBRACK, - ACTIONS(641), 1, - anon_sym_LPAREN, - ACTIONS(658), 1, - anon_sym_RPAREN, - STATE(292), 1, - aux_sym_type_repeat1, - STATE(294), 1, - sym_type, - ACTIONS(645), 7, - anon_sym_any, - anon_sym_bool, - anon_sym_float, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [11957] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(660), 1, + ACTIONS(639), 13, anon_sym_COMMA, - ACTIONS(662), 10, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [11892] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(641), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [11911] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(643), 13, + anon_sym_COMMA, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [11930] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(645), 1, + anon_sym_LBRACK, + ACTIONS(647), 1, + anon_sym_LPAREN, + ACTIONS(649), 1, + anon_sym_RPAREN, + STATE(297), 1, + aux_sym_type_repeat1, + STATE(298), 1, + sym_type, + ACTIONS(651), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [11958] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(653), 1, + anon_sym_LBRACK, + ACTIONS(656), 1, + anon_sym_LPAREN, + ACTIONS(659), 1, + anon_sym_RPAREN, + STATE(296), 1, + aux_sym_type_repeat1, + STATE(298), 1, + sym_type, + ACTIONS(661), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [11986] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(645), 1, + anon_sym_LBRACK, + ACTIONS(647), 1, + anon_sym_LPAREN, + ACTIONS(664), 1, + anon_sym_RPAREN, + STATE(296), 1, + aux_sym_type_repeat1, + STATE(298), 1, + sym_type, + ACTIONS(651), 7, + anon_sym_any, + anon_sym_bool, + anon_sym_float, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [12014] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(666), 1, + anon_sym_COMMA, + ACTIONS(668), 10, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_RPAREN, @@ -17174,16 +17354,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [11976] = 5, + [12033] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(639), 1, + ACTIONS(645), 1, anon_sym_LBRACK, - ACTIONS(641), 1, + ACTIONS(647), 1, anon_sym_LPAREN, - STATE(322), 1, + STATE(292), 1, sym_type, - ACTIONS(645), 7, + ACTIONS(651), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -17191,16 +17371,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [11998] = 5, + [12055] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(639), 1, + ACTIONS(645), 1, anon_sym_LBRACK, - ACTIONS(641), 1, + ACTIONS(647), 1, anon_sym_LPAREN, - STATE(289), 1, + STATE(332), 1, sym_type, - ACTIONS(645), 7, + ACTIONS(651), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -17208,16 +17388,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12020] = 5, + [12077] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(639), 1, + ACTIONS(645), 1, anon_sym_LBRACK, - ACTIONS(641), 1, + ACTIONS(647), 1, anon_sym_LPAREN, - STATE(287), 1, + STATE(326), 1, sym_type, - ACTIONS(645), 7, + ACTIONS(651), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -17225,10 +17405,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12042] = 2, + [12099] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(653), 10, + ACTIONS(659), 10, anon_sym_LBRACK, anon_sym_LPAREN, anon_sym_RPAREN, @@ -17239,16 +17419,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12058] = 5, + [12115] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(639), 1, + ACTIONS(645), 1, anon_sym_LBRACK, - ACTIONS(641), 1, + ACTIONS(647), 1, anon_sym_LPAREN, - STATE(321), 1, + STATE(294), 1, sym_type, - ACTIONS(645), 7, + ACTIONS(651), 7, anon_sym_any, anon_sym_bool, anon_sym_float, @@ -17256,739 +17436,762 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, anon_sym_num, anon_sym_str, - [12080] = 3, + [12137] = 3, ACTIONS(3), 1, sym__comment, - STATE(42), 1, + STATE(40), 1, sym_assignment_operator, - ACTIONS(216), 3, + ACTIONS(224), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [12092] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(55), 1, - sym_assignment_operator, - ACTIONS(216), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [12104] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(44), 1, - sym_assignment_operator, - ACTIONS(216), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [12116] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - anon_sym_async, - ACTIONS(666), 1, - anon_sym_LBRACE, - STATE(133), 1, - sym_block, - [12129] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(589), 1, - anon_sym_async, - ACTIONS(591), 1, - anon_sym_LBRACE, - STATE(91), 1, - sym_block, - [12142] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(589), 1, - anon_sym_async, - ACTIONS(591), 1, - anon_sym_LBRACE, - STATE(241), 1, - sym_block, - [12155] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - anon_sym_async, - ACTIONS(666), 1, - anon_sym_LBRACE, - STATE(136), 1, - sym_block, - [12168] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(589), 1, - anon_sym_async, - ACTIONS(591), 1, - anon_sym_LBRACE, - STATE(101), 1, - sym_block, - [12181] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(597), 1, - anon_sym_async, - ACTIONS(599), 1, - anon_sym_LBRACE, - STATE(224), 1, - sym_block, - [12194] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(597), 1, - anon_sym_async, - ACTIONS(599), 1, - anon_sym_LBRACE, - STATE(61), 1, - sym_block, - [12207] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(597), 1, - anon_sym_async, - ACTIONS(599), 1, - anon_sym_LBRACE, - STATE(72), 1, - sym_block, - [12220] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(309), 1, - sym_type_definition, - [12230] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(310), 1, - sym_type_definition, - [12240] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(307), 1, - sym_type_definition, - [12250] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(304), 1, - sym_type_definition, - [12260] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(306), 1, - sym_type_definition, - [12270] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(303), 1, - sym_type_definition, - [12280] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - anon_sym_LT, - STATE(274), 1, - sym_type_definition, - [12290] = 2, + [12149] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(670), 1, - anon_sym_in, - [12297] = 2, + anon_sym_EQ, + STATE(40), 1, + sym_assignment_operator, + ACTIONS(224), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [12163] = 3, + ACTIONS(3), 1, + sym__comment, + STATE(51), 1, + sym_assignment_operator, + ACTIONS(224), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [12175] = 3, + ACTIONS(3), 1, + sym__comment, + STATE(54), 1, + sym_assignment_operator, + ACTIONS(224), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [12187] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(603), 1, + anon_sym_async, + ACTIONS(605), 1, + anon_sym_LBRACE, + STATE(65), 1, + sym_block, + [12200] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(603), 1, + anon_sym_async, + ACTIONS(605), 1, + anon_sym_LBRACE, + STATE(66), 1, + sym_block, + [12213] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(593), 1, + anon_sym_async, + ACTIONS(595), 1, + anon_sym_LBRACE, + STATE(103), 1, + sym_block, + [12226] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(593), 1, + anon_sym_async, + ACTIONS(595), 1, + anon_sym_LBRACE, + STATE(98), 1, + sym_block, + [12239] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(672), 1, + anon_sym_async, + ACTIONS(674), 1, anon_sym_LBRACE, - [12304] = 2, + STATE(127), 1, + sym_block, + [12252] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(674), 1, - anon_sym_EQ, - [12311] = 2, + ACTIONS(593), 1, + anon_sym_async, + ACTIONS(595), 1, + anon_sym_LBRACE, + STATE(248), 1, + sym_block, + [12265] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(676), 1, - anon_sym_RBRACK, - [12318] = 2, + anon_sym_EQ, + ACTIONS(678), 1, + anon_sym_LT, + STATE(338), 1, + sym_type_definition, + [12278] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(603), 1, + anon_sym_async, + ACTIONS(605), 1, + anon_sym_LBRACE, + STATE(228), 1, + sym_block, + [12291] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + anon_sym_async, + ACTIONS(674), 1, + anon_sym_LBRACE, + STATE(138), 1, + sym_block, + [12304] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(678), 1, - anon_sym_GT, - [12325] = 2, + anon_sym_LT, + STATE(282), 1, + sym_type_definition, + [12314] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(678), 1, + anon_sym_LT, + STATE(308), 1, + sym_type_definition, + [12324] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(678), 1, + anon_sym_LT, + STATE(312), 1, + sym_type_definition, + [12334] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(678), 1, + anon_sym_LT, + STATE(309), 1, + sym_type_definition, + [12344] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(678), 1, + anon_sym_LT, + STATE(316), 1, + sym_type_definition, + [12354] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(678), 1, + anon_sym_LT, + STATE(310), 1, + sym_type_definition, + [12364] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(678), 1, + anon_sym_LT, + STATE(311), 1, + sym_type_definition, + [12374] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(680), 1, anon_sym_LPAREN, - [12332] = 2, + [12381] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(682), 1, anon_sym_LBRACE, - [12339] = 2, + [12388] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(684), 1, - anon_sym_LBRACE, - [12346] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(619), 1, - anon_sym_EQ_GT, - [12353] = 2, + anon_sym_RBRACK, + [12395] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(686), 1, - anon_sym_LPAREN, - [12360] = 2, + anon_sym_in, + [12402] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(688), 1, - anon_sym_LPAREN, - [12367] = 2, + anon_sym_in, + [12409] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(690), 1, - anon_sym_LBRACE, - [12374] = 2, + anon_sym_LPAREN, + [12416] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(692), 1, anon_sym_LBRACE, - [12381] = 2, + [12423] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(694), 1, - anon_sym_in, - [12388] = 2, + anon_sym_LBRACE, + [12430] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(696), 1, + anon_sym_GT, + [12437] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(698), 1, + anon_sym_LPAREN, + [12444] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(700), 1, ts_builtin_sym_end, + [12451] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(702), 1, + anon_sym_LBRACE, + [12458] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(704), 1, + anon_sym_LBRACE, + [12465] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(629), 1, + anon_sym_EQ_GT, + [12472] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(706), 1, + anon_sym_EQ, }; static const uint32_t ts_small_parse_table_map[] = { - [SMALL_STATE(74)] = 0, - [SMALL_STATE(75)] = 79, - [SMALL_STATE(76)] = 156, - [SMALL_STATE(77)] = 233, - [SMALL_STATE(78)] = 299, - [SMALL_STATE(79)] = 363, - [SMALL_STATE(80)] = 429, - [SMALL_STATE(81)] = 493, - [SMALL_STATE(82)] = 569, - [SMALL_STATE(83)] = 632, - [SMALL_STATE(84)] = 707, - [SMALL_STATE(85)] = 772, - [SMALL_STATE(86)] = 830, - [SMALL_STATE(87)] = 888, - [SMALL_STATE(88)] = 946, - [SMALL_STATE(89)] = 1004, - [SMALL_STATE(90)] = 1062, - [SMALL_STATE(91)] = 1120, - [SMALL_STATE(92)] = 1178, - [SMALL_STATE(93)] = 1236, - [SMALL_STATE(94)] = 1294, - [SMALL_STATE(95)] = 1352, - [SMALL_STATE(96)] = 1410, - [SMALL_STATE(97)] = 1468, - [SMALL_STATE(98)] = 1526, - [SMALL_STATE(99)] = 1584, - [SMALL_STATE(100)] = 1642, - [SMALL_STATE(101)] = 1700, - [SMALL_STATE(102)] = 1758, - [SMALL_STATE(103)] = 1816, - [SMALL_STATE(104)] = 1883, - [SMALL_STATE(105)] = 1945, - [SMALL_STATE(106)] = 2015, - [SMALL_STATE(107)] = 2087, - [SMALL_STATE(108)] = 2157, - [SMALL_STATE(109)] = 2226, - [SMALL_STATE(110)] = 2297, - [SMALL_STATE(111)] = 2356, - [SMALL_STATE(112)] = 2413, - [SMALL_STATE(113)] = 2470, - [SMALL_STATE(114)] = 2541, - [SMALL_STATE(115)] = 2600, - [SMALL_STATE(116)] = 2658, - [SMALL_STATE(117)] = 2728, - [SMALL_STATE(118)] = 2796, - [SMALL_STATE(119)] = 2852, - [SMALL_STATE(120)] = 2910, - [SMALL_STATE(121)] = 2980, - [SMALL_STATE(122)] = 3050, - [SMALL_STATE(123)] = 3101, - [SMALL_STATE(124)] = 3152, - [SMALL_STATE(125)] = 3203, - [SMALL_STATE(126)] = 3254, - [SMALL_STATE(127)] = 3305, - [SMALL_STATE(128)] = 3356, - [SMALL_STATE(129)] = 3407, - [SMALL_STATE(130)] = 3458, - [SMALL_STATE(131)] = 3509, - [SMALL_STATE(132)] = 3560, - [SMALL_STATE(133)] = 3611, - [SMALL_STATE(134)] = 3662, - [SMALL_STATE(135)] = 3713, - [SMALL_STATE(136)] = 3764, - [SMALL_STATE(137)] = 3815, - [SMALL_STATE(138)] = 3866, - [SMALL_STATE(139)] = 3917, - [SMALL_STATE(140)] = 3968, - [SMALL_STATE(141)] = 4044, - [SMALL_STATE(142)] = 4120, - [SMALL_STATE(143)] = 4196, - [SMALL_STATE(144)] = 4269, - [SMALL_STATE(145)] = 4342, - [SMALL_STATE(146)] = 4415, - [SMALL_STATE(147)] = 4488, - [SMALL_STATE(148)] = 4561, - [SMALL_STATE(149)] = 4634, - [SMALL_STATE(150)] = 4693, - [SMALL_STATE(151)] = 4766, - [SMALL_STATE(152)] = 4839, - [SMALL_STATE(153)] = 4912, - [SMALL_STATE(154)] = 4985, - [SMALL_STATE(155)] = 5058, - [SMALL_STATE(156)] = 5131, - [SMALL_STATE(157)] = 5204, - [SMALL_STATE(158)] = 5261, - [SMALL_STATE(159)] = 5334, - [SMALL_STATE(160)] = 5407, - [SMALL_STATE(161)] = 5464, - [SMALL_STATE(162)] = 5537, - [SMALL_STATE(163)] = 5607, - [SMALL_STATE(164)] = 5661, - [SMALL_STATE(165)] = 5713, - [SMALL_STATE(166)] = 5783, - [SMALL_STATE(167)] = 5853, - [SMALL_STATE(168)] = 5920, - [SMALL_STATE(169)] = 5987, - [SMALL_STATE(170)] = 6054, - [SMALL_STATE(171)] = 6121, - [SMALL_STATE(172)] = 6188, - [SMALL_STATE(173)] = 6255, - [SMALL_STATE(174)] = 6322, - [SMALL_STATE(175)] = 6389, - [SMALL_STATE(176)] = 6456, - [SMALL_STATE(177)] = 6523, - [SMALL_STATE(178)] = 6590, - [SMALL_STATE(179)] = 6657, - [SMALL_STATE(180)] = 6724, - [SMALL_STATE(181)] = 6791, - [SMALL_STATE(182)] = 6858, - [SMALL_STATE(183)] = 6925, - [SMALL_STATE(184)] = 6992, - [SMALL_STATE(185)] = 7059, - [SMALL_STATE(186)] = 7126, - [SMALL_STATE(187)] = 7193, - [SMALL_STATE(188)] = 7260, - [SMALL_STATE(189)] = 7327, - [SMALL_STATE(190)] = 7394, - [SMALL_STATE(191)] = 7461, - [SMALL_STATE(192)] = 7528, - [SMALL_STATE(193)] = 7595, - [SMALL_STATE(194)] = 7662, - [SMALL_STATE(195)] = 7729, - [SMALL_STATE(196)] = 7796, - [SMALL_STATE(197)] = 7863, - [SMALL_STATE(198)] = 7930, - [SMALL_STATE(199)] = 7997, - [SMALL_STATE(200)] = 8064, - [SMALL_STATE(201)] = 8131, - [SMALL_STATE(202)] = 8198, - [SMALL_STATE(203)] = 8265, - [SMALL_STATE(204)] = 8332, - [SMALL_STATE(205)] = 8399, - [SMALL_STATE(206)] = 8466, - [SMALL_STATE(207)] = 8533, - [SMALL_STATE(208)] = 8600, - [SMALL_STATE(209)] = 8646, - [SMALL_STATE(210)] = 8708, - [SMALL_STATE(211)] = 8754, - [SMALL_STATE(212)] = 8818, - [SMALL_STATE(213)] = 8864, - [SMALL_STATE(214)] = 8926, - [SMALL_STATE(215)] = 8972, - [SMALL_STATE(216)] = 9016, - [SMALL_STATE(217)] = 9060, - [SMALL_STATE(218)] = 9104, - [SMALL_STATE(219)] = 9148, - [SMALL_STATE(220)] = 9194, - [SMALL_STATE(221)] = 9238, - [SMALL_STATE(222)] = 9282, - [SMALL_STATE(223)] = 9326, - [SMALL_STATE(224)] = 9370, - [SMALL_STATE(225)] = 9414, - [SMALL_STATE(226)] = 9458, - [SMALL_STATE(227)] = 9502, - [SMALL_STATE(228)] = 9553, - [SMALL_STATE(229)] = 9604, - [SMALL_STATE(230)] = 9650, - [SMALL_STATE(231)] = 9691, - [SMALL_STATE(232)] = 9731, - [SMALL_STATE(233)] = 9771, - [SMALL_STATE(234)] = 9811, - [SMALL_STATE(235)] = 9851, - [SMALL_STATE(236)] = 9889, - [SMALL_STATE(237)] = 9927, - [SMALL_STATE(238)] = 9965, - [SMALL_STATE(239)] = 10003, - [SMALL_STATE(240)] = 10041, - [SMALL_STATE(241)] = 10079, - [SMALL_STATE(242)] = 10117, - [SMALL_STATE(243)] = 10155, - [SMALL_STATE(244)] = 10193, - [SMALL_STATE(245)] = 10231, - [SMALL_STATE(246)] = 10269, - [SMALL_STATE(247)] = 10309, - [SMALL_STATE(248)] = 10348, - [SMALL_STATE(249)] = 10384, - [SMALL_STATE(250)] = 10419, - [SMALL_STATE(251)] = 10454, - [SMALL_STATE(252)] = 10488, - [SMALL_STATE(253)] = 10522, - [SMALL_STATE(254)] = 10555, - [SMALL_STATE(255)] = 10593, - [SMALL_STATE(256)] = 10631, - [SMALL_STATE(257)] = 10669, - [SMALL_STATE(258)] = 10707, - [SMALL_STATE(259)] = 10745, - [SMALL_STATE(260)] = 10783, - [SMALL_STATE(261)] = 10821, - [SMALL_STATE(262)] = 10859, - [SMALL_STATE(263)] = 10897, - [SMALL_STATE(264)] = 10935, - [SMALL_STATE(265)] = 10973, - [SMALL_STATE(266)] = 11011, - [SMALL_STATE(267)] = 11049, - [SMALL_STATE(268)] = 11087, - [SMALL_STATE(269)] = 11133, - [SMALL_STATE(270)] = 11179, - [SMALL_STATE(271)] = 11225, - [SMALL_STATE(272)] = 11271, - [SMALL_STATE(273)] = 11317, - [SMALL_STATE(274)] = 11363, - [SMALL_STATE(275)] = 11393, - [SMALL_STATE(276)] = 11425, - [SMALL_STATE(277)] = 11455, - [SMALL_STATE(278)] = 11501, - [SMALL_STATE(279)] = 11547, - [SMALL_STATE(280)] = 11579, - [SMALL_STATE(281)] = 11606, - [SMALL_STATE(282)] = 11633, - [SMALL_STATE(283)] = 11673, - [SMALL_STATE(284)] = 11713, - [SMALL_STATE(285)] = 11753, - [SMALL_STATE(286)] = 11775, - [SMALL_STATE(287)] = 11797, - [SMALL_STATE(288)] = 11816, - [SMALL_STATE(289)] = 11835, - [SMALL_STATE(290)] = 11854, - [SMALL_STATE(291)] = 11873, - [SMALL_STATE(292)] = 11901, - [SMALL_STATE(293)] = 11929, - [SMALL_STATE(294)] = 11957, - [SMALL_STATE(295)] = 11976, - [SMALL_STATE(296)] = 11998, - [SMALL_STATE(297)] = 12020, - [SMALL_STATE(298)] = 12042, - [SMALL_STATE(299)] = 12058, - [SMALL_STATE(300)] = 12080, - [SMALL_STATE(301)] = 12092, - [SMALL_STATE(302)] = 12104, - [SMALL_STATE(303)] = 12116, - [SMALL_STATE(304)] = 12129, - [SMALL_STATE(305)] = 12142, - [SMALL_STATE(306)] = 12155, - [SMALL_STATE(307)] = 12168, - [SMALL_STATE(308)] = 12181, - [SMALL_STATE(309)] = 12194, - [SMALL_STATE(310)] = 12207, - [SMALL_STATE(311)] = 12220, - [SMALL_STATE(312)] = 12230, - [SMALL_STATE(313)] = 12240, - [SMALL_STATE(314)] = 12250, - [SMALL_STATE(315)] = 12260, - [SMALL_STATE(316)] = 12270, - [SMALL_STATE(317)] = 12280, - [SMALL_STATE(318)] = 12290, - [SMALL_STATE(319)] = 12297, - [SMALL_STATE(320)] = 12304, - [SMALL_STATE(321)] = 12311, - [SMALL_STATE(322)] = 12318, - [SMALL_STATE(323)] = 12325, - [SMALL_STATE(324)] = 12332, - [SMALL_STATE(325)] = 12339, - [SMALL_STATE(326)] = 12346, - [SMALL_STATE(327)] = 12353, - [SMALL_STATE(328)] = 12360, - [SMALL_STATE(329)] = 12367, - [SMALL_STATE(330)] = 12374, - [SMALL_STATE(331)] = 12381, - [SMALL_STATE(332)] = 12388, + [SMALL_STATE(76)] = 0, + [SMALL_STATE(77)] = 79, + [SMALL_STATE(78)] = 156, + [SMALL_STATE(79)] = 233, + [SMALL_STATE(80)] = 309, + [SMALL_STATE(81)] = 373, + [SMALL_STATE(82)] = 437, + [SMALL_STATE(83)] = 503, + [SMALL_STATE(84)] = 569, + [SMALL_STATE(85)] = 644, + [SMALL_STATE(86)] = 707, + [SMALL_STATE(87)] = 772, + [SMALL_STATE(88)] = 830, + [SMALL_STATE(89)] = 888, + [SMALL_STATE(90)] = 946, + [SMALL_STATE(91)] = 1004, + [SMALL_STATE(92)] = 1062, + [SMALL_STATE(93)] = 1120, + [SMALL_STATE(94)] = 1178, + [SMALL_STATE(95)] = 1236, + [SMALL_STATE(96)] = 1294, + [SMALL_STATE(97)] = 1352, + [SMALL_STATE(98)] = 1410, + [SMALL_STATE(99)] = 1468, + [SMALL_STATE(100)] = 1526, + [SMALL_STATE(101)] = 1584, + [SMALL_STATE(102)] = 1642, + [SMALL_STATE(103)] = 1700, + [SMALL_STATE(104)] = 1758, + [SMALL_STATE(105)] = 1816, + [SMALL_STATE(106)] = 1883, + [SMALL_STATE(107)] = 1945, + [SMALL_STATE(108)] = 2015, + [SMALL_STATE(109)] = 2085, + [SMALL_STATE(110)] = 2157, + [SMALL_STATE(111)] = 2216, + [SMALL_STATE(112)] = 2287, + [SMALL_STATE(113)] = 2358, + [SMALL_STATE(114)] = 2417, + [SMALL_STATE(115)] = 2474, + [SMALL_STATE(116)] = 2531, + [SMALL_STATE(117)] = 2600, + [SMALL_STATE(118)] = 2670, + [SMALL_STATE(119)] = 2740, + [SMALL_STATE(120)] = 2798, + [SMALL_STATE(121)] = 2868, + [SMALL_STATE(122)] = 2936, + [SMALL_STATE(123)] = 2992, + [SMALL_STATE(124)] = 3050, + [SMALL_STATE(125)] = 3101, + [SMALL_STATE(126)] = 3152, + [SMALL_STATE(127)] = 3203, + [SMALL_STATE(128)] = 3254, + [SMALL_STATE(129)] = 3305, + [SMALL_STATE(130)] = 3356, + [SMALL_STATE(131)] = 3407, + [SMALL_STATE(132)] = 3458, + [SMALL_STATE(133)] = 3509, + [SMALL_STATE(134)] = 3560, + [SMALL_STATE(135)] = 3611, + [SMALL_STATE(136)] = 3662, + [SMALL_STATE(137)] = 3713, + [SMALL_STATE(138)] = 3764, + [SMALL_STATE(139)] = 3815, + [SMALL_STATE(140)] = 3866, + [SMALL_STATE(141)] = 3917, + [SMALL_STATE(142)] = 3968, + [SMALL_STATE(143)] = 4044, + [SMALL_STATE(144)] = 4120, + [SMALL_STATE(145)] = 4196, + [SMALL_STATE(146)] = 4269, + [SMALL_STATE(147)] = 4342, + [SMALL_STATE(148)] = 4415, + [SMALL_STATE(149)] = 4488, + [SMALL_STATE(150)] = 4561, + [SMALL_STATE(151)] = 4634, + [SMALL_STATE(152)] = 4691, + [SMALL_STATE(153)] = 4764, + [SMALL_STATE(154)] = 4837, + [SMALL_STATE(155)] = 4910, + [SMALL_STATE(156)] = 4969, + [SMALL_STATE(157)] = 5042, + [SMALL_STATE(158)] = 5115, + [SMALL_STATE(159)] = 5188, + [SMALL_STATE(160)] = 5261, + [SMALL_STATE(161)] = 5334, + [SMALL_STATE(162)] = 5391, + [SMALL_STATE(163)] = 5464, + [SMALL_STATE(164)] = 5537, + [SMALL_STATE(165)] = 5607, + [SMALL_STATE(166)] = 5661, + [SMALL_STATE(167)] = 5713, + [SMALL_STATE(168)] = 5783, + [SMALL_STATE(169)] = 5853, + [SMALL_STATE(170)] = 5920, + [SMALL_STATE(171)] = 5987, + [SMALL_STATE(172)] = 6054, + [SMALL_STATE(173)] = 6121, + [SMALL_STATE(174)] = 6188, + [SMALL_STATE(175)] = 6255, + [SMALL_STATE(176)] = 6322, + [SMALL_STATE(177)] = 6389, + [SMALL_STATE(178)] = 6456, + [SMALL_STATE(179)] = 6523, + [SMALL_STATE(180)] = 6590, + [SMALL_STATE(181)] = 6657, + [SMALL_STATE(182)] = 6724, + [SMALL_STATE(183)] = 6791, + [SMALL_STATE(184)] = 6858, + [SMALL_STATE(185)] = 6925, + [SMALL_STATE(186)] = 6992, + [SMALL_STATE(187)] = 7059, + [SMALL_STATE(188)] = 7126, + [SMALL_STATE(189)] = 7193, + [SMALL_STATE(190)] = 7260, + [SMALL_STATE(191)] = 7327, + [SMALL_STATE(192)] = 7394, + [SMALL_STATE(193)] = 7461, + [SMALL_STATE(194)] = 7528, + [SMALL_STATE(195)] = 7595, + [SMALL_STATE(196)] = 7662, + [SMALL_STATE(197)] = 7729, + [SMALL_STATE(198)] = 7796, + [SMALL_STATE(199)] = 7863, + [SMALL_STATE(200)] = 7930, + [SMALL_STATE(201)] = 7997, + [SMALL_STATE(202)] = 8064, + [SMALL_STATE(203)] = 8131, + [SMALL_STATE(204)] = 8198, + [SMALL_STATE(205)] = 8265, + [SMALL_STATE(206)] = 8332, + [SMALL_STATE(207)] = 8399, + [SMALL_STATE(208)] = 8466, + [SMALL_STATE(209)] = 8533, + [SMALL_STATE(210)] = 8600, + [SMALL_STATE(211)] = 8664, + [SMALL_STATE(212)] = 8726, + [SMALL_STATE(213)] = 8788, + [SMALL_STATE(214)] = 8834, + [SMALL_STATE(215)] = 8880, + [SMALL_STATE(216)] = 8926, + [SMALL_STATE(217)] = 8972, + [SMALL_STATE(218)] = 9016, + [SMALL_STATE(219)] = 9062, + [SMALL_STATE(220)] = 9106, + [SMALL_STATE(221)] = 9150, + [SMALL_STATE(222)] = 9194, + [SMALL_STATE(223)] = 9238, + [SMALL_STATE(224)] = 9282, + [SMALL_STATE(225)] = 9326, + [SMALL_STATE(226)] = 9370, + [SMALL_STATE(227)] = 9414, + [SMALL_STATE(228)] = 9458, + [SMALL_STATE(229)] = 9502, + [SMALL_STATE(230)] = 9553, + [SMALL_STATE(231)] = 9604, + [SMALL_STATE(232)] = 9650, + [SMALL_STATE(233)] = 9691, + [SMALL_STATE(234)] = 9731, + [SMALL_STATE(235)] = 9771, + [SMALL_STATE(236)] = 9811, + [SMALL_STATE(237)] = 9851, + [SMALL_STATE(238)] = 9889, + [SMALL_STATE(239)] = 9927, + [SMALL_STATE(240)] = 9965, + [SMALL_STATE(241)] = 10003, + [SMALL_STATE(242)] = 10041, + [SMALL_STATE(243)] = 10081, + [SMALL_STATE(244)] = 10119, + [SMALL_STATE(245)] = 10157, + [SMALL_STATE(246)] = 10195, + [SMALL_STATE(247)] = 10233, + [SMALL_STATE(248)] = 10271, + [SMALL_STATE(249)] = 10309, + [SMALL_STATE(250)] = 10348, + [SMALL_STATE(251)] = 10384, + [SMALL_STATE(252)] = 10419, + [SMALL_STATE(253)] = 10454, + [SMALL_STATE(254)] = 10488, + [SMALL_STATE(255)] = 10522, + [SMALL_STATE(256)] = 10555, + [SMALL_STATE(257)] = 10593, + [SMALL_STATE(258)] = 10631, + [SMALL_STATE(259)] = 10669, + [SMALL_STATE(260)] = 10707, + [SMALL_STATE(261)] = 10745, + [SMALL_STATE(262)] = 10783, + [SMALL_STATE(263)] = 10821, + [SMALL_STATE(264)] = 10859, + [SMALL_STATE(265)] = 10897, + [SMALL_STATE(266)] = 10935, + [SMALL_STATE(267)] = 10973, + [SMALL_STATE(268)] = 11011, + [SMALL_STATE(269)] = 11049, + [SMALL_STATE(270)] = 11087, + [SMALL_STATE(271)] = 11133, + [SMALL_STATE(272)] = 11179, + [SMALL_STATE(273)] = 11225, + [SMALL_STATE(274)] = 11271, + [SMALL_STATE(275)] = 11301, + [SMALL_STATE(276)] = 11333, + [SMALL_STATE(277)] = 11379, + [SMALL_STATE(278)] = 11411, + [SMALL_STATE(279)] = 11457, + [SMALL_STATE(280)] = 11487, + [SMALL_STATE(281)] = 11533, + [SMALL_STATE(282)] = 11579, + [SMALL_STATE(283)] = 11609, + [SMALL_STATE(284)] = 11636, + [SMALL_STATE(285)] = 11663, + [SMALL_STATE(286)] = 11690, + [SMALL_STATE(287)] = 11730, + [SMALL_STATE(288)] = 11770, + [SMALL_STATE(289)] = 11810, + [SMALL_STATE(290)] = 11832, + [SMALL_STATE(291)] = 11854, + [SMALL_STATE(292)] = 11873, + [SMALL_STATE(293)] = 11892, + [SMALL_STATE(294)] = 11911, + [SMALL_STATE(295)] = 11930, + [SMALL_STATE(296)] = 11958, + [SMALL_STATE(297)] = 11986, + [SMALL_STATE(298)] = 12014, + [SMALL_STATE(299)] = 12033, + [SMALL_STATE(300)] = 12055, + [SMALL_STATE(301)] = 12077, + [SMALL_STATE(302)] = 12099, + [SMALL_STATE(303)] = 12115, + [SMALL_STATE(304)] = 12137, + [SMALL_STATE(305)] = 12149, + [SMALL_STATE(306)] = 12163, + [SMALL_STATE(307)] = 12175, + [SMALL_STATE(308)] = 12187, + [SMALL_STATE(309)] = 12200, + [SMALL_STATE(310)] = 12213, + [SMALL_STATE(311)] = 12226, + [SMALL_STATE(312)] = 12239, + [SMALL_STATE(313)] = 12252, + [SMALL_STATE(314)] = 12265, + [SMALL_STATE(315)] = 12278, + [SMALL_STATE(316)] = 12291, + [SMALL_STATE(317)] = 12304, + [SMALL_STATE(318)] = 12314, + [SMALL_STATE(319)] = 12324, + [SMALL_STATE(320)] = 12334, + [SMALL_STATE(321)] = 12344, + [SMALL_STATE(322)] = 12354, + [SMALL_STATE(323)] = 12364, + [SMALL_STATE(324)] = 12374, + [SMALL_STATE(325)] = 12381, + [SMALL_STATE(326)] = 12388, + [SMALL_STATE(327)] = 12395, + [SMALL_STATE(328)] = 12402, + [SMALL_STATE(329)] = 12409, + [SMALL_STATE(330)] = 12416, + [SMALL_STATE(331)] = 12423, + [SMALL_STATE(332)] = 12430, + [SMALL_STATE(333)] = 12437, + [SMALL_STATE(334)] = 12444, + [SMALL_STATE(335)] = 12451, + [SMALL_STATE(336)] = 12458, + [SMALL_STATE(337)] = 12465, + [SMALL_STATE(338)] = 12472, }; 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(48), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(324), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(330), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(275), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(172), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(174), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(176), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(277), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(48), - [40] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(324), + [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(43), + [40] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(330), [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(4), - [46] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(57), - [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(57), - [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(65), - [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(153), - [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(165), - [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(185), - [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(186), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(191), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(275), - [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(275), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(196), - [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(47), - [82] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [92] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), - [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [96] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [100] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), - [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), - [112] = {.entry = {.count = 1, .reusable = false}}, SHIFT(252), - [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [116] = {.entry = {.count = 1, .reusable = false}}, SHIFT(251), - [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), - [120] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), - [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [46] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(67), + [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(67), + [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(59), + [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(147), + [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(168), + [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(172), + [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(174), + [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(176), + [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(277), + [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(277), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(183), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(39), + [82] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [88] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [92] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), + [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [96] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [108] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [112] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), + [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), + [116] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), + [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), - [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), - [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), - [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(325), - [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), - [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), - [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), - [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), - [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168), - [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), - [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(177), - [206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124), - [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(230), - [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295), - [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_built_in_function, 1), - [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_built_in_function, 1), - [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), - [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), - [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), - [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), - [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 5), - [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), - [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), - [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), - [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), - [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), - [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_built_in_function, 1), + [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_built_in_function, 1), + [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(331), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), + [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), + [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(177), + [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186), + [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), + [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(275), + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179), + [206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), + [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), + [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), + [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), + [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [218] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(232), + [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(300), + [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), + [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), + [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), + [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), + [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), - [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [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 = false}}, SHIFT(51), + [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), + [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), + [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 5), + [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 5), + [278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [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 = true}}, REDUCE(sym_list, 2), + [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), - [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), - [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), - [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), - [336] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(127), - [339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(257), - [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), - [344] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(126), - [347] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(126), - [350] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(125), - [353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(161), - [356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(162), - [359] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(326), - [362] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(124), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [367] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(93), - [370] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(265), - [373] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(99), - [376] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(99), - [379] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(102), - [382] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(146), - [385] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(166), - [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), - [390] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(100), - [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), - [415] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [419] = {.entry = {.count = 1, .reusable = false}}, SHIFT(308), - [421] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(93), - [424] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(265), - [427] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(99), - [430] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(99), - [433] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(102), - [436] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(146), - [439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(166), - [444] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(100), - [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [449] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [451] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [455] = {.entry = {.count = 1, .reusable = false}}, SHIFT(264), + [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), + [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [306] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), + [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), + [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), + [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), + [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [330] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(130), + [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(256), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), + [338] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(134), + [341] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(134), + [344] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(137), + [347] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(146), + [350] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(164), + [353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(337), + [356] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(141), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), + [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [375] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(89), + [378] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(260), + [381] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(101), + [384] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(101), + [387] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(91), + [390] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(160), + [393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(167), + [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), + [398] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(92), + [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [405] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [409] = {.entry = {.count = 1, .reusable = false}}, SHIFT(315), + [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [425] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [429] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(89), + [432] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(260), + [435] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(101), + [438] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(101), + [441] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(91), + [444] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(160), + [447] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [449] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(167), + [452] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(92), + [455] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259), [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), [459] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [461] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(188), - [464] = {.entry = {.count = 1, .reusable = false}}, SHIFT(262), - [466] = {.entry = {.count = 1, .reusable = false}}, SHIFT(260), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [461] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(196), + [464] = {.entry = {.count = 1, .reusable = false}}, SHIFT(267), + [466] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), - [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), - [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), - [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), - [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), - [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), + [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), + [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), [500] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), - [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), - [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), [506] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), [508] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), - [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [516] = {.entry = {.count = 1, .reusable = false}}, SHIFT(305), - [518] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(171), + [510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), + [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [516] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), + [518] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(190), [521] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), [523] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), [525] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), [527] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), [531] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 4), [533] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 4), [535] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), @@ -17999,76 +18202,81 @@ static const TSParseActionEntry ts_parse_actions[] = { [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), [547] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_definition, 3), [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [551] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(48), - [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [556] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(47), - [559] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(48), - [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [564] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(47), - [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), - [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), - [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), - [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), - [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316), - [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), + [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [561] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(43), + [564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [566] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(39), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), + [575] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(43), + [578] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [580] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(39), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), - [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [601] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), - [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), - [605] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), - [607] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [611] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 3), - [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 3), - [615] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 4), - [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), - [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), - [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), - [635] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), - [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), - [647] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(299), - [650] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(291), - [653] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [655] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(288), - [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), - [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), - [662] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), - [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), - [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [696] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [597] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), + [599] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [607] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 4), + [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [613] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 2), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [617] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat1, 3), + [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 3), + [621] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 5), + [623] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 5), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [635] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), + [639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [643] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 5), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), + [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [653] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(301), + [656] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(295), + [659] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), + [661] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(293), + [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [668] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), + [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), + [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [700] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), }; #ifdef __cplusplus