tree-sitter-tiger/src/parser.c

4852 lines
124 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
2022-06-01 20:48:32 +02:00
#define STATE_COUNT 131
#define LARGE_STATE_COUNT 2
2022-06-01 20:48:32 +02:00
#define SYMBOL_COUNT 78
#define ALIAS_COUNT 0
2022-06-01 20:48:32 +02:00
#define TOKEN_COUNT 46
#define EXTERNAL_TOKEN_COUNT 0
2022-06-01 20:48:32 +02:00
#define FIELD_COUNT 24
2022-06-01 20:23:04 +02:00
#define MAX_ALIAS_SEQUENCE_LENGTH 8
2022-06-01 20:48:32 +02:00
#define PRODUCTION_ID_COUNT 35
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,
2022-06-01 20:48:32 +02:00
anon_sym_function = 41,
anon_sym_primitive = 42,
anon_sym_COLON = 43,
anon_sym_var = 44,
anon_sym_import = 45,
sym_source_file = 46,
sym__expr = 47,
sym_string_literal = 48,
sym__lvalue = 49,
sym_record_value = 50,
sym_array_value = 51,
sym_function_call = 52,
sym_unary_expression = 53,
sym_binary_expression = 54,
sym_sequence_expression = 55,
sym_array_expression = 56,
sym_record_expression = 57,
sym_assignment_expression = 58,
sym_if_expression = 59,
sym_while_expression = 60,
sym_for_expression = 61,
sym_let_expression = 62,
aux_sym__declaration_chunks = 63,
sym__declaration_chunk = 64,
sym_function_declaration = 65,
sym_primitive_declaration = 66,
sym__function_declaration_common = 67,
sym_parameters = 68,
sym__typed_field = 69,
sym_variable_declaration = 70,
sym_import_declaration = 71,
aux_sym_string_literal_repeat1 = 72,
aux_sym_function_call_repeat1 = 73,
aux_sym_sequence_expression_repeat1 = 74,
aux_sym_record_expression_repeat1 = 75,
aux_sym__declaration_chunk_repeat1 = 76,
aux_sym_parameters_repeat1 = 77,
};
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",
2022-06-01 20:48:32 +02:00
[anon_sym_function] = "function",
[anon_sym_primitive] = "primitive",
2022-06-01 20:41:25 +02:00
[anon_sym_COLON] = ":",
2022-06-01 20:48:32 +02:00
[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",
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",
[sym__typed_field] = "_typed_field",
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_parameters_repeat1] = "parameters_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,
2022-06-01 20:48:32 +02:00
[anon_sym_function] = anon_sym_function,
[anon_sym_primitive] = anon_sym_primitive,
2022-06-01 20:41:25 +02:00
[anon_sym_COLON] = anon_sym_COLON,
2022-06-01 20:48:32 +02:00
[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,
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,
[sym__typed_field] = sym__typed_field,
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_parameters_repeat1] = aux_sym_parameters_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,
},
2022-06-01 20:48:32 +02:00
[anon_sym_function] = {
.visible = true,
.named = false,
},
[anon_sym_primitive] = {
2022-06-01 20:41:25 +02:00
.visible = true,
.named = false,
},
[anon_sym_COLON] = {
.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,
},
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,
},
[sym__typed_field] = {
.visible = false,
.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_parameters_repeat1] = {
.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,
field_end = 8,
field_expression = 9,
field_field = 10,
field_file = 11,
field_function = 12,
field_index = 13,
field_init = 14,
field_left = 15,
2022-06-01 20:41:25 +02:00
field_name = 16,
field_operator = 17,
2022-06-01 20:48:32 +02:00
field_parameters = 18,
field_record = 19,
field_right = 20,
field_size = 21,
field_start = 22,
field_type = 23,
field_value = 24,
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: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",
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},
2022-06-01 20:48:32 +02:00
[2] = {.index = 2, .length = 2},
[3] = {.index = 4, .length = 1},
[4] = {.index = 5, .length = 1},
[5] = {.index = 6, .length = 1},
[6] = {.index = 7, .length = 2},
[7] = {.index = 9, .length = 3},
2022-06-01 20:36:14 +02:00
[8] = {.index = 12, .length = 2},
[9] = {.index = 14, .length = 2},
[10] = {.index = 16, .length = 2},
2022-06-01 20:48:32 +02:00
[11] = {.index = 18, .length = 2},
[12] = {.index = 20, .length = 2},
[13] = {.index = 22, .length = 1},
[14] = {.index = 23, .length = 1},
2022-06-01 20:41:25 +02:00
[15] = {.index = 24, .length = 3},
2022-06-01 20:36:14 +02:00
[16] = {.index = 27, .length = 2},
2022-06-01 20:41:25 +02:00
[17] = {.index = 29, .length = 2},
[18] = {.index = 31, .length = 3},
2022-06-01 20:48:32 +02:00
[19] = {.index = 34, .length = 2},
[20] = {.index = 36, .length = 2},
[21] = {.index = 38, .length = 3},
[22] = {.index = 41, .length = 3},
[23] = {.index = 44, .length = 3},
[24] = {.index = 47, .length = 3},
[25] = {.index = 50, .length = 3},
[26] = {.index = 53, .length = 2},
[27] = {.index = 55, .length = 2},
[28] = {.index = 57, .length = 6},
[29] = {.index = 63, .length = 4},
[30] = {.index = 67, .length = 3},
[31] = {.index = 70, .length = 5},
[32] = {.index = 75, .length = 4},
[33] = {.index = 79, .length = 4},
[34] = {.index = 83, .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},
[4] =
2022-06-01 20:37:24 +02:00
{field_file, 1},
2022-06-01 20:48:32 +02:00
[5] =
2022-06-01 20:37:24 +02:00
{field_function, 0},
2022-06-01 20:48:32 +02:00
[6] =
2022-06-01 20:37:24 +02:00
{field_type, 0},
2022-06-01 20:48:32 +02:00
[7] =
{field_name, 0},
{field_parameters, 1},
[9] =
2022-06-01 19:34:31 +02:00
{field_left, 0},
{field_operator, 1},
{field_right, 2},
2022-06-01 20:48:32 +02:00
[12] =
2022-06-01 20:07:00 +02:00
{field_field, 2},
{field_record, 0},
2022-06-01 20:48:32 +02:00
[14] =
2022-06-01 20:11:52 +02:00
{field_left, 0},
{field_right, 2},
2022-06-01 20:48:32 +02:00
[16] =
2022-06-01 19:58:40 +02:00
{field_arguments, 2},
{field_function, 0},
2022-06-01 20:48:32 +02:00
[18] =
2022-06-01 20:18:10 +02:00
{field_condition, 1},
{field_consequence, 3},
2022-06-01 20:48:32 +02:00
[20] =
2022-06-01 20:19:56 +02:00
{field_body, 3},
{field_condition, 1},
2022-06-01 20:48:32 +02:00
[22] =
2022-06-01 20:36:14 +02:00
{field_body, 2},
2022-06-01 20:48:32 +02:00
[23] =
2022-06-01 20:36:14 +02:00
{field_declarations, 1},
2022-06-01 20:48:32 +02:00
[24] =
{field_body, 3},
{field_name, 1, .inherited = true},
{field_parameters, 1, .inherited = true},
[27] =
2022-06-01 20:41:25 +02:00
{field_name, 1},
{field_value, 3},
2022-06-01 20:48:32 +02:00
[29] =
2022-06-01 20:07:00 +02:00
{field_array, 0},
{field_index, 2},
2022-06-01 20:48:32 +02:00
[31] =
2022-06-01 19:58:40 +02:00
{field_arguments, 2},
{field_arguments, 3},
{field_function, 0},
2022-06-01 20:48:32 +02:00
[34] =
2022-06-01 20:36:14 +02:00
{field_body, 2},
{field_body, 3},
2022-06-01 20:48:32 +02:00
[36] =
2022-06-01 20:36:14 +02:00
{field_body, 3},
{field_declarations, 1},
2022-06-01 20:48:32 +02:00
[38] =
{field_name, 1, .inherited = true},
{field_parameters, 1},
{field_type, 1, .inherited = true},
[41] =
2022-06-01 19:48:54 +02:00
{field_init, 5},
{field_size, 2},
{field_type, 0},
2022-06-01 20:48:32 +02:00
[44] =
2022-06-01 19:54:09 +02:00
{field_field, 2},
{field_init, 4},
{field_type, 0},
2022-06-01 20:48:32 +02:00
[47] =
2022-06-01 20:18:10 +02:00
{field_alternative, 5},
{field_condition, 1},
{field_consequence, 3},
2022-06-01 20:48:32 +02:00
[50] =
2022-06-01 20:36:14 +02:00
{field_body, 3},
{field_body, 4},
{field_declarations, 1},
2022-06-01 20:48:32 +02:00
[53] =
{field_name, 0},
{field_type, 2},
[55] =
{field_name, 1, .inherited = true},
{field_type, 1, .inherited = true},
[57] =
{field_name, 1, .inherited = true},
{field_name, 2, .inherited = true},
{field_parameters, 1},
{field_parameters, 2},
{field_type, 1, .inherited = true},
{field_type, 2, .inherited = true},
[63] =
{field_name, 0, .inherited = true},
{field_name, 1, .inherited = true},
{field_type, 0, .inherited = true},
{field_type, 1, .inherited = true},
[67] =
2022-06-01 20:41:25 +02:00
{field_name, 1},
{field_type, 3},
{field_value, 5},
2022-06-01 20:48:32 +02:00
[70] =
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},
2022-06-01 20:48:32 +02:00
[75] =
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},
2022-06-01 20:48:32 +02:00
[79] =
2022-06-01 20:23:04 +02:00
{field_body, 7},
{field_end, 5},
{field_index, 1},
{field_start, 3},
2022-06-01 20:48:32 +02:00
[83] =
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:
2022-06-01 20:11:52 +02:00
if (eof) ADVANCE(10);
if (lookahead == '"') ADVANCE(12);
if (lookahead == '&') ADVANCE(33);
if (lookahead == '(') ADVANCE(20);
if (lookahead == ')') ADVANCE(22);
if (lookahead == '*') ADVANCE(24);
if (lookahead == '+') ADVANCE(26);
if (lookahead == ',') ADVANCE(21);
if (lookahead == '-') ADVANCE(23);
if (lookahead == '.') ADVANCE(17);
if (lookahead == '/') ADVANCE(25);
2022-06-01 20:41:25 +02:00
if (lookahead == ':') ADVANCE(39);
2022-06-01 20:11:52 +02:00
if (lookahead == ';') ADVANCE(35);
if (lookahead == '<') ADVANCE(31);
if (lookahead == '=') ADVANCE(29);
if (lookahead == '>') ADVANCE(32);
if (lookahead == '[') ADVANCE(18);
2022-06-01 20:18:10 +02:00
if (lookahead == '\\') ADVANCE(5);
2022-06-01 20:11:52 +02:00
if (lookahead == ']') ADVANCE(19);
if (lookahead == '{') ADVANCE(36);
if (lookahead == '|') ADVANCE(34);
if (lookahead == '}') ADVANCE(37);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
2022-06-01 20:18:10 +02:00
lookahead == ' ') SKIP(8)
2022-06-01 20:11:52 +02:00
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(11);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
2022-06-01 20:11:52 +02:00
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
END_STATE();
case 1:
2022-06-01 20:11:52 +02:00
if (lookahead == '"') ADVANCE(12);
2022-06-01 20:18:10 +02:00
if (lookahead == '\\') ADVANCE(5);
2022-06-01 19:33:42 +02:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
2022-06-01 20:11:52 +02:00
lookahead == ' ') ADVANCE(13);
if (lookahead != 0) ADVANCE(14);
END_STATE();
case 2:
2022-06-01 20:11:52 +02:00
if (lookahead == '=') ADVANCE(38);
END_STATE();
case 3:
2022-06-01 20:18:10 +02:00
if (('0' <= lookahead && lookahead <= '7')) ADVANCE(16);
END_STATE();
case 4:
2022-06-01 20:18:10 +02:00
if (('0' <= lookahead && lookahead <= '7')) ADVANCE(3);
END_STATE();
case 5:
2022-06-01 19:33:42 +02:00
if (lookahead == '"' ||
lookahead == '\\' ||
lookahead == 'a' ||
lookahead == 'b' ||
lookahead == 'f' ||
lookahead == 'n' ||
lookahead == 'r' ||
lookahead == 't' ||
2022-06-01 20:11:52 +02:00
lookahead == 'v') ADVANCE(16);
2022-06-01 20:18:10 +02:00
if (lookahead == 'x') ADVANCE(7);
if (('0' <= lookahead && lookahead <= '3')) ADVANCE(4);
2022-06-01 19:33:42 +02:00
END_STATE();
2022-06-01 20:18:10 +02:00
case 6:
2022-06-01 19:33:42 +02:00
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
2022-06-01 20:11:52 +02:00
('a' <= lookahead && lookahead <= 'f')) ADVANCE(16);
2022-06-01 19:33:42 +02:00
END_STATE();
2022-06-01 20:18:10 +02:00
case 7:
2022-06-01 19:33:42 +02:00
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
2022-06-01 20:18:10 +02:00
('a' <= lookahead && lookahead <= 'f')) ADVANCE(6);
2022-06-01 19:33:42 +02:00
END_STATE();
2022-06-01 20:18:10 +02:00
case 8:
2022-06-01 20:11:52 +02:00
if (eof) ADVANCE(10);
if (lookahead == '"') ADVANCE(12);
if (lookahead == '&') ADVANCE(33);
if (lookahead == '(') ADVANCE(20);
if (lookahead == ')') ADVANCE(22);
if (lookahead == '*') ADVANCE(24);
if (lookahead == '+') ADVANCE(26);
if (lookahead == ',') ADVANCE(21);
if (lookahead == '-') ADVANCE(23);
if (lookahead == '.') ADVANCE(17);
if (lookahead == '/') ADVANCE(25);
2022-06-01 20:41:25 +02:00
if (lookahead == ':') ADVANCE(39);
2022-06-01 20:11:52 +02:00
if (lookahead == ';') ADVANCE(35);
if (lookahead == '<') ADVANCE(31);
if (lookahead == '=') ADVANCE(29);
if (lookahead == '>') ADVANCE(32);
if (lookahead == '[') ADVANCE(18);
if (lookahead == ']') ADVANCE(19);
if (lookahead == '{') ADVANCE(36);
if (lookahead == '|') ADVANCE(34);
if (lookahead == '}') ADVANCE(37);
2022-06-01 19:33:42 +02:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
2022-06-01 20:18:10 +02:00
lookahead == ' ') SKIP(8)
2022-06-01 20:11:52 +02:00
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(11);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
2022-06-01 20:11:52 +02:00
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
2022-06-01 19:33:42 +02:00
END_STATE();
2022-06-01 20:18:10 +02:00
case 9:
if (eof) ADVANCE(10);
if (lookahead == '&') ADVANCE(33);
if (lookahead == '(') ADVANCE(20);
if (lookahead == ')') ADVANCE(22);
if (lookahead == '*') ADVANCE(24);
if (lookahead == '+') ADVANCE(26);
if (lookahead == ',') ADVANCE(21);
if (lookahead == '-') ADVANCE(23);
if (lookahead == '.') ADVANCE(17);
if (lookahead == '/') ADVANCE(25);
if (lookahead == ':') ADVANCE(2);
if (lookahead == ';') ADVANCE(35);
if (lookahead == '<') ADVANCE(31);
if (lookahead == '=') ADVANCE(29);
if (lookahead == '>') ADVANCE(32);
if (lookahead == '[') ADVANCE(18);
if (lookahead == ']') ADVANCE(19);
if (lookahead == '{') ADVANCE(36);
if (lookahead == '|') ADVANCE(34);
if (lookahead == '}') ADVANCE(37);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(9)
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
END_STATE();
2022-06-01 20:11:52 +02:00
case 10:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
2022-06-01 20:11:52 +02:00
case 11:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(sym_integer_literal);
2022-06-01 20:11:52 +02:00
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(11);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
2022-06-01 20:11:52 +02:00
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
2022-06-01 19:33:42 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 12:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(anon_sym_DQUOTE);
END_STATE();
2022-06-01 20:11:52 +02:00
case 13:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(aux_sym_string_literal_token1);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
2022-06-01 20:11:52 +02:00
lookahead == ' ') ADVANCE(13);
2022-06-01 19:33:42 +02:00
if (lookahead != 0 &&
lookahead != '"' &&
2022-06-01 20:11:52 +02:00
lookahead != '\\') ADVANCE(14);
2022-06-01 19:33:42 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 14:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(aux_sym_string_literal_token1);
if (lookahead != 0 &&
lookahead != '"' &&
2022-06-01 20:11:52 +02:00
lookahead != '\\') ADVANCE(14);
END_STATE();
2022-06-01 20:11:52 +02:00
case 15:
ACCEPT_TOKEN(sym_identifier);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
2022-06-01 20:11:52 +02:00
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
END_STATE();
2022-06-01 20:11:52 +02:00
case 16:
2022-06-01 19:33:42 +02:00
ACCEPT_TOKEN(sym_escape_sequence);
END_STATE();
2022-06-01 20:11:52 +02:00
case 17:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_DOT);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 18:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LBRACK);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 19:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_RBRACK);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 20:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LPAREN);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 21:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_COMMA);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 22:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_RPAREN);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 23:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_DASH);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 24:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_STAR);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 25:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_SLASH);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 26:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_PLUS);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 27:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_GT_EQ);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 28:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LT_EQ);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 29:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_EQ);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 30:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LT_GT);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 31:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LT);
2022-06-01 20:11:52 +02:00
if (lookahead == '=') ADVANCE(28);
if (lookahead == '>') ADVANCE(30);
2022-06-01 19:34:31 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 32:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_GT);
2022-06-01 20:11:52 +02:00
if (lookahead == '=') ADVANCE(27);
2022-06-01 19:48:54 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 33:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_AMP);
2022-06-01 19:48:54 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 34:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_PIPE);
2022-06-01 19:54:09 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 35:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_SEMI);
2022-06-01 19:54:09 +02:00
END_STATE();
2022-06-01 20:11:52 +02:00
case 36:
2022-06-01 20:07:00 +02:00
ACCEPT_TOKEN(anon_sym_LBRACE);
END_STATE();
2022-06-01 20:11:52 +02:00
case 37:
2022-06-01 19:54:09 +02:00
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
2022-06-01 20:11:52 +02:00
case 38:
ACCEPT_TOKEN(anon_sym_COLON_EQ);
END_STATE();
2022-06-01 20:41:25 +02:00
case 39:
ACCEPT_TOKEN(anon_sym_COLON);
if (lookahead == '=') ADVANCE(38);
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:23:46 +02:00
if (lookahead == 'b') ADVANCE(1);
if (lookahead == 'd') ADVANCE(2);
if (lookahead == 'e') ADVANCE(3);
if (lookahead == 'f') ADVANCE(4);
if (lookahead == 'i') ADVANCE(5);
2022-06-01 20:36:14 +02:00
if (lookahead == 'l') ADVANCE(6);
if (lookahead == 'n') ADVANCE(7);
if (lookahead == 'o') ADVANCE(8);
2022-06-01 20:48:32 +02:00
if (lookahead == 'p') ADVANCE(9);
if (lookahead == 't') ADVANCE(10);
if (lookahead == 'v') ADVANCE(11);
if (lookahead == 'w') ADVANCE(12);
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:48:32 +02:00
if (lookahead == 'r') ADVANCE(13);
2022-06-01 19:48:54 +02:00
END_STATE();
case 2:
2022-06-01 20:48:32 +02:00
if (lookahead == 'o') ADVANCE(14);
2022-06-01 19:48:54 +02:00
END_STATE();
case 3:
2022-06-01 20:48:32 +02:00
if (lookahead == 'l') ADVANCE(15);
if (lookahead == 'n') ADVANCE(16);
2022-06-01 19:48:54 +02:00
END_STATE();
case 4:
2022-06-01 20:48:32 +02:00
if (lookahead == 'o') ADVANCE(17);
if (lookahead == 'u') ADVANCE(18);
2022-06-01 19:48:54 +02:00
END_STATE();
case 5:
2022-06-01 20:48:32 +02:00
if (lookahead == 'f') ADVANCE(19);
if (lookahead == 'm') ADVANCE(20);
if (lookahead == 'n') ADVANCE(21);
2022-06-01 20:18:10 +02:00
END_STATE();
case 6:
2022-06-01 20:48:32 +02:00
if (lookahead == 'e') ADVANCE(22);
2022-06-01 20:18:10 +02:00
END_STATE();
case 7:
2022-06-01 20:48:32 +02:00
if (lookahead == 'i') ADVANCE(23);
2022-06-01 20:18:10 +02:00
END_STATE();
case 8:
2022-06-01 20:48:32 +02:00
if (lookahead == 'f') ADVANCE(24);
2022-06-01 20:18:10 +02:00
END_STATE();
case 9:
2022-06-01 20:48:32 +02:00
if (lookahead == 'r') ADVANCE(25);
2022-06-01 20:18:10 +02:00
END_STATE();
case 10:
2022-06-01 20:48:32 +02:00
if (lookahead == 'h') ADVANCE(26);
if (lookahead == 'o') ADVANCE(27);
2022-06-01 20:18:10 +02:00
END_STATE();
case 11:
2022-06-01 20:48:32 +02:00
if (lookahead == 'a') ADVANCE(28);
2022-06-01 20:18:10 +02:00
END_STATE();
case 12:
2022-06-01 20:48:32 +02:00
if (lookahead == 'h') ADVANCE(29);
END_STATE();
2022-06-01 20:18:10 +02:00
case 13:
2022-06-01 20:48:32 +02:00
if (lookahead == 'e') ADVANCE(30);
2022-06-01 20:18:10 +02:00
END_STATE();
case 14:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_do);
2022-06-01 20:18:10 +02:00
END_STATE();
case 15:
2022-06-01 20:48:32 +02:00
if (lookahead == 's') ADVANCE(31);
2022-06-01 20:19:56 +02:00
END_STATE();
case 16:
2022-06-01 20:48:32 +02:00
if (lookahead == 'd') ADVANCE(32);
2022-06-01 20:19:56 +02:00
END_STATE();
case 17:
2022-06-01 20:48:32 +02:00
if (lookahead == 'r') ADVANCE(33);
2022-06-01 20:19:56 +02:00
END_STATE();
case 18:
2022-06-01 20:48:32 +02:00
if (lookahead == 'n') ADVANCE(34);
2022-06-01 20:19:56 +02:00
END_STATE();
case 19:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_if);
2022-06-01 20:19:56 +02:00
END_STATE();
case 20:
2022-06-01 20:48:32 +02:00
if (lookahead == 'p') ADVANCE(35);
2022-06-01 20:18:10 +02:00
END_STATE();
2022-06-01 20:19:56 +02:00
case 21:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_in);
2022-06-01 20:19:56 +02:00
END_STATE();
case 22:
2022-06-01 20:48:32 +02:00
if (lookahead == 't') ADVANCE(36);
2022-06-01 20:23:04 +02:00
END_STATE();
case 23:
2022-06-01 20:48:32 +02:00
if (lookahead == 'l') ADVANCE(37);
2022-06-01 20:23:04 +02:00
END_STATE();
case 24:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_of);
2022-06-01 20:23:04 +02:00
END_STATE();
case 25:
2022-06-01 20:48:32 +02:00
if (lookahead == 'i') ADVANCE(38);
2022-06-01 20:23:04 +02:00
END_STATE();
case 26:
2022-06-01 20:48:32 +02:00
if (lookahead == 'e') ADVANCE(39);
2022-06-01 20:23:46 +02:00
END_STATE();
case 27:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_to);
2022-06-01 20:23:46 +02:00
END_STATE();
case 28:
2022-06-01 20:48:32 +02:00
if (lookahead == 'r') ADVANCE(40);
2022-06-01 20:23:46 +02:00
END_STATE();
case 29:
2022-06-01 20:48:32 +02:00
if (lookahead == 'i') ADVANCE(41);
2022-06-01 20:23:46 +02:00
END_STATE();
case 30:
2022-06-01 20:48:32 +02:00
if (lookahead == 'a') ADVANCE(42);
2022-06-01 20:23:46 +02:00
END_STATE();
case 31:
2022-06-01 20:48:32 +02:00
if (lookahead == 'e') ADVANCE(43);
2022-06-01 20:36:14 +02:00
END_STATE();
case 32:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_end);
2022-06-01 20:36:14 +02:00
END_STATE();
case 33:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_for);
2022-06-01 20:36:14 +02:00
END_STATE();
case 34:
2022-06-01 20:48:32 +02:00
if (lookahead == 'c') ADVANCE(44);
2022-06-01 20:36:14 +02:00
END_STATE();
case 35:
2022-06-01 20:48:32 +02:00
if (lookahead == 'o') ADVANCE(45);
2022-06-01 20:36:14 +02:00
END_STATE();
case 36:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_let);
2022-06-01 20:36:14 +02:00
END_STATE();
case 37:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(sym_nil_literal);
2022-06-01 20:36:14 +02:00
END_STATE();
case 38:
2022-06-01 20:48:32 +02:00
if (lookahead == 'm') ADVANCE(46);
2022-06-01 20:36:14 +02:00
END_STATE();
case 39:
2022-06-01 20:48:32 +02:00
if (lookahead == 'n') ADVANCE(47);
2022-06-01 20:36:14 +02:00
END_STATE();
case 40:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_var);
2022-06-01 20:36:14 +02:00
END_STATE();
case 41:
2022-06-01 20:48:32 +02:00
if (lookahead == 'l') ADVANCE(48);
2022-06-01 20:19:56 +02:00
END_STATE();
2022-06-01 20:36:14 +02:00
case 42:
2022-06-01 20:48:32 +02:00
if (lookahead == 'k') ADVANCE(49);
2022-06-01 20:41:25 +02:00
END_STATE();
case 43:
2022-06-01 20:48:32 +02:00
ACCEPT_TOKEN(anon_sym_else);
2022-06-01 20:41:25 +02:00
END_STATE();
case 44:
2022-06-01 20:48:32 +02:00
if (lookahead == 't') ADVANCE(50);
2022-06-01 20:41:25 +02:00
END_STATE();
case 45:
2022-06-01 20:48:32 +02:00
if (lookahead == 'r') ADVANCE(51);
END_STATE();
case 46:
if (lookahead == 'i') ADVANCE(52);
END_STATE();
case 47:
ACCEPT_TOKEN(anon_sym_then);
END_STATE();
case 48:
if (lookahead == 'e') ADVANCE(53);
END_STATE();
case 49:
ACCEPT_TOKEN(sym_break_expression);
END_STATE();
case 50:
if (lookahead == 'i') ADVANCE(54);
END_STATE();
case 51:
if (lookahead == 't') ADVANCE(55);
END_STATE();
case 52:
if (lookahead == 't') ADVANCE(56);
END_STATE();
case 53:
ACCEPT_TOKEN(anon_sym_while);
END_STATE();
case 54:
if (lookahead == 'o') ADVANCE(57);
END_STATE();
case 55:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_import);
END_STATE();
2022-06-01 20:48:32 +02:00
case 56:
if (lookahead == 'i') ADVANCE(58);
END_STATE();
case 57:
if (lookahead == 'n') ADVANCE(59);
END_STATE();
case 58:
if (lookahead == 'v') ADVANCE(60);
END_STATE();
case 59:
ACCEPT_TOKEN(anon_sym_function);
END_STATE();
case 60:
if (lookahead == 'e') ADVANCE(61);
END_STATE();
case 61:
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},
2022-06-01 20:41:25 +02:00
[2] = {.lex_state = 9},
[3] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[4] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[5] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[6] = {.lex_state = 9},
[7] = {.lex_state = 9},
[8] = {.lex_state = 9},
[9] = {.lex_state = 9},
[10] = {.lex_state = 9},
[11] = {.lex_state = 9},
[12] = {.lex_state = 9},
[13] = {.lex_state = 9},
[14] = {.lex_state = 9},
[15] = {.lex_state = 9},
[16] = {.lex_state = 9},
[17] = {.lex_state = 9},
[18] = {.lex_state = 9},
[19] = {.lex_state = 9},
[20] = {.lex_state = 9},
2022-06-01 19:48:54 +02:00
[21] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[22] = {.lex_state = 9},
[23] = {.lex_state = 9},
[24] = {.lex_state = 9},
[25] = {.lex_state = 9},
[26] = {.lex_state = 9},
2022-06-01 20:23:04 +02:00
[27] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[28] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[29] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[30] = {.lex_state = 9},
[31] = {.lex_state = 9},
[32] = {.lex_state = 9},
[33] = {.lex_state = 9},
2022-06-01 20:18:10 +02:00
[34] = {.lex_state = 9},
2022-06-01 20:19:56 +02:00
[35] = {.lex_state = 9},
2022-06-01 20:18:10 +02:00
[36] = {.lex_state = 9},
[37] = {.lex_state = 9},
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},
2022-06-01 20:41:25 +02:00
[64] = {.lex_state = 9},
[65] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[66] = {.lex_state = 9},
[67] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[68] = {.lex_state = 0},
[69] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[70] = {.lex_state = 0},
2022-06-01 20:41:25 +02:00
[71] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[72] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[73] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[74] = {.lex_state = 0},
[75] = {.lex_state = 0},
[76] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[77] = {.lex_state = 0},
2022-06-01 20:23:04 +02:00
[78] = {.lex_state = 9},
2022-06-01 20:37:24 +02:00
[79] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[80] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[81] = {.lex_state = 0},
2022-06-01 20:41:25 +02:00
[82] = {.lex_state = 9},
[83] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[84] = {.lex_state = 9},
[85] = {.lex_state = 9},
2022-06-01 20:37:24 +02:00
[86] = {.lex_state = 9},
[87] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[88] = {.lex_state = 9},
[89] = {.lex_state = 9},
[90] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[91] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[92] = {.lex_state = 9},
[93] = {.lex_state = 1},
[94] = {.lex_state = 1},
[95] = {.lex_state = 9},
[96] = {.lex_state = 1},
[97] = {.lex_state = 9},
2022-06-01 20:37:24 +02:00
[98] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[99] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[100] = {.lex_state = 0},
2022-06-01 20:37:24 +02:00
[101] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[102] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[103] = {.lex_state = 0},
[104] = {.lex_state = 0},
2022-06-01 20:41:25 +02:00
[105] = {.lex_state = 0},
[106] = {.lex_state = 0},
2022-06-01 20:48:32 +02:00
[107] = {.lex_state = 9},
2022-06-01 20:41:25 +02:00
[108] = {.lex_state = 9},
2022-06-01 20:48:32 +02:00
[109] = {.lex_state = 0},
[110] = {.lex_state = 9},
[111] = {.lex_state = 0},
[112] = {.lex_state = 9},
[113] = {.lex_state = 0},
[114] = {.lex_state = 9},
[115] = {.lex_state = 0},
[116] = {.lex_state = 0},
[117] = {.lex_state = 9},
[118] = {.lex_state = 9},
[119] = {.lex_state = 9},
[120] = {.lex_state = 9},
[121] = {.lex_state = 0},
[122] = {.lex_state = 9},
[123] = {.lex_state = 9},
[124] = {.lex_state = 0},
[125] = {.lex_state = 0},
[126] = {.lex_state = 0},
[127] = {.lex_state = 0},
[128] = {.lex_state = 0},
[129] = {.lex_state = 0},
[130] = {.lex_state = 9},
};
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),
2022-06-01 20:48:32 +02:00
[anon_sym_function] = ACTIONS(1),
[anon_sym_primitive] = ACTIONS(1),
2022-06-01 20:41:25 +02:00
[anon_sym_COLON] = ACTIONS(1),
2022-06-01 20:48:32 +02:00
[anon_sym_var] = ACTIONS(1),
2022-06-01 20:36:14 +02:00
[anon_sym_import] = ACTIONS(1),
},
[1] = {
2022-06-01 20:48:32 +02:00
[sym_source_file] = STATE(126),
[sym__expr] = STATE(77),
[sym_string_literal] = STATE(77),
2022-06-01 20:41:25 +02:00
[sym__lvalue] = STATE(5),
[sym_record_value] = STATE(5),
[sym_array_value] = STATE(5),
2022-06-01 20:48:32 +02:00
[sym_function_call] = STATE(77),
[sym_unary_expression] = STATE(77),
[sym_binary_expression] = STATE(77),
[sym_sequence_expression] = STATE(77),
[sym_array_expression] = STATE(77),
[sym_record_expression] = STATE(77),
[sym_assignment_expression] = STATE(77),
[sym_if_expression] = STATE(77),
[sym_while_expression] = STATE(77),
[sym_for_expression] = STATE(77),
[sym_let_expression] = STATE(77),
[aux_sym__declaration_chunks] = STATE(85),
[sym__declaration_chunk] = STATE(85),
[sym_function_declaration] = STATE(85),
[sym_primitive_declaration] = STATE(85),
[sym_variable_declaration] = STATE(85),
[sym_import_declaration] = STATE(85),
[aux_sym__declaration_chunk_repeat1] = STATE(85),
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),
2022-06-01 20:48:32 +02:00
[anon_sym_function] = ACTIONS(23),
[anon_sym_primitive] = ACTIONS(25),
[anon_sym_var] = ACTIONS(27),
[anon_sym_import] = ACTIONS(29),
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,
2022-06-01 20:48:32 +02:00
ACTIONS(33), 1,
2022-06-01 20:41:25 +02:00
anon_sym_LBRACK,
ACTIONS(36), 1,
2022-06-01 20:48:32 +02:00
anon_sym_LPAREN,
ACTIONS(40), 1,
2022-06-01 20:41:25 +02:00
anon_sym_LBRACE,
2022-06-01 20:48:32 +02:00
ACTIONS(38), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(31), 28,
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,
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,
2022-06-01 20:48:32 +02:00
[44] = 2,
ACTIONS(44), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(42), 29,
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,
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,
2022-06-01 20:48:32 +02:00
[80] = 2,
ACTIONS(48), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(46), 29,
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,
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,
2022-06-01 20:48:32 +02:00
[116] = 5,
ACTIONS(52), 1,
2022-06-01 20:41:25 +02:00
anon_sym_DOT,
ACTIONS(54), 1,
2022-06-01 20:48:32 +02:00
anon_sym_LBRACK,
ACTIONS(58), 1,
2022-06-01 20:41:25 +02:00
anon_sym_COLON_EQ,
2022-06-01 20:48:32 +02:00
ACTIONS(56), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(50), 26,
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,
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,
2022-06-01 20:48:32 +02:00
[158] = 7,
ACTIONS(70), 1,
anon_sym_AMP,
ACTIONS(72), 1,
anon_sym_PIPE,
ACTIONS(62), 2,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(60), 16,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[201] = 2,
ACTIONS(76), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(74), 26,
ts_builtin_sym_end,
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_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
2022-06-01 20:36:14 +02:00
anon_sym_end,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[234] = 2,
ACTIONS(80), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(78), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[267] = 7,
2022-06-01 20:41:25 +02:00
ACTIONS(70), 1,
2022-06-01 20:48:32 +02:00
anon_sym_AMP,
ACTIONS(72), 1,
anon_sym_PIPE,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(82), 16,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
2022-06-01 20:41:25 +02:00
anon_sym_end,
2022-06-01 20:48:32 +02:00
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[310] = 2,
ACTIONS(86), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(84), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[343] = 2,
ACTIONS(90), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(88), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[376] = 2,
ACTIONS(94), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(92), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[409] = 2,
ACTIONS(98), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(96), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[442] = 2,
ACTIONS(102), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(100), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[475] = 2,
ACTIONS(106), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(104), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[508] = 7,
ACTIONS(70), 1,
anon_sym_AMP,
ACTIONS(72), 1,
anon_sym_PIPE,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(108), 16,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[551] = 2,
ACTIONS(112), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(110), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[584] = 2,
ACTIONS(116), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(114), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[617] = 7,
ACTIONS(70), 1,
anon_sym_AMP,
ACTIONS(72), 1,
anon_sym_PIPE,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(118), 16,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[660] = 8,
ACTIONS(70), 1,
anon_sym_AMP,
ACTIONS(72), 1,
anon_sym_PIPE,
ACTIONS(122), 1,
anon_sym_else,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(120), 15,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[705] = 12,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:18:10 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:18:10 +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(126), 1,
anon_sym_RPAREN,
ACTIONS(124), 3,
2022-06-01 20:18:10 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:18:10 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(70), 13,
2022-06-01 20:18:10 +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,
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,
2022-06-01 20:48:32 +02:00
[758] = 2,
ACTIONS(130), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(128), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[791] = 2,
ACTIONS(134), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(132), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[824] = 2,
ACTIONS(138), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(136), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[857] = 7,
ACTIONS(70), 1,
anon_sym_AMP,
ACTIONS(72), 1,
anon_sym_PIPE,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(140), 16,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[900] = 2,
ACTIONS(144), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(142), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[933] = 12,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:07:00 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:07:00 +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(148), 1,
anon_sym_RPAREN,
ACTIONS(146), 3,
2022-06-01 20:07:00 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(68), 13,
2022-06-01 20:07:00 +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,
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,
2022-06-01 20:48:32 +02:00
[986] = 6,
ACTIONS(70), 1,
anon_sym_AMP,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(150), 17,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1027] = 12,
2022-06-01 20:37:24 +02:00
ACTIONS(5), 1,
2022-06-01 20:11:52 +02:00
sym_identifier,
ACTIONS(9), 1,
2022-06-01 20:37:24 +02:00
anon_sym_DQUOTE,
2022-06-01 20:11:52 +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(154), 1,
anon_sym_end,
ACTIONS(152), 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(67), 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,
2022-06-01 20:48:32 +02:00
[1080] = 5,
ACTIONS(62), 2,
2022-06-01 20:37:24 +02:00
anon_sym_DASH,
2022-06-01 20:48:32 +02:00
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(68), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(150), 18,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_in,
anon_sym_end,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1119] = 4,
ACTIONS(62), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(156), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(150), 22,
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,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1156] = 2,
ACTIONS(156), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(150), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1189] = 3,
ACTIONS(64), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(156), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(150), 24,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1224] = 2,
ACTIONS(160), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(158), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1257] = 2,
ACTIONS(164), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(162), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1290] = 2,
ACTIONS(168), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(166), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1323] = 2,
ACTIONS(172), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(170), 26,
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_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[1356] = 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(176), 1,
anon_sym_end,
ACTIONS(174), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(72), 13,
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,
2022-06-01 20:48:32 +02:00
[1409] = 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(178), 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(6), 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,
2022-06-01 20:48:32 +02:00
[1459] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(69), 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,
2022-06-01 20:48:32 +02:00
[1509] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:41:25 +02:00
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,
2022-06-01 20:48:32 +02:00
[1559] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(33), 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,
2022-06-01 20:48:32 +02:00
[1609] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
[1659] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(31), 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,
2022-06-01 20:48:32 +02:00
[1709] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
[1759] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(28), 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,
2022-06-01 20:48:32 +02:00
[1809] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(25), 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,
2022-06-01 20:48:32 +02:00
[1859] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
[1909] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
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,
2022-06-01 20:48:32 +02:00
[1959] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(81), 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,
2022-06-01 20:48:32 +02:00
[2009] = 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,
2022-06-01 20:41:25 +02:00
STATE(5), 3,
2022-06-01 20:23:04 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(73), 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,
2022-06-01 20:48:32 +02:00
[2059] = 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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(74), 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,
2022-06-01 20:48:32 +02:00
[2109] = 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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:48:32 +02:00
STATE(9), 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,
2022-06-01 20:48:32 +02:00
[2159] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(80), 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,
[2209] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(16), 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,
[2259] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(64), 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,
[2309] = 11,
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(5), 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,
[2359] = 11,
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(5), 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,
[2409] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(19), 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,
[2459] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(82), 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,
[2509] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(65), 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,
[2559] = 11,
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(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(66), 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,
[2609] = 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(226), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(5), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(78), 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,
[2659] = 7,
ACTIONS(70), 1,
2022-06-01 20:19:56 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:36:14 +02:00
anon_sym_LT,
2022-06-01 20:48:32 +02:00
anon_sym_GT,
ACTIONS(66), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(228), 6,
ts_builtin_sym_end,
2022-06-01 20:41:25 +02:00
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,
anon_sym_import,
2022-06-01 20:48:32 +02:00
[2692] = 7,
ACTIONS(70), 1,
2022-06-01 20:41:25 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:41:25 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:41:25 +02:00
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(230), 6,
2022-06-01 20:41:25 +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,
anon_sym_import,
2022-06-01 20:48:32 +02:00
[2725] = 7,
ACTIONS(70), 1,
2022-06-01 20:36:14 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
2022-06-01 20:41:25 +02:00
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:41:25 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(232), 6,
2022-06-01 20:41:25 +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,
anon_sym_import,
2022-06-01 20:48:32 +02:00
[2758] = 9,
ACTIONS(70), 1,
2022-06-01 20:36:14 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(234), 1,
2022-06-01 20:11:52 +02:00
anon_sym_SEMI,
2022-06-01 20:48:32 +02:00
ACTIONS(236), 1,
2022-06-01 20:36:14 +02:00
anon_sym_end,
2022-06-01 20:48:32 +02:00
STATE(97), 1,
2022-06-01 20:23:46 +02:00
aux_sym_sequence_expression_repeat1,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:19:56 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2792] = 9,
ACTIONS(70), 1,
2022-06-01 20:19:56 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:19:56 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(234), 1,
anon_sym_SEMI,
ACTIONS(238), 1,
anon_sym_RPAREN,
STATE(99), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(62), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:36:14 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2826] = 7,
ACTIONS(70), 1,
2022-06-01 20:36:14 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:19:56 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:19:56 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(240), 3,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_end,
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2856] = 9,
ACTIONS(70), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(242), 1,
2022-06-01 20:41:25 +02:00
anon_sym_COMMA,
2022-06-01 20:48:32 +02:00
ACTIONS(244), 1,
2022-06-01 20:36:14 +02:00
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
STATE(102), 1,
2022-06-01 20:41:25 +02:00
aux_sym_function_call_repeat1,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:11:52 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:11:52 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2890] = 9,
ACTIONS(70), 1,
2022-06-01 20:11:52 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(246), 1,
anon_sym_COMMA,
ACTIONS(248), 1,
anon_sym_RBRACE,
STATE(105), 1,
aux_sym_record_expression_repeat1,
ACTIONS(62), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2924] = 9,
ACTIONS(70), 1,
2022-06-01 20:36:14 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(234), 1,
anon_sym_SEMI,
ACTIONS(250), 1,
anon_sym_end,
STATE(107), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(62), 2,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:36:14 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2958] = 7,
ACTIONS(70), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(252), 2,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:48:32 +02:00
anon_sym_RPAREN,
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[2987] = 7,
ACTIONS(70), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(62), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(254), 2,
2022-06-01 20:36:14 +02:00
anon_sym_COMMA,
2022-06-01 20:48:32 +02:00
anon_sym_RBRACE,
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3016] = 7,
ACTIONS(70), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(256), 1,
anon_sym_RBRACK,
ACTIONS(62), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3044] = 7,
ACTIONS(70), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(258), 1,
anon_sym_then,
ACTIONS(62), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 19:58:40 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 19:58:40 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 19:58:40 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3072] = 7,
ACTIONS(70), 1,
2022-06-01 19:58:40 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 19:58:40 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(260), 1,
ts_builtin_sym_end,
ACTIONS(62), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:07:00 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3100] = 7,
ACTIONS(70), 1,
2022-06-01 20:18:10 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:18:10 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(262), 1,
anon_sym_do,
ACTIONS(62), 2,
2022-06-01 20:18:10 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:18:10 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:18:10 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:18:10 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3128] = 6,
ACTIONS(266), 1,
anon_sym_function,
ACTIONS(269), 1,
anon_sym_primitive,
ACTIONS(272), 1,
anon_sym_var,
ACTIONS(275), 1,
anon_sym_import,
ACTIONS(264), 2,
ts_builtin_sym_end,
anon_sym_in,
STATE(79), 7,
aux_sym__declaration_chunks,
sym__declaration_chunk,
sym_function_declaration,
sym_primitive_declaration,
sym_variable_declaration,
sym_import_declaration,
aux_sym__declaration_chunk_repeat1,
[3154] = 7,
ACTIONS(70), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(278), 1,
anon_sym_do,
ACTIONS(62), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 19:58:40 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 19:58:40 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 19:58:40 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3182] = 7,
ACTIONS(70), 1,
2022-06-01 20:23:04 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:23:04 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(280), 1,
anon_sym_RBRACK,
ACTIONS(62), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:23:04 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3210] = 7,
ACTIONS(70), 1,
2022-06-01 20:23:04 +02:00
anon_sym_AMP,
2022-06-01 20:48:32 +02:00
ACTIONS(72), 1,
2022-06-01 20:23:04 +02:00
anon_sym_PIPE,
2022-06-01 20:48:32 +02:00
ACTIONS(282), 1,
anon_sym_to,
ACTIONS(62), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:48:32 +02:00
ACTIONS(64), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:48:32 +02:00
ACTIONS(68), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:48:32 +02:00
ACTIONS(66), 4,
2022-06-01 20:23:04 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:48:32 +02:00
[3238] = 6,
ACTIONS(284), 1,
2022-06-01 20:36:14 +02:00
anon_sym_in,
2022-06-01 20:48:32 +02:00
ACTIONS(286), 1,
anon_sym_function,
ACTIONS(288), 1,
anon_sym_primitive,
ACTIONS(290), 1,
2022-06-01 20:41:25 +02:00
anon_sym_var,
2022-06-01 20:48:32 +02:00
ACTIONS(292), 1,
2022-06-01 20:36:14 +02:00
anon_sym_import,
2022-06-01 20:48:32 +02:00
STATE(79), 7,
2022-06-01 20:36:14 +02:00
aux_sym__declaration_chunks,
sym__declaration_chunk,
2022-06-01 20:48:32 +02:00
sym_function_declaration,
sym_primitive_declaration,
2022-06-01 20:41:25 +02:00
sym_variable_declaration,
2022-06-01 20:36:14 +02:00
sym_import_declaration,
2022-06-01 20:48:32 +02:00
aux_sym__declaration_chunk_repeat1,
[3263] = 6,
ACTIONS(286), 1,
anon_sym_function,
ACTIONS(288), 1,
anon_sym_primitive,
ACTIONS(290), 1,
2022-06-01 20:41:25 +02:00
anon_sym_var,
2022-06-01 20:48:32 +02:00
ACTIONS(292), 1,
2022-06-01 20:36:14 +02:00
anon_sym_import,
2022-06-01 20:48:32 +02:00
ACTIONS(294), 1,
2022-06-01 20:36:14 +02:00
anon_sym_in,
2022-06-01 20:48:32 +02:00
STATE(83), 7,
2022-06-01 20:36:14 +02:00
aux_sym__declaration_chunks,
sym__declaration_chunk,
2022-06-01 20:48:32 +02:00
sym_function_declaration,
sym_primitive_declaration,
2022-06-01 20:41:25 +02:00
sym_variable_declaration,
2022-06-01 20:36:14 +02:00
sym_import_declaration,
2022-06-01 20:48:32 +02:00
aux_sym__declaration_chunk_repeat1,
[3288] = 6,
ACTIONS(260), 1,
2022-06-01 20:37:24 +02:00
ts_builtin_sym_end,
2022-06-01 20:48:32 +02:00
ACTIONS(286), 1,
anon_sym_function,
ACTIONS(288), 1,
anon_sym_primitive,
ACTIONS(290), 1,
2022-06-01 20:41:25 +02:00
anon_sym_var,
2022-06-01 20:48:32 +02:00
ACTIONS(292), 1,
2022-06-01 20:36:14 +02:00
anon_sym_import,
2022-06-01 20:48:32 +02:00
STATE(79), 7,
2022-06-01 20:36:14 +02:00
aux_sym__declaration_chunks,
sym__declaration_chunk,
2022-06-01 20:48:32 +02:00
sym_function_declaration,
sym_primitive_declaration,
2022-06-01 20:41:25 +02:00
sym_variable_declaration,
2022-06-01 20:36:14 +02:00
sym_import_declaration,
2022-06-01 20:48:32 +02:00
aux_sym__declaration_chunk_repeat1,
[3313] = 4,
ACTIONS(298), 1,
anon_sym_function,
ACTIONS(301), 1,
anon_sym_primitive,
STATE(86), 3,
sym_function_declaration,
sym_primitive_declaration,
aux_sym__declaration_chunk_repeat1,
ACTIONS(296), 4,
ts_builtin_sym_end,
anon_sym_in,
anon_sym_var,
anon_sym_import,
[3331] = 1,
ACTIONS(304), 7,
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3341] = 1,
ACTIONS(306), 7,
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3351] = 1,
ACTIONS(308), 7,
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3361] = 1,
ACTIONS(310), 7,
ts_builtin_sym_end,
anon_sym_EQ,
anon_sym_in,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3371] = 1,
ACTIONS(312), 6,
ts_builtin_sym_end,
anon_sym_in,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3380] = 1,
ACTIONS(314), 6,
ts_builtin_sym_end,
anon_sym_in,
anon_sym_function,
anon_sym_primitive,
anon_sym_var,
anon_sym_import,
[3389] = 3,
ACTIONS(316), 1,
2022-06-01 19:34:31 +02:00
anon_sym_DQUOTE,
2022-06-01 20:48:32 +02:00
STATE(94), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
2022-06-01 20:48:32 +02:00
ACTIONS(318), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
2022-06-01 20:48:32 +02:00
[3400] = 3,
ACTIONS(320), 1,
2022-06-01 19:33:42 +02:00
anon_sym_DQUOTE,
2022-06-01 20:48:32 +02:00
STATE(94), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
2022-06-01 20:48:32 +02:00
ACTIONS(322), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
2022-06-01 20:48:32 +02:00
[3411] = 3,
ACTIONS(325), 1,
2022-06-01 20:41:25 +02:00
anon_sym_SEMI,
2022-06-01 20:48:32 +02:00
STATE(95), 1,
2022-06-01 20:41:25 +02:00
aux_sym_sequence_expression_repeat1,
2022-06-01 20:48:32 +02:00
ACTIONS(240), 2,
2022-06-01 20:41:25 +02:00
anon_sym_RPAREN,
anon_sym_end,
2022-06-01 20:48:32 +02:00
[3422] = 3,
ACTIONS(328), 1,
2022-06-01 19:33:42 +02:00
anon_sym_DQUOTE,
2022-06-01 20:48:32 +02:00
STATE(93), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
2022-06-01 20:48:32 +02:00
ACTIONS(330), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
2022-06-01 20:48:32 +02:00
[3433] = 3,
ACTIONS(234), 1,
anon_sym_SEMI,
ACTIONS(332), 1,
anon_sym_end,
STATE(95), 1,
aux_sym_sequence_expression_repeat1,
[3443] = 3,
ACTIONS(334), 1,
anon_sym_COMMA,
ACTIONS(336), 1,
anon_sym_RPAREN,
STATE(106), 1,
aux_sym_parameters_repeat1,
[3453] = 3,
ACTIONS(234), 1,
anon_sym_SEMI,
ACTIONS(338), 1,
anon_sym_RPAREN,
STATE(95), 1,
aux_sym_sequence_expression_repeat1,
[3463] = 3,
ACTIONS(340), 1,
anon_sym_COMMA,
ACTIONS(343), 1,
anon_sym_RBRACE,
STATE(100), 1,
aux_sym_record_expression_repeat1,
[3473] = 3,
ACTIONS(345), 1,
sym_identifier,
ACTIONS(347), 1,
anon_sym_RPAREN,
STATE(98), 1,
sym__typed_field,
[3483] = 3,
ACTIONS(242), 1,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:48:32 +02:00
ACTIONS(349), 1,
2022-06-01 20:41:25 +02:00
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
STATE(104), 1,
2022-06-01 20:41:25 +02:00
aux_sym_function_call_repeat1,
2022-06-01 20:48:32 +02:00
[3493] = 3,
ACTIONS(351), 1,
anon_sym_COMMA,
ACTIONS(354), 1,
2022-06-01 20:36:14 +02:00
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
STATE(103), 1,
aux_sym_parameters_repeat1,
[3503] = 3,
ACTIONS(252), 1,
anon_sym_RPAREN,
ACTIONS(356), 1,
2022-06-01 20:41:25 +02:00
anon_sym_COMMA,
2022-06-01 20:48:32 +02:00
STATE(104), 1,
2022-06-01 20:41:25 +02:00
aux_sym_function_call_repeat1,
2022-06-01 20:48:32 +02:00
[3513] = 3,
ACTIONS(246), 1,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:48:32 +02:00
ACTIONS(359), 1,
2022-06-01 20:41:25 +02:00
anon_sym_RBRACE,
2022-06-01 20:48:32 +02:00
STATE(100), 1,
2022-06-01 20:41:25 +02:00
aux_sym_record_expression_repeat1,
2022-06-01 20:48:32 +02:00
[3523] = 3,
ACTIONS(334), 1,
anon_sym_COMMA,
ACTIONS(361), 1,
anon_sym_RPAREN,
STATE(103), 1,
aux_sym_parameters_repeat1,
[3533] = 3,
ACTIONS(234), 1,
2022-06-01 20:36:14 +02:00
anon_sym_SEMI,
2022-06-01 20:48:32 +02:00
ACTIONS(363), 1,
2022-06-01 20:36:14 +02:00
anon_sym_end,
2022-06-01 20:48:32 +02:00
STATE(95), 1,
2022-06-01 20:36:14 +02:00
aux_sym_sequence_expression_repeat1,
2022-06-01 20:48:32 +02:00
[3543] = 2,
ACTIONS(345), 1,
sym_identifier,
STATE(115), 1,
sym__typed_field,
[3550] = 1,
ACTIONS(365), 2,
2022-06-01 19:54:09 +02:00
anon_sym_COMMA,
2022-06-01 20:37:24 +02:00
anon_sym_RPAREN,
2022-06-01 20:48:32 +02:00
[3555] = 2,
ACTIONS(367), 1,
2022-06-01 20:07:00 +02:00
sym_identifier,
2022-06-01 20:48:32 +02:00
ACTIONS(369), 1,
2022-06-01 20:19:56 +02:00
anon_sym_RBRACE,
2022-06-01 20:48:32 +02:00
[3562] = 2,
2022-06-01 20:37:24 +02:00
ACTIONS(9), 1,
2022-06-01 20:36:14 +02:00
anon_sym_DQUOTE,
2022-06-01 20:48:32 +02:00
STATE(91), 1,
2022-06-01 20:36:14 +02:00
sym_string_literal,
2022-06-01 20:48:32 +02:00
[3569] = 2,
ACTIONS(371), 1,
sym_identifier,
STATE(125), 1,
sym__function_declaration_common,
[3576] = 2,
ACTIONS(373), 1,
2022-06-01 20:36:14 +02:00
anon_sym_COLON_EQ,
2022-06-01 20:48:32 +02:00
ACTIONS(375), 1,
2022-06-01 20:41:25 +02:00
anon_sym_COLON,
2022-06-01 20:48:32 +02:00
[3583] = 2,
ACTIONS(371), 1,
2022-06-01 20:37:24 +02:00
sym_identifier,
2022-06-01 20:48:32 +02:00
STATE(92), 1,
sym__function_declaration_common,
[3590] = 1,
ACTIONS(377), 2,
anon_sym_COMMA,
anon_sym_RPAREN,
[3595] = 2,
ACTIONS(379), 1,
anon_sym_LPAREN,
STATE(87), 1,
sym_parameters,
[3602] = 1,
ACTIONS(381), 1,
2022-06-01 20:36:14 +02:00
sym_identifier,
2022-06-01 20:48:32 +02:00
[3606] = 1,
ACTIONS(383), 1,
2022-06-01 20:41:25 +02:00
sym_identifier,
2022-06-01 20:48:32 +02:00
[3610] = 1,
ACTIONS(385), 1,
sym_identifier,
[3614] = 1,
ACTIONS(387), 1,
sym_identifier,
[3618] = 1,
ACTIONS(389), 1,
anon_sym_COLON_EQ,
[3622] = 1,
ACTIONS(391), 1,
anon_sym_of,
[3626] = 1,
ACTIONS(393), 1,
sym_identifier,
[3630] = 1,
ACTIONS(395), 1,
2022-06-01 20:37:24 +02:00
anon_sym_EQ,
2022-06-01 20:48:32 +02:00
[3634] = 1,
ACTIONS(397), 1,
anon_sym_EQ,
[3638] = 1,
ACTIONS(399), 1,
2022-06-01 20:37:24 +02:00
ts_builtin_sym_end,
2022-06-01 20:48:32 +02:00
[3642] = 1,
ACTIONS(401), 1,
anon_sym_COLON_EQ,
[3646] = 1,
ACTIONS(403), 1,
2022-06-01 20:36:14 +02:00
anon_sym_EQ,
2022-06-01 20:48:32 +02:00
[3650] = 1,
ACTIONS(405), 1,
anon_sym_COLON,
[3654] = 1,
ACTIONS(407), 1,
2022-06-01 20:37:24 +02:00
sym_identifier,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
2022-06-01 20:48:32 +02:00
[SMALL_STATE(3)] = 44,
[SMALL_STATE(4)] = 80,
[SMALL_STATE(5)] = 116,
[SMALL_STATE(6)] = 158,
[SMALL_STATE(7)] = 201,
[SMALL_STATE(8)] = 234,
[SMALL_STATE(9)] = 267,
[SMALL_STATE(10)] = 310,
[SMALL_STATE(11)] = 343,
[SMALL_STATE(12)] = 376,
[SMALL_STATE(13)] = 409,
[SMALL_STATE(14)] = 442,
[SMALL_STATE(15)] = 475,
[SMALL_STATE(16)] = 508,
[SMALL_STATE(17)] = 551,
[SMALL_STATE(18)] = 584,
[SMALL_STATE(19)] = 617,
[SMALL_STATE(20)] = 660,
[SMALL_STATE(21)] = 705,
[SMALL_STATE(22)] = 758,
[SMALL_STATE(23)] = 791,
[SMALL_STATE(24)] = 824,
[SMALL_STATE(25)] = 857,
[SMALL_STATE(26)] = 900,
[SMALL_STATE(27)] = 933,
[SMALL_STATE(28)] = 986,
[SMALL_STATE(29)] = 1027,
[SMALL_STATE(30)] = 1080,
[SMALL_STATE(31)] = 1119,
[SMALL_STATE(32)] = 1156,
[SMALL_STATE(33)] = 1189,
[SMALL_STATE(34)] = 1224,
[SMALL_STATE(35)] = 1257,
[SMALL_STATE(36)] = 1290,
[SMALL_STATE(37)] = 1323,
[SMALL_STATE(38)] = 1356,
[SMALL_STATE(39)] = 1409,
[SMALL_STATE(40)] = 1459,
[SMALL_STATE(41)] = 1509,
[SMALL_STATE(42)] = 1559,
[SMALL_STATE(43)] = 1609,
[SMALL_STATE(44)] = 1659,
[SMALL_STATE(45)] = 1709,
[SMALL_STATE(46)] = 1759,
[SMALL_STATE(47)] = 1809,
[SMALL_STATE(48)] = 1859,
[SMALL_STATE(49)] = 1909,
[SMALL_STATE(50)] = 1959,
[SMALL_STATE(51)] = 2009,
[SMALL_STATE(52)] = 2059,
[SMALL_STATE(53)] = 2109,
[SMALL_STATE(54)] = 2159,
[SMALL_STATE(55)] = 2209,
[SMALL_STATE(56)] = 2259,
[SMALL_STATE(57)] = 2309,
[SMALL_STATE(58)] = 2359,
[SMALL_STATE(59)] = 2409,
[SMALL_STATE(60)] = 2459,
[SMALL_STATE(61)] = 2509,
[SMALL_STATE(62)] = 2559,
[SMALL_STATE(63)] = 2609,
[SMALL_STATE(64)] = 2659,
[SMALL_STATE(65)] = 2692,
[SMALL_STATE(66)] = 2725,
[SMALL_STATE(67)] = 2758,
[SMALL_STATE(68)] = 2792,
[SMALL_STATE(69)] = 2826,
[SMALL_STATE(70)] = 2856,
[SMALL_STATE(71)] = 2890,
[SMALL_STATE(72)] = 2924,
[SMALL_STATE(73)] = 2958,
[SMALL_STATE(74)] = 2987,
[SMALL_STATE(75)] = 3016,
[SMALL_STATE(76)] = 3044,
[SMALL_STATE(77)] = 3072,
[SMALL_STATE(78)] = 3100,
[SMALL_STATE(79)] = 3128,
[SMALL_STATE(80)] = 3154,
[SMALL_STATE(81)] = 3182,
[SMALL_STATE(82)] = 3210,
[SMALL_STATE(83)] = 3238,
[SMALL_STATE(84)] = 3263,
[SMALL_STATE(85)] = 3288,
[SMALL_STATE(86)] = 3313,
[SMALL_STATE(87)] = 3331,
[SMALL_STATE(88)] = 3341,
[SMALL_STATE(89)] = 3351,
[SMALL_STATE(90)] = 3361,
[SMALL_STATE(91)] = 3371,
[SMALL_STATE(92)] = 3380,
[SMALL_STATE(93)] = 3389,
[SMALL_STATE(94)] = 3400,
[SMALL_STATE(95)] = 3411,
[SMALL_STATE(96)] = 3422,
[SMALL_STATE(97)] = 3433,
[SMALL_STATE(98)] = 3443,
[SMALL_STATE(99)] = 3453,
[SMALL_STATE(100)] = 3463,
[SMALL_STATE(101)] = 3473,
[SMALL_STATE(102)] = 3483,
[SMALL_STATE(103)] = 3493,
[SMALL_STATE(104)] = 3503,
[SMALL_STATE(105)] = 3513,
[SMALL_STATE(106)] = 3523,
[SMALL_STATE(107)] = 3533,
[SMALL_STATE(108)] = 3543,
[SMALL_STATE(109)] = 3550,
[SMALL_STATE(110)] = 3555,
[SMALL_STATE(111)] = 3562,
[SMALL_STATE(112)] = 3569,
[SMALL_STATE(113)] = 3576,
[SMALL_STATE(114)] = 3583,
[SMALL_STATE(115)] = 3590,
[SMALL_STATE(116)] = 3595,
[SMALL_STATE(117)] = 3602,
[SMALL_STATE(118)] = 3606,
[SMALL_STATE(119)] = 3610,
[SMALL_STATE(120)] = 3614,
[SMALL_STATE(121)] = 3618,
[SMALL_STATE(122)] = 3622,
[SMALL_STATE(123)] = 3626,
[SMALL_STATE(124)] = 3630,
[SMALL_STATE(125)] = 3634,
[SMALL_STATE(126)] = 3638,
[SMALL_STATE(127)] = 3642,
[SMALL_STATE(128)] = 3646,
[SMALL_STATE(129)] = 3650,
[SMALL_STATE(130)] = 3654,
};
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),
2022-06-01 20:48:32 +02:00
[7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57),
[17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117),
[21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84),
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112),
[25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114),
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120),
[29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111),
[31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__lvalue, 1),
[33] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__lvalue, 1), SHIFT(50),
[36] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[38] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__lvalue, 1),
[40] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
[42] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_value, 4, .production_id = 17),
[44] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_value, 4, .production_id = 17),
[46] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_value, 3, .production_id = 8),
[48] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_value, 3, .production_id = 8),
[50] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1),
[52] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
[54] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
[56] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expr, 1),
[58] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_expression, 6, .production_id = 22),
[62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
[64] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
[68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44),
[70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[72] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 2),
[76] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 2),
[78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 6, .production_id = 25),
[80] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 6, .production_id = 25),
[82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 6, .production_id = 24),
[84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 6, .production_id = 23),
[86] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 6, .production_id = 23),
[88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 3),
[90] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 3),
[92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 20),
[94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 20),
[96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 19),
[98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 19),
[100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 18),
[102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 18),
[104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 14),
[106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 14),
[108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_expression, 8, .production_id = 33),
[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_string_literal, 2),
[116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2),
[118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_expression, 4, .production_id = 12),
[120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 4, .production_id = 11),
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
[126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
[128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 4),
[130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 4),
[132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 7, .production_id = 31),
[134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 7, .production_id = 31),
[136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 10),
[138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 10),
2022-06-01 20:41:25 +02:00
[140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 1),
2022-06-01 20:48:32 +02:00
[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 = false}}, SHIFT(68),
[148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 7),
[152] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67),
[154] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11),
[156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 7),
[158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3),
[160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3),
[162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 3, .production_id = 5),
[164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 3, .production_id = 5),
[166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 3),
[168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 3),
[170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 4),
[172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 4),
[174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72),
[176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
[178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6),
[180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
[182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71),
[184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33),
[186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
[188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31),
[190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30),
[192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28),
[194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25),
[196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75),
[198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26),
[200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81),
[202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
[204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
[206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
[208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80),
[210] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
[212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64),
[214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
[216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20),
[218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
[220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82),
[222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65),
[224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66),
[226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78),
[228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 6, .production_id = 30),
[230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 4, .production_id = 16),
[232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 4, .production_id = 15),
[234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
[236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
[238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2),
[242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
2022-06-01 20:41:25 +02:00
[250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
2022-06-01 20:48:32 +02:00
[252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2),
[254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 4, .production_id = 34),
[256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
[260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1),
[262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2),
[266] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(112),
[269] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(114),
[272] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(120),
[275] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(111),
[278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
[282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
[288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
[290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
[292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
[294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2),
[298] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2), SHIFT_REPEAT(112),
[301] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunk_repeat1, 2), SHIFT_REPEAT(114),
[304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_declaration_common, 2, .production_id = 6),
[306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2),
[308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 4, .production_id = 28),
[310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 3, .production_id = 21),
[312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 2, .production_id = 3),
[314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_declaration, 2, .production_id = 2),
[316] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34),
[318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
[320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2),
[322] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(94),
[325] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2), SHIFT_REPEAT(40),
[328] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18),
[330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
[332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
[336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
[338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[340] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 32), SHIFT_REPEAT(123),
[343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 32),
[345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
[349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[351] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 29), SHIFT_REPEAT(108),
[354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 29),
[356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(51),
[359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
[363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__typed_field, 3, .production_id = 26),
[367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
[369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
[373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[375] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118),
[377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2, .production_id = 27),
[379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
[381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
[383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
[385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
[387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
[389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
[395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[399] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
[403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
[405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
[407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
};
#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