diff --git a/grammar.js b/grammar.js index 99b4cd4..a6a48a9 100644 --- a/grammar.js +++ b/grammar.js @@ -24,6 +24,7 @@ module.exports = grammar({ inline: ($) => [ $._type_identifier, $._field_identifier, + $._function_declaration_common, ], conflicts: ($) => [ diff --git a/src/grammar.json b/src/grammar.json index df54aec..edb5155 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1529,7 +1529,8 @@ ], "inline": [ "_type_identifier", - "_field_identifier" + "_field_identifier", + "_function_declaration_common" ], "supertypes": [] } diff --git a/src/parser.c b/src/parser.c index dad20ac..a93aeb0 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,9 +6,9 @@ #endif #define LANGUAGE_VERSION 13 -#define STATE_COUNT 156 +#define STATE_COUNT 160 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 87 +#define SYMBOL_COUNT 86 #define ALIAS_COUNT 2 #define TOKEN_COUNT 49 #define EXTERNAL_TOKEN_COUNT 1 @@ -91,20 +91,19 @@ enum { sym_array_type = 72, sym_function_declaration = 73, sym_primitive_declaration = 74, - sym__function_declaration_common = 75, - sym_parameters = 76, - sym_variable_declaration = 77, - sym_import_declaration = 78, - aux_sym_string_literal_repeat1 = 79, - aux_sym_function_call_repeat1 = 80, - aux_sym_sequence_expression_repeat1 = 81, - aux_sym_record_expression_repeat1 = 82, - aux_sym__declaration_chunk_repeat1 = 83, - aux_sym__declaration_chunk_repeat2 = 84, - aux_sym_record_type_repeat1 = 85, - aux_sym_parameters_repeat1 = 86, - alias_sym_field_identifier = 87, - alias_sym_type_identifier = 88, + sym_parameters = 75, + sym_variable_declaration = 76, + sym_import_declaration = 77, + aux_sym_string_literal_repeat1 = 78, + aux_sym_function_call_repeat1 = 79, + aux_sym_sequence_expression_repeat1 = 80, + aux_sym_record_expression_repeat1 = 81, + aux_sym__declaration_chunk_repeat1 = 82, + aux_sym__declaration_chunk_repeat2 = 83, + aux_sym_record_type_repeat1 = 84, + aux_sym_parameters_repeat1 = 85, + alias_sym_field_identifier = 86, + alias_sym_type_identifier = 87, }; static const char * const ts_symbol_names[] = { @@ -183,7 +182,6 @@ static const char * const ts_symbol_names[] = { [sym_array_type] = "array_type", [sym_function_declaration] = "function_declaration", [sym_primitive_declaration] = "primitive_declaration", - [sym__function_declaration_common] = "_function_declaration_common", [sym_parameters] = "parameters", [sym_variable_declaration] = "variable_declaration", [sym_import_declaration] = "import_declaration", @@ -275,7 +273,6 @@ static const TSSymbol ts_symbol_map[] = { [sym_array_type] = sym_array_type, [sym_function_declaration] = sym_function_declaration, [sym_primitive_declaration] = sym_primitive_declaration, - [sym__function_declaration_common] = sym__function_declaration_common, [sym_parameters] = sym_parameters, [sym_variable_declaration] = sym_variable_declaration, [sym_import_declaration] = sym_import_declaration, @@ -592,10 +589,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym__function_declaration_common] = { - .visible = false, - .named = true, - }, [sym_parameters] = { .visible = true, .named = true, @@ -711,37 +704,37 @@ static const char * const ts_field_names[] = { static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [1] = {.index = 0, .length = 2}, - [2] = {.index = 2, .length = 3}, - [3] = {.index = 5, .length = 1}, - [4] = {.index = 6, .length = 1}, - [5] = {.index = 7, .length = 1}, - [6] = {.index = 8, .length = 2}, - [7] = {.index = 10, .length = 3}, - [8] = {.index = 13, .length = 2}, - [9] = {.index = 15, .length = 2}, - [10] = {.index = 17, .length = 2}, - [11] = {.index = 19, .length = 2}, - [12] = {.index = 21, .length = 2}, - [13] = {.index = 23, .length = 1}, - [14] = {.index = 24, .length = 1}, - [16] = {.index = 25, .length = 2}, - [17] = {.index = 27, .length = 4}, - [18] = {.index = 31, .length = 2}, - [19] = {.index = 33, .length = 3}, - [20] = {.index = 36, .length = 2}, - [21] = {.index = 38, .length = 2}, - [22] = {.index = 40, .length = 3}, - [23] = {.index = 43, .length = 3}, - [24] = {.index = 46, .length = 3}, - [25] = {.index = 49, .length = 3}, - [26] = {.index = 52, .length = 3}, - [27] = {.index = 55, .length = 1}, - [28] = {.index = 56, .length = 3}, - [29] = {.index = 59, .length = 5}, - [30] = {.index = 64, .length = 4}, - [31] = {.index = 68, .length = 2}, + [2] = {.index = 2, .length = 1}, + [3] = {.index = 3, .length = 1}, + [4] = {.index = 4, .length = 1}, + [5] = {.index = 5, .length = 2}, + [6] = {.index = 7, .length = 3}, + [7] = {.index = 10, .length = 2}, + [8] = {.index = 12, .length = 2}, + [9] = {.index = 14, .length = 2}, + [10] = {.index = 16, .length = 2}, + [11] = {.index = 18, .length = 2}, + [12] = {.index = 20, .length = 1}, + [13] = {.index = 21, .length = 1}, + [15] = {.index = 22, .length = 2}, + [16] = {.index = 24, .length = 2}, + [17] = {.index = 26, .length = 3}, + [18] = {.index = 29, .length = 2}, + [19] = {.index = 31, .length = 2}, + [20] = {.index = 33, .length = 3}, + [21] = {.index = 36, .length = 3}, + [22] = {.index = 39, .length = 3}, + [23] = {.index = 42, .length = 3}, + [24] = {.index = 45, .length = 3}, + [25] = {.index = 48, .length = 3}, + [26] = {.index = 51, .length = 1}, + [27] = {.index = 52, .length = 3}, + [28] = {.index = 55, .length = 5}, + [29] = {.index = 60, .length = 4}, + [30] = {.index = 64, .length = 2}, + [31] = {.index = 66, .length = 4}, [32] = {.index = 70, .length = 4}, - [33] = {.index = 68, .length = 2}, + [33] = {.index = 64, .length = 2}, [34] = {.index = 74, .length = 4}, [35] = {.index = 78, .length = 4}, [36] = {.index = 82, .length = 2}, @@ -753,102 +746,102 @@ static const TSFieldMapEntry ts_field_map_entries[] = { {field_expression, 1}, {field_operator, 0}, [2] = - {field_name, 1, .inherited = true}, - {field_parameters, 1, .inherited = true}, - {field_return_type, 1, .inherited = true}, - [5] = {field_file, 1}, - [6] = + [3] = {field_function, 0}, - [7] = + [4] = {field_type, 0}, - [8] = - {field_name, 0}, - {field_parameters, 1}, - [10] = + [5] = + {field_name, 1}, + {field_parameters, 2}, + [7] = {field_left, 0}, {field_operator, 1}, {field_right, 2}, - [13] = + [10] = {field_field, 2}, {field_record, 0}, - [15] = + [12] = {field_left, 0}, {field_right, 2}, - [17] = + [14] = {field_arguments, 2}, {field_function, 0}, - [19] = + [16] = {field_condition, 1}, {field_consequence, 3}, - [21] = + [18] = {field_body, 3}, {field_condition, 1}, - [23] = + [20] = {field_body, 2}, - [24] = + [21] = {field_declarations, 1}, - [25] = + [22] = {field_name, 1}, {field_value, 3}, - [27] = - {field_body, 3}, - {field_name, 1, .inherited = true}, - {field_parameters, 1, .inherited = true}, - {field_return_type, 1, .inherited = true}, - [31] = + [24] = {field_array, 0}, {field_index, 2}, - [33] = + [26] = {field_arguments, 2}, {field_arguments, 3}, {field_function, 0}, - [36] = + [29] = {field_body, 2}, {field_body, 3}, - [38] = + [31] = {field_body, 3}, {field_declarations, 1}, - [40] = - {field_name, 0}, - {field_parameters, 1}, - {field_return_type, 3}, - [43] = + [33] = + {field_body, 4}, + {field_name, 1}, + {field_parameters, 2}, + [36] = + {field_name, 1}, + {field_parameters, 2}, + {field_return_type, 4}, + [39] = {field_init, 5}, {field_size, 2}, {field_type, 0}, - [46] = + [42] = {field_field, 2}, {field_init, 4}, {field_type, 0}, - [49] = + [45] = {field_alternative, 5}, {field_condition, 1}, {field_consequence, 3}, - [52] = + [48] = {field_body, 3}, {field_body, 4}, {field_declarations, 1}, - [55] = + [51] = {field_element_type, 2}, - [56] = + [52] = {field_name, 1}, {field_type, 3}, {field_value, 5}, - [59] = + [55] = {field_field, 2}, {field_field, 5, .inherited = true}, {field_init, 4}, {field_init, 5, .inherited = true}, {field_type, 0}, - [64] = + [60] = {field_field, 0, .inherited = true}, {field_field, 1, .inherited = true}, {field_init, 0, .inherited = true}, {field_init, 1, .inherited = true}, - [68] = + [64] = {field_name, 1}, {field_type, 3}, + [66] = + {field_body, 6}, + {field_name, 1}, + {field_parameters, 2}, + {field_return_type, 4}, [70] = {field_body, 7}, {field_end, 5}, @@ -871,41 +864,44 @@ static const TSFieldMapEntry ts_field_map_entries[] = { static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, - [5] = { + [4] = { [0] = alias_sym_type_identifier, }, - [7] = { + [6] = { [1] = anon_sym_DASH, }, - [8] = { + [7] = { [2] = alias_sym_field_identifier, }, - [15] = { + [14] = { [0] = alias_sym_type_identifier, }, + [21] = { + [4] = alias_sym_type_identifier, + }, [22] = { - [3] = alias_sym_type_identifier, + [0] = alias_sym_type_identifier, }, [23] = { [0] = alias_sym_type_identifier, - }, - [24] = { - [0] = alias_sym_type_identifier, [2] = alias_sym_field_identifier, }, - [27] = { + [26] = { [2] = alias_sym_type_identifier, }, - [28] = { + [27] = { [3] = alias_sym_type_identifier, }, - [29] = { + [28] = { [0] = alias_sym_type_identifier, [2] = alias_sym_field_identifier, }, - [31] = { + [30] = { [3] = alias_sym_type_identifier, }, + [31] = { + [4] = alias_sym_type_identifier, + }, [33] = { [1] = alias_sym_field_identifier, [3] = alias_sym_type_identifier, @@ -1484,28 +1480,28 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [61] = {.lex_state = 0, .external_lex_state = 1}, [62] = {.lex_state = 0, .external_lex_state = 1}, [63] = {.lex_state = 0, .external_lex_state = 1}, - [64] = {.lex_state = 8, .external_lex_state = 1}, + [64] = {.lex_state = 0, .external_lex_state = 1}, [65] = {.lex_state = 8, .external_lex_state = 1}, [66] = {.lex_state = 8, .external_lex_state = 1}, [67] = {.lex_state = 8, .external_lex_state = 1}, - [68] = {.lex_state = 0, .external_lex_state = 1}, + [68] = {.lex_state = 8, .external_lex_state = 1}, [69] = {.lex_state = 8, .external_lex_state = 1}, - [70] = {.lex_state = 8, .external_lex_state = 1}, + [70] = {.lex_state = 0, .external_lex_state = 1}, [71] = {.lex_state = 8, .external_lex_state = 1}, [72] = {.lex_state = 0, .external_lex_state = 1}, - [73] = {.lex_state = 0, .external_lex_state = 1}, + [73] = {.lex_state = 8, .external_lex_state = 1}, [74] = {.lex_state = 8, .external_lex_state = 1}, [75] = {.lex_state = 8, .external_lex_state = 1}, [76] = {.lex_state = 8, .external_lex_state = 1}, [77] = {.lex_state = 0, .external_lex_state = 1}, - [78] = {.lex_state = 0, .external_lex_state = 1}, + [78] = {.lex_state = 8, .external_lex_state = 1}, [79] = {.lex_state = 0, .external_lex_state = 1}, - [80] = {.lex_state = 8, .external_lex_state = 1}, + [80] = {.lex_state = 0, .external_lex_state = 1}, [81] = {.lex_state = 0, .external_lex_state = 1}, - [82] = {.lex_state = 8, .external_lex_state = 1}, + [82] = {.lex_state = 0, .external_lex_state = 1}, [83] = {.lex_state = 8, .external_lex_state = 1}, - [84] = {.lex_state = 8, .external_lex_state = 1}, - [85] = {.lex_state = 0, .external_lex_state = 1}, + [84] = {.lex_state = 0, .external_lex_state = 1}, + [85] = {.lex_state = 8, .external_lex_state = 1}, [86] = {.lex_state = 8, .external_lex_state = 1}, [87] = {.lex_state = 8, .external_lex_state = 1}, [88] = {.lex_state = 8, .external_lex_state = 1}, @@ -1522,60 +1518,64 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [99] = {.lex_state = 8, .external_lex_state = 1}, [100] = {.lex_state = 8, .external_lex_state = 1}, [101] = {.lex_state = 8, .external_lex_state = 1}, - [102] = {.lex_state = 1, .external_lex_state = 1}, + [102] = {.lex_state = 8, .external_lex_state = 1}, [103] = {.lex_state = 1, .external_lex_state = 1}, - [104] = {.lex_state = 1, .external_lex_state = 1}, - [105] = {.lex_state = 8, .external_lex_state = 1}, - [106] = {.lex_state = 0, .external_lex_state = 1}, + [104] = {.lex_state = 8, .external_lex_state = 1}, + [105] = {.lex_state = 1, .external_lex_state = 1}, + [106] = {.lex_state = 1, .external_lex_state = 1}, [107] = {.lex_state = 0, .external_lex_state = 1}, - [108] = {.lex_state = 0, .external_lex_state = 1}, + [108] = {.lex_state = 8, .external_lex_state = 1}, [109] = {.lex_state = 0, .external_lex_state = 1}, - [110] = {.lex_state = 0, .external_lex_state = 1}, + [110] = {.lex_state = 8, .external_lex_state = 1}, [111] = {.lex_state = 0, .external_lex_state = 1}, [112] = {.lex_state = 0, .external_lex_state = 1}, [113] = {.lex_state = 0, .external_lex_state = 1}, [114] = {.lex_state = 0, .external_lex_state = 1}, - [115] = {.lex_state = 8, .external_lex_state = 1}, - [116] = {.lex_state = 8, .external_lex_state = 1}, + [115] = {.lex_state = 0, .external_lex_state = 1}, + [116] = {.lex_state = 0, .external_lex_state = 1}, [117] = {.lex_state = 0, .external_lex_state = 1}, [118] = {.lex_state = 0, .external_lex_state = 1}, [119] = {.lex_state = 0, .external_lex_state = 1}, [120] = {.lex_state = 8, .external_lex_state = 1}, - [121] = {.lex_state = 8, .external_lex_state = 1}, - [122] = {.lex_state = 8, .external_lex_state = 1}, - [123] = {.lex_state = 8, .external_lex_state = 1}, + [121] = {.lex_state = 0, .external_lex_state = 1}, + [122] = {.lex_state = 0, .external_lex_state = 1}, + [123] = {.lex_state = 0, .external_lex_state = 1}, [124] = {.lex_state = 0, .external_lex_state = 1}, - [125] = {.lex_state = 8, .external_lex_state = 1}, + [125] = {.lex_state = 0, .external_lex_state = 1}, [126] = {.lex_state = 0, .external_lex_state = 1}, [127] = {.lex_state = 0, .external_lex_state = 1}, - [128] = {.lex_state = 0, .external_lex_state = 1}, - [129] = {.lex_state = 0, .external_lex_state = 1}, - [130] = {.lex_state = 0, .external_lex_state = 1}, + [128] = {.lex_state = 8, .external_lex_state = 1}, + [129] = {.lex_state = 8, .external_lex_state = 1}, + [130] = {.lex_state = 8, .external_lex_state = 1}, [131] = {.lex_state = 8, .external_lex_state = 1}, [132] = {.lex_state = 0, .external_lex_state = 1}, [133] = {.lex_state = 8, .external_lex_state = 1}, [134] = {.lex_state = 8, .external_lex_state = 1}, - [135] = {.lex_state = 8, .external_lex_state = 1}, - [136] = {.lex_state = 8, .external_lex_state = 1}, - [137] = {.lex_state = 8, .external_lex_state = 1}, - [138] = {.lex_state = 8, .external_lex_state = 1}, - [139] = {.lex_state = 0, .external_lex_state = 1}, - [140] = {.lex_state = 0, .external_lex_state = 1}, + [135] = {.lex_state = 0, .external_lex_state = 1}, + [136] = {.lex_state = 0, .external_lex_state = 1}, + [137] = {.lex_state = 0, .external_lex_state = 1}, + [138] = {.lex_state = 0, .external_lex_state = 1}, + [139] = {.lex_state = 8, .external_lex_state = 1}, + [140] = {.lex_state = 8, .external_lex_state = 1}, [141] = {.lex_state = 8, .external_lex_state = 1}, - [142] = {.lex_state = 8, .external_lex_state = 1}, + [142] = {.lex_state = 0, .external_lex_state = 1}, [143] = {.lex_state = 0, .external_lex_state = 1}, - [144] = {.lex_state = 0, .external_lex_state = 1}, - [145] = {.lex_state = 0, .external_lex_state = 1}, + [144] = {.lex_state = 8, .external_lex_state = 1}, + [145] = {.lex_state = 8, .external_lex_state = 1}, [146] = {.lex_state = 8, .external_lex_state = 1}, - [147] = {.lex_state = 0, .external_lex_state = 1}, - [148] = {.lex_state = 8, .external_lex_state = 1}, + [147] = {.lex_state = 8, .external_lex_state = 1}, + [148] = {.lex_state = 0, .external_lex_state = 1}, [149] = {.lex_state = 0, .external_lex_state = 1}, - [150] = {.lex_state = 8, .external_lex_state = 1}, + [150] = {.lex_state = 0, .external_lex_state = 1}, [151] = {.lex_state = 8, .external_lex_state = 1}, [152] = {.lex_state = 8, .external_lex_state = 1}, - [153] = {.lex_state = 8, .external_lex_state = 1}, + [153] = {.lex_state = 0, .external_lex_state = 1}, [154] = {.lex_state = 8, .external_lex_state = 1}, - [155] = {.lex_state = 0, .external_lex_state = 1}, + [155] = {.lex_state = 8, .external_lex_state = 1}, + [156] = {.lex_state = 8, .external_lex_state = 1}, + [157] = {.lex_state = 8, .external_lex_state = 1}, + [158] = {.lex_state = 8, .external_lex_state = 1}, + [159] = {.lex_state = 8, .external_lex_state = 1}, }; enum { @@ -1644,32 +1644,32 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(3), }, [1] = { - [sym_source_file] = STATE(130), - [sym__expr] = STATE(81), - [sym_string_literal] = STATE(81), + [sym_source_file] = STATE(142), + [sym__expr] = STATE(82), + [sym_string_literal] = STATE(82), [sym__lvalue] = STATE(5), [sym_record_value] = STATE(5), [sym_array_value] = STATE(5), - [sym_function_call] = STATE(81), - [sym_unary_expression] = STATE(81), - [sym_binary_expression] = STATE(81), - [sym_sequence_expression] = STATE(81), - [sym_array_expression] = STATE(81), - [sym_record_expression] = STATE(81), - [sym_assignment_expression] = STATE(81), - [sym_if_expression] = STATE(81), - [sym_while_expression] = STATE(81), - [sym_for_expression] = STATE(81), - [sym_let_expression] = STATE(81), - [aux_sym__declaration_chunks] = STATE(74), - [sym__declaration_chunk] = STATE(74), - [sym_type_declaration] = STATE(74), - [sym_function_declaration] = STATE(74), - [sym_primitive_declaration] = STATE(74), - [sym_variable_declaration] = STATE(74), - [sym_import_declaration] = STATE(74), - [aux_sym__declaration_chunk_repeat1] = STATE(74), - [aux_sym__declaration_chunk_repeat2] = STATE(74), + [sym_function_call] = STATE(82), + [sym_unary_expression] = STATE(82), + [sym_binary_expression] = STATE(82), + [sym_sequence_expression] = STATE(82), + [sym_array_expression] = STATE(82), + [sym_record_expression] = STATE(82), + [sym_assignment_expression] = STATE(82), + [sym_if_expression] = STATE(82), + [sym_while_expression] = STATE(82), + [sym_for_expression] = STATE(82), + [sym_let_expression] = STATE(82), + [aux_sym__declaration_chunks] = STATE(75), + [sym__declaration_chunk] = STATE(75), + [sym_type_declaration] = STATE(75), + [sym_function_declaration] = STATE(75), + [sym_primitive_declaration] = STATE(75), + [sym_variable_declaration] = STATE(75), + [sym_import_declaration] = STATE(75), + [aux_sym__declaration_chunk_repeat1] = STATE(75), + [aux_sym__declaration_chunk_repeat2] = STATE(75), [ts_builtin_sym_end] = ACTIONS(5), [sym_identifier] = ACTIONS(7), [sym_nil_literal] = ACTIONS(9), @@ -1848,47 +1848,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [174] = 9, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(78), 1, - anon_sym_else, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - ACTIONS(64), 16, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [223] = 8, + [174] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -1909,7 +1869,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - ACTIONS(80), 17, + ACTIONS(64), 17, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -1927,13 +1887,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [270] = 3, + [221] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(84), 2, + ACTIONS(80), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(82), 27, + ACTIONS(78), 27, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -1961,41 +1921,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [307] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(88), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(86), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [344] = 8, + [258] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -2016,7 +1942,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - ACTIONS(90), 17, + ACTIONS(82), 17, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -2034,28 +1960,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [391] = 6, + [305] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, + ACTIONS(86), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - ACTIONS(92), 19, + ACTIONS(84), 27, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, anon_sym_AMP, anon_sym_PIPE, anon_sym_SEMI, @@ -2071,7 +1994,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [434] = 5, + [342] = 5, ACTIONS(3), 1, sym_comment, ACTIONS(66), 2, @@ -2080,10 +2003,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(68), 2, anon_sym_STAR, anon_sym_SLASH, - ACTIONS(94), 2, + ACTIONS(90), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(92), 23, + ACTIONS(88), 23, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -2107,7 +2030,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [475] = 3, + [383] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(94), 2, @@ -2141,7 +2064,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [512] = 3, + [420] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(98), 2, @@ -2175,42 +2098,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [549] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(94), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(92), 25, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [588] = 3, + [457] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(102), 2, @@ -2244,7 +2132,75 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [625] = 8, + [494] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(106), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(104), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [531] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(110), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(108), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [568] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -2265,7 +2221,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - ACTIONS(104), 17, + ACTIONS(112), 17, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -2283,283 +2239,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [672] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(108), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(106), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [709] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(112), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(110), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [746] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(116), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(114), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [783] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(120), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(118), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [820] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(124), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(122), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [857] = 7, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - ACTIONS(92), 18, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [902] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(128), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(126), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [939] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(132), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(130), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [976] = 8, + [615] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -2580,7 +2260,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - ACTIONS(134), 17, + ACTIONS(114), 17, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -2598,7 +2278,183 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [1023] = 3, + [662] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(118), 1, + anon_sym_else, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + ACTIONS(116), 16, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [711] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(122), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(120), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [748] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(126), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(124), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [785] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(130), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(128), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [822] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(134), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(132), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [859] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(138), 2, @@ -2632,7 +2488,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [1060] = 3, + [896] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(142), 2, @@ -2666,7 +2522,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [1097] = 3, + [933] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(146), 2, @@ -2700,41 +2556,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [1134] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(150), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(148), 27, - ts_builtin_sym_end, - anon_sym_RBRACK, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PLUS, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - anon_sym_AMP, - anon_sym_PIPE, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_do, - anon_sym_to, - anon_sym_in, - anon_sym_end, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [1171] = 8, + [970] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -2755,7 +2577,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - ACTIONS(152), 17, + ACTIONS(148), 17, ts_builtin_sym_end, anon_sym_RBRACK, anon_sym_COMMA, @@ -2773,7 +2595,150 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [1218] = 3, + [1017] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(90), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(88), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [1054] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + ACTIONS(88), 18, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [1099] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + ACTIONS(88), 19, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [1142] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(152), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(150), 27, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [1179] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(156), 2, @@ -2807,6 +2772,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, + [1216] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(90), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(88), 25, + ts_builtin_sym_end, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_PLUS, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + anon_sym_AMP, + anon_sym_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + anon_sym_then, + anon_sym_else, + anon_sym_do, + anon_sym_to, + anon_sym_in, + anon_sym_end, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, [1255] = 3, ACTIONS(3), 1, sym_comment, @@ -2895,7 +2895,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(23), 1, anon_sym_let, ACTIONS(168), 1, - anon_sym_RPAREN, + anon_sym_end, ACTIONS(166), 3, sym_nil_literal, sym_integer_literal, @@ -2904,7 +2904,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(73), 13, + STATE(71), 13, sym__expr, sym_string_literal, sym_function_call, @@ -2938,7 +2938,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(23), 1, anon_sym_let, ACTIONS(172), 1, - anon_sym_end, + anon_sym_RPAREN, ACTIONS(170), 3, sym_nil_literal, sym_integer_literal, @@ -2947,7 +2947,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(75), 13, + STATE(77), 13, sym__expr, sym_string_literal, sym_function_call, @@ -2990,7 +2990,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(69), 13, + STATE(74), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3033,7 +3033,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(68), 13, + STATE(72), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3074,7 +3074,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(77), 13, + STATE(79), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3115,7 +3115,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(72), 13, + STATE(26), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3156,7 +3156,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(12), 13, + STATE(81), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3197,7 +3197,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(11), 13, + STATE(17), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3238,7 +3238,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(79), 13, + STATE(68), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3279,7 +3279,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(26), 13, + STATE(80), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3320,7 +3320,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(8), 13, + STATE(85), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3361,7 +3361,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(83), 13, + STATE(65), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3402,7 +3402,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(23), 13, + STATE(32), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3443,7 +3443,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(78), 13, + STATE(27), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3484,7 +3484,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(82), 13, + STATE(10), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3525,7 +3525,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(15), 13, + STATE(29), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3566,7 +3566,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(7), 13, + STATE(28), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3607,7 +3607,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(10), 13, + STATE(67), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3648,7 +3648,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(85), 13, + STATE(84), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3689,7 +3689,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(64), 13, + STATE(25), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3730,7 +3730,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(17), 13, + STATE(66), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3771,7 +3771,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(66), 13, + STATE(70), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3812,7 +3812,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(70), 13, + STATE(83), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3853,7 +3853,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(13), 13, + STATE(8), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3894,7 +3894,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(6), 13, + STATE(86), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3935,7 +3935,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(31), 13, + STATE(6), 13, sym__expr, sym_string_literal, sym_function_call, @@ -3976,7 +3976,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(84), 13, + STATE(87), 13, sym__expr, sym_string_literal, sym_function_call, @@ -4017,7 +4017,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(80), 13, + STATE(78), 13, sym__expr, sym_string_literal, sym_function_call, @@ -4058,7 +4058,7 @@ static const uint16_t ts_small_parse_table[] = { sym__lvalue, sym_record_value, sym_array_value, - STATE(65), 13, + STATE(16), 13, sym__expr, sym_string_literal, sym_function_call, @@ -4072,36 +4072,48 @@ static const uint16_t ts_small_parse_table[] = { sym_while_expression, sym_for_expression, sym_let_expression, - [2878] = 8, + [2878] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(66), 2, + ACTIONS(7), 1, + sym_identifier, + ACTIONS(11), 1, + anon_sym_DQUOTE, + ACTIONS(13), 1, + anon_sym_LPAREN, + ACTIONS(15), 1, anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - ACTIONS(232), 7, - ts_builtin_sym_end, - anon_sym_in, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [2915] = 8, + ACTIONS(17), 1, + anon_sym_if, + ACTIONS(19), 1, + anon_sym_while, + ACTIONS(21), 1, + anon_sym_for, + ACTIONS(23), 1, + anon_sym_let, + ACTIONS(232), 3, + sym_nil_literal, + sym_integer_literal, + sym_break_expression, + STATE(5), 3, + sym__lvalue, + sym_record_value, + sym_array_value, + STATE(18), 13, + sym__expr, + sym_string_literal, + sym_function_call, + sym_unary_expression, + sym_binary_expression, + sym_sequence_expression, + sym_array_expression, + sym_record_expression, + sym_assignment_expression, + sym_if_expression, + sym_while_expression, + sym_for_expression, + sym_let_expression, + [2931] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -4130,7 +4142,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [2952] = 8, + [2968] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -4159,127 +4171,81 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [2989] = 8, + [3005] = 8, ACTIONS(3), 1, sym_comment, - ACTIONS(240), 1, - anon_sym_type, - ACTIONS(243), 1, - anon_sym_function, - ACTIONS(246), 1, - anon_sym_primitive, - ACTIONS(249), 1, - anon_sym_var, - ACTIONS(252), 1, - anon_sym_import, - ACTIONS(238), 2, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + ACTIONS(238), 7, ts_builtin_sym_end, anon_sym_in, - STATE(67), 9, - aux_sym__declaration_chunks, - sym__declaration_chunk, - sym_type_declaration, - sym_function_declaration, - sym_primitive_declaration, - sym_variable_declaration, - sym_import_declaration, - aux_sym__declaration_chunk_repeat1, - aux_sym__declaration_chunk_repeat2, - [3023] = 10, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(255), 1, - anon_sym_RPAREN, - ACTIONS(257), 1, - anon_sym_SEMI, - STATE(114), 1, - aux_sym_sequence_expression_repeat1, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3060] = 10, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(257), 1, - anon_sym_SEMI, - ACTIONS(259), 1, - anon_sym_end, - STATE(116), 1, - aux_sym_sequence_expression_repeat1, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3097] = 8, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(261), 3, - anon_sym_RPAREN, - anon_sym_SEMI, - anon_sym_end, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3130] = 8, - ACTIONS(3), 1, - sym_comment, - ACTIONS(263), 1, - anon_sym_in, - ACTIONS(265), 1, anon_sym_type, - ACTIONS(267), 1, anon_sym_function, - ACTIONS(269), 1, anon_sym_primitive, - ACTIONS(271), 1, anon_sym_var, - ACTIONS(273), 1, anon_sym_import, - STATE(67), 9, + [3042] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + ACTIONS(240), 7, + ts_builtin_sym_end, + anon_sym_in, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [3079] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(244), 1, + anon_sym_type, + ACTIONS(247), 1, + anon_sym_function, + ACTIONS(250), 1, + anon_sym_primitive, + ACTIONS(253), 1, + anon_sym_var, + ACTIONS(256), 1, + anon_sym_import, + ACTIONS(242), 2, + ts_builtin_sym_end, + anon_sym_in, + STATE(69), 9, aux_sym__declaration_chunks, sym__declaration_chunk, sym_type_declaration, @@ -4289,18 +4255,18 @@ static const uint16_t ts_small_parse_table[] = { sym_import_declaration, aux_sym__declaration_chunk_repeat1, aux_sym__declaration_chunk_repeat2, - [3163] = 10, + [3113] = 10, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, anon_sym_AMP, ACTIONS(76), 1, anon_sym_PIPE, - ACTIONS(275), 1, + ACTIONS(259), 1, anon_sym_COMMA, - ACTIONS(277), 1, + ACTIONS(261), 1, anon_sym_RBRACE, - STATE(112), 1, + STATE(113), 1, aux_sym_record_expression_repeat1, ACTIONS(66), 2, anon_sym_DASH, @@ -4316,70 +4282,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3200] = 10, + [3150] = 10, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, anon_sym_AMP, ACTIONS(76), 1, anon_sym_PIPE, - ACTIONS(279), 1, - anon_sym_COMMA, - ACTIONS(281), 1, - anon_sym_RPAREN, - STATE(111), 1, - aux_sym_function_call_repeat1, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3237] = 8, - ACTIONS(3), 1, - sym_comment, - ACTIONS(265), 1, - anon_sym_type, - ACTIONS(267), 1, - anon_sym_function, - ACTIONS(269), 1, - anon_sym_primitive, - ACTIONS(271), 1, - anon_sym_var, - ACTIONS(273), 1, - anon_sym_import, - ACTIONS(283), 1, - ts_builtin_sym_end, - STATE(67), 9, - aux_sym__declaration_chunks, - sym__declaration_chunk, - sym_type_declaration, - sym_function_declaration, - sym_primitive_declaration, - sym_variable_declaration, - sym_import_declaration, - aux_sym__declaration_chunk_repeat1, - aux_sym__declaration_chunk_repeat2, - [3270] = 10, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(257), 1, + ACTIONS(263), 1, anon_sym_SEMI, - ACTIONS(285), 1, + ACTIONS(265), 1, anon_sym_end, - STATE(115), 1, + STATE(110), 1, aux_sym_sequence_expression_repeat1, ACTIONS(66), 2, anon_sym_DASH, @@ -4395,22 +4309,49 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3307] = 8, + [3187] = 10, ACTIONS(3), 1, sym_comment, - ACTIONS(265), 1, - anon_sym_type, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, ACTIONS(267), 1, - anon_sym_function, + anon_sym_COMMA, ACTIONS(269), 1, - anon_sym_primitive, + anon_sym_RPAREN, + STATE(119), 1, + aux_sym_function_call_repeat1, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3224] = 8, + ACTIONS(3), 1, + sym_comment, ACTIONS(271), 1, - anon_sym_var, - ACTIONS(273), 1, - anon_sym_import, - ACTIONS(287), 1, anon_sym_in, - STATE(71), 9, + ACTIONS(273), 1, + anon_sym_type, + ACTIONS(275), 1, + anon_sym_function, + ACTIONS(277), 1, + anon_sym_primitive, + ACTIONS(279), 1, + anon_sym_var, + ACTIONS(281), 1, + anon_sym_import, + STATE(76), 9, aux_sym__declaration_chunks, sym__declaration_chunk, sym_type_declaration, @@ -4420,7 +4361,111 @@ static const uint16_t ts_small_parse_table[] = { sym_import_declaration, aux_sym__declaration_chunk_repeat1, aux_sym__declaration_chunk_repeat2, - [3340] = 8, + [3257] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(263), 1, + anon_sym_SEMI, + ACTIONS(283), 1, + anon_sym_end, + STATE(108), 1, + aux_sym_sequence_expression_repeat1, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3294] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(273), 1, + anon_sym_type, + ACTIONS(275), 1, + anon_sym_function, + ACTIONS(277), 1, + anon_sym_primitive, + ACTIONS(279), 1, + anon_sym_var, + ACTIONS(281), 1, + anon_sym_import, + ACTIONS(285), 1, + ts_builtin_sym_end, + STATE(69), 9, + aux_sym__declaration_chunks, + sym__declaration_chunk, + sym_type_declaration, + sym_function_declaration, + sym_primitive_declaration, + sym_variable_declaration, + sym_import_declaration, + aux_sym__declaration_chunk_repeat1, + aux_sym__declaration_chunk_repeat2, + [3327] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(273), 1, + anon_sym_type, + ACTIONS(275), 1, + anon_sym_function, + ACTIONS(277), 1, + anon_sym_primitive, + ACTIONS(279), 1, + anon_sym_var, + ACTIONS(281), 1, + anon_sym_import, + ACTIONS(287), 1, + anon_sym_in, + STATE(69), 9, + aux_sym__declaration_chunks, + sym__declaration_chunk, + sym_type_declaration, + sym_function_declaration, + sym_primitive_declaration, + sym_variable_declaration, + sym_import_declaration, + aux_sym__declaration_chunk_repeat1, + aux_sym__declaration_chunk_repeat2, + [3360] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(263), 1, + anon_sym_SEMI, + ACTIONS(289), 1, + anon_sym_RPAREN, + STATE(112), 1, + aux_sym_sequence_expression_repeat1, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3397] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -4436,7 +4481,32 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(72), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(289), 2, + ACTIONS(291), 3, + anon_sym_RPAREN, + anon_sym_SEMI, + anon_sym_end, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3430] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(293), 2, anon_sym_COMMA, anon_sym_RPAREN, ACTIONS(70), 4, @@ -4444,7 +4514,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3372] = 8, + [3462] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -4460,7 +4530,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(72), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(291), 2, + ACTIONS(295), 2, anon_sym_COMMA, anon_sym_RBRACE, ACTIONS(70), 4, @@ -4468,14 +4538,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3404] = 8, + [3494] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, anon_sym_AMP, ACTIONS(76), 1, anon_sym_PIPE, - ACTIONS(293), 1, + ACTIONS(297), 1, anon_sym_RBRACK, ACTIONS(66), 2, anon_sym_DASH, @@ -4491,37 +4561,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3435] = 8, + [3525] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, anon_sym_AMP, ACTIONS(76), 1, anon_sym_PIPE, - ACTIONS(295), 1, - anon_sym_do, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3466] = 8, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(283), 1, + ACTIONS(285), 1, ts_builtin_sym_end, ACTIONS(66), 2, anon_sym_DASH, @@ -4537,30 +4584,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3497] = 8, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(297), 1, - anon_sym_then, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3528] = 8, + [3556] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -4583,7 +4607,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3559] = 8, + [3587] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(74), 1, @@ -4591,29 +4615,6 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(76), 1, anon_sym_PIPE, ACTIONS(301), 1, - anon_sym_to, - ACTIONS(66), 2, - anon_sym_DASH, - anon_sym_PLUS, - ACTIONS(68), 2, - anon_sym_STAR, - anon_sym_SLASH, - ACTIONS(72), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(70), 4, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ, - anon_sym_LT_GT, - [3590] = 8, - ACTIONS(3), 1, - sym_comment, - ACTIONS(74), 1, - anon_sym_AMP, - ACTIONS(76), 1, - anon_sym_PIPE, - ACTIONS(303), 1, anon_sym_RBRACK, ACTIONS(66), 2, anon_sym_DASH, @@ -4629,27 +4630,96 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ, anon_sym_LT_GT, - [3621] = 5, + [3618] = 8, ACTIONS(3), 1, sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(303), 1, + anon_sym_do, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3649] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, + ACTIONS(305), 1, + anon_sym_then, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3680] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(74), 1, + anon_sym_AMP, + ACTIONS(76), 1, + anon_sym_PIPE, ACTIONS(307), 1, + anon_sym_to, + ACTIONS(66), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(68), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(72), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(70), 4, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ, + anon_sym_LT_GT, + [3711] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(311), 1, anon_sym_function, - ACTIONS(310), 1, + ACTIONS(314), 1, anon_sym_primitive, - STATE(86), 3, + STATE(88), 3, sym_function_declaration, sym_primitive_declaration, aux_sym__declaration_chunk_repeat2, - ACTIONS(305), 5, + ACTIONS(309), 5, ts_builtin_sym_end, anon_sym_in, anon_sym_type, anon_sym_var, anon_sym_import, - [3643] = 2, + [3733] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(313), 9, + ACTIONS(317), 9, ts_builtin_sym_end, anon_sym_EQ, anon_sym_in, @@ -4659,21 +4729,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3658] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(317), 1, - anon_sym_COLON, - ACTIONS(315), 8, - ts_builtin_sym_end, - anon_sym_EQ, - anon_sym_in, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [3675] = 2, + [3748] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(319), 9, @@ -4686,7 +4742,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3690] = 2, + [3763] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(321), 9, @@ -4699,12 +4755,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3705] = 4, + [3778] = 4, ACTIONS(3), 1, sym_comment, ACTIONS(325), 1, anon_sym_type, - STATE(91), 2, + STATE(92), 2, sym_type_declaration, aux_sym__declaration_chunk_repeat1, ACTIONS(323), 6, @@ -4714,22 +4770,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3724] = 2, + [3797] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(328), 8, - ts_builtin_sym_end, - anon_sym_EQ, - anon_sym_in, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [3738] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(330), 7, + ACTIONS(330), 1, + anon_sym_COLON, + ACTIONS(328), 7, ts_builtin_sym_end, anon_sym_in, anon_sym_type, @@ -4737,7 +4783,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3751] = 2, + [3813] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(332), 7, @@ -4748,21 +4794,40 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3764] = 5, + [3826] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(334), 1, - sym_identifier, - ACTIONS(336), 1, - anon_sym_LBRACE, - ACTIONS(338), 1, - anon_sym_array, - STATE(100), 4, - sym__type, - sym_type_alias, - sym_record_type, - sym_array_type, - [3783] = 2, + ACTIONS(334), 7, + ts_builtin_sym_end, + anon_sym_in, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [3839] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(336), 7, + ts_builtin_sym_end, + anon_sym_in, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [3852] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(338), 7, + ts_builtin_sym_end, + anon_sym_in, + anon_sym_type, + anon_sym_function, + anon_sym_primitive, + anon_sym_var, + anon_sym_import, + [3865] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(340), 7, @@ -4773,7 +4838,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3796] = 2, + [3878] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(342), 7, @@ -4784,7 +4849,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3809] = 2, + [3891] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(344), 7, @@ -4795,10 +4860,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3822] = 2, + [3904] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(346), 7, + ACTIONS(346), 1, + sym_identifier, + ACTIONS(348), 1, + anon_sym_LBRACE, + ACTIONS(350), 1, + anon_sym_array, + STATE(99), 4, + sym__type, + sym_type_alias, + sym_record_type, + sym_array_type, + [3923] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(352), 7, ts_builtin_sym_end, anon_sym_in, anon_sym_type, @@ -4806,388 +4885,381 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_primitive, anon_sym_var, anon_sym_import, - [3835] = 2, + [3936] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(348), 7, - ts_builtin_sym_end, - anon_sym_in, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [3848] = 2, + ACTIONS(354), 1, + anon_sym_DQUOTE, + STATE(106), 1, + aux_sym_string_literal_repeat1, + ACTIONS(356), 2, + aux_sym_string_literal_token1, + sym_escape_sequence, + [3950] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(350), 7, - ts_builtin_sym_end, - anon_sym_in, - anon_sym_type, - anon_sym_function, - anon_sym_primitive, - anon_sym_var, - anon_sym_import, - [3861] = 4, + ACTIONS(358), 1, + anon_sym_SEMI, + STATE(104), 1, + aux_sym_sequence_expression_repeat1, + ACTIONS(291), 2, + anon_sym_RPAREN, + anon_sym_end, + [3964] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(352), 1, + ACTIONS(361), 1, anon_sym_DQUOTE, STATE(103), 1, aux_sym_string_literal_repeat1, - ACTIONS(354), 2, + ACTIONS(363), 2, aux_sym_string_literal_token1, sym_escape_sequence, - [3875] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(356), 1, - anon_sym_DQUOTE, - STATE(104), 1, - aux_sym_string_literal_repeat1, - ACTIONS(358), 2, - aux_sym_string_literal_token1, - sym_escape_sequence, - [3889] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(360), 1, - anon_sym_DQUOTE, - STATE(104), 1, - aux_sym_string_literal_repeat1, - ACTIONS(362), 2, - aux_sym_string_literal_token1, - sym_escape_sequence, - [3903] = 4, + [3978] = 4, ACTIONS(3), 1, sym_comment, ACTIONS(365), 1, - anon_sym_SEMI, - STATE(105), 1, - aux_sym_sequence_expression_repeat1, - ACTIONS(261), 2, - anon_sym_RPAREN, - anon_sym_end, - [3917] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(368), 1, - anon_sym_COMMA, - ACTIONS(371), 1, - anon_sym_RPAREN, + anon_sym_DQUOTE, STATE(106), 1, - aux_sym_parameters_repeat1, - [3930] = 4, + aux_sym_string_literal_repeat1, + ACTIONS(367), 2, + aux_sym_string_literal_token1, + sym_escape_sequence, + [3992] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(373), 1, + ACTIONS(370), 1, anon_sym_COMMA, - ACTIONS(375), 1, + ACTIONS(373), 1, anon_sym_RBRACE, - STATE(108), 1, - aux_sym_record_type_repeat1, - [3943] = 4, + STATE(107), 1, + aux_sym_record_expression_repeat1, + [4005] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(263), 1, + anon_sym_SEMI, + ACTIONS(375), 1, + anon_sym_end, + STATE(104), 1, + aux_sym_sequence_expression_repeat1, + [4018] = 4, ACTIONS(3), 1, sym_comment, ACTIONS(377), 1, anon_sym_COMMA, ACTIONS(380), 1, anon_sym_RBRACE, - STATE(108), 1, + STATE(109), 1, aux_sym_record_type_repeat1, - [3956] = 4, + [4031] = 4, ACTIONS(3), 1, sym_comment, + ACTIONS(263), 1, + anon_sym_SEMI, ACTIONS(382), 1, - anon_sym_COMMA, + anon_sym_end, + STATE(104), 1, + aux_sym_sequence_expression_repeat1, + [4044] = 4, + ACTIONS(3), 1, + sym_comment, ACTIONS(384), 1, - anon_sym_RPAREN, - STATE(113), 1, - aux_sym_parameters_repeat1, - [3969] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(289), 1, - anon_sym_RPAREN, + anon_sym_COMMA, ACTIONS(386), 1, - anon_sym_COMMA, - STATE(110), 1, - aux_sym_function_call_repeat1, - [3982] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(279), 1, - anon_sym_COMMA, - ACTIONS(389), 1, - anon_sym_RPAREN, - STATE(110), 1, - aux_sym_function_call_repeat1, - [3995] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(275), 1, - anon_sym_COMMA, - ACTIONS(391), 1, anon_sym_RBRACE, - STATE(117), 1, - aux_sym_record_expression_repeat1, - [4008] = 4, + STATE(109), 1, + aux_sym_record_type_repeat1, + [4057] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(382), 1, - anon_sym_COMMA, - ACTIONS(393), 1, + ACTIONS(263), 1, + anon_sym_SEMI, + ACTIONS(388), 1, anon_sym_RPAREN, - STATE(106), 1, - aux_sym_parameters_repeat1, - [4021] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(257), 1, - anon_sym_SEMI, - ACTIONS(395), 1, - anon_sym_RPAREN, - STATE(105), 1, + STATE(104), 1, aux_sym_sequence_expression_repeat1, - [4034] = 4, + [4070] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(257), 1, - anon_sym_SEMI, - ACTIONS(397), 1, - anon_sym_end, - STATE(105), 1, - aux_sym_sequence_expression_repeat1, - [4047] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(257), 1, - anon_sym_SEMI, - ACTIONS(399), 1, - anon_sym_end, - STATE(105), 1, - aux_sym_sequence_expression_repeat1, - [4060] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(401), 1, + ACTIONS(259), 1, anon_sym_COMMA, - ACTIONS(404), 1, - anon_sym_RBRACE, - STATE(117), 1, - aux_sym_record_expression_repeat1, - [4073] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(373), 1, - anon_sym_COMMA, - ACTIONS(406), 1, + ACTIONS(390), 1, anon_sym_RBRACE, STATE(107), 1, - aux_sym_record_type_repeat1, - [4086] = 3, + aux_sym_record_expression_repeat1, + [4083] = 4, ACTIONS(3), 1, sym_comment, + ACTIONS(392), 1, + anon_sym_COMMA, + ACTIONS(394), 1, + anon_sym_RPAREN, + STATE(118), 1, + aux_sym_parameters_repeat1, + [4096] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(293), 1, + anon_sym_RPAREN, + ACTIONS(396), 1, + anon_sym_COMMA, + STATE(115), 1, + aux_sym_function_call_repeat1, + [4109] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(384), 1, + anon_sym_COMMA, + ACTIONS(399), 1, + anon_sym_RBRACE, + STATE(111), 1, + aux_sym_record_type_repeat1, + [4122] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(392), 1, + anon_sym_COMMA, + ACTIONS(401), 1, + anon_sym_RPAREN, + STATE(114), 1, + aux_sym_parameters_repeat1, + [4135] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(403), 1, + anon_sym_COMMA, + ACTIONS(406), 1, + anon_sym_RPAREN, + STATE(118), 1, + aux_sym_parameters_repeat1, + [4148] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(267), 1, + anon_sym_COMMA, ACTIONS(408), 1, - anon_sym_LPAREN, - STATE(88), 1, - sym_parameters, - [4096] = 3, + anon_sym_RPAREN, + STATE(115), 1, + aux_sym_function_call_repeat1, + [4161] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(410), 1, sym_identifier, ACTIONS(412), 1, anon_sym_RPAREN, - [4106] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(414), 1, - sym_identifier, - ACTIONS(416), 1, - anon_sym_RBRACE, - [4116] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(418), 1, - sym_identifier, - STATE(98), 1, - sym__function_declaration_common, - [4126] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(420), 1, - sym_identifier, - ACTIONS(422), 1, - anon_sym_RBRACE, - [4136] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(424), 2, - anon_sym_COMMA, - anon_sym_RBRACE, - [4144] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(418), 1, - sym_identifier, - STATE(144), 1, - sym__function_declaration_common, - [4154] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(426), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [4162] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(428), 1, - anon_sym_COLON_EQ, - ACTIONS(430), 1, - anon_sym_COLON, - [4172] = 3, + [4171] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(11), 1, anon_sym_DQUOTE, - STATE(99), 1, + STATE(98), 1, sym_string_literal, - [4182] = 2, + [4181] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(432), 1, - anon_sym_COLON, + ACTIONS(414), 2, + anon_sym_COMMA, + anon_sym_RBRACE, [4189] = 2, ACTIONS(3), 1, sym_comment, + ACTIONS(416), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [4197] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(418), 1, + anon_sym_LPAREN, + STATE(127), 1, + sym_parameters, + [4207] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(418), 1, + anon_sym_LPAREN, + STATE(93), 1, + sym_parameters, + [4217] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(420), 1, + anon_sym_COLON_EQ, + ACTIONS(422), 1, + anon_sym_COLON, + [4227] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(424), 1, + anon_sym_EQ, + ACTIONS(426), 1, + anon_sym_COLON, + [4237] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(428), 1, + sym_identifier, + ACTIONS(430), 1, + anon_sym_RBRACE, + [4247] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(432), 1, + sym_identifier, ACTIONS(434), 1, - ts_builtin_sym_end, - [4196] = 2, + anon_sym_RBRACE, + [4257] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(436), 1, - sym_identifier, - [4203] = 2, + anon_sym_of, + [4264] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(438), 1, - anon_sym_EQ, - [4210] = 2, + sym_identifier, + [4271] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(440), 1, - sym_identifier, - [4217] = 2, + anon_sym_COLON_EQ, + [4278] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(442), 1, sym_identifier, - [4224] = 2, + [4285] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(444), 1, sym_identifier, - [4231] = 2, + [4292] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(446), 1, - sym_identifier, - [4238] = 2, + anon_sym_EQ, + [4299] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(448), 1, - sym_identifier, - [4245] = 2, + anon_sym_EQ, + [4306] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(450), 1, - sym_identifier, - [4252] = 2, + anon_sym_EQ, + [4313] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(452), 1, anon_sym_COLON, - [4259] = 2, + [4320] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(454), 1, - anon_sym_COLON_EQ, - [4266] = 2, + sym_identifier, + [4327] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(456), 1, sym_identifier, - [4273] = 2, + [4334] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(458), 1, sym_identifier, - [4280] = 2, + [4341] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(460), 1, - anon_sym_EQ, - [4287] = 2, + ts_builtin_sym_end, + [4348] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(462), 1, - anon_sym_EQ, - [4294] = 2, + anon_sym_COLON, + [4355] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(464), 1, - anon_sym_COLON, - [4301] = 2, + anon_sym_of, + [4362] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(466), 1, sym_identifier, - [4308] = 2, + [4369] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(468), 1, - anon_sym_COLON_EQ, - [4315] = 2, + sym_identifier, + [4376] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(470), 1, sym_identifier, - [4322] = 2, + [4383] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(472), 1, - anon_sym_COLON, - [4329] = 2, + anon_sym_COLON_EQ, + [4390] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(474), 1, - sym_identifier, - [4336] = 2, + anon_sym_COLON, + [4397] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(476), 1, - anon_sym_of, - [4343] = 2, + anon_sym_EQ, + [4404] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(478), 1, sym_identifier, - [4350] = 2, + [4411] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(480), 1, sym_identifier, - [4357] = 2, + [4418] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(482), 1, - anon_sym_of, - [4364] = 2, + anon_sym_COLON, + [4425] = 2, ACTIONS(3), 1, sym_comment, ACTIONS(484), 1, - anon_sym_EQ, + sym_identifier, + [4432] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(486), 1, + sym_identifier, + [4439] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(488), 1, + sym_identifier, + [4446] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(490), 1, + sym_identifier, + [4453] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(492), 1, + sym_identifier, + [4460] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(494), 1, + sym_identifier, }; static const uint32_t ts_small_parse_table_map[] = { @@ -5196,32 +5268,32 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(4)] = 88, [SMALL_STATE(5)] = 128, [SMALL_STATE(6)] = 174, - [SMALL_STATE(7)] = 223, - [SMALL_STATE(8)] = 270, - [SMALL_STATE(9)] = 307, - [SMALL_STATE(10)] = 344, - [SMALL_STATE(11)] = 391, - [SMALL_STATE(12)] = 434, - [SMALL_STATE(13)] = 475, - [SMALL_STATE(14)] = 512, - [SMALL_STATE(15)] = 549, - [SMALL_STATE(16)] = 588, - [SMALL_STATE(17)] = 625, - [SMALL_STATE(18)] = 672, - [SMALL_STATE(19)] = 709, - [SMALL_STATE(20)] = 746, - [SMALL_STATE(21)] = 783, - [SMALL_STATE(22)] = 820, - [SMALL_STATE(23)] = 857, - [SMALL_STATE(24)] = 902, - [SMALL_STATE(25)] = 939, - [SMALL_STATE(26)] = 976, - [SMALL_STATE(27)] = 1023, - [SMALL_STATE(28)] = 1060, - [SMALL_STATE(29)] = 1097, - [SMALL_STATE(30)] = 1134, - [SMALL_STATE(31)] = 1171, - [SMALL_STATE(32)] = 1218, + [SMALL_STATE(7)] = 221, + [SMALL_STATE(8)] = 258, + [SMALL_STATE(9)] = 305, + [SMALL_STATE(10)] = 342, + [SMALL_STATE(11)] = 383, + [SMALL_STATE(12)] = 420, + [SMALL_STATE(13)] = 457, + [SMALL_STATE(14)] = 494, + [SMALL_STATE(15)] = 531, + [SMALL_STATE(16)] = 568, + [SMALL_STATE(17)] = 615, + [SMALL_STATE(18)] = 662, + [SMALL_STATE(19)] = 711, + [SMALL_STATE(20)] = 748, + [SMALL_STATE(21)] = 785, + [SMALL_STATE(22)] = 822, + [SMALL_STATE(23)] = 859, + [SMALL_STATE(24)] = 896, + [SMALL_STATE(25)] = 933, + [SMALL_STATE(26)] = 970, + [SMALL_STATE(27)] = 1017, + [SMALL_STATE(28)] = 1054, + [SMALL_STATE(29)] = 1099, + [SMALL_STATE(30)] = 1142, + [SMALL_STATE(31)] = 1179, + [SMALL_STATE(32)] = 1216, [SMALL_STATE(33)] = 1255, [SMALL_STATE(34)] = 1292, [SMALL_STATE(35)] = 1329, @@ -5254,97 +5326,101 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(62)] = 2772, [SMALL_STATE(63)] = 2825, [SMALL_STATE(64)] = 2878, - [SMALL_STATE(65)] = 2915, - [SMALL_STATE(66)] = 2952, - [SMALL_STATE(67)] = 2989, - [SMALL_STATE(68)] = 3023, - [SMALL_STATE(69)] = 3060, - [SMALL_STATE(70)] = 3097, - [SMALL_STATE(71)] = 3130, - [SMALL_STATE(72)] = 3163, - [SMALL_STATE(73)] = 3200, - [SMALL_STATE(74)] = 3237, - [SMALL_STATE(75)] = 3270, - [SMALL_STATE(76)] = 3307, - [SMALL_STATE(77)] = 3340, - [SMALL_STATE(78)] = 3372, - [SMALL_STATE(79)] = 3404, - [SMALL_STATE(80)] = 3435, - [SMALL_STATE(81)] = 3466, - [SMALL_STATE(82)] = 3497, - [SMALL_STATE(83)] = 3528, - [SMALL_STATE(84)] = 3559, - [SMALL_STATE(85)] = 3590, - [SMALL_STATE(86)] = 3621, - [SMALL_STATE(87)] = 3643, - [SMALL_STATE(88)] = 3658, - [SMALL_STATE(89)] = 3675, - [SMALL_STATE(90)] = 3690, - [SMALL_STATE(91)] = 3705, - [SMALL_STATE(92)] = 3724, - [SMALL_STATE(93)] = 3738, - [SMALL_STATE(94)] = 3751, - [SMALL_STATE(95)] = 3764, - [SMALL_STATE(96)] = 3783, - [SMALL_STATE(97)] = 3796, - [SMALL_STATE(98)] = 3809, - [SMALL_STATE(99)] = 3822, - [SMALL_STATE(100)] = 3835, - [SMALL_STATE(101)] = 3848, - [SMALL_STATE(102)] = 3861, - [SMALL_STATE(103)] = 3875, - [SMALL_STATE(104)] = 3889, - [SMALL_STATE(105)] = 3903, - [SMALL_STATE(106)] = 3917, - [SMALL_STATE(107)] = 3930, - [SMALL_STATE(108)] = 3943, - [SMALL_STATE(109)] = 3956, - [SMALL_STATE(110)] = 3969, - [SMALL_STATE(111)] = 3982, - [SMALL_STATE(112)] = 3995, - [SMALL_STATE(113)] = 4008, - [SMALL_STATE(114)] = 4021, - [SMALL_STATE(115)] = 4034, - [SMALL_STATE(116)] = 4047, - [SMALL_STATE(117)] = 4060, - [SMALL_STATE(118)] = 4073, - [SMALL_STATE(119)] = 4086, - [SMALL_STATE(120)] = 4096, - [SMALL_STATE(121)] = 4106, - [SMALL_STATE(122)] = 4116, - [SMALL_STATE(123)] = 4126, - [SMALL_STATE(124)] = 4136, - [SMALL_STATE(125)] = 4144, - [SMALL_STATE(126)] = 4154, - [SMALL_STATE(127)] = 4162, - [SMALL_STATE(128)] = 4172, - [SMALL_STATE(129)] = 4182, - [SMALL_STATE(130)] = 4189, - [SMALL_STATE(131)] = 4196, - [SMALL_STATE(132)] = 4203, - [SMALL_STATE(133)] = 4210, - [SMALL_STATE(134)] = 4217, - [SMALL_STATE(135)] = 4224, - [SMALL_STATE(136)] = 4231, - [SMALL_STATE(137)] = 4238, - [SMALL_STATE(138)] = 4245, - [SMALL_STATE(139)] = 4252, - [SMALL_STATE(140)] = 4259, - [SMALL_STATE(141)] = 4266, - [SMALL_STATE(142)] = 4273, - [SMALL_STATE(143)] = 4280, - [SMALL_STATE(144)] = 4287, - [SMALL_STATE(145)] = 4294, - [SMALL_STATE(146)] = 4301, - [SMALL_STATE(147)] = 4308, - [SMALL_STATE(148)] = 4315, - [SMALL_STATE(149)] = 4322, - [SMALL_STATE(150)] = 4329, - [SMALL_STATE(151)] = 4336, - [SMALL_STATE(152)] = 4343, - [SMALL_STATE(153)] = 4350, - [SMALL_STATE(154)] = 4357, - [SMALL_STATE(155)] = 4364, + [SMALL_STATE(65)] = 2931, + [SMALL_STATE(66)] = 2968, + [SMALL_STATE(67)] = 3005, + [SMALL_STATE(68)] = 3042, + [SMALL_STATE(69)] = 3079, + [SMALL_STATE(70)] = 3113, + [SMALL_STATE(71)] = 3150, + [SMALL_STATE(72)] = 3187, + [SMALL_STATE(73)] = 3224, + [SMALL_STATE(74)] = 3257, + [SMALL_STATE(75)] = 3294, + [SMALL_STATE(76)] = 3327, + [SMALL_STATE(77)] = 3360, + [SMALL_STATE(78)] = 3397, + [SMALL_STATE(79)] = 3430, + [SMALL_STATE(80)] = 3462, + [SMALL_STATE(81)] = 3494, + [SMALL_STATE(82)] = 3525, + [SMALL_STATE(83)] = 3556, + [SMALL_STATE(84)] = 3587, + [SMALL_STATE(85)] = 3618, + [SMALL_STATE(86)] = 3649, + [SMALL_STATE(87)] = 3680, + [SMALL_STATE(88)] = 3711, + [SMALL_STATE(89)] = 3733, + [SMALL_STATE(90)] = 3748, + [SMALL_STATE(91)] = 3763, + [SMALL_STATE(92)] = 3778, + [SMALL_STATE(93)] = 3797, + [SMALL_STATE(94)] = 3813, + [SMALL_STATE(95)] = 3826, + [SMALL_STATE(96)] = 3839, + [SMALL_STATE(97)] = 3852, + [SMALL_STATE(98)] = 3865, + [SMALL_STATE(99)] = 3878, + [SMALL_STATE(100)] = 3891, + [SMALL_STATE(101)] = 3904, + [SMALL_STATE(102)] = 3923, + [SMALL_STATE(103)] = 3936, + [SMALL_STATE(104)] = 3950, + [SMALL_STATE(105)] = 3964, + [SMALL_STATE(106)] = 3978, + [SMALL_STATE(107)] = 3992, + [SMALL_STATE(108)] = 4005, + [SMALL_STATE(109)] = 4018, + [SMALL_STATE(110)] = 4031, + [SMALL_STATE(111)] = 4044, + [SMALL_STATE(112)] = 4057, + [SMALL_STATE(113)] = 4070, + [SMALL_STATE(114)] = 4083, + [SMALL_STATE(115)] = 4096, + [SMALL_STATE(116)] = 4109, + [SMALL_STATE(117)] = 4122, + [SMALL_STATE(118)] = 4135, + [SMALL_STATE(119)] = 4148, + [SMALL_STATE(120)] = 4161, + [SMALL_STATE(121)] = 4171, + [SMALL_STATE(122)] = 4181, + [SMALL_STATE(123)] = 4189, + [SMALL_STATE(124)] = 4197, + [SMALL_STATE(125)] = 4207, + [SMALL_STATE(126)] = 4217, + [SMALL_STATE(127)] = 4227, + [SMALL_STATE(128)] = 4237, + [SMALL_STATE(129)] = 4247, + [SMALL_STATE(130)] = 4257, + [SMALL_STATE(131)] = 4264, + [SMALL_STATE(132)] = 4271, + [SMALL_STATE(133)] = 4278, + [SMALL_STATE(134)] = 4285, + [SMALL_STATE(135)] = 4292, + [SMALL_STATE(136)] = 4299, + [SMALL_STATE(137)] = 4306, + [SMALL_STATE(138)] = 4313, + [SMALL_STATE(139)] = 4320, + [SMALL_STATE(140)] = 4327, + [SMALL_STATE(141)] = 4334, + [SMALL_STATE(142)] = 4341, + [SMALL_STATE(143)] = 4348, + [SMALL_STATE(144)] = 4355, + [SMALL_STATE(145)] = 4362, + [SMALL_STATE(146)] = 4369, + [SMALL_STATE(147)] = 4376, + [SMALL_STATE(148)] = 4383, + [SMALL_STATE(149)] = 4390, + [SMALL_STATE(150)] = 4397, + [SMALL_STATE(151)] = 4404, + [SMALL_STATE(152)] = 4411, + [SMALL_STATE(153)] = 4418, + [SMALL_STATE(154)] = 4425, + [SMALL_STATE(155)] = 4432, + [SMALL_STATE(156)] = 4439, + [SMALL_STATE(157)] = 4446, + [SMALL_STATE(158)] = 4453, + [SMALL_STATE(159)] = 4460, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -5353,237 +5429,242 @@ static const TSParseActionEntry ts_parse_actions[] = { [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(159), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__lvalue, 1), - [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__lvalue, 1), SHIFT(53), - [40] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__lvalue, 1), SHIFT(41), + [40] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [42] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__lvalue, 1), - [44] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [46] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_value, 4, .production_id = 18), - [48] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_value, 4, .production_id = 18), - [50] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_value, 3, .production_id = 8), - [52] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_value, 3, .production_id = 8), + [44] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [46] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_value, 4, .production_id = 16), + [48] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_value, 4, .production_id = 16), + [50] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_value, 3, .production_id = 7), + [52] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_value, 3, .production_id = 7), [54] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1), - [56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [58] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [58] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), [60] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expr, 1), - [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 4, .production_id = 11), - [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [68] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), - [74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [76] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [78] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_expression, 6, .production_id = 23), - [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_expression, 3, .production_id = 9), - [84] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_expression, 3, .production_id = 9), - [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3), - [88] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3), - [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_expression, 8, .production_id = 32), - [92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 7), - [94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 7), - [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 7, .production_id = 29), - [98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 7, .production_id = 29), - [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 6, .production_id = 26), - [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 6, .production_id = 26), - [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 6, .production_id = 25), - [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 6, .production_id = 24), - [108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 6, .production_id = 24), - [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 10), - [112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 10), - [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2), - [116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2), - [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 14), - [120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 14), - [122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 4), - [124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 4), - [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 2), - [128] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 2), - [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 3), - [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 3), - [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 1), - [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 21), - [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 21), - [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 20), - [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 20), - [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 3), - [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 3), - [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 3, .production_id = 5), - [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 3, .production_id = 5), - [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_expression, 4, .production_id = 12), - [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 4), - [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 4), - [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 19), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 19), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 13), - [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 13), - [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), - [172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), - [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), - [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), - [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), - [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), - [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), - [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), - [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), - [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), - [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), - [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), - [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), - [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), - [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), - [206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7), - [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), - [210] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), - [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), - [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), - [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), - [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), - [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), - [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), - [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), - [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 4, .production_id = 16), - [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 6, .production_id = 28), - [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 4, .production_id = 17), - [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), - [240] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(141), - [243] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(125), - [246] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(122), - [249] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(133), - [252] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(128), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_expression, 6, .production_id = 22), + [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [68] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [76] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 7, .production_id = 28), + [80] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 7, .production_id = 28), + [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 6, .production_id = 24), + [84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 6, .production_id = 23), + [86] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 6, .production_id = 23), + [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 6), + [90] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 6), + [92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 19), + [94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 19), + [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 18), + [98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 18), + [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 17), + [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 17), + [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 13), + [106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 13), + [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 12), + [110] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 12), + [112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_expression, 4, .production_id = 11), + [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_expression, 8, .production_id = 32), + [116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 4, .production_id = 10), + [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2), + [122] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2), + [124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 4), + [126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 4), + [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 9), + [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 9), + [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3), + [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3), + [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 6, .production_id = 25), + [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 6, .production_id = 25), + [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 2), + [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 2), + [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_expression, 3, .production_id = 8), + [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_expression, 3, .production_id = 8), + [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 1), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 3), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 3), + [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 3), + [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 3), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 3), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 3), + [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 3, .production_id = 4), + [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 3, .production_id = 4), + [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), + [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), + [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), + [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), + [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), + [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), + [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), + [210] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), + [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), + [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), + [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16), + [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), + [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 4, .production_id = 15), + [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 20), + [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 6, .production_id = 27), + [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 31), + [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), + [244] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(159), + [247] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(154), + [250] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(155), + [253] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(147), + [256] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(121), + [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), - [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 4, .production_id = 36), - [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [305] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), - [307] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), SHIFT_REPEAT(125), - [310] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), SHIFT_REPEAT(122), - [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2), - [315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_declaration_common, 2, .production_id = 6), - [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 5, .production_id = 31), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2), + [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 4, .production_id = 36), + [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), + [311] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), SHIFT_REPEAT(154), + [314] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), SHIFT_REPEAT(155), + [317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 5, .production_id = 30), + [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2), [321] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 6, .production_id = 34), [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2), - [325] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2), SHIFT_REPEAT(141), - [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_declaration_common, 4, .production_id = 22), - [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 2), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 3, .production_id = 27), - [334] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), - [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [338] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), - [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 5, .production_id = 33), - [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_alias, 1, .production_id = 15), - [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_declaration, 2, .production_id = 2), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 2, .production_id = 3), - [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_declaration, 4, .production_id = 16), - [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 6, .production_id = 37), - [352] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), - [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [356] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9), - [358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [360] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2), - [362] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(104), - [365] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2), SHIFT_REPEAT(57), - [368] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 35), SHIFT_REPEAT(137), - [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 35), - [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [377] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 2, .production_id = 35), SHIFT_REPEAT(142), + [325] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2), SHIFT_REPEAT(159), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_declaration, 3, .production_id = 5), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 2), + [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 6, .production_id = 37), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 3, .production_id = 26), + [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_alias, 1, .production_id = 14), + [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 2, .production_id = 2), + [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_declaration, 4, .production_id = 15), + [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 5, .production_id = 33), + [346] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), + [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_declaration, 5, .production_id = 21), + [354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [358] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2), SHIFT_REPEAT(62), + [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2), + [367] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(106), + [370] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 29), SHIFT_REPEAT(158), + [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 29), + [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [377] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 2, .production_id = 35), SHIFT_REPEAT(146), [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 2, .production_id = 35), - [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [386] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(39), - [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [401] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 30), SHIFT_REPEAT(134), - [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 30), - [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 4, .production_id = 33), - [426] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 4, .production_id = 31), - [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [430] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), - [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [434] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [396] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(39), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [403] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 35), SHIFT_REPEAT(140), + [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 35), + [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 4, .production_id = 33), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 4, .production_id = 30), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [422] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), + [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [460] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), }; #ifdef __cplusplus