tree-sitter-tiger/src/parser.c

5193 lines
133 KiB
C
Raw Normal View History

#include <tree_sitter/parser.h>
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#define LANGUAGE_VERSION 13
#define STATE_COUNT 148
#define LARGE_STATE_COUNT 2
2022-06-01 20:54:35 +02:00
#define SYMBOL_COUNT 86
#define ALIAS_COUNT 0
2022-06-01 20:54:35 +02:00
#define TOKEN_COUNT 48
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 26
2022-06-01 20:23:04 +02:00
#define MAX_ALIAS_SEQUENCE_LENGTH 8
#define PRODUCTION_ID_COUNT 36
enum {
sym_identifier = 1,
sym_nil_literal = 2,
sym_integer_literal = 3,
anon_sym_DQUOTE = 4,
aux_sym_string_literal_token1 = 5,
sym_escape_sequence = 6,
2022-06-01 20:07:00 +02:00
anon_sym_DOT = 7,
anon_sym_LBRACK = 8,
anon_sym_RBRACK = 9,
anon_sym_LPAREN = 10,
anon_sym_COMMA = 11,
anon_sym_RPAREN = 12,
anon_sym_DASH = 13,
anon_sym_STAR = 14,
anon_sym_SLASH = 15,
anon_sym_PLUS = 16,
anon_sym_GT_EQ = 17,
anon_sym_LT_EQ = 18,
anon_sym_EQ = 19,
anon_sym_LT_GT = 20,
anon_sym_LT = 21,
anon_sym_GT = 22,
anon_sym_AMP = 23,
anon_sym_PIPE = 24,
anon_sym_SEMI = 25,
anon_sym_of = 26,
anon_sym_LBRACE = 27,
anon_sym_RBRACE = 28,
2022-06-01 20:11:52 +02:00
anon_sym_COLON_EQ = 29,
2022-06-01 20:18:10 +02:00
anon_sym_if = 30,
anon_sym_then = 31,
anon_sym_else = 32,
2022-06-01 20:19:56 +02:00
anon_sym_while = 33,
anon_sym_do = 34,
2022-06-01 20:23:04 +02:00
anon_sym_for = 35,
anon_sym_to = 36,
2022-06-01 20:23:46 +02:00
sym_break_expression = 37,
2022-06-01 20:36:14 +02:00
anon_sym_let = 38,
anon_sym_in = 39,
anon_sym_end = 40,
anon_sym_type = 41,
2022-06-01 20:53:39 +02:00
anon_sym_COLON = 42,
2022-06-01 20:54:35 +02:00
anon_sym_array = 43,
anon_sym_function = 44,
anon_sym_primitive = 45,
anon_sym_var = 46,
anon_sym_import = 47,
sym_source_file = 48,
sym__expr = 49,
sym_string_literal = 50,
sym__lvalue = 51,
sym_record_value = 52,
sym_array_value = 53,
sym_function_call = 54,
sym_unary_expression = 55,
sym_binary_expression = 56,
sym_sequence_expression = 57,
sym_array_expression = 58,
sym_record_expression = 59,
sym_assignment_expression = 60,
sym_if_expression = 61,
sym_while_expression = 62,
sym_for_expression = 63,
sym_let_expression = 64,
aux_sym__declaration_chunks = 65,
sym__declaration_chunk = 66,
sym_type_declaration = 67,
sym__type = 68,
sym_type_alias = 69,
sym_record_type = 70,
sym__typed_field = 71,
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,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[sym_identifier] = "identifier",
[sym_nil_literal] = "nil_literal",
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = "integer_literal",
[anon_sym_DQUOTE] = "\"",
[aux_sym_string_literal_token1] = "string_literal_token1",
[sym_escape_sequence] = "escape_sequence",
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = ".",
[anon_sym_LBRACK] = "[",
[anon_sym_RBRACK] = "]",
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = "(",
[anon_sym_COMMA] = ",",
[anon_sym_RPAREN] = ")",
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = "operator",
[anon_sym_STAR] = "operator",
[anon_sym_SLASH] = "operator",
[anon_sym_PLUS] = "operator",
[anon_sym_GT_EQ] = "operator",
[anon_sym_LT_EQ] = "operator",
2022-06-01 19:54:09 +02:00
[anon_sym_EQ] = "=",
2022-06-01 19:34:31 +02:00
[anon_sym_LT_GT] = "operator",
[anon_sym_LT] = "operator",
[anon_sym_GT] = "operator",
[anon_sym_AMP] = "operator",
[anon_sym_PIPE] = "operator",
[anon_sym_SEMI] = ";",
2022-06-01 19:48:54 +02:00
[anon_sym_of] = "of",
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = "{",
[anon_sym_RBRACE] = "}",
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = ":=",
2022-06-01 20:18:10 +02:00
[anon_sym_if] = "if",
[anon_sym_then] = "then",
[anon_sym_else] = "else",
2022-06-01 20:19:56 +02:00
[anon_sym_while] = "while",
[anon_sym_do] = "do",
2022-06-01 20:23:04 +02:00
[anon_sym_for] = "for",
[anon_sym_to] = "to",
2022-06-01 20:23:46 +02:00
[sym_break_expression] = "break_expression",
2022-06-01 20:36:14 +02:00
[anon_sym_let] = "let",
[anon_sym_in] = "in",
[anon_sym_end] = "end",
[anon_sym_type] = "type",
2022-06-01 20:53:39 +02:00
[anon_sym_COLON] = ":",
2022-06-01 20:54:35 +02:00
[anon_sym_array] = "array",
2022-06-01 20:48:32 +02:00
[anon_sym_function] = "function",
[anon_sym_primitive] = "primitive",
[anon_sym_var] = "var",
2022-06-01 20:36:14 +02:00
[anon_sym_import] = "import",
[sym_source_file] = "source_file",
2022-06-01 19:33:42 +02:00
[sym__expr] = "_expr",
[sym_string_literal] = "string_literal",
2022-06-01 20:07:00 +02:00
[sym__lvalue] = "_lvalue",
[sym_record_value] = "record_value",
[sym_array_value] = "array_value",
2022-06-01 19:58:40 +02:00
[sym_function_call] = "function_call",
2022-06-01 19:34:31 +02:00
[sym_unary_expression] = "unary_expression",
[sym_binary_expression] = "binary_expression",
[sym_sequence_expression] = "sequence_expression",
2022-06-01 19:48:54 +02:00
[sym_array_expression] = "array_expression",
2022-06-01 19:54:09 +02:00
[sym_record_expression] = "record_expression",
2022-06-01 20:11:52 +02:00
[sym_assignment_expression] = "assignment_expression",
2022-06-01 20:18:10 +02:00
[sym_if_expression] = "if_expression",
2022-06-01 20:19:56 +02:00
[sym_while_expression] = "while_expression",
2022-06-01 20:23:04 +02:00
[sym_for_expression] = "for_expression",
2022-06-01 20:36:14 +02:00
[sym_let_expression] = "let_expression",
[aux_sym__declaration_chunks] = "_declaration_chunks",
[sym__declaration_chunk] = "_declaration_chunk",
[sym_type_declaration] = "type_declaration",
[sym__type] = "_type",
[sym_type_alias] = "type_alias",
2022-06-01 20:53:39 +02:00
[sym_record_type] = "record_type",
[sym__typed_field] = "_typed_field",
2022-06-01 20:54:35 +02:00
[sym_array_type] = "array_type",
2022-06-01 20:48:32 +02:00
[sym_function_declaration] = "function_declaration",
[sym_primitive_declaration] = "primitive_declaration",
[sym__function_declaration_common] = "_function_declaration_common",
[sym_parameters] = "parameters",
2022-06-01 20:41:25 +02:00
[sym_variable_declaration] = "variable_declaration",
2022-06-01 20:36:14 +02:00
[sym_import_declaration] = "import_declaration",
2022-06-01 19:33:42 +02:00
[aux_sym_string_literal_repeat1] = "string_literal_repeat1",
2022-06-01 19:58:40 +02:00
[aux_sym_function_call_repeat1] = "function_call_repeat1",
2022-06-01 19:34:31 +02:00
[aux_sym_sequence_expression_repeat1] = "sequence_expression_repeat1",
2022-06-01 19:54:09 +02:00
[aux_sym_record_expression_repeat1] = "record_expression_repeat1",
2022-06-01 20:48:32 +02:00
[aux_sym__declaration_chunk_repeat1] = "_declaration_chunk_repeat1",
[aux_sym__declaration_chunk_repeat2] = "_declaration_chunk_repeat2",
2022-06-01 20:53:39 +02:00
[aux_sym_record_type_repeat1] = "record_type_repeat1",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym_identifier] = sym_identifier,
[sym_nil_literal] = sym_nil_literal,
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = sym_integer_literal,
[anon_sym_DQUOTE] = anon_sym_DQUOTE,
[aux_sym_string_literal_token1] = aux_sym_string_literal_token1,
[sym_escape_sequence] = sym_escape_sequence,
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = anon_sym_DOT,
[anon_sym_LBRACK] = anon_sym_LBRACK,
[anon_sym_RBRACK] = anon_sym_RBRACK,
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_COMMA] = anon_sym_COMMA,
[anon_sym_RPAREN] = anon_sym_RPAREN,
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = anon_sym_DASH,
[anon_sym_STAR] = anon_sym_DASH,
[anon_sym_SLASH] = anon_sym_DASH,
[anon_sym_PLUS] = anon_sym_DASH,
[anon_sym_GT_EQ] = anon_sym_DASH,
[anon_sym_LT_EQ] = anon_sym_DASH,
2022-06-01 19:54:09 +02:00
[anon_sym_EQ] = anon_sym_EQ,
2022-06-01 19:34:31 +02:00
[anon_sym_LT_GT] = anon_sym_DASH,
[anon_sym_LT] = anon_sym_DASH,
[anon_sym_GT] = anon_sym_DASH,
[anon_sym_AMP] = anon_sym_DASH,
[anon_sym_PIPE] = anon_sym_DASH,
[anon_sym_SEMI] = anon_sym_SEMI,
2022-06-01 19:48:54 +02:00
[anon_sym_of] = anon_sym_of,
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = anon_sym_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = anon_sym_COLON_EQ,
2022-06-01 20:18:10 +02:00
[anon_sym_if] = anon_sym_if,
[anon_sym_then] = anon_sym_then,
[anon_sym_else] = anon_sym_else,
2022-06-01 20:19:56 +02:00
[anon_sym_while] = anon_sym_while,
[anon_sym_do] = anon_sym_do,
2022-06-01 20:23:04 +02:00
[anon_sym_for] = anon_sym_for,
[anon_sym_to] = anon_sym_to,
2022-06-01 20:23:46 +02:00
[sym_break_expression] = sym_break_expression,
2022-06-01 20:36:14 +02:00
[anon_sym_let] = anon_sym_let,
[anon_sym_in] = anon_sym_in,
[anon_sym_end] = anon_sym_end,
[anon_sym_type] = anon_sym_type,
2022-06-01 20:53:39 +02:00
[anon_sym_COLON] = anon_sym_COLON,
2022-06-01 20:54:35 +02:00
[anon_sym_array] = anon_sym_array,
2022-06-01 20:48:32 +02:00
[anon_sym_function] = anon_sym_function,
[anon_sym_primitive] = anon_sym_primitive,
[anon_sym_var] = anon_sym_var,
2022-06-01 20:36:14 +02:00
[anon_sym_import] = anon_sym_import,
[sym_source_file] = sym_source_file,
2022-06-01 19:33:42 +02:00
[sym__expr] = sym__expr,
[sym_string_literal] = sym_string_literal,
2022-06-01 20:07:00 +02:00
[sym__lvalue] = sym__lvalue,
[sym_record_value] = sym_record_value,
[sym_array_value] = sym_array_value,
2022-06-01 19:58:40 +02:00
[sym_function_call] = sym_function_call,
2022-06-01 19:34:31 +02:00
[sym_unary_expression] = sym_unary_expression,
[sym_binary_expression] = sym_binary_expression,
[sym_sequence_expression] = sym_sequence_expression,
2022-06-01 19:48:54 +02:00
[sym_array_expression] = sym_array_expression,
2022-06-01 19:54:09 +02:00
[sym_record_expression] = sym_record_expression,
2022-06-01 20:11:52 +02:00
[sym_assignment_expression] = sym_assignment_expression,
2022-06-01 20:18:10 +02:00
[sym_if_expression] = sym_if_expression,
2022-06-01 20:19:56 +02:00
[sym_while_expression] = sym_while_expression,
2022-06-01 20:23:04 +02:00
[sym_for_expression] = sym_for_expression,
2022-06-01 20:36:14 +02:00
[sym_let_expression] = sym_let_expression,
[aux_sym__declaration_chunks] = aux_sym__declaration_chunks,
[sym__declaration_chunk] = sym__declaration_chunk,
[sym_type_declaration] = sym_type_declaration,
[sym__type] = sym__type,
[sym_type_alias] = sym_type_alias,
2022-06-01 20:53:39 +02:00
[sym_record_type] = sym_record_type,
[sym__typed_field] = sym__typed_field,
2022-06-01 20:54:35 +02:00
[sym_array_type] = sym_array_type,
2022-06-01 20:48:32 +02:00
[sym_function_declaration] = sym_function_declaration,
[sym_primitive_declaration] = sym_primitive_declaration,
[sym__function_declaration_common] = sym__function_declaration_common,
[sym_parameters] = sym_parameters,
2022-06-01 20:41:25 +02:00
[sym_variable_declaration] = sym_variable_declaration,
2022-06-01 20:36:14 +02:00
[sym_import_declaration] = sym_import_declaration,
2022-06-01 19:33:42 +02:00
[aux_sym_string_literal_repeat1] = aux_sym_string_literal_repeat1,
2022-06-01 19:58:40 +02:00
[aux_sym_function_call_repeat1] = aux_sym_function_call_repeat1,
2022-06-01 19:34:31 +02:00
[aux_sym_sequence_expression_repeat1] = aux_sym_sequence_expression_repeat1,
2022-06-01 19:54:09 +02:00
[aux_sym_record_expression_repeat1] = aux_sym_record_expression_repeat1,
2022-06-01 20:48:32 +02:00
[aux_sym__declaration_chunk_repeat1] = aux_sym__declaration_chunk_repeat1,
[aux_sym__declaration_chunk_repeat2] = aux_sym__declaration_chunk_repeat2,
2022-06-01 20:53:39 +02:00
[aux_sym_record_type_repeat1] = aux_sym_record_type_repeat1,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym_identifier] = {
.visible = true,
.named = true,
},
[sym_nil_literal] = {
.visible = true,
.named = true,
},
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = {
.visible = true,
.named = true,
},
[anon_sym_DQUOTE] = {
.visible = true,
.named = false,
},
[aux_sym_string_literal_token1] = {
.visible = false,
.named = false,
},
[sym_escape_sequence] = {
.visible = true,
.named = true,
},
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = {
.visible = true,
.named = false,
},
[anon_sym_LBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACK] = {
.visible = true,
.named = false,
},
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_COMMA] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = {
.visible = true,
.named = true,
},
[anon_sym_STAR] = {
.visible = true,
.named = true,
},
[anon_sym_SLASH] = {
.visible = true,
.named = true,
},
[anon_sym_PLUS] = {
.visible = true,
.named = true,
},
[anon_sym_GT_EQ] = {
.visible = true,
.named = true,
},
[anon_sym_LT_EQ] = {
.visible = true,
.named = true,
},
[anon_sym_EQ] = {
.visible = true,
2022-06-01 19:54:09 +02:00
.named = false,
2022-06-01 19:34:31 +02:00
},
[anon_sym_LT_GT] = {
.visible = true,
.named = true,
},
[anon_sym_LT] = {
.visible = true,
.named = true,
},
[anon_sym_GT] = {
.visible = true,
.named = true,
},
[anon_sym_AMP] = {
.visible = true,
.named = true,
},
[anon_sym_PIPE] = {
.visible = true,
.named = true,
},
[anon_sym_SEMI] = {
.visible = true,
.named = false,
},
2022-06-01 19:48:54 +02:00
[anon_sym_of] = {
.visible = true,
.named = false,
},
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = {
.visible = true,
.named = false,
},
2022-06-01 20:18:10 +02:00
[anon_sym_if] = {
.visible = true,
.named = false,
},
[anon_sym_then] = {
.visible = true,
.named = false,
},
[anon_sym_else] = {
.visible = true,
.named = false,
},
2022-06-01 20:19:56 +02:00
[anon_sym_while] = {
.visible = true,
.named = false,
},
[anon_sym_do] = {
.visible = true,
.named = false,
},
2022-06-01 20:23:04 +02:00
[anon_sym_for] = {
.visible = true,
.named = false,
},
[anon_sym_to] = {
.visible = true,
.named = false,
},
2022-06-01 20:23:46 +02:00
[sym_break_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:36:14 +02:00
[anon_sym_let] = {
.visible = true,
.named = false,
},
[anon_sym_in] = {
.visible = true,
.named = false,
},
[anon_sym_end] = {
.visible = true,
.named = false,
},
[anon_sym_type] = {
.visible = true,
.named = false,
},
2022-06-01 20:53:39 +02:00
[anon_sym_COLON] = {
2022-06-01 20:48:32 +02:00
.visible = true,
.named = false,
},
2022-06-01 20:54:35 +02:00
[anon_sym_array] = {
.visible = true,
.named = false,
},
2022-06-01 20:53:39 +02:00
[anon_sym_function] = {
2022-06-01 20:41:25 +02:00
.visible = true,
.named = false,
},
2022-06-01 20:53:39 +02:00
[anon_sym_primitive] = {
2022-06-01 20:41:25 +02:00
.visible = true,
.named = false,
},
2022-06-01 20:48:32 +02:00
[anon_sym_var] = {
.visible = true,
.named = false,
},
2022-06-01 20:36:14 +02:00
[anon_sym_import] = {
.visible = true,
.named = false,
},
[sym_source_file] = {
.visible = true,
.named = true,
},
2022-06-01 19:33:42 +02:00
[sym__expr] = {
.visible = false,
.named = true,
},
[sym_string_literal] = {
.visible = true,
.named = true,
},
2022-06-01 20:07:00 +02:00
[sym__lvalue] = {
.visible = false,
.named = true,
},
[sym_record_value] = {
.visible = true,
.named = true,
},
[sym_array_value] = {
.visible = true,
.named = true,
},
2022-06-01 19:58:40 +02:00
[sym_function_call] = {
.visible = true,
.named = true,
},
2022-06-01 19:34:31 +02:00
[sym_unary_expression] = {
.visible = true,
.named = true,
},
[sym_binary_expression] = {
.visible = true,
.named = true,
},
[sym_sequence_expression] = {
.visible = true,
.named = true,
},
2022-06-01 19:48:54 +02:00
[sym_array_expression] = {
.visible = true,
.named = true,
},
2022-06-01 19:54:09 +02:00
[sym_record_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:11:52 +02:00
[sym_assignment_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:18:10 +02:00
[sym_if_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:19:56 +02:00
[sym_while_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:23:04 +02:00
[sym_for_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:36:14 +02:00
[sym_let_expression] = {
.visible = true,
.named = true,
},
[aux_sym__declaration_chunks] = {
.visible = false,
.named = false,
},
[sym__declaration_chunk] = {
.visible = false,
.named = true,
},
[sym_type_declaration] = {
.visible = true,
.named = true,
},
[sym__type] = {
.visible = false,
.named = true,
},
[sym_type_alias] = {
.visible = true,
.named = true,
},
2022-06-01 20:53:39 +02:00
[sym_record_type] = {
.visible = true,
.named = true,
},
[sym__typed_field] = {
.visible = false,
.named = true,
},
2022-06-01 20:54:35 +02:00
[sym_array_type] = {
.visible = true,
.named = true,
},
2022-06-01 20:48:32 +02:00
[sym_function_declaration] = {
.visible = true,
.named = true,
},
[sym_primitive_declaration] = {
.visible = true,
.named = true,
},
[sym__function_declaration_common] = {
.visible = false,
.named = true,
},
[sym_parameters] = {
.visible = true,
.named = true,
},
2022-06-01 20:41:25 +02:00
[sym_variable_declaration] = {
.visible = true,
.named = true,
},
2022-06-01 20:36:14 +02:00
[sym_import_declaration] = {
.visible = true,
.named = true,
},
2022-06-01 19:33:42 +02:00
[aux_sym_string_literal_repeat1] = {
.visible = false,
.named = false,
},
2022-06-01 19:58:40 +02:00
[aux_sym_function_call_repeat1] = {
.visible = false,
.named = false,
},
2022-06-01 19:34:31 +02:00
[aux_sym_sequence_expression_repeat1] = {
.visible = false,
.named = false,
},
2022-06-01 19:54:09 +02:00
[aux_sym_record_expression_repeat1] = {
.visible = false,
.named = false,
},
2022-06-01 20:48:32 +02:00
[aux_sym__declaration_chunk_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__declaration_chunk_repeat2] = {
.visible = false,
.named = false,
},
2022-06-01 20:53:39 +02:00
[aux_sym_record_type_repeat1] = {
2022-06-01 20:48:32 +02:00
.visible = false,
.named = false,
},
2022-06-01 19:34:31 +02:00
};
enum {
2022-06-01 20:18:10 +02:00
field_alternative = 1,
field_arguments = 2,
field_array = 3,
2022-06-01 20:19:56 +02:00
field_body = 4,
field_condition = 5,
field_consequence = 6,
2022-06-01 20:36:14 +02:00
field_declarations = 7,
2022-06-01 20:54:35 +02:00
field_element_type = 8,
field_end = 9,
field_expression = 10,
field_field = 11,
field_file = 12,
field_function = 13,
field_index = 14,
field_init = 15,
field_left = 16,
field_name = 17,
field_operator = 18,
field_parameters = 19,
field_record = 20,
field_return_type = 21,
field_right = 22,
field_size = 23,
field_start = 24,
field_type = 25,
field_value = 26,
2022-06-01 19:34:31 +02:00
};
static const char * const ts_field_names[] = {
[0] = NULL,
2022-06-01 20:18:10 +02:00
[field_alternative] = "alternative",
2022-06-01 19:58:40 +02:00
[field_arguments] = "arguments",
2022-06-01 20:07:00 +02:00
[field_array] = "array",
2022-06-01 20:19:56 +02:00
[field_body] = "body",
2022-06-01 20:18:10 +02:00
[field_condition] = "condition",
[field_consequence] = "consequence",
2022-06-01 20:36:14 +02:00
[field_declarations] = "declarations",
2022-06-01 20:54:35 +02:00
[field_element_type] = "element_type",
2022-06-01 20:23:04 +02:00
[field_end] = "end",
2022-06-01 19:34:31 +02:00
[field_expression] = "expression",
2022-06-01 19:54:09 +02:00
[field_field] = "field",
2022-06-01 20:36:14 +02:00
[field_file] = "file",
2022-06-01 19:58:40 +02:00
[field_function] = "function",
2022-06-01 20:07:00 +02:00
[field_index] = "index",
2022-06-01 19:48:54 +02:00
[field_init] = "init",
2022-06-01 19:34:31 +02:00
[field_left] = "left",
2022-06-01 20:41:25 +02:00
[field_name] = "name",
2022-06-01 19:34:31 +02:00
[field_operator] = "operator",
2022-06-01 20:48:32 +02:00
[field_parameters] = "parameters",
2022-06-01 20:07:00 +02:00
[field_record] = "record",
[field_return_type] = "return_type",
2022-06-01 19:34:31 +02:00
[field_right] = "right",
2022-06-01 19:48:54 +02:00
[field_size] = "size",
2022-06-01 20:23:04 +02:00
[field_start] = "start",
2022-06-01 19:48:54 +02:00
[field_type] = "type",
2022-06-01 20:41:25 +02:00
[field_value] = "value",
2022-06-01 19:34:31 +02:00
};
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},
[15] = {.index = 25, .length = 2},
[16] = {.index = 27, .length = 4},
[17] = {.index = 31, .length = 2},
[18] = {.index = 33, .length = 3},
[19] = {.index = 36, .length = 2},
[20] = {.index = 38, .length = 2},
[21] = {.index = 40, .length = 2},
[22] = {.index = 42, .length = 3},
[23] = {.index = 45, .length = 3},
[24] = {.index = 48, .length = 3},
[25] = {.index = 51, .length = 3},
[26] = {.index = 54, .length = 3},
[27] = {.index = 57, .length = 1},
[28] = {.index = 58, .length = 2},
[29] = {.index = 60, .length = 4},
[30] = {.index = 64, .length = 4},
[31] = {.index = 68, .length = 3},
[32] = {.index = 71, .length = 5},
[33] = {.index = 76, .length = 4},
[34] = {.index = 80, .length = 4},
[35] = {.index = 84, .length = 2},
2022-06-01 19:34:31 +02:00
};
static const TSFieldMapEntry ts_field_map_entries[] = {
[0] =
{field_expression, 1},
{field_operator, 0},
[2] =
2022-06-01 20:48:32 +02:00
{field_name, 1, .inherited = true},
{field_parameters, 1, .inherited = true},
{field_return_type, 1, .inherited = true},
2022-06-01 20:48:32 +02:00
[5] =
{field_file, 1},
2022-06-01 20:48:32 +02:00
[6] =
{field_function, 0},
2022-06-01 20:48:32 +02:00
[7] =
{field_type, 0},
[8] =
2022-06-01 20:48:32 +02:00
{field_name, 0},
{field_parameters, 1},
[10] =
2022-06-01 19:34:31 +02:00
{field_left, 0},
{field_operator, 1},
{field_right, 2},
[13] =
2022-06-01 20:07:00 +02:00
{field_field, 2},
{field_record, 0},
[15] =
2022-06-01 20:11:52 +02:00
{field_left, 0},
{field_right, 2},
[17] =
2022-06-01 19:58:40 +02:00
{field_arguments, 2},
{field_function, 0},
[19] =
2022-06-01 20:18:10 +02:00
{field_condition, 1},
{field_consequence, 3},
[21] =
2022-06-01 20:19:56 +02:00
{field_body, 3},
{field_condition, 1},
2022-06-01 20:48:32 +02:00
[23] =
{field_body, 2},
2022-06-01 20:48:32 +02:00
[24] =
{field_declarations, 1},
[25] =
{field_name, 1},
{field_value, 3},
[27] =
2022-06-01 20:48:32 +02:00
{field_body, 3},
{field_name, 1, .inherited = true},
{field_parameters, 1, .inherited = true},
{field_return_type, 1, .inherited = true},
[31] =
2022-06-01 20:07:00 +02:00
{field_array, 0},
{field_index, 2},
[33] =
2022-06-01 19:58:40 +02:00
{field_arguments, 2},
{field_arguments, 3},
{field_function, 0},
[36] =
2022-06-01 20:36:14 +02:00
{field_body, 2},
{field_body, 3},
[38] =
2022-06-01 20:36:14 +02:00
{field_body, 3},
{field_declarations, 1},
[40] =
2022-06-01 20:48:32 +02:00
{field_name, 1, .inherited = true},
{field_type, 1, .inherited = true},
[42] =
{field_name, 0},
{field_parameters, 1},
{field_return_type, 3},
[45] =
2022-06-01 19:48:54 +02:00
{field_init, 5},
{field_size, 2},
{field_type, 0},
[48] =
2022-06-01 19:54:09 +02:00
{field_field, 2},
{field_init, 4},
{field_type, 0},
[51] =
2022-06-01 20:18:10 +02:00
{field_alternative, 5},
{field_condition, 1},
{field_consequence, 3},
[54] =
2022-06-01 20:36:14 +02:00
{field_body, 3},
{field_body, 4},
{field_declarations, 1},
[57] =
2022-06-01 20:54:35 +02:00
{field_element_type, 2},
[58] =
2022-06-01 20:53:39 +02:00
{field_name, 0},
{field_type, 2},
[60] =
2022-06-01 20:48:32 +02:00
{field_name, 1, .inherited = true},
{field_name, 2, .inherited = true},
{field_type, 1, .inherited = true},
{field_type, 2, .inherited = true},
[64] =
2022-06-01 20:48:32 +02:00
{field_name, 0, .inherited = true},
{field_name, 1, .inherited = true},
{field_type, 0, .inherited = true},
{field_type, 1, .inherited = true},
[68] =
2022-06-01 20:41:25 +02:00
{field_name, 1},
{field_type, 3},
{field_value, 5},
[71] =
2022-06-01 19:54:09 +02:00
{field_field, 2},
{field_field, 5, .inherited = true},
{field_init, 4},
{field_init, 5, .inherited = true},
{field_type, 0},
[76] =
2022-06-01 19:54:09 +02:00
{field_field, 0, .inherited = true},
{field_field, 1, .inherited = true},
{field_init, 0, .inherited = true},
{field_init, 1, .inherited = true},
[80] =
2022-06-01 20:23:04 +02:00
{field_body, 7},
{field_end, 5},
{field_index, 1},
{field_start, 3},
[84] =
2022-06-01 19:54:09 +02:00
{field_field, 1},
{field_init, 3},
};
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
[0] = {0},
2022-06-01 20:48:32 +02:00
[7] = {
2022-06-01 19:54:09 +02:00
[1] = anon_sym_DASH,
},
};
static const uint16_t ts_non_terminal_alias_map[] = {
0,
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(9);
if (lookahead == '"') ADVANCE(11);
if (lookahead == '&') ADVANCE(32);
if (lookahead == '(') ADVANCE(19);
if (lookahead == ')') ADVANCE(21);
if (lookahead == '*') ADVANCE(23);
if (lookahead == '+') ADVANCE(25);
if (lookahead == ',') ADVANCE(20);
if (lookahead == '-') ADVANCE(22);
if (lookahead == '.') ADVANCE(16);
if (lookahead == '/') ADVANCE(24);
if (lookahead == ':') ADVANCE(38);
if (lookahead == ';') ADVANCE(34);
if (lookahead == '<') ADVANCE(30);
if (lookahead == '=') ADVANCE(28);
if (lookahead == '>') ADVANCE(31);
if (lookahead == '[') ADVANCE(17);
if (lookahead == '\\') ADVANCE(4);
if (lookahead == ']') ADVANCE(18);
if (lookahead == '{') ADVANCE(35);
if (lookahead == '|') ADVANCE(33);
if (lookahead == '}') ADVANCE(36);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(7)
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(10);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(14);
END_STATE();
case 1:
if (lookahead == '"') ADVANCE(11);
if (lookahead == '\\') ADVANCE(4);
2022-06-01 19:33:42 +02:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') ADVANCE(12);
if (lookahead != 0) ADVANCE(13);
END_STATE();
case 2:
if (('0' <= lookahead && lookahead <= '7')) ADVANCE(15);
2022-06-01 20:11:52 +02:00
END_STATE();
case 3:
if (('0' <= lookahead && lookahead <= '7')) ADVANCE(2);
END_STATE();
case 4:
2022-06-01 19:33:42 +02:00
if (lookahead == '"' ||
lookahead == '\\' ||
lookahead == 'a' ||
lookahead == 'b' ||
lookahead == 'f' ||
lookahead == 'n' ||
lookahead == 'r' ||
lookahead == 't' ||
lookahead == 'v') ADVANCE(15);
if (lookahead == 'x') ADVANCE(6);
if (('0' <= lookahead && lookahead <= '3')) ADVANCE(3);
2022-06-01 19:33:42 +02:00
END_STATE();
case 5:
2022-06-01 19:33:42 +02:00
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(15);
2022-06-01 19:33:42 +02:00
END_STATE();
case 6:
2022-06-01 19:33:42 +02:00
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(5);
2022-06-01 19:33:42 +02:00
END_STATE();
case 7:
if (eof) ADVANCE(9);
if (lookahead == '"') ADVANCE(11);
if (lookahead == '&') ADVANCE(32);
if (lookahead == '(') ADVANCE(19);
if (lookahead == ')') ADVANCE(21);
if (lookahead == '*') ADVANCE(23);
if (lookahead == '+') ADVANCE(25);
if (lookahead == ',') ADVANCE(20);
if (lookahead == '-') ADVANCE(22);
if (lookahead == '.') ADVANCE(16);
if (lookahead == '/') ADVANCE(24);
if (lookahead == ':') ADVANCE(38);
if (lookahead == ';') ADVANCE(34);
if (lookahead == '<') ADVANCE(30);
if (lookahead == '=') ADVANCE(28);
if (lookahead == '>') ADVANCE(31);
if (lookahead == '[') ADVANCE(17);
if (lookahead == ']') ADVANCE(18);
if (lookahead == '{') ADVANCE(35);
if (lookahead == '|') ADVANCE(33);
if (lookahead == '}') ADVANCE(36);
2022-06-01 19:33:42 +02:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(7)
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(10);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(14);
2022-06-01 19:33:42 +02:00
END_STATE();
case 8:
if (eof) ADVANCE(9);
if (lookahead == '&') ADVANCE(32);
if (lookahead == '(') ADVANCE(19);
if (lookahead == ')') ADVANCE(21);
if (lookahead == '*') ADVANCE(23);
if (lookahead == '+') ADVANCE(25);
if (lookahead == ',') ADVANCE(20);
if (lookahead == '-') ADVANCE(22);
if (lookahead == '.') ADVANCE(16);
if (lookahead == '/') ADVANCE(24);
if (lookahead == ':') ADVANCE(38);
if (lookahead == ';') ADVANCE(34);
if (lookahead == '<') ADVANCE(30);
if (lookahead == '=') ADVANCE(28);
if (lookahead == '>') ADVANCE(31);
if (lookahead == '[') ADVANCE(17);
if (lookahead == ']') ADVANCE(18);
if (lookahead == '{') ADVANCE(35);
if (lookahead == '|') ADVANCE(33);
if (lookahead == '}') ADVANCE(36);
2022-06-01 20:18:10 +02:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(8)
2022-06-01 20:18:10 +02:00
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(14);
2022-06-01 20:18:10 +02:00
END_STATE();
case 9:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 10:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(sym_integer_literal);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(10);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(14);
2022-06-01 19:33:42 +02:00
END_STATE();
case 11:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(anon_sym_DQUOTE);
END_STATE();
case 12:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(aux_sym_string_literal_token1);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') ADVANCE(12);
2022-06-01 19:33:42 +02:00
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '\\') ADVANCE(13);
2022-06-01 19:33:42 +02:00
END_STATE();
case 13:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(aux_sym_string_literal_token1);
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '\\') ADVANCE(13);
END_STATE();
case 14:
ACCEPT_TOKEN(sym_identifier);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(14);
END_STATE();
case 15:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(sym_escape_sequence);
END_STATE();
case 16:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_DOT);
2022-06-01 19:34:31 +02:00
END_STATE();
case 17:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LBRACK);
2022-06-01 19:34:31 +02:00
END_STATE();
case 18:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_RBRACK);
2022-06-01 19:34:31 +02:00
END_STATE();
case 19:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LPAREN);
2022-06-01 19:34:31 +02:00
END_STATE();
case 20:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_COMMA);
2022-06-01 19:34:31 +02:00
END_STATE();
case 21:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_RPAREN);
2022-06-01 19:34:31 +02:00
END_STATE();
case 22:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_DASH);
2022-06-01 19:34:31 +02:00
END_STATE();
case 23:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_STAR);
2022-06-01 19:34:31 +02:00
END_STATE();
case 24:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_SLASH);
2022-06-01 19:34:31 +02:00
END_STATE();
case 25:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_PLUS);
2022-06-01 19:34:31 +02:00
END_STATE();
case 26:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_GT_EQ);
2022-06-01 19:34:31 +02:00
END_STATE();
case 27:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LT_EQ);
2022-06-01 19:34:31 +02:00
END_STATE();
case 28:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_EQ);
2022-06-01 19:34:31 +02:00
END_STATE();
case 29:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LT_GT);
2022-06-01 19:34:31 +02:00
END_STATE();
case 30:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LT);
if (lookahead == '=') ADVANCE(27);
if (lookahead == '>') ADVANCE(29);
2022-06-01 19:34:31 +02:00
END_STATE();
case 31:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_GT);
if (lookahead == '=') ADVANCE(26);
2022-06-01 19:48:54 +02:00
END_STATE();
case 32:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_AMP);
2022-06-01 19:48:54 +02:00
END_STATE();
case 33:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_PIPE);
2022-06-01 19:54:09 +02:00
END_STATE();
case 34:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_SEMI);
2022-06-01 19:54:09 +02:00
END_STATE();
case 35:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LBRACE);
END_STATE();
case 36:
2022-06-01 19:54:09 +02:00
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
case 37:
2022-06-01 20:11:52 +02:00
ACCEPT_TOKEN(anon_sym_COLON_EQ);
END_STATE();
case 38:
2022-06-01 20:41:25 +02:00
ACCEPT_TOKEN(anon_sym_COLON);
if (lookahead == '=') ADVANCE(37);
2022-06-01 20:41:25 +02:00
END_STATE();
default:
return false;
}
}
static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
2022-06-01 20:54:35 +02:00
if (lookahead == 'a') ADVANCE(1);
if (lookahead == 'b') ADVANCE(2);
if (lookahead == 'd') ADVANCE(3);
if (lookahead == 'e') ADVANCE(4);
if (lookahead == 'f') ADVANCE(5);
if (lookahead == 'i') ADVANCE(6);
if (lookahead == 'l') ADVANCE(7);
if (lookahead == 'n') ADVANCE(8);
if (lookahead == 'o') ADVANCE(9);
if (lookahead == 'p') ADVANCE(10);
if (lookahead == 't') ADVANCE(11);
if (lookahead == 'v') ADVANCE(12);
if (lookahead == 'w') ADVANCE(13);
2022-06-01 19:48:54 +02:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(0)
END_STATE();
case 1:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(14);
2022-06-01 19:48:54 +02:00
END_STATE();
case 2:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(15);
2022-06-01 19:48:54 +02:00
END_STATE();
case 3:
2022-06-01 20:54:35 +02:00
if (lookahead == 'o') ADVANCE(16);
2022-06-01 19:48:54 +02:00
END_STATE();
case 4:
2022-06-01 20:54:35 +02:00
if (lookahead == 'l') ADVANCE(17);
if (lookahead == 'n') ADVANCE(18);
2022-06-01 19:48:54 +02:00
END_STATE();
case 5:
2022-06-01 20:54:35 +02:00
if (lookahead == 'o') ADVANCE(19);
if (lookahead == 'u') ADVANCE(20);
2022-06-01 20:18:10 +02:00
END_STATE();
case 6:
2022-06-01 20:54:35 +02:00
if (lookahead == 'f') ADVANCE(21);
if (lookahead == 'm') ADVANCE(22);
if (lookahead == 'n') ADVANCE(23);
2022-06-01 20:18:10 +02:00
END_STATE();
case 7:
2022-06-01 20:54:35 +02:00
if (lookahead == 'e') ADVANCE(24);
2022-06-01 20:18:10 +02:00
END_STATE();
case 8:
2022-06-01 20:54:35 +02:00
if (lookahead == 'i') ADVANCE(25);
2022-06-01 20:18:10 +02:00
END_STATE();
case 9:
2022-06-01 20:54:35 +02:00
if (lookahead == 'f') ADVANCE(26);
2022-06-01 20:18:10 +02:00
END_STATE();
case 10:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(27);
2022-06-01 20:18:10 +02:00
END_STATE();
case 11:
2022-06-01 20:54:35 +02:00
if (lookahead == 'h') ADVANCE(28);
if (lookahead == 'o') ADVANCE(29);
if (lookahead == 'y') ADVANCE(30);
2022-06-01 20:18:10 +02:00
END_STATE();
case 12:
2022-06-01 20:54:35 +02:00
if (lookahead == 'a') ADVANCE(31);
END_STATE();
2022-06-01 20:18:10 +02:00
case 13:
2022-06-01 20:54:35 +02:00
if (lookahead == 'h') ADVANCE(32);
2022-06-01 20:18:10 +02:00
END_STATE();
case 14:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(33);
2022-06-01 20:18:10 +02:00
END_STATE();
case 15:
2022-06-01 20:54:35 +02:00
if (lookahead == 'e') ADVANCE(34);
2022-06-01 20:19:56 +02:00
END_STATE();
case 16:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_do);
2022-06-01 20:19:56 +02:00
END_STATE();
case 17:
2022-06-01 20:54:35 +02:00
if (lookahead == 's') ADVANCE(35);
2022-06-01 20:19:56 +02:00
END_STATE();
case 18:
2022-06-01 20:54:35 +02:00
if (lookahead == 'd') ADVANCE(36);
2022-06-01 20:19:56 +02:00
END_STATE();
case 19:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(37);
2022-06-01 20:19:56 +02:00
END_STATE();
case 20:
2022-06-01 20:54:35 +02:00
if (lookahead == 'n') ADVANCE(38);
2022-06-01 20:18:10 +02:00
END_STATE();
2022-06-01 20:19:56 +02:00
case 21:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_if);
2022-06-01 20:19:56 +02:00
END_STATE();
case 22:
2022-06-01 20:54:35 +02:00
if (lookahead == 'p') ADVANCE(39);
2022-06-01 20:23:04 +02:00
END_STATE();
case 23:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_in);
2022-06-01 20:23:04 +02:00
END_STATE();
case 24:
2022-06-01 20:54:35 +02:00
if (lookahead == 't') ADVANCE(40);
2022-06-01 20:23:04 +02:00
END_STATE();
case 25:
2022-06-01 20:54:35 +02:00
if (lookahead == 'l') ADVANCE(41);
2022-06-01 20:23:04 +02:00
END_STATE();
case 26:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_of);
2022-06-01 20:23:46 +02:00
END_STATE();
case 27:
2022-06-01 20:54:35 +02:00
if (lookahead == 'i') ADVANCE(42);
2022-06-01 20:23:46 +02:00
END_STATE();
case 28:
2022-06-01 20:54:35 +02:00
if (lookahead == 'e') ADVANCE(43);
2022-06-01 20:23:46 +02:00
END_STATE();
case 29:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_to);
2022-06-01 20:23:46 +02:00
END_STATE();
case 30:
2022-06-01 20:54:35 +02:00
if (lookahead == 'p') ADVANCE(44);
2022-06-01 20:23:46 +02:00
END_STATE();
case 31:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(45);
2022-06-01 20:36:14 +02:00
END_STATE();
case 32:
2022-06-01 20:54:35 +02:00
if (lookahead == 'i') ADVANCE(46);
2022-06-01 20:36:14 +02:00
END_STATE();
case 33:
2022-06-01 20:54:35 +02:00
if (lookahead == 'a') ADVANCE(47);
2022-06-01 20:36:14 +02:00
END_STATE();
case 34:
2022-06-01 20:54:35 +02:00
if (lookahead == 'a') ADVANCE(48);
2022-06-01 20:36:14 +02:00
END_STATE();
case 35:
2022-06-01 20:54:35 +02:00
if (lookahead == 'e') ADVANCE(49);
2022-06-01 20:36:14 +02:00
END_STATE();
case 36:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_end);
2022-06-01 20:36:14 +02:00
END_STATE();
case 37:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_for);
2022-06-01 20:36:14 +02:00
END_STATE();
case 38:
2022-06-01 20:54:35 +02:00
if (lookahead == 'c') ADVANCE(50);
2022-06-01 20:36:14 +02:00
END_STATE();
case 39:
2022-06-01 20:54:35 +02:00
if (lookahead == 'o') ADVANCE(51);
2022-06-01 20:36:14 +02:00
END_STATE();
case 40:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_let);
2022-06-01 20:36:14 +02:00
END_STATE();
case 41:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(sym_nil_literal);
2022-06-01 20:19:56 +02:00
END_STATE();
2022-06-01 20:36:14 +02:00
case 42:
2022-06-01 20:54:35 +02:00
if (lookahead == 'm') ADVANCE(52);
2022-06-01 20:41:25 +02:00
END_STATE();
case 43:
2022-06-01 20:54:35 +02:00
if (lookahead == 'n') ADVANCE(53);
2022-06-01 20:41:25 +02:00
END_STATE();
case 44:
2022-06-01 20:54:35 +02:00
if (lookahead == 'e') ADVANCE(54);
2022-06-01 20:41:25 +02:00
END_STATE();
case 45:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_var);
2022-06-01 20:48:32 +02:00
END_STATE();
case 46:
2022-06-01 20:54:35 +02:00
if (lookahead == 'l') ADVANCE(55);
2022-06-01 20:48:32 +02:00
END_STATE();
case 47:
2022-06-01 20:54:35 +02:00
if (lookahead == 'y') ADVANCE(56);
2022-06-01 20:48:32 +02:00
END_STATE();
case 48:
2022-06-01 20:54:35 +02:00
if (lookahead == 'k') ADVANCE(57);
2022-06-01 20:48:32 +02:00
END_STATE();
case 49:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_else);
2022-06-01 20:48:32 +02:00
END_STATE();
case 50:
2022-06-01 20:54:35 +02:00
if (lookahead == 't') ADVANCE(58);
2022-06-01 20:48:32 +02:00
END_STATE();
case 51:
2022-06-01 20:54:35 +02:00
if (lookahead == 'r') ADVANCE(59);
2022-06-01 20:48:32 +02:00
END_STATE();
case 52:
2022-06-01 20:54:35 +02:00
if (lookahead == 'i') ADVANCE(60);
2022-06-01 20:48:32 +02:00
END_STATE();
case 53:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_then);
2022-06-01 20:48:32 +02:00
END_STATE();
case 54:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_type);
2022-06-01 20:48:32 +02:00
END_STATE();
case 55:
2022-06-01 20:54:35 +02:00
if (lookahead == 'e') ADVANCE(61);
2022-06-01 20:36:14 +02:00
END_STATE();
2022-06-01 20:48:32 +02:00
case 56:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_array);
2022-06-01 20:48:32 +02:00
END_STATE();
case 57:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(sym_break_expression);
2022-06-01 20:48:32 +02:00
END_STATE();
case 58:
2022-06-01 20:54:35 +02:00
if (lookahead == 'i') ADVANCE(62);
2022-06-01 20:48:32 +02:00
END_STATE();
case 59:
2022-06-01 20:54:35 +02:00
if (lookahead == 't') ADVANCE(63);
2022-06-01 20:48:32 +02:00
END_STATE();
case 60:
2022-06-01 20:54:35 +02:00
if (lookahead == 't') ADVANCE(64);
2022-06-01 20:48:32 +02:00
END_STATE();
case 61:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_while);
END_STATE();
case 62:
2022-06-01 20:54:35 +02:00
if (lookahead == 'o') ADVANCE(65);
END_STATE();
case 63:
2022-06-01 20:54:35 +02:00
ACCEPT_TOKEN(anon_sym_import);
END_STATE();
case 64:
2022-06-01 20:54:35 +02:00
if (lookahead == 'i') ADVANCE(66);
END_STATE();
case 65:
if (lookahead == 'n') ADVANCE(67);
END_STATE();
case 66:
if (lookahead == 'v') ADVANCE(68);
END_STATE();
case 67:
ACCEPT_TOKEN(anon_sym_function);
END_STATE();
case 68:
if (lookahead == 'e') ADVANCE(69);
END_STATE();
case 69:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_primitive);
END_STATE();
default:
return false;
}
}
static const TSLexMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0},
2022-06-01 19:48:54 +02:00
[1] = {.lex_state = 0},
[2] = {.lex_state = 8},
[3] = {.lex_state = 8},
[4] = {.lex_state = 8},
[5] = {.lex_state = 8},
[6] = {.lex_state = 8},
[7] = {.lex_state = 8},
[8] = {.lex_state = 8},
[9] = {.lex_state = 8},
[10] = {.lex_state = 8},
[11] = {.lex_state = 8},
[12] = {.lex_state = 8},
[13] = {.lex_state = 8},
[14] = {.lex_state = 8},
[15] = {.lex_state = 8},
[16] = {.lex_state = 8},
[17] = {.lex_state = 8},
[18] = {.lex_state = 8},
[19] = {.lex_state = 8},
[20] = {.lex_state = 8},
[21] = {.lex_state = 8},
[22] = {.lex_state = 8},
[23] = {.lex_state = 8},
[24] = {.lex_state = 8},
[25] = {.lex_state = 8},
[26] = {.lex_state = 8},
[27] = {.lex_state = 8},
[28] = {.lex_state = 8},
[29] = {.lex_state = 8},
[30] = {.lex_state = 8},
[31] = {.lex_state = 8},
[32] = {.lex_state = 8},
[33] = {.lex_state = 8},
[34] = {.lex_state = 8},
[35] = {.lex_state = 0},
[36] = {.lex_state = 0},
[37] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[38] = {.lex_state = 0},
[39] = {.lex_state = 0},
[40] = {.lex_state = 0},
[41] = {.lex_state = 0},
[42] = {.lex_state = 0},
[43] = {.lex_state = 0},
[44] = {.lex_state = 0},
[45] = {.lex_state = 0},
[46] = {.lex_state = 0},
[47] = {.lex_state = 0},
[48] = {.lex_state = 0},
[49] = {.lex_state = 0},
[50] = {.lex_state = 0},
[51] = {.lex_state = 0},
[52] = {.lex_state = 0},
[53] = {.lex_state = 0},
[54] = {.lex_state = 0},
[55] = {.lex_state = 0},
[56] = {.lex_state = 0},
[57] = {.lex_state = 0},
[58] = {.lex_state = 0},
[59] = {.lex_state = 0},
[60] = {.lex_state = 0},
[61] = {.lex_state = 0},
[62] = {.lex_state = 0},
[63] = {.lex_state = 0},
[64] = {.lex_state = 8},
[65] = {.lex_state = 8},
[66] = {.lex_state = 8},
[67] = {.lex_state = 8},
[68] = {.lex_state = 8},
[69] = {.lex_state = 8},
[70] = {.lex_state = 8},
[71] = {.lex_state = 0},
[72] = {.lex_state = 8},
[73] = {.lex_state = 8},
[74] = {.lex_state = 8},
[75] = {.lex_state = 0},
[76] = {.lex_state = 0},
2022-06-01 20:41:25 +02:00
[77] = {.lex_state = 0},
[78] = {.lex_state = 0},
[79] = {.lex_state = 0},
[80] = {.lex_state = 8},
[81] = {.lex_state = 8},
2022-06-01 20:53:39 +02:00
[82] = {.lex_state = 0},
[83] = {.lex_state = 8},
[84] = {.lex_state = 8},
[85] = {.lex_state = 0},
[86] = {.lex_state = 8},
[87] = {.lex_state = 8},
[88] = {.lex_state = 8},
[89] = {.lex_state = 8},
[90] = {.lex_state = 8},
[91] = {.lex_state = 8},
[92] = {.lex_state = 8},
[93] = {.lex_state = 8},
[94] = {.lex_state = 8},
[95] = {.lex_state = 8},
[96] = {.lex_state = 8},
[97] = {.lex_state = 8},
[98] = {.lex_state = 8},
[99] = {.lex_state = 8},
[100] = {.lex_state = 8},
[101] = {.lex_state = 8},
2022-06-01 20:54:35 +02:00
[102] = {.lex_state = 1},
2022-06-01 20:53:39 +02:00
[103] = {.lex_state = 1},
[104] = {.lex_state = 8},
[105] = {.lex_state = 0},
[106] = {.lex_state = 1},
[107] = {.lex_state = 0},
[108] = {.lex_state = 0},
2022-06-01 20:54:35 +02:00
[109] = {.lex_state = 0},
[110] = {.lex_state = 0},
[111] = {.lex_state = 8},
2022-06-01 20:54:35 +02:00
[112] = {.lex_state = 0},
[113] = {.lex_state = 0},
[114] = {.lex_state = 0},
[115] = {.lex_state = 8},
2022-06-01 20:53:39 +02:00
[116] = {.lex_state = 0},
[117] = {.lex_state = 0},
[118] = {.lex_state = 0},
[119] = {.lex_state = 0},
[120] = {.lex_state = 8},
[121] = {.lex_state = 8},
[122] = {.lex_state = 8},
[123] = {.lex_state = 8},
[124] = {.lex_state = 0},
[125] = {.lex_state = 0},
2022-06-01 20:54:35 +02:00
[126] = {.lex_state = 0},
[127] = {.lex_state = 8},
[128] = {.lex_state = 8},
[129] = {.lex_state = 0},
[130] = {.lex_state = 8},
[131] = {.lex_state = 8},
[132] = {.lex_state = 8},
2022-06-01 20:53:39 +02:00
[133] = {.lex_state = 0},
[134] = {.lex_state = 8},
[135] = {.lex_state = 8},
[136] = {.lex_state = 8},
[137] = {.lex_state = 8},
2022-06-01 20:54:35 +02:00
[138] = {.lex_state = 0},
[139] = {.lex_state = 8},
2022-06-01 20:54:35 +02:00
[140] = {.lex_state = 0},
[141] = {.lex_state = 0},
2022-06-01 20:54:35 +02:00
[142] = {.lex_state = 0},
[143] = {.lex_state = 8},
[144] = {.lex_state = 8},
[145] = {.lex_state = 0},
[146] = {.lex_state = 0},
[147] = {.lex_state = 8},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[0] = {
[ts_builtin_sym_end] = ACTIONS(1),
[sym_identifier] = ACTIONS(1),
[sym_nil_literal] = ACTIONS(1),
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = ACTIONS(1),
[anon_sym_DQUOTE] = ACTIONS(1),
[sym_escape_sequence] = ACTIONS(1),
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = ACTIONS(1),
[anon_sym_LBRACK] = ACTIONS(1),
[anon_sym_RBRACK] = ACTIONS(1),
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_COMMA] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = ACTIONS(1),
[anon_sym_STAR] = ACTIONS(1),
[anon_sym_SLASH] = ACTIONS(1),
[anon_sym_PLUS] = ACTIONS(1),
[anon_sym_GT_EQ] = ACTIONS(1),
[anon_sym_LT_EQ] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_LT_GT] = ACTIONS(1),
[anon_sym_LT] = ACTIONS(1),
[anon_sym_GT] = ACTIONS(1),
[anon_sym_AMP] = ACTIONS(1),
[anon_sym_PIPE] = ACTIONS(1),
[anon_sym_SEMI] = ACTIONS(1),
2022-06-01 19:48:54 +02:00
[anon_sym_of] = ACTIONS(1),
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = ACTIONS(1),
2022-06-01 20:18:10 +02:00
[anon_sym_if] = ACTIONS(1),
[anon_sym_then] = ACTIONS(1),
[anon_sym_else] = ACTIONS(1),
2022-06-01 20:19:56 +02:00
[anon_sym_while] = ACTIONS(1),
[anon_sym_do] = ACTIONS(1),
2022-06-01 20:23:04 +02:00
[anon_sym_for] = ACTIONS(1),
[anon_sym_to] = ACTIONS(1),
2022-06-01 20:23:46 +02:00
[sym_break_expression] = ACTIONS(1),
2022-06-01 20:36:14 +02:00
[anon_sym_let] = ACTIONS(1),
[anon_sym_in] = ACTIONS(1),
[anon_sym_end] = ACTIONS(1),
[anon_sym_type] = ACTIONS(1),
2022-06-01 20:53:39 +02:00
[anon_sym_COLON] = ACTIONS(1),
2022-06-01 20:54:35 +02:00
[anon_sym_array] = ACTIONS(1),
2022-06-01 20:48:32 +02:00
[anon_sym_function] = ACTIONS(1),
[anon_sym_primitive] = ACTIONS(1),
[anon_sym_var] = ACTIONS(1),
2022-06-01 20:36:14 +02:00
[anon_sym_import] = ACTIONS(1),
},
[1] = {
[sym_source_file] = STATE(141),
[sym__expr] = STATE(85),
[sym_string_literal] = STATE(85),
[sym__lvalue] = STATE(4),
[sym_record_value] = STATE(4),
[sym_array_value] = STATE(4),
[sym_function_call] = STATE(85),
[sym_unary_expression] = STATE(85),
[sym_binary_expression] = STATE(85),
[sym_sequence_expression] = STATE(85),
[sym_array_expression] = STATE(85),
[sym_record_expression] = STATE(85),
[sym_assignment_expression] = STATE(85),
[sym_if_expression] = STATE(85),
[sym_while_expression] = STATE(85),
[sym_for_expression] = STATE(85),
[sym_let_expression] = STATE(85),
[aux_sym__declaration_chunks] = STATE(72),
[sym__declaration_chunk] = STATE(72),
[sym_type_declaration] = STATE(72),
[sym_function_declaration] = STATE(72),
[sym_primitive_declaration] = STATE(72),
[sym_variable_declaration] = STATE(72),
[sym_import_declaration] = STATE(72),
[aux_sym__declaration_chunk_repeat1] = STATE(72),
[aux_sym__declaration_chunk_repeat2] = STATE(72),
2022-06-01 20:37:24 +02:00
[ts_builtin_sym_end] = ACTIONS(3),
[sym_identifier] = ACTIONS(5),
[sym_nil_literal] = ACTIONS(7),
[sym_integer_literal] = ACTIONS(7),
[anon_sym_DQUOTE] = ACTIONS(9),
[anon_sym_LPAREN] = ACTIONS(11),
[anon_sym_DASH] = ACTIONS(13),
[anon_sym_if] = ACTIONS(15),
[anon_sym_while] = ACTIONS(17),
[anon_sym_for] = ACTIONS(19),
[sym_break_expression] = ACTIONS(7),
[anon_sym_let] = ACTIONS(21),
[anon_sym_type] = ACTIONS(23),
[anon_sym_function] = ACTIONS(25),
[anon_sym_primitive] = ACTIONS(27),
[anon_sym_var] = ACTIONS(29),
[anon_sym_import] = ACTIONS(31),
2022-06-01 19:34:31 +02:00
},
};
static const uint16_t ts_small_parse_table[] = {
2022-06-01 20:41:25 +02:00
[0] = 5,
ACTIONS(35), 1,
2022-06-01 20:41:25 +02:00
anon_sym_LBRACK,
ACTIONS(38), 1,
2022-06-01 20:48:32 +02:00
anon_sym_LPAREN,
ACTIONS(42), 1,
2022-06-01 20:41:25 +02:00
anon_sym_LBRACE,
ACTIONS(40), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(33), 29,
2022-06-01 20:41:25 +02:00
ts_builtin_sym_end,
anon_sym_DOT,
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_COLON_EQ,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
anon_sym_import,
[45] = 2,
ACTIONS(46), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(44), 30,
2022-06-01 20:41:25 +02:00
ts_builtin_sym_end,
anon_sym_DOT,
anon_sym_LBRACK,
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_COLON_EQ,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
anon_sym_import,
[82] = 5,
ACTIONS(50), 1,
2022-06-01 20:41:25 +02:00
anon_sym_DOT,
ACTIONS(52), 1,
2022-06-01 20:41:25 +02:00
anon_sym_LBRACK,
ACTIONS(56), 1,
2022-06-01 20:41:25 +02:00
anon_sym_COLON_EQ,
ACTIONS(54), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(48), 27,
2022-06-01 20:41:25 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
anon_sym_import,
[125] = 2,
ACTIONS(60), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(58), 30,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_DOT,
anon_sym_LBRACK,
2022-06-01 20:48:32 +02:00
anon_sym_RBRACK,
anon_sym_COMMA,
2022-06-01 20:41:25 +02:00
anon_sym_RPAREN,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
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_COLON_EQ,
2022-06-01 20:48:32 +02:00
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
2022-06-01 20:36:14 +02:00
anon_sym_end,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[162] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:54:35 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:54:35 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(62), 17,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[206] = 2,
ACTIONS(78), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(76), 27,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[240] = 2,
ACTIONS(82), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(80), 27,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[274] = 7,
ACTIONS(72), 1,
2022-06-01 20:54:35 +02:00
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:54:35 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:54:35 +02:00
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:48:32 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:54:35 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(84), 17,
2022-06-01 20:54:35 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[318] = 2,
ACTIONS(88), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(86), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[352] = 2,
ACTIONS(92), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(90), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[386] = 2,
ACTIONS(96), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(94), 27,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[420] = 2,
ACTIONS(100), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(98), 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,
2022-06-01 20:48:32 +02:00
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,
[454] = 2,
ACTIONS(104), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(102), 27,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
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,
[488] = 2,
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,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[522] = 2,
ACTIONS(112), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(110), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[556] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:48:32 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:48:32 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:48:32 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(114), 17,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
2022-06-01 20:54:35 +02:00
anon_sym_else,
2022-06-01 20:48:32 +02:00
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[600] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:48:32 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:48:32 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(116), 17,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
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,
[644] = 2,
ACTIONS(120), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(118), 27,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DASH,
2022-06-01 20:54:35 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
2022-06-01 20:48:32 +02:00
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[678] = 8,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
anon_sym_PIPE,
ACTIONS(124), 1,
anon_sym_else,
ACTIONS(64), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:48:32 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(122), 16,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[724] = 2,
ACTIONS(128), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(126), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[758] = 2,
ACTIONS(132), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(130), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[792] = 2,
ACTIONS(136), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(134), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[826] = 2,
ACTIONS(140), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(138), 27,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:54:35 +02:00
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[860] = 2,
ACTIONS(144), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(142), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[894] = 7,
ACTIONS(72), 1,
2022-06-01 20:54:35 +02:00
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:54:35 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:48:32 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:54:35 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(146), 17,
2022-06-01 20:54:35 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
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,
[938] = 2,
ACTIONS(150), 2,
2022-06-01 20:54:35 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(148), 27,
2022-06-01 20:54:35 +02:00
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,
[972] = 6,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(64), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:54:35 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(152), 18,
2022-06-01 20:54:35 +02:00
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,
[1014] = 5,
ACTIONS(64), 2,
2022-06-01 20:54:35 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:54:35 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(152), 19,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1054] = 2,
ACTIONS(154), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(152), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1088] = 2,
ACTIONS(158), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(156), 27,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:54:35 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
2022-06-01 20:54:35 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:54:35 +02:00
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,
[1122] = 4,
ACTIONS(64), 2,
2022-06-01 20:54:35 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:54:35 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(154), 2,
2022-06-01 20:54:35 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(152), 23,
2022-06-01 20:54:35 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:54:35 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
2022-06-01 20:54:35 +02:00
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,
[1160] = 3,
ACTIONS(66), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(154), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(152), 25,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1196] = 2,
ACTIONS(162), 2,
2022-06-01 20:48:32 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(160), 27,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1230] = 12,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
anon_sym_DASH,
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(166), 1,
anon_sym_end,
ACTIONS(164), 3,
2022-06-01 20:48:32 +02:00
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(69), 13,
2022-06-01 20:48:32 +02:00
sym__expr,
sym_string_literal,
sym_function_call,
sym_unary_expression,
sym_binary_expression,
sym_sequence_expression,
2022-06-01 20:07:00 +02:00
sym_array_expression,
sym_record_expression,
2022-06-01 20:11:52 +02:00
sym_assignment_expression,
2022-06-01 20:18:10 +02:00
sym_if_expression,
2022-06-01 20:19:56 +02:00
sym_while_expression,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1283] = 12,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 19:48:54 +02:00
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
ACTIONS(170), 1,
2022-06-01 20:54:35 +02:00
anon_sym_end,
ACTIONS(168), 3,
sym_nil_literal,
2022-06-01 19:34:31 +02:00
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(70), 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,
[1336] = 12,
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
anon_sym_DASH,
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(174), 1,
anon_sym_RPAREN,
ACTIONS(172), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(76), 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,
[1389] = 12,
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
anon_sym_DASH,
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(178), 1,
2022-06-01 20:54:35 +02:00
anon_sym_RPAREN,
ACTIONS(176), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(71), 13,
2022-06-01 19:34:31 +02:00
sym__expr,
sym_string_literal,
2022-06-01 19:58:40 +02:00
sym_function_call,
2022-06-01 19:34:31 +02:00
sym_unary_expression,
sym_binary_expression,
sym_sequence_expression,
2022-06-01 19:48:54 +02:00
sym_array_expression,
2022-06-01 19:54:09 +02:00
sym_record_expression,
2022-06-01 20:11:52 +02:00
sym_assignment_expression,
2022-06-01 20:18:10 +02:00
sym_if_expression,
2022-06-01 20:19:56 +02:00
sym_while_expression,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1442] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 19:48:54 +02:00
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(180), 3,
sym_nil_literal,
2022-06-01 19:34:31 +02:00
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(81), 13,
2022-06-01 19:34:31 +02:00
sym__expr,
sym_string_literal,
2022-06-01 19:58:40 +02:00
sym_function_call,
2022-06-01 19:34:31 +02:00
sym_unary_expression,
sym_binary_expression,
sym_sequence_expression,
2022-06-01 19:48:54 +02:00
sym_array_expression,
2022-06-01 19:54:09 +02:00
sym_record_expression,
2022-06-01 20:11:52 +02:00
sym_assignment_expression,
2022-06-01 20:18:10 +02:00
sym_if_expression,
2022-06-01 20:19:56 +02:00
sym_while_expression,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1492] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 19:48:54 +02:00
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(182), 3,
sym_nil_literal,
2022-06-01 19:34:31 +02:00
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(84), 13,
2022-06-01 19:34:31 +02:00
sym__expr,
sym_string_literal,
2022-06-01 19:58:40 +02:00
sym_function_call,
2022-06-01 19:34:31 +02:00
sym_unary_expression,
sym_binary_expression,
sym_sequence_expression,
2022-06-01 19:48:54 +02:00
sym_array_expression,
2022-06-01 19:54:09 +02:00
sym_record_expression,
2022-06-01 20:11:52 +02:00
sym_assignment_expression,
2022-06-01 20:18:10 +02:00
sym_if_expression,
2022-06-01 20:19:56 +02:00
sym_while_expression,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1542] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 19:48:54 +02:00
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(184), 3,
sym_nil_literal,
2022-06-01 19:34:31 +02:00
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(79), 13,
2022-06-01 19:34:31 +02:00
sym__expr,
sym_string_literal,
2022-06-01 19:58:40 +02:00
sym_function_call,
2022-06-01 19:34:31 +02:00
sym_unary_expression,
sym_binary_expression,
sym_sequence_expression,
2022-06-01 19:48:54 +02:00
sym_array_expression,
2022-06-01 19:54:09 +02:00
sym_record_expression,
2022-06-01 20:11:52 +02:00
sym_assignment_expression,
2022-06-01 20:18:10 +02:00
sym_if_expression,
2022-06-01 20:19:56 +02:00
sym_while_expression,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1592] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(186), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(26), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1642] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(188), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(77), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1692] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(190), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(17), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1742] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(192), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(80), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1792] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(194), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(75), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1842] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(196), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(33), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1892] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(198), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(30), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1942] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:19:56 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:19:56 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(200), 3,
2022-06-01 20:19:56 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(32), 13,
2022-06-01 20:19:56 +02:00
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,
2022-06-01 20:23:04 +02:00
sym_for_expression,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[1992] = 11,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:23:04 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:23:04 +02:00
ACTIONS(11), 1,
2022-06-01 20:37:24 +02:00
anon_sym_LPAREN,
2022-06-01 20:23:04 +02:00
ACTIONS(13), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:23:04 +02:00
ACTIONS(15), 1,
2022-06-01 20:37:24 +02:00
anon_sym_if,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
2022-06-01 20:37:24 +02:00
anon_sym_while,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
2022-06-01 20:37:24 +02:00
anon_sym_for,
ACTIONS(21), 1,
2022-06-01 20:36:14 +02:00
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(202), 3,
2022-06-01 20:23:04 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
STATE(4), 3,
2022-06-01 20:23:04 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(29), 13,
2022-06-01 20:23:04 +02:00
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,
2022-06-01 20:36:14 +02:00
sym_let_expression,
[2042] = 11,
2022-06-01 20:41:25 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
2022-06-01 20:41:25 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(204), 3,
2022-06-01 20:41:25 +02:00
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:41:25 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(28), 13,
2022-06-01 20:41:25 +02:00
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,
[2092] = 11,
2022-06-01 20:41:25 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
anon_sym_DASH,
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
2022-06-01 20:48:32 +02:00
ACTIONS(206), 3,
2022-06-01 20:41:25 +02:00
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:41:25 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(6), 13,
2022-06-01 20:41:25 +02:00
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,
[2142] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(208), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(82), 13,
2022-06-01 20:48:32 +02:00
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,
[2192] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(210), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(25), 13,
2022-06-01 20:48:32 +02:00
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,
[2242] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:19:56 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(212), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(78), 13,
2022-06-01 20:48:32 +02:00
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,
[2292] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:18:10 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(214), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(9), 13,
2022-06-01 20:48:32 +02:00
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,
[2342] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(216), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(65), 13,
2022-06-01 20:48:32 +02:00
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,
[2392] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(218), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(83), 13,
2022-06-01 20:48:32 +02:00
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,
[2442] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(220), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(64), 13,
2022-06-01 20:48:32 +02:00
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,
[2492] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(222), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(66), 13,
2022-06-01 20:48:32 +02:00
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,
[2542] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
2022-06-01 20:23:46 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(224), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(18), 13,
2022-06-01 20:48:32 +02:00
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,
[2592] = 11,
2022-06-01 20:48:32 +02:00
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
anon_sym_DASH,
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(226), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
2022-06-01 20:48:32 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(74), 13,
2022-06-01 20:48:32 +02:00
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,
[2642] = 11,
ACTIONS(5), 1,
sym_identifier,
ACTIONS(9), 1,
anon_sym_DQUOTE,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(13), 1,
anon_sym_DASH,
ACTIONS(15), 1,
anon_sym_if,
ACTIONS(17), 1,
anon_sym_while,
ACTIONS(19), 1,
anon_sym_for,
ACTIONS(21), 1,
anon_sym_let,
ACTIONS(228), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(4), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(20), 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,
[2692] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:36:14 +02:00
anon_sym_LT,
2022-06-01 20:48:32 +02:00
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:48:32 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(230), 7,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
2022-06-01 20:41:25 +02:00
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
anon_sym_import,
[2726] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:41:25 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:41:25 +02:00
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(232), 7,
2022-06-01 20:41:25 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
anon_sym_import,
[2760] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:41:25 +02:00
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(234), 7,
2022-06-01 20:41:25 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
anon_sym_import,
[2794] = 7,
ACTIONS(238), 1,
anon_sym_type,
ACTIONS(241), 1,
anon_sym_function,
ACTIONS(244), 1,
anon_sym_primitive,
ACTIONS(247), 1,
anon_sym_var,
ACTIONS(250), 1,
anon_sym_import,
ACTIONS(236), 2,
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,
[2825] = 7,
ACTIONS(253), 1,
2022-06-01 20:54:35 +02:00
anon_sym_in,
ACTIONS(255), 1,
2022-06-01 20:54:35 +02:00
anon_sym_type,
ACTIONS(257), 1,
2022-06-01 20:54:35 +02:00
anon_sym_function,
ACTIONS(259), 1,
anon_sym_primitive,
ACTIONS(261), 1,
2022-06-01 20:54:35 +02:00
anon_sym_var,
ACTIONS(263), 1,
2022-06-01 20:54:35 +02:00
anon_sym_import,
STATE(67), 9,
2022-06-01 20:54:35 +02:00
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,
[2855] = 9,
ACTIONS(72), 1,
2022-06-01 20:54:35 +02:00
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:54:35 +02:00
anon_sym_PIPE,
ACTIONS(265), 1,
2022-06-01 20:54:35 +02:00
anon_sym_SEMI,
ACTIONS(267), 1,
2022-06-01 20:54:35 +02:00
anon_sym_end,
STATE(115), 1,
2022-06-01 20:54:35 +02:00
aux_sym_sequence_expression_repeat1,
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:36:14 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[2889] = 9,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
ACTIONS(265), 1,
2022-06-01 20:53:39 +02:00
anon_sym_SEMI,
ACTIONS(269), 1,
anon_sym_end,
STATE(121), 1,
2022-06-01 20:53:39 +02:00
aux_sym_sequence_expression_repeat1,
ACTIONS(64), 2,
2022-06-01 20:19:56 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:19:56 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[2923] = 9,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
ACTIONS(271), 1,
2022-06-01 20:54:35 +02:00
anon_sym_COMMA,
ACTIONS(273), 1,
2022-06-01 20:54:35 +02:00
anon_sym_RPAREN,
STATE(113), 1,
2022-06-01 20:54:35 +02:00
aux_sym_function_call_repeat1,
ACTIONS(64), 2,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:11:52 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:11:52 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[2957] = 7,
ACTIONS(255), 1,
anon_sym_type,
ACTIONS(257), 1,
anon_sym_function,
ACTIONS(259), 1,
anon_sym_primitive,
ACTIONS(261), 1,
anon_sym_var,
ACTIONS(263), 1,
anon_sym_import,
ACTIONS(275), 1,
2022-06-01 20:54:35 +02:00
ts_builtin_sym_end,
2022-06-01 20:53:39 +02:00
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,
[2987] = 7,
ACTIONS(255), 1,
anon_sym_type,
ACTIONS(257), 1,
anon_sym_function,
ACTIONS(259), 1,
anon_sym_primitive,
ACTIONS(261), 1,
anon_sym_var,
ACTIONS(263), 1,
anon_sym_import,
ACTIONS(277), 1,
anon_sym_in,
STATE(68), 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,
[3017] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(279), 3,
anon_sym_RPAREN,
anon_sym_SEMI,
2022-06-01 20:54:35 +02:00
anon_sym_end,
ACTIONS(68), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3047] = 9,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
anon_sym_PIPE,
ACTIONS(281), 1,
anon_sym_COMMA,
ACTIONS(283), 1,
anon_sym_RBRACE,
STATE(118), 1,
aux_sym_record_expression_repeat1,
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3081] = 9,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
ACTIONS(265), 1,
anon_sym_SEMI,
ACTIONS(285), 1,
anon_sym_RPAREN,
STATE(114), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:36:14 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3115] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(287), 2,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:54:35 +02:00
anon_sym_RBRACE,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3144] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(289), 2,
2022-06-01 20:36:14 +02:00
anon_sym_COMMA,
2022-06-01 20:54:35 +02:00
anon_sym_RPAREN,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3173] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
ACTIONS(291), 1,
anon_sym_RBRACK,
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3201] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
ACTIONS(293), 1,
anon_sym_then,
ACTIONS(64), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 19:58:40 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 19:58:40 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 19:58:40 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3229] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 19:58:40 +02:00
anon_sym_PIPE,
ACTIONS(295), 1,
anon_sym_do,
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3257] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:18:10 +02:00
anon_sym_PIPE,
ACTIONS(297), 1,
2022-06-01 20:53:39 +02:00
anon_sym_RBRACK,
ACTIONS(64), 2,
2022-06-01 20:18:10 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:18:10 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:18:10 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:18:10 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3285] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:53:39 +02:00
ACTIONS(299), 1,
anon_sym_do,
ACTIONS(64), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 19:58:40 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 19:58:40 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 19:58:40 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3313] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:23:04 +02:00
anon_sym_PIPE,
ACTIONS(301), 1,
anon_sym_to,
ACTIONS(64), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:23:04 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3341] = 7,
ACTIONS(72), 1,
anon_sym_AMP,
ACTIONS(74), 1,
2022-06-01 20:23:04 +02:00
anon_sym_PIPE,
ACTIONS(275), 1,
ts_builtin_sym_end,
ACTIONS(64), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(66), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(70), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
ACTIONS(68), 4,
2022-06-01 20:23:04 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[3369] = 4,
ACTIONS(305), 1,
2022-06-01 20:48:32 +02:00
anon_sym_function,
ACTIONS(308), 1,
2022-06-01 20:48:32 +02:00
anon_sym_primitive,
STATE(86), 3,
2022-06-01 20:48:32 +02:00
sym_function_declaration,
sym_primitive_declaration,
aux_sym__declaration_chunk_repeat2,
ACTIONS(303), 5,
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:41:25 +02:00
anon_sym_var,
2022-06-01 20:36:14 +02:00
anon_sym_import,
[3388] = 1,
ACTIONS(311), 9,
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_type,
anon_sym_COLON,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3400] = 3,
ACTIONS(315), 1,
anon_sym_type,
STATE(88), 2,
sym_type_declaration,
2022-06-01 20:48:32 +02:00
aux_sym__declaration_chunk_repeat1,
ACTIONS(313), 6,
2022-06-01 20:37:24 +02:00
ts_builtin_sym_end,
anon_sym_in,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:41:25 +02:00
anon_sym_var,
2022-06-01 20:36:14 +02:00
anon_sym_import,
[3416] = 1,
ACTIONS(318), 9,
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_type,
anon_sym_COLON,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3428] = 1,
ACTIONS(320), 9,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_EQ,
2022-06-01 20:48:32 +02:00
anon_sym_in,
anon_sym_type,
anon_sym_COLON,
anon_sym_function,
anon_sym_primitive,
2022-06-01 20:48:32 +02:00
anon_sym_var,
anon_sym_import,
[3440] = 2,
ACTIONS(324), 1,
anon_sym_COLON,
ACTIONS(322), 8,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3454] = 1,
ACTIONS(326), 8,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3465] = 1,
ACTIONS(328), 7,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3475] = 1,
ACTIONS(330), 7,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3485] = 1,
ACTIONS(332), 7,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3495] = 1,
ACTIONS(334), 7,
2022-06-01 20:48:32 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3505] = 1,
ACTIONS(336), 7,
2022-06-01 20:53:39 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3515] = 4,
ACTIONS(338), 1,
sym_identifier,
ACTIONS(340), 1,
anon_sym_LBRACE,
ACTIONS(342), 1,
anon_sym_array,
STATE(96), 4,
sym__type,
sym_type_alias,
sym_record_type,
sym_array_type,
[3531] = 1,
ACTIONS(344), 7,
2022-06-01 20:53:39 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3541] = 1,
ACTIONS(346), 7,
2022-06-01 20:53:39 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3551] = 1,
ACTIONS(348), 7,
2022-06-01 20:54:35 +02:00
ts_builtin_sym_end,
anon_sym_in,
anon_sym_type,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3561] = 3,
ACTIONS(350), 1,
2022-06-01 19:33:42 +02:00
anon_sym_DQUOTE,
STATE(103), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
ACTIONS(352), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
[3572] = 3,
2022-06-01 20:53:39 +02:00
ACTIONS(354), 1,
2022-06-01 19:33:42 +02:00
anon_sym_DQUOTE,
STATE(106), 1,
aux_sym_string_literal_repeat1,
2022-06-01 20:53:39 +02:00
ACTIONS(356), 2,
aux_sym_string_literal_token1,
sym_escape_sequence,
[3583] = 3,
2022-06-01 20:54:35 +02:00
ACTIONS(358), 1,
anon_sym_SEMI,
2022-06-01 20:54:35 +02:00
STATE(104), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(279), 2,
anon_sym_RPAREN,
anon_sym_end,
[3594] = 3,
ACTIONS(361), 1,
anon_sym_COMMA,
STATE(105), 1,
2022-06-01 20:54:35 +02:00
aux_sym_record_type_repeat1,
ACTIONS(364), 2,
2022-06-01 20:54:35 +02:00
anon_sym_RPAREN,
anon_sym_RBRACE,
[3605] = 3,
ACTIONS(366), 1,
anon_sym_DQUOTE,
STATE(106), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
ACTIONS(368), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
[3616] = 1,
ACTIONS(371), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[3622] = 3,
ACTIONS(373), 1,
anon_sym_COMMA,
ACTIONS(375), 1,
anon_sym_RPAREN,
STATE(105), 1,
aux_sym_record_type_repeat1,
[3632] = 3,
2022-06-01 20:54:35 +02:00
ACTIONS(289), 1,
2022-06-01 20:48:32 +02:00
anon_sym_RPAREN,
ACTIONS(377), 1,
2022-06-01 20:48:32 +02:00
anon_sym_COMMA,
STATE(109), 1,
2022-06-01 20:54:35 +02:00
aux_sym_function_call_repeat1,
[3642] = 1,
ACTIONS(380), 3,
2022-06-01 20:48:32 +02:00
anon_sym_COMMA,
2022-06-01 20:36:14 +02:00
anon_sym_RPAREN,
2022-06-01 20:54:35 +02:00
anon_sym_RBRACE,
[3648] = 3,
ACTIONS(382), 1,
2022-06-01 20:53:39 +02:00
sym_identifier,
ACTIONS(384), 1,
anon_sym_RBRACE,
STATE(117), 1,
2022-06-01 20:53:39 +02:00
sym__typed_field,
[3658] = 3,
ACTIONS(373), 1,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
ACTIONS(386), 1,
2022-06-01 20:41:25 +02:00
anon_sym_RBRACE,
STATE(105), 1,
aux_sym_record_type_repeat1,
[3668] = 3,
ACTIONS(271), 1,
2022-06-01 20:54:35 +02:00
anon_sym_COMMA,
ACTIONS(388), 1,
2022-06-01 20:54:35 +02:00
anon_sym_RPAREN,
STATE(109), 1,
2022-06-01 20:54:35 +02:00
aux_sym_function_call_repeat1,
[3678] = 3,
ACTIONS(265), 1,
anon_sym_SEMI,
ACTIONS(390), 1,
2022-06-01 20:37:24 +02:00
anon_sym_RPAREN,
2022-06-01 20:54:35 +02:00
STATE(104), 1,
aux_sym_sequence_expression_repeat1,
[3688] = 3,
ACTIONS(265), 1,
2022-06-01 20:54:35 +02:00
anon_sym_SEMI,
ACTIONS(392), 1,
2022-06-01 20:54:35 +02:00
anon_sym_end,
STATE(104), 1,
2022-06-01 20:54:35 +02:00
aux_sym_sequence_expression_repeat1,
[3698] = 3,
ACTIONS(394), 1,
2022-06-01 20:53:39 +02:00
anon_sym_COMMA,
ACTIONS(397), 1,
anon_sym_RBRACE,
STATE(116), 1,
aux_sym_record_expression_repeat1,
[3708] = 3,
ACTIONS(373), 1,
2022-06-01 20:53:39 +02:00
anon_sym_COMMA,
ACTIONS(399), 1,
2022-06-01 20:54:35 +02:00
anon_sym_RBRACE,
STATE(112), 1,
aux_sym_record_type_repeat1,
[3718] = 3,
ACTIONS(281), 1,
anon_sym_COMMA,
ACTIONS(401), 1,
2022-06-01 20:54:35 +02:00
anon_sym_RBRACE,
STATE(116), 1,
aux_sym_record_expression_repeat1,
[3728] = 3,
ACTIONS(373), 1,
2022-06-01 20:54:35 +02:00
anon_sym_COMMA,
ACTIONS(403), 1,
2022-06-01 20:54:35 +02:00
anon_sym_RPAREN,
STATE(108), 1,
2022-06-01 20:54:35 +02:00
aux_sym_record_type_repeat1,
[3738] = 3,
ACTIONS(382), 1,
2022-06-01 20:53:39 +02:00
sym_identifier,
ACTIONS(405), 1,
anon_sym_RPAREN,
STATE(119), 1,
sym__typed_field,
[3748] = 3,
ACTIONS(265), 1,
anon_sym_SEMI,
ACTIONS(407), 1,
anon_sym_end,
STATE(104), 1,
aux_sym_sequence_expression_repeat1,
[3758] = 2,
ACTIONS(409), 1,
2022-06-01 20:48:32 +02:00
sym_identifier,
ACTIONS(411), 1,
anon_sym_RBRACE,
[3765] = 2,
ACTIONS(413), 1,
2022-06-01 20:53:39 +02:00
sym_identifier,
STATE(95), 1,
2022-06-01 20:53:39 +02:00
sym__function_declaration_common,
[3772] = 2,
ACTIONS(415), 1,
anon_sym_LPAREN,
STATE(91), 1,
sym_parameters,
[3779] = 2,
ACTIONS(417), 1,
anon_sym_COLON_EQ,
ACTIONS(419), 1,
2022-06-01 20:53:39 +02:00
anon_sym_COLON,
[3786] = 2,
2022-06-01 20:54:35 +02:00
ACTIONS(9), 1,
anon_sym_DQUOTE,
STATE(101), 1,
2022-06-01 20:54:35 +02:00
sym_string_literal,
[3793] = 2,
ACTIONS(382), 1,
2022-06-01 20:54:35 +02:00
sym_identifier,
STATE(107), 1,
sym__typed_field,
[3800] = 2,
ACTIONS(413), 1,
sym_identifier,
STATE(146), 1,
sym__function_declaration_common,
[3807] = 1,
ACTIONS(421), 1,
anon_sym_COLON_EQ,
[3811] = 1,
2022-06-01 20:54:35 +02:00
ACTIONS(423), 1,
sym_identifier,
[3815] = 1,
2022-06-01 20:54:35 +02:00
ACTIONS(425), 1,
2022-06-01 20:53:39 +02:00
sym_identifier,
[3819] = 1,
2022-06-01 20:54:35 +02:00
ACTIONS(427), 1,
sym_identifier,
[3823] = 1,
ACTIONS(429), 1,
anon_sym_EQ,
[3827] = 1,
2022-06-01 20:53:39 +02:00
ACTIONS(431), 1,
sym_identifier,
[3831] = 1,
2022-06-01 20:53:39 +02:00
ACTIONS(433), 1,
sym_identifier,
[3835] = 1,
ACTIONS(435), 1,
anon_sym_of,
[3839] = 1,
2022-06-01 20:53:39 +02:00
ACTIONS(437), 1,
anon_sym_of,
[3843] = 1,
2022-06-01 20:53:39 +02:00
ACTIONS(439), 1,
anon_sym_EQ,
[3847] = 1,
2022-06-01 20:53:39 +02:00
ACTIONS(441), 1,
2022-06-01 20:54:35 +02:00
sym_identifier,
[3851] = 1,
ACTIONS(443), 1,
2022-06-01 20:54:35 +02:00
anon_sym_EQ,
[3855] = 1,
ACTIONS(445), 1,
ts_builtin_sym_end,
[3859] = 1,
2022-06-01 20:54:35 +02:00
ACTIONS(447), 1,
anon_sym_COLON_EQ,
[3863] = 1,
2022-06-01 20:54:35 +02:00
ACTIONS(449), 1,
sym_identifier,
[3867] = 1,
2022-06-01 20:54:35 +02:00
ACTIONS(451), 1,
sym_identifier,
[3871] = 1,
ACTIONS(453), 1,
anon_sym_COLON,
[3875] = 1,
ACTIONS(455), 1,
anon_sym_EQ,
[3879] = 1,
ACTIONS(457), 1,
sym_identifier,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 45,
[SMALL_STATE(4)] = 82,
[SMALL_STATE(5)] = 125,
[SMALL_STATE(6)] = 162,
[SMALL_STATE(7)] = 206,
[SMALL_STATE(8)] = 240,
[SMALL_STATE(9)] = 274,
[SMALL_STATE(10)] = 318,
[SMALL_STATE(11)] = 352,
[SMALL_STATE(12)] = 386,
[SMALL_STATE(13)] = 420,
[SMALL_STATE(14)] = 454,
[SMALL_STATE(15)] = 488,
[SMALL_STATE(16)] = 522,
[SMALL_STATE(17)] = 556,
[SMALL_STATE(18)] = 600,
[SMALL_STATE(19)] = 644,
[SMALL_STATE(20)] = 678,
[SMALL_STATE(21)] = 724,
[SMALL_STATE(22)] = 758,
[SMALL_STATE(23)] = 792,
[SMALL_STATE(24)] = 826,
[SMALL_STATE(25)] = 860,
[SMALL_STATE(26)] = 894,
[SMALL_STATE(27)] = 938,
[SMALL_STATE(28)] = 972,
[SMALL_STATE(29)] = 1014,
[SMALL_STATE(30)] = 1054,
[SMALL_STATE(31)] = 1088,
[SMALL_STATE(32)] = 1122,
[SMALL_STATE(33)] = 1160,
[SMALL_STATE(34)] = 1196,
[SMALL_STATE(35)] = 1230,
[SMALL_STATE(36)] = 1283,
[SMALL_STATE(37)] = 1336,
[SMALL_STATE(38)] = 1389,
[SMALL_STATE(39)] = 1442,
[SMALL_STATE(40)] = 1492,
[SMALL_STATE(41)] = 1542,
[SMALL_STATE(42)] = 1592,
[SMALL_STATE(43)] = 1642,
[SMALL_STATE(44)] = 1692,
[SMALL_STATE(45)] = 1742,
[SMALL_STATE(46)] = 1792,
[SMALL_STATE(47)] = 1842,
[SMALL_STATE(48)] = 1892,
[SMALL_STATE(49)] = 1942,
[SMALL_STATE(50)] = 1992,
[SMALL_STATE(51)] = 2042,
[SMALL_STATE(52)] = 2092,
[SMALL_STATE(53)] = 2142,
[SMALL_STATE(54)] = 2192,
[SMALL_STATE(55)] = 2242,
[SMALL_STATE(56)] = 2292,
[SMALL_STATE(57)] = 2342,
[SMALL_STATE(58)] = 2392,
[SMALL_STATE(59)] = 2442,
[SMALL_STATE(60)] = 2492,
[SMALL_STATE(61)] = 2542,
[SMALL_STATE(62)] = 2592,
[SMALL_STATE(63)] = 2642,
[SMALL_STATE(64)] = 2692,
[SMALL_STATE(65)] = 2726,
[SMALL_STATE(66)] = 2760,
[SMALL_STATE(67)] = 2794,
[SMALL_STATE(68)] = 2825,
[SMALL_STATE(69)] = 2855,
2022-06-01 20:54:35 +02:00
[SMALL_STATE(70)] = 2889,
[SMALL_STATE(71)] = 2923,
[SMALL_STATE(72)] = 2957,
2022-06-01 20:54:35 +02:00
[SMALL_STATE(73)] = 2987,
[SMALL_STATE(74)] = 3017,
[SMALL_STATE(75)] = 3047,
[SMALL_STATE(76)] = 3081,
[SMALL_STATE(77)] = 3115,
[SMALL_STATE(78)] = 3144,
[SMALL_STATE(79)] = 3173,
[SMALL_STATE(80)] = 3201,
[SMALL_STATE(81)] = 3229,
[SMALL_STATE(82)] = 3257,
[SMALL_STATE(83)] = 3285,
[SMALL_STATE(84)] = 3313,
[SMALL_STATE(85)] = 3341,
[SMALL_STATE(86)] = 3369,
[SMALL_STATE(87)] = 3388,
[SMALL_STATE(88)] = 3400,
[SMALL_STATE(89)] = 3416,
[SMALL_STATE(90)] = 3428,
[SMALL_STATE(91)] = 3440,
[SMALL_STATE(92)] = 3454,
[SMALL_STATE(93)] = 3465,
[SMALL_STATE(94)] = 3475,
[SMALL_STATE(95)] = 3485,
[SMALL_STATE(96)] = 3495,
[SMALL_STATE(97)] = 3505,
[SMALL_STATE(98)] = 3515,
[SMALL_STATE(99)] = 3531,
[SMALL_STATE(100)] = 3541,
[SMALL_STATE(101)] = 3551,
[SMALL_STATE(102)] = 3561,
[SMALL_STATE(103)] = 3572,
[SMALL_STATE(104)] = 3583,
[SMALL_STATE(105)] = 3594,
[SMALL_STATE(106)] = 3605,
[SMALL_STATE(107)] = 3616,
[SMALL_STATE(108)] = 3622,
[SMALL_STATE(109)] = 3632,
[SMALL_STATE(110)] = 3642,
[SMALL_STATE(111)] = 3648,
[SMALL_STATE(112)] = 3658,
[SMALL_STATE(113)] = 3668,
[SMALL_STATE(114)] = 3678,
[SMALL_STATE(115)] = 3688,
[SMALL_STATE(116)] = 3698,
[SMALL_STATE(117)] = 3708,
[SMALL_STATE(118)] = 3718,
[SMALL_STATE(119)] = 3728,
[SMALL_STATE(120)] = 3738,
[SMALL_STATE(121)] = 3748,
[SMALL_STATE(122)] = 3758,
[SMALL_STATE(123)] = 3765,
[SMALL_STATE(124)] = 3772,
[SMALL_STATE(125)] = 3779,
[SMALL_STATE(126)] = 3786,
[SMALL_STATE(127)] = 3793,
[SMALL_STATE(128)] = 3800,
[SMALL_STATE(129)] = 3807,
[SMALL_STATE(130)] = 3811,
[SMALL_STATE(131)] = 3815,
[SMALL_STATE(132)] = 3819,
[SMALL_STATE(133)] = 3823,
[SMALL_STATE(134)] = 3827,
[SMALL_STATE(135)] = 3831,
[SMALL_STATE(136)] = 3835,
[SMALL_STATE(137)] = 3839,
[SMALL_STATE(138)] = 3843,
[SMALL_STATE(139)] = 3847,
[SMALL_STATE(140)] = 3851,
[SMALL_STATE(141)] = 3855,
[SMALL_STATE(142)] = 3859,
[SMALL_STATE(143)] = 3863,
[SMALL_STATE(144)] = 3867,
[SMALL_STATE(145)] = 3871,
[SMALL_STATE(146)] = 3875,
[SMALL_STATE(147)] = 3879,
};
static const TSParseActionEntry ts_parse_actions[] = {
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
2022-06-01 20:37:24 +02:00
[3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0),
2022-06-01 20:41:25 +02:00
[5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2),
[7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
[15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45),
[17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131),
[21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147),
[25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128),
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123),
[29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134),
[31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126),
[33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__lvalue, 1),
[35] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__lvalue, 1), SHIFT(41),
[38] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[40] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__lvalue, 1),
[42] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
2022-06-01 20:54:35 +02:00
[44] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_value, 3, .production_id = 8),
[46] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_value, 3, .production_id = 8),
[48] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1),
[50] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[52] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[54] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expr, 1),
[56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[58] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_value, 4, .production_id = 17),
[60] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_value, 4, .production_id = 17),
[62] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_expression, 6, .production_id = 23),
[64] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
[68] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[70] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49),
[72] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[76] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 10),
[78] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 10),
[80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 6, .production_id = 26),
[82] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 6, .production_id = 26),
[84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 6, .production_id = 25),
[86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 6, .production_id = 24),
[88] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 6, .production_id = 24),
[90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 3),
[92] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 3),
[94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 20),
[96] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 20),
[98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 19),
[100] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 19),
[102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 18),
[104] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 18),
[106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 14),
[108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 14),
[110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 13),
[112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 13),
[114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_expression, 8, .production_id = 34),
[116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_expression, 4, .production_id = 12),
[118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2),
[120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2),
[122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 4, .production_id = 11),
[124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
[126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 4),
[128] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 4),
[130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 3),
[132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 3),
[134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 7, .production_id = 32),
[136] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 7, .production_id = 32),
[138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 2),
[140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 2),
[142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_expression, 3, .production_id = 9),
[144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_expression, 3, .production_id = 9),
[146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 1),
[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_binary_expression, 3, .production_id = 7),
[154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 7),
[156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3),
[158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3),
[160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 4),
[162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 4),
[164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
[166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
[168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
2022-06-01 20:54:35 +02:00
[170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11),
[172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
[174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71),
[178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81),
[182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84),
[184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79),
[186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26),
[188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77),
[190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17),
[192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80),
[194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75),
[196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33),
[198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30),
[200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
[202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29),
[204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28),
[206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6),
[208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82),
[210] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25),
[212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78),
[214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
[216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65),
[218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83),
[220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64),
[222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66),
[224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18),
[226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
[228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20),
[230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 4, .production_id = 16),
2022-06-01 20:53:39 +02:00
[232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 4, .production_id = 15),
[234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 6, .production_id = 31),
[236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2),
[238] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(147),
[241] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(128),
[244] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(123),
[247] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(134),
[250] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(126),
[253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
[257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
[259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
[265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
[269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
[271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1),
[277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2),
[281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143),
[283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 4, .production_id = 35),
2022-06-01 20:54:35 +02:00
[289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2),
[291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
[297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2),
[305] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), SHIFT_REPEAT(128),
[308] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat2, 2), SHIFT_REPEAT(123),
[311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 4, .production_id = 29),
[313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2),
[315] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2), SHIFT_REPEAT(147),
[318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 3, .production_id = 21),
2022-06-01 20:54:35 +02:00
[320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2),
[322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_declaration_common, 2, .production_id = 6),
[324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
[326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_declaration_common, 4, .production_id = 22),
[328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_alias, 1),
[330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 3, .production_id = 27),
[332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_declaration, 2, .production_id = 2),
2022-06-01 20:54:35 +02:00
[334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_declaration, 4, .production_id = 15),
[336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 4, .production_id = 29),
[338] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93),
[340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
[342] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
[344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 2),
[346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_type, 3, .production_id = 21),
[348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 2, .production_id = 3),
[350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
[352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
[354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31),
[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 = 2, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 2, .production_id = 30), SHIFT_REPEAT(127),
[364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 2, .production_id = 30),
[366] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2),
[368] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(106),
[371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_type_repeat1, 2, .production_id = 21),
[373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
[375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
[377] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(55),
[380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__typed_field, 3, .production_id = 28),
[382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
[384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
[386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
[388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[394] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 33), SHIFT_REPEAT(143),
[397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 33),
[399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
[401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
[405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
[407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
[411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
[415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
[417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[419] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135),
[421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
[423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
[425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
[429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
[433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
[435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
[439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[445] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
[451] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
[453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
[455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
};
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN32
#define extern __declspec(dllexport)
#endif
extern const TSLanguage *tree_sitter_tiger(void) {
static const TSLanguage language = {
.version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,
.alias_count = ALIAS_COUNT,
.token_count = TOKEN_COUNT,
.external_token_count = EXTERNAL_TOKEN_COUNT,
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
.small_parse_table = ts_small_parse_table,
.small_parse_table_map = ts_small_parse_table_map,
.parse_actions = ts_parse_actions,
.symbol_names = ts_symbol_names,
2022-06-01 19:34:31 +02:00
.field_names = ts_field_names,
.field_map_slices = ts_field_map_slices,
.field_map_entries = ts_field_map_entries,
.symbol_metadata = ts_symbol_metadata,
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
.alias_sequences = &ts_alias_sequences[0][0],
.lex_modes = ts_lex_modes,
.lex_fn = ts_lex,
.keyword_lex_fn = ts_lex_keywords,
.keyword_capture_token = sym_identifier,
};
return &language;
}
#ifdef __cplusplus
}
#endif