tree-sitter-tiger/src/parser.c

3982 lines
101 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:36:14 +02:00
#define STATE_COUNT 101
#define LARGE_STATE_COUNT 2
2022-06-01 20:36:14 +02:00
#define SYMBOL_COUNT 66
#define ALIAS_COUNT 0
2022-06-01 20:36:14 +02:00
#define TOKEN_COUNT 42
#define EXTERNAL_TOKEN_COUNT 0
2022-06-01 20:36:14 +02:00
#define FIELD_COUNT 21
2022-06-01 20:23:04 +02:00
#define MAX_ALIAS_SEQUENCE_LENGTH 8
2022-06-01 20:36:14 +02:00
#define PRODUCTION_ID_COUNT 25
enum {
sym_identifier = 1,
sym_nil_literal = 2,
sym_integer_literal = 3,
anon_sym_DQUOTE = 4,
aux_sym_string_literal_token1 = 5,
sym_escape_sequence = 6,
2022-06-01 20:07:00 +02:00
anon_sym_DOT = 7,
anon_sym_LBRACK = 8,
anon_sym_RBRACK = 9,
anon_sym_LPAREN = 10,
anon_sym_COMMA = 11,
anon_sym_RPAREN = 12,
anon_sym_DASH = 13,
anon_sym_STAR = 14,
anon_sym_SLASH = 15,
anon_sym_PLUS = 16,
anon_sym_GT_EQ = 17,
anon_sym_LT_EQ = 18,
anon_sym_EQ = 19,
anon_sym_LT_GT = 20,
anon_sym_LT = 21,
anon_sym_GT = 22,
anon_sym_AMP = 23,
anon_sym_PIPE = 24,
anon_sym_SEMI = 25,
anon_sym_of = 26,
anon_sym_LBRACE = 27,
anon_sym_RBRACE = 28,
2022-06-01 20:11:52 +02:00
anon_sym_COLON_EQ = 29,
2022-06-01 20:18:10 +02:00
anon_sym_if = 30,
anon_sym_then = 31,
anon_sym_else = 32,
2022-06-01 20:19:56 +02:00
anon_sym_while = 33,
anon_sym_do = 34,
2022-06-01 20:23:04 +02:00
anon_sym_for = 35,
anon_sym_to = 36,
2022-06-01 20:23:46 +02:00
sym_break_expression = 37,
2022-06-01 20:36:14 +02:00
anon_sym_let = 38,
anon_sym_in = 39,
anon_sym_end = 40,
anon_sym_import = 41,
sym_source_file = 42,
sym__expr = 43,
sym_string_literal = 44,
sym__lvalue = 45,
sym_record_value = 46,
sym_array_value = 47,
sym_function_call = 48,
sym_unary_expression = 49,
sym_binary_expression = 50,
sym_sequence_expression = 51,
sym_array_expression = 52,
sym_record_expression = 53,
sym_assignment_expression = 54,
sym_if_expression = 55,
sym_while_expression = 56,
sym_for_expression = 57,
sym_let_expression = 58,
aux_sym__declaration_chunks = 59,
sym__declaration_chunk = 60,
sym_import_declaration = 61,
aux_sym_string_literal_repeat1 = 62,
aux_sym_function_call_repeat1 = 63,
aux_sym_sequence_expression_repeat1 = 64,
aux_sym_record_expression_repeat1 = 65,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[sym_identifier] = "identifier",
[sym_nil_literal] = "nil_literal",
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = "integer_literal",
[anon_sym_DQUOTE] = "\"",
[aux_sym_string_literal_token1] = "string_literal_token1",
[sym_escape_sequence] = "escape_sequence",
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = ".",
[anon_sym_LBRACK] = "[",
[anon_sym_RBRACK] = "]",
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = "(",
[anon_sym_COMMA] = ",",
[anon_sym_RPAREN] = ")",
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = "operator",
[anon_sym_STAR] = "operator",
[anon_sym_SLASH] = "operator",
[anon_sym_PLUS] = "operator",
[anon_sym_GT_EQ] = "operator",
[anon_sym_LT_EQ] = "operator",
2022-06-01 19:54:09 +02:00
[anon_sym_EQ] = "=",
2022-06-01 19:34:31 +02:00
[anon_sym_LT_GT] = "operator",
[anon_sym_LT] = "operator",
[anon_sym_GT] = "operator",
[anon_sym_AMP] = "operator",
[anon_sym_PIPE] = "operator",
[anon_sym_SEMI] = ";",
2022-06-01 19:48:54 +02:00
[anon_sym_of] = "of",
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = "{",
[anon_sym_RBRACE] = "}",
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = ":=",
2022-06-01 20:18:10 +02:00
[anon_sym_if] = "if",
[anon_sym_then] = "then",
[anon_sym_else] = "else",
2022-06-01 20:19:56 +02:00
[anon_sym_while] = "while",
[anon_sym_do] = "do",
2022-06-01 20:23:04 +02:00
[anon_sym_for] = "for",
[anon_sym_to] = "to",
2022-06-01 20:23:46 +02:00
[sym_break_expression] = "break_expression",
2022-06-01 20:36:14 +02:00
[anon_sym_let] = "let",
[anon_sym_in] = "in",
[anon_sym_end] = "end",
[anon_sym_import] = "import",
[sym_source_file] = "source_file",
2022-06-01 19:33:42 +02:00
[sym__expr] = "_expr",
[sym_string_literal] = "string_literal",
2022-06-01 20:07:00 +02:00
[sym__lvalue] = "_lvalue",
[sym_record_value] = "record_value",
[sym_array_value] = "array_value",
2022-06-01 19:58:40 +02:00
[sym_function_call] = "function_call",
2022-06-01 19:34:31 +02:00
[sym_unary_expression] = "unary_expression",
[sym_binary_expression] = "binary_expression",
[sym_sequence_expression] = "sequence_expression",
2022-06-01 19:48:54 +02:00
[sym_array_expression] = "array_expression",
2022-06-01 19:54:09 +02:00
[sym_record_expression] = "record_expression",
2022-06-01 20:11:52 +02:00
[sym_assignment_expression] = "assignment_expression",
2022-06-01 20:18:10 +02:00
[sym_if_expression] = "if_expression",
2022-06-01 20:19:56 +02:00
[sym_while_expression] = "while_expression",
2022-06-01 20:23:04 +02:00
[sym_for_expression] = "for_expression",
2022-06-01 20:36:14 +02:00
[sym_let_expression] = "let_expression",
[aux_sym__declaration_chunks] = "_declaration_chunks",
[sym__declaration_chunk] = "_declaration_chunk",
[sym_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",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym_identifier] = sym_identifier,
[sym_nil_literal] = sym_nil_literal,
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = sym_integer_literal,
[anon_sym_DQUOTE] = anon_sym_DQUOTE,
[aux_sym_string_literal_token1] = aux_sym_string_literal_token1,
[sym_escape_sequence] = sym_escape_sequence,
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = anon_sym_DOT,
[anon_sym_LBRACK] = anon_sym_LBRACK,
[anon_sym_RBRACK] = anon_sym_RBRACK,
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_COMMA] = anon_sym_COMMA,
[anon_sym_RPAREN] = anon_sym_RPAREN,
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = anon_sym_DASH,
[anon_sym_STAR] = anon_sym_DASH,
[anon_sym_SLASH] = anon_sym_DASH,
[anon_sym_PLUS] = anon_sym_DASH,
[anon_sym_GT_EQ] = anon_sym_DASH,
[anon_sym_LT_EQ] = anon_sym_DASH,
2022-06-01 19:54:09 +02:00
[anon_sym_EQ] = anon_sym_EQ,
2022-06-01 19:34:31 +02:00
[anon_sym_LT_GT] = anon_sym_DASH,
[anon_sym_LT] = anon_sym_DASH,
[anon_sym_GT] = anon_sym_DASH,
[anon_sym_AMP] = anon_sym_DASH,
[anon_sym_PIPE] = anon_sym_DASH,
[anon_sym_SEMI] = anon_sym_SEMI,
2022-06-01 19:48:54 +02:00
[anon_sym_of] = anon_sym_of,
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = anon_sym_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = anon_sym_COLON_EQ,
2022-06-01 20:18:10 +02:00
[anon_sym_if] = anon_sym_if,
[anon_sym_then] = anon_sym_then,
[anon_sym_else] = anon_sym_else,
2022-06-01 20:19:56 +02:00
[anon_sym_while] = anon_sym_while,
[anon_sym_do] = anon_sym_do,
2022-06-01 20:23:04 +02:00
[anon_sym_for] = anon_sym_for,
[anon_sym_to] = anon_sym_to,
2022-06-01 20:23:46 +02:00
[sym_break_expression] = sym_break_expression,
2022-06-01 20:36:14 +02:00
[anon_sym_let] = anon_sym_let,
[anon_sym_in] = anon_sym_in,
[anon_sym_end] = anon_sym_end,
[anon_sym_import] = anon_sym_import,
[sym_source_file] = sym_source_file,
2022-06-01 19:33:42 +02:00
[sym__expr] = sym__expr,
[sym_string_literal] = sym_string_literal,
2022-06-01 20:07:00 +02:00
[sym__lvalue] = sym__lvalue,
[sym_record_value] = sym_record_value,
[sym_array_value] = sym_array_value,
2022-06-01 19:58:40 +02:00
[sym_function_call] = sym_function_call,
2022-06-01 19:34:31 +02:00
[sym_unary_expression] = sym_unary_expression,
[sym_binary_expression] = sym_binary_expression,
[sym_sequence_expression] = sym_sequence_expression,
2022-06-01 19:48:54 +02:00
[sym_array_expression] = sym_array_expression,
2022-06-01 19:54:09 +02:00
[sym_record_expression] = sym_record_expression,
2022-06-01 20:11:52 +02:00
[sym_assignment_expression] = sym_assignment_expression,
2022-06-01 20:18:10 +02:00
[sym_if_expression] = sym_if_expression,
2022-06-01 20:19:56 +02:00
[sym_while_expression] = sym_while_expression,
2022-06-01 20:23:04 +02:00
[sym_for_expression] = sym_for_expression,
2022-06-01 20:36:14 +02:00
[sym_let_expression] = sym_let_expression,
[aux_sym__declaration_chunks] = aux_sym__declaration_chunks,
[sym__declaration_chunk] = sym__declaration_chunk,
[sym_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,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym_identifier] = {
.visible = true,
.named = true,
},
[sym_nil_literal] = {
.visible = true,
.named = true,
},
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = {
.visible = true,
.named = true,
},
[anon_sym_DQUOTE] = {
.visible = true,
.named = false,
},
[aux_sym_string_literal_token1] = {
.visible = false,
.named = false,
},
[sym_escape_sequence] = {
.visible = true,
.named = true,
},
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = {
.visible = true,
.named = false,
},
[anon_sym_LBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACK] = {
.visible = true,
.named = false,
},
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_COMMA] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = {
.visible = true,
.named = true,
},
[anon_sym_STAR] = {
.visible = true,
.named = true,
},
[anon_sym_SLASH] = {
.visible = true,
.named = true,
},
[anon_sym_PLUS] = {
.visible = true,
.named = true,
},
[anon_sym_GT_EQ] = {
.visible = true,
.named = true,
},
[anon_sym_LT_EQ] = {
.visible = true,
.named = true,
},
[anon_sym_EQ] = {
.visible = true,
2022-06-01 19:54:09 +02:00
.named = false,
2022-06-01 19:34:31 +02:00
},
[anon_sym_LT_GT] = {
.visible = true,
.named = true,
},
[anon_sym_LT] = {
.visible = true,
.named = true,
},
[anon_sym_GT] = {
.visible = true,
.named = true,
},
[anon_sym_AMP] = {
.visible = true,
.named = true,
},
[anon_sym_PIPE] = {
.visible = true,
.named = true,
},
[anon_sym_SEMI] = {
.visible = true,
.named = false,
},
2022-06-01 19:48:54 +02:00
[anon_sym_of] = {
.visible = true,
.named = false,
},
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = {
.visible = true,
.named = false,
},
2022-06-01 20:18:10 +02:00
[anon_sym_if] = {
.visible = true,
.named = false,
},
[anon_sym_then] = {
.visible = true,
.named = false,
},
[anon_sym_else] = {
.visible = true,
.named = false,
},
2022-06-01 20:19:56 +02:00
[anon_sym_while] = {
.visible = true,
.named = false,
},
[anon_sym_do] = {
.visible = true,
.named = false,
},
2022-06-01 20:23:04 +02:00
[anon_sym_for] = {
.visible = true,
.named = false,
},
[anon_sym_to] = {
.visible = true,
.named = false,
},
2022-06-01 20:23:46 +02:00
[sym_break_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:36:14 +02:00
[anon_sym_let] = {
.visible = true,
.named = false,
},
[anon_sym_in] = {
.visible = true,
.named = false,
},
[anon_sym_end] = {
.visible = true,
.named = false,
},
[anon_sym_import] = {
.visible = true,
.named = false,
},
[sym_source_file] = {
.visible = true,
.named = true,
},
2022-06-01 19:33:42 +02:00
[sym__expr] = {
.visible = false,
.named = true,
},
[sym_string_literal] = {
.visible = true,
.named = true,
},
2022-06-01 20:07:00 +02:00
[sym__lvalue] = {
.visible = false,
.named = true,
},
[sym_record_value] = {
.visible = true,
.named = true,
},
[sym_array_value] = {
.visible = true,
.named = true,
},
2022-06-01 19:58:40 +02:00
[sym_function_call] = {
.visible = true,
.named = true,
},
2022-06-01 19:34:31 +02:00
[sym_unary_expression] = {
.visible = true,
.named = true,
},
[sym_binary_expression] = {
.visible = true,
.named = true,
},
[sym_sequence_expression] = {
.visible = true,
.named = true,
},
2022-06-01 19:48:54 +02:00
[sym_array_expression] = {
.visible = true,
.named = true,
},
2022-06-01 19:54:09 +02:00
[sym_record_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:11:52 +02:00
[sym_assignment_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:18:10 +02:00
[sym_if_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:19:56 +02:00
[sym_while_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:23:04 +02:00
[sym_for_expression] = {
.visible = true,
.named = true,
},
2022-06-01 20:36:14 +02:00
[sym_let_expression] = {
.visible = true,
.named = true,
},
[aux_sym__declaration_chunks] = {
.visible = false,
.named = false,
},
[sym__declaration_chunk] = {
.visible = false,
.named = true,
},
[sym_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 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,
field_operator = 16,
field_record = 17,
field_right = 18,
field_size = 19,
field_start = 20,
field_type = 21,
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",
[field_operator] = "operator",
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 19:34:31 +02:00
};
static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
[1] = {.index = 0, .length = 2},
2022-06-01 19:54:09 +02:00
[2] = {.index = 2, .length = 1},
2022-06-01 19:58:40 +02:00
[3] = {.index = 3, .length = 1},
2022-06-01 20:36:14 +02:00
[4] = {.index = 4, .length = 1},
[5] = {.index = 5, .length = 3},
[6] = {.index = 8, .length = 2},
[7] = {.index = 10, .length = 2},
[8] = {.index = 12, .length = 2},
[9] = {.index = 14, .length = 2},
[10] = {.index = 16, .length = 2},
[11] = {.index = 18, .length = 1},
[12] = {.index = 19, .length = 1},
[13] = {.index = 20, .length = 2},
[14] = {.index = 22, .length = 3},
[15] = {.index = 25, .length = 2},
[16] = {.index = 27, .length = 2},
[17] = {.index = 29, .length = 3},
[18] = {.index = 32, .length = 3},
[19] = {.index = 35, .length = 3},
[20] = {.index = 38, .length = 3},
[21] = {.index = 41, .length = 5},
[22] = {.index = 46, .length = 4},
[23] = {.index = 50, .length = 4},
[24] = {.index = 54, .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 19:58:40 +02:00
{field_function, 0},
2022-06-01 19:54:09 +02:00
[3] =
2022-06-01 19:58:40 +02:00
{field_type, 0},
[4] =
2022-06-01 20:36:14 +02:00
{field_file, 1},
[5] =
2022-06-01 19:34:31 +02:00
{field_left, 0},
{field_operator, 1},
{field_right, 2},
2022-06-01 20:36:14 +02:00
[8] =
2022-06-01 20:07:00 +02:00
{field_field, 2},
{field_record, 0},
2022-06-01 20:36:14 +02:00
[10] =
2022-06-01 20:11:52 +02:00
{field_left, 0},
{field_right, 2},
2022-06-01 20:36:14 +02:00
[12] =
2022-06-01 19:58:40 +02:00
{field_arguments, 2},
{field_function, 0},
2022-06-01 20:36:14 +02:00
[14] =
2022-06-01 20:18:10 +02:00
{field_condition, 1},
{field_consequence, 3},
2022-06-01 20:36:14 +02:00
[16] =
2022-06-01 20:19:56 +02:00
{field_body, 3},
{field_condition, 1},
2022-06-01 20:36:14 +02:00
[18] =
{field_body, 2},
[19] =
{field_declarations, 1},
[20] =
2022-06-01 20:07:00 +02:00
{field_array, 0},
{field_index, 2},
2022-06-01 20:36:14 +02:00
[22] =
2022-06-01 19:58:40 +02:00
{field_arguments, 2},
{field_arguments, 3},
{field_function, 0},
2022-06-01 20:36:14 +02:00
[25] =
{field_body, 2},
{field_body, 3},
[27] =
{field_body, 3},
{field_declarations, 1},
[29] =
2022-06-01 19:48:54 +02:00
{field_init, 5},
{field_size, 2},
{field_type, 0},
2022-06-01 20:36:14 +02:00
[32] =
2022-06-01 19:54:09 +02:00
{field_field, 2},
{field_init, 4},
{field_type, 0},
2022-06-01 20:36:14 +02:00
[35] =
2022-06-01 20:18:10 +02:00
{field_alternative, 5},
{field_condition, 1},
{field_consequence, 3},
2022-06-01 20:36:14 +02:00
[38] =
{field_body, 3},
{field_body, 4},
{field_declarations, 1},
[41] =
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:36:14 +02:00
[46] =
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:36:14 +02:00
[50] =
2022-06-01 20:23:04 +02:00
{field_body, 7},
{field_end, 5},
{field_index, 1},
{field_start, 3},
2022-06-01 20:36:14 +02:00
[54] =
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:36:14 +02:00
[5] = {
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);
if (lookahead == ':') ADVANCE(2);
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);
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);
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();
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);
if (lookahead == 't') ADVANCE(9);
if (lookahead == 'w') ADVANCE(10);
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:36:14 +02:00
if (lookahead == 'r') ADVANCE(11);
2022-06-01 19:48:54 +02:00
END_STATE();
case 2:
2022-06-01 20:36:14 +02:00
if (lookahead == 'o') ADVANCE(12);
2022-06-01 19:48:54 +02:00
END_STATE();
case 3:
2022-06-01 20:36:14 +02:00
if (lookahead == 'l') ADVANCE(13);
if (lookahead == 'n') ADVANCE(14);
2022-06-01 19:48:54 +02:00
END_STATE();
case 4:
2022-06-01 20:36:14 +02:00
if (lookahead == 'o') ADVANCE(15);
2022-06-01 19:48:54 +02:00
END_STATE();
case 5:
2022-06-01 20:36:14 +02:00
if (lookahead == 'f') ADVANCE(16);
if (lookahead == 'm') ADVANCE(17);
if (lookahead == 'n') ADVANCE(18);
2022-06-01 20:18:10 +02:00
END_STATE();
case 6:
2022-06-01 20:36:14 +02:00
if (lookahead == 'e') ADVANCE(19);
2022-06-01 20:18:10 +02:00
END_STATE();
case 7:
2022-06-01 20:36:14 +02:00
if (lookahead == 'i') ADVANCE(20);
2022-06-01 20:18:10 +02:00
END_STATE();
case 8:
2022-06-01 20:36:14 +02:00
if (lookahead == 'f') ADVANCE(21);
2022-06-01 20:18:10 +02:00
END_STATE();
case 9:
2022-06-01 20:36:14 +02:00
if (lookahead == 'h') ADVANCE(22);
if (lookahead == 'o') ADVANCE(23);
2022-06-01 20:18:10 +02:00
END_STATE();
case 10:
2022-06-01 20:36:14 +02:00
if (lookahead == 'h') ADVANCE(24);
2022-06-01 20:18:10 +02:00
END_STATE();
case 11:
2022-06-01 20:36:14 +02:00
if (lookahead == 'e') ADVANCE(25);
2022-06-01 20:18:10 +02:00
END_STATE();
case 12:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_do);
END_STATE();
2022-06-01 20:18:10 +02:00
case 13:
2022-06-01 20:36:14 +02:00
if (lookahead == 's') ADVANCE(26);
2022-06-01 20:18:10 +02:00
END_STATE();
case 14:
2022-06-01 20:36:14 +02:00
if (lookahead == 'd') ADVANCE(27);
2022-06-01 20:18:10 +02:00
END_STATE();
case 15:
2022-06-01 20:36:14 +02:00
if (lookahead == 'r') ADVANCE(28);
2022-06-01 20:19:56 +02:00
END_STATE();
case 16:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_if);
2022-06-01 20:19:56 +02:00
END_STATE();
case 17:
2022-06-01 20:36:14 +02:00
if (lookahead == 'p') ADVANCE(29);
2022-06-01 20:19:56 +02:00
END_STATE();
case 18:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_in);
2022-06-01 20:19:56 +02:00
END_STATE();
case 19:
2022-06-01 20:36:14 +02:00
if (lookahead == 't') ADVANCE(30);
2022-06-01 20:19:56 +02:00
END_STATE();
case 20:
2022-06-01 20:36:14 +02:00
if (lookahead == 'l') ADVANCE(31);
2022-06-01 20:18:10 +02:00
END_STATE();
2022-06-01 20:19:56 +02:00
case 21:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_of);
2022-06-01 20:19:56 +02:00
END_STATE();
case 22:
2022-06-01 20:36:14 +02:00
if (lookahead == 'e') ADVANCE(32);
2022-06-01 20:23:04 +02:00
END_STATE();
case 23:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_to);
2022-06-01 20:23:04 +02:00
END_STATE();
case 24:
2022-06-01 20:36:14 +02:00
if (lookahead == 'i') ADVANCE(33);
2022-06-01 20:23:04 +02:00
END_STATE();
case 25:
2022-06-01 20:36:14 +02:00
if (lookahead == 'a') ADVANCE(34);
2022-06-01 20:23:04 +02:00
END_STATE();
case 26:
2022-06-01 20:36:14 +02:00
if (lookahead == 'e') ADVANCE(35);
2022-06-01 20:23:46 +02:00
END_STATE();
case 27:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_end);
2022-06-01 20:23:46 +02:00
END_STATE();
case 28:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_for);
2022-06-01 20:23:46 +02:00
END_STATE();
case 29:
2022-06-01 20:36:14 +02:00
if (lookahead == 'o') ADVANCE(36);
2022-06-01 20:23:46 +02:00
END_STATE();
case 30:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(anon_sym_let);
2022-06-01 20:23:46 +02:00
END_STATE();
case 31:
2022-06-01 20:36:14 +02:00
ACCEPT_TOKEN(sym_nil_literal);
END_STATE();
case 32:
if (lookahead == 'n') ADVANCE(37);
END_STATE();
case 33:
if (lookahead == 'l') ADVANCE(38);
END_STATE();
case 34:
if (lookahead == 'k') ADVANCE(39);
END_STATE();
case 35:
ACCEPT_TOKEN(anon_sym_else);
END_STATE();
case 36:
if (lookahead == 'r') ADVANCE(40);
END_STATE();
case 37:
ACCEPT_TOKEN(anon_sym_then);
END_STATE();
case 38:
if (lookahead == 'e') ADVANCE(41);
END_STATE();
case 39:
ACCEPT_TOKEN(sym_break_expression);
END_STATE();
case 40:
if (lookahead == 't') ADVANCE(42);
END_STATE();
case 41:
2022-06-01 20:19:56 +02:00
ACCEPT_TOKEN(anon_sym_while);
END_STATE();
2022-06-01 20:36:14 +02:00
case 42:
ACCEPT_TOKEN(anon_sym_import);
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:36:14 +02:00
[2] = {.lex_state = 0},
2022-06-01 20:23:04 +02:00
[3] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[4] = {.lex_state = 9},
2022-06-01 20:23:46 +02:00
[5] = {.lex_state = 0},
[6] = {.lex_state = 0},
[7] = {.lex_state = 0},
2022-06-01 19:33:42 +02:00
[8] = {.lex_state = 0},
2022-06-01 19:34:31 +02:00
[9] = {.lex_state = 0},
[10] = {.lex_state = 0},
2022-06-01 20:19:56 +02:00
[11] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[12] = {.lex_state = 0},
[13] = {.lex_state = 0},
2022-06-01 20:19:56 +02:00
[14] = {.lex_state = 0},
[15] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[16] = {.lex_state = 0},
2022-06-01 20:19:56 +02:00
[17] = {.lex_state = 0},
[18] = {.lex_state = 0},
2022-06-01 19:48:54 +02:00
[19] = {.lex_state = 0},
[20] = {.lex_state = 0},
[21] = {.lex_state = 0},
[22] = {.lex_state = 0},
[23] = {.lex_state = 0},
2022-06-01 20:19:56 +02:00
[24] = {.lex_state = 0},
2022-06-01 19:48:54 +02:00
[25] = {.lex_state = 0},
[26] = {.lex_state = 0},
2022-06-01 20:23:04 +02:00
[27] = {.lex_state = 0},
[28] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[29] = {.lex_state = 9},
2022-06-01 20:18:10 +02:00
[30] = {.lex_state = 9},
[31] = {.lex_state = 9},
2022-06-01 20:19:56 +02:00
[32] = {.lex_state = 9},
2022-06-01 20:18:10 +02:00
[33] = {.lex_state = 9},
[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:19:56 +02:00
[38] = {.lex_state = 9},
2022-06-01 20:18:10 +02:00
[39] = {.lex_state = 9},
[40] = {.lex_state = 9},
[41] = {.lex_state = 9},
[42] = {.lex_state = 9},
2022-06-01 20:19:56 +02:00
[43] = {.lex_state = 9},
[44] = {.lex_state = 9},
2022-06-01 20:18:10 +02:00
[45] = {.lex_state = 9},
2022-06-01 20:19:56 +02:00
[46] = {.lex_state = 9},
[47] = {.lex_state = 9},
[48] = {.lex_state = 9},
2022-06-01 20:23:04 +02:00
[49] = {.lex_state = 9},
[50] = {.lex_state = 9},
[51] = {.lex_state = 9},
[52] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[53] = {.lex_state = 9},
[54] = {.lex_state = 9},
[55] = {.lex_state = 9},
[56] = {.lex_state = 9},
[57] = {.lex_state = 9},
[58] = {.lex_state = 9},
2022-06-01 20:23:46 +02:00
[59] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[60] = {.lex_state = 9},
2022-06-01 20:23:04 +02:00
[61] = {.lex_state = 9},
[62] = {.lex_state = 0},
2022-06-01 20:18:10 +02:00
[63] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[64] = {.lex_state = 0},
2022-06-01 20:23:04 +02:00
[65] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[66] = {.lex_state = 9},
[67] = {.lex_state = 0},
[68] = {.lex_state = 0},
[69] = {.lex_state = 9},
[70] = {.lex_state = 9},
2022-06-01 20:23:04 +02:00
[71] = {.lex_state = 0},
[72] = {.lex_state = 0},
2022-06-01 20:19:56 +02:00
[73] = {.lex_state = 0},
2022-06-01 20:36:14 +02:00
[74] = {.lex_state = 9},
2022-06-01 20:23:04 +02:00
[75] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[76] = {.lex_state = 9},
[77] = {.lex_state = 9},
2022-06-01 20:23:04 +02:00
[78] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[79] = {.lex_state = 1},
2022-06-01 20:23:46 +02:00
[80] = {.lex_state = 9},
2022-06-01 20:36:14 +02:00
[81] = {.lex_state = 1},
[82] = {.lex_state = 1},
[83] = {.lex_state = 0},
[84] = {.lex_state = 0},
[85] = {.lex_state = 9},
[86] = {.lex_state = 0},
[87] = {.lex_state = 0},
[88] = {.lex_state = 9},
[89] = {.lex_state = 0},
[90] = {.lex_state = 9},
[91] = {.lex_state = 9},
[92] = {.lex_state = 0},
[93] = {.lex_state = 9},
[94] = {.lex_state = 9},
[95] = {.lex_state = 0},
[96] = {.lex_state = 0},
[97] = {.lex_state = 0},
[98] = {.lex_state = 9},
[99] = {.lex_state = 9},
[100] = {.lex_state = 0},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[0] = {
[ts_builtin_sym_end] = ACTIONS(1),
[sym_identifier] = ACTIONS(1),
[sym_nil_literal] = ACTIONS(1),
2022-06-01 19:33:42 +02:00
[sym_integer_literal] = ACTIONS(1),
[anon_sym_DQUOTE] = ACTIONS(1),
[sym_escape_sequence] = ACTIONS(1),
2022-06-01 20:07:00 +02:00
[anon_sym_DOT] = ACTIONS(1),
[anon_sym_LBRACK] = ACTIONS(1),
[anon_sym_RBRACK] = ACTIONS(1),
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_COMMA] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
2022-06-01 19:34:31 +02:00
[anon_sym_DASH] = ACTIONS(1),
[anon_sym_STAR] = ACTIONS(1),
[anon_sym_SLASH] = ACTIONS(1),
[anon_sym_PLUS] = ACTIONS(1),
[anon_sym_GT_EQ] = ACTIONS(1),
[anon_sym_LT_EQ] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_LT_GT] = ACTIONS(1),
[anon_sym_LT] = ACTIONS(1),
[anon_sym_GT] = ACTIONS(1),
[anon_sym_AMP] = ACTIONS(1),
[anon_sym_PIPE] = ACTIONS(1),
[anon_sym_SEMI] = ACTIONS(1),
2022-06-01 19:48:54 +02:00
[anon_sym_of] = ACTIONS(1),
2022-06-01 19:54:09 +02:00
[anon_sym_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
2022-06-01 20:11:52 +02:00
[anon_sym_COLON_EQ] = ACTIONS(1),
2022-06-01 20:18:10 +02:00
[anon_sym_if] = ACTIONS(1),
[anon_sym_then] = ACTIONS(1),
[anon_sym_else] = ACTIONS(1),
2022-06-01 20:19:56 +02:00
[anon_sym_while] = ACTIONS(1),
[anon_sym_do] = ACTIONS(1),
2022-06-01 20:23:04 +02:00
[anon_sym_for] = ACTIONS(1),
[anon_sym_to] = ACTIONS(1),
2022-06-01 20:23:46 +02:00
[sym_break_expression] = ACTIONS(1),
2022-06-01 20:36:14 +02:00
[anon_sym_let] = ACTIONS(1),
[anon_sym_in] = ACTIONS(1),
[anon_sym_end] = ACTIONS(1),
[anon_sym_import] = ACTIONS(1),
},
[1] = {
2022-06-01 20:36:14 +02:00
[sym_source_file] = STATE(97),
[sym__expr] = STATE(73),
[sym_string_literal] = STATE(73),
[sym__lvalue] = STATE(31),
[sym_record_value] = STATE(31),
[sym_array_value] = STATE(31),
[sym_function_call] = STATE(73),
[sym_unary_expression] = STATE(73),
[sym_binary_expression] = STATE(73),
[sym_sequence_expression] = STATE(73),
[sym_array_expression] = STATE(73),
[sym_record_expression] = STATE(73),
[sym_assignment_expression] = STATE(73),
[sym_if_expression] = STATE(73),
[sym_while_expression] = STATE(73),
[sym_for_expression] = STATE(73),
[sym_let_expression] = STATE(73),
2022-06-01 19:48:54 +02:00
[sym_identifier] = ACTIONS(3),
[sym_nil_literal] = ACTIONS(5),
[sym_integer_literal] = ACTIONS(5),
[anon_sym_DQUOTE] = ACTIONS(7),
2022-06-01 19:58:40 +02:00
[anon_sym_LPAREN] = ACTIONS(9),
[anon_sym_DASH] = ACTIONS(11),
2022-06-01 20:18:10 +02:00
[anon_sym_if] = ACTIONS(13),
2022-06-01 20:19:56 +02:00
[anon_sym_while] = ACTIONS(15),
2022-06-01 20:23:04 +02:00
[anon_sym_for] = ACTIONS(17),
2022-06-01 20:23:46 +02:00
[sym_break_expression] = ACTIONS(5),
2022-06-01 20:36:14 +02:00
[anon_sym_let] = ACTIONS(19),
2022-06-01 19:34:31 +02:00
},
};
static const uint16_t ts_small_parse_table[] = {
2022-06-01 20:36:14 +02:00
[0] = 12,
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
ACTIONS(17), 1,
anon_sym_for,
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(23), 1,
anon_sym_end,
ACTIONS(21), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(31), 3,
sym__lvalue,
sym_record_value,
sym_array_value,
STATE(61), 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,
[53] = 12,
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
ACTIONS(17), 1,
anon_sym_for,
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(27), 1,
anon_sym_end,
ACTIONS(25), 3,
sym_nil_literal,
sym_integer_literal,
sym_break_expression,
STATE(31), 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,
[106] = 5,
ACTIONS(31), 1,
2022-06-01 20:07:00 +02:00
anon_sym_LBRACK,
2022-06-01 20:36:14 +02:00
ACTIONS(34), 1,
2022-06-01 20:07:00 +02:00
anon_sym_LPAREN,
2022-06-01 20:36:14 +02:00
ACTIONS(38), 1,
2022-06-01 20:07:00 +02:00
anon_sym_LBRACE,
2022-06-01 20:36:14 +02:00
ACTIONS(36), 2,
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(29), 23,
ts_builtin_sym_end,
2022-06-01 20:07:00 +02:00
anon_sym_DOT,
2022-06-01 19:48:54 +02:00
anon_sym_RBRACK,
2022-06-01 19:58:40 +02:00
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 19:54:09 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 19:48:54 +02:00
anon_sym_SEMI,
2022-06-01 19:54:09 +02:00
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_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[145] = 12,
2022-06-01 20:23:04 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(42), 1,
2022-06-01 20:23:04 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
ACTIONS(40), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:23:04 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(63), 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,
[198] = 12,
2022-06-01 20:23:04 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(46), 1,
2022-06-01 20:23:04 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
ACTIONS(44), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:23:04 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(64), 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,
[251] = 11,
2022-06-01 20:07:00 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(48), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(55), 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,
[301] = 11,
2022-06-01 20:11:52 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
2022-06-01 19:54:09 +02:00
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(50), 3,
2022-06-01 20:11:52 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
2022-06-01 20:36:14 +02:00
STATE(31), 3,
2022-06-01 20:11:52 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(69), 13,
2022-06-01 20:11:52 +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,
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,
[351] = 11,
2022-06-01 20:18:10 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(52), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:18:10 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(74), 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,
[401] = 11,
2022-06-01 20:18:10 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(54), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:18:10 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(67), 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,
[451] = 11,
2022-06-01 20:18:10 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(56), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:18:10 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(49), 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,
[501] = 11,
2022-06-01 20:11:52 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(58), 3,
2022-06-01 20:11:52 +02:00
sym_nil_literal,
sym_integer_literal,
2022-06-01 20:23:46 +02:00
sym_break_expression,
2022-06-01 20:36:14 +02:00
STATE(31), 3,
2022-06-01 20:11:52 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(68), 13,
2022-06-01 20:11:52 +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,
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,
[551] = 11,
2022-06-01 20:07:00 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(60), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(35), 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,
[601] = 11,
2022-06-01 20:11:52 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
2022-06-01 19:34:31 +02:00
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(62), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(75), 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,
[651] = 11,
2022-06-01 20:07:00 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(64), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(40), 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,
[701] = 11,
2022-06-01 19:48:54 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
2022-06-01 19:48:54 +02:00
anon_sym_DQUOTE,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
anon_sym_LPAREN,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(66), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(44), 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,
[751] = 11,
2022-06-01 19:48:54 +02:00
ACTIONS(3), 1,
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(7), 1,
2022-06-01 19:48:54 +02:00
anon_sym_DQUOTE,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
anon_sym_LPAREN,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(68), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(72), 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,
[801] = 11,
2022-06-01 19:48:54 +02:00
ACTIONS(3), 1,
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(7), 1,
2022-06-01 19:48:54 +02:00
anon_sym_DQUOTE,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
anon_sym_LPAREN,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(70), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(65), 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,
[851] = 11,
2022-06-01 19:48:54 +02:00
ACTIONS(3), 1,
sym_identifier,
2022-06-01 19:34:31 +02:00
ACTIONS(7), 1,
2022-06-01 19:48:54 +02:00
anon_sym_DQUOTE,
2022-06-01 19:34:31 +02:00
ACTIONS(9), 1,
anon_sym_LPAREN,
2022-06-01 19:58:40 +02:00
ACTIONS(11), 1,
anon_sym_DASH,
2022-06-01 20:18:10 +02:00
ACTIONS(13), 1,
anon_sym_if,
2022-06-01 20:19:56 +02:00
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(72), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:07:00 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(58), 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,
[901] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(74), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(71), 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,
[951] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(76), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(47), 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,
[1001] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(78), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(56), 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,
[1051] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(80), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(62), 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,
[1101] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(82), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(70), 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,
[1151] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(84), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(34), 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,
[1201] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(86), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(54), 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,
[1251] = 11,
2022-06-01 20:19:56 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
anon_sym_DASH,
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
2022-06-01 20:23:04 +02:00
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(88), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:19:56 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(52), 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,
[1301] = 11,
2022-06-01 20:23:04 +02:00
ACTIONS(3), 1,
sym_identifier,
ACTIONS(7), 1,
anon_sym_DQUOTE,
ACTIONS(9), 1,
anon_sym_LPAREN,
ACTIONS(11), 1,
2022-06-01 20:19:56 +02:00
anon_sym_DASH,
2022-06-01 20:23:04 +02:00
ACTIONS(13), 1,
anon_sym_if,
ACTIONS(15), 1,
anon_sym_while,
ACTIONS(17), 1,
anon_sym_for,
2022-06-01 20:36:14 +02:00
ACTIONS(19), 1,
anon_sym_let,
ACTIONS(90), 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:36:14 +02:00
STATE(31), 3,
2022-06-01 20:23:04 +02:00
sym__lvalue,
sym_record_value,
sym_array_value,
2022-06-01 20:36:14 +02:00
STATE(53), 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,
[1351] = 2,
ACTIONS(94), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(92), 24,
ts_builtin_sym_end,
anon_sym_DOT,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
anon_sym_PLUS,
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:36:14 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:11:52 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
2022-06-01 20:36:14 +02:00
anon_sym_COLON_EQ,
2022-06-01 20:18:10 +02:00
anon_sym_then,
2022-06-01 20:36:14 +02:00
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1382] = 2,
ACTIONS(98), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(96), 24,
ts_builtin_sym_end,
anon_sym_DOT,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
anon_sym_PLUS,
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:23:46 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:11:52 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
2022-06-01 20:36:14 +02:00
anon_sym_COLON_EQ,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1413] = 5,
ACTIONS(102), 1,
anon_sym_DOT,
ACTIONS(104), 1,
anon_sym_LBRACK,
ACTIONS(108), 1,
anon_sym_COLON_EQ,
ACTIONS(106), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(100), 21,
2022-06-01 20:19:56 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +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,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1450] = 2,
ACTIONS(112), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(110), 23,
2022-06-01 20:19:56 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:23:46 +02:00
anon_sym_PLUS,
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:23:46 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:19:56 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_in,
anon_sym_end,
anon_sym_import,
[1480] = 2,
ACTIONS(116), 2,
2022-06-01 20:18:10 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(114), 23,
2022-06-01 20:18:10 +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,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_in,
anon_sym_end,
anon_sym_import,
[1510] = 7,
ACTIONS(128), 1,
anon_sym_AMP,
ACTIONS(130), 1,
anon_sym_PIPE,
ACTIONS(120), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(122), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
ACTIONS(118), 11,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:19:56 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1548] = 7,
ACTIONS(128), 1,
2022-06-01 20:23:46 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:23:46 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
2022-06-01 20:23:46 +02:00
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:11:52 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:23:46 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
ACTIONS(132), 11,
2022-06-01 20:23:46 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:11:52 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1586] = 2,
2022-06-01 20:23:46 +02:00
ACTIONS(136), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(134), 21,
2022-06-01 20:11:52 +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,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1614] = 2,
2022-06-01 20:23:46 +02:00
ACTIONS(140), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(138), 21,
2022-06-01 20:19:56 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +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,
2022-06-01 20:18:10 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:19:56 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
2022-06-01 20:18:10 +02:00
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1642] = 2,
ACTIONS(144), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(142), 21,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:19:56 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[1670] = 2,
ACTIONS(148), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(146), 21,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:18:10 +02:00
anon_sym_DASH,
2022-06-01 20:36:14 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:18:10 +02:00
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[1698] = 7,
ACTIONS(128), 1,
anon_sym_AMP,
ACTIONS(130), 1,
anon_sym_PIPE,
ACTIONS(120), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(122), 2,
2022-06-01 20:18:10 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:18:10 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
ACTIONS(150), 11,
2022-06-01 20:18:10 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
2022-06-01 20:19:56 +02:00
anon_sym_else,
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1736] = 2,
ACTIONS(154), 2,
2022-06-01 20:18:10 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(152), 21,
2022-06-01 20:18:10 +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,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1764] = 2,
ACTIONS(158), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(156), 21,
2022-06-01 20:19:56 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +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,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1792] = 2,
ACTIONS(162), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(160), 21,
2022-06-01 20:19:56 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DASH,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:19:56 +02:00
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1820] = 8,
ACTIONS(128), 1,
anon_sym_AMP,
ACTIONS(130), 1,
anon_sym_PIPE,
ACTIONS(166), 1,
anon_sym_else,
ACTIONS(120), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(122), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(126), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(124), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(164), 10,
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_end,
[1860] = 2,
ACTIONS(170), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(168), 21,
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_end,
[1888] = 2,
ACTIONS(174), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(172), 21,
2022-06-01 20:11:52 +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,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1916] = 7,
ACTIONS(128), 1,
2022-06-01 20:23:46 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:23:46 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:19:56 +02:00
anon_sym_DASH,
2022-06-01 20:23:46 +02:00
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:19:56 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:23:46 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
ACTIONS(176), 11,
2022-06-01 20:23:46 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:23:04 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1954] = 2,
ACTIONS(180), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(178), 21,
2022-06-01 20:11:52 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
2022-06-01 20:19:56 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[1982] = 7,
ACTIONS(128), 1,
anon_sym_AMP,
ACTIONS(130), 1,
anon_sym_PIPE,
ACTIONS(120), 2,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
2022-06-01 20:19:56 +02:00
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:18:10 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
ACTIONS(182), 11,
2022-06-01 20:23:46 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[2020] = 2,
ACTIONS(186), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(184), 21,
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,
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:23:46 +02:00
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2048] = 2,
ACTIONS(190), 2,
2022-06-01 20:23:46 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(188), 21,
2022-06-01 20:19:56 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:23:46 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:11:52 +02:00
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2076] = 3,
ACTIONS(122), 2,
2022-06-01 20:18:10 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(194), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(192), 19,
2022-06-01 20:11:52 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
2022-06-01 20:18:10 +02:00
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2106] = 2,
ACTIONS(194), 2,
2022-06-01 20:23:46 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(192), 21,
2022-06-01 20:23:46 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:23:46 +02:00
anon_sym_PLUS,
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:23:46 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:19:56 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
2022-06-01 20:23:04 +02:00
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2134] = 4,
ACTIONS(120), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(122), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(194), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(192), 17,
2022-06-01 20:18:10 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[2166] = 5,
ACTIONS(120), 2,
2022-06-01 20:23:46 +02:00
anon_sym_DASH,
2022-06-01 20:36:14 +02:00
anon_sym_PLUS,
ACTIONS(122), 2,
2022-06-01 20:23:46 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(124), 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:36:14 +02:00
ACTIONS(192), 13,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:19:56 +02:00
anon_sym_AMP,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2200] = 6,
ACTIONS(128), 1,
2022-06-01 20:23:04 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
ACTIONS(192), 12,
2022-06-01 20:23:04 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
anon_sym_PIPE,
2022-06-01 20:23:04 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
2022-06-01 20:23:46 +02:00
anon_sym_else,
2022-06-01 20:23:04 +02:00
anon_sym_do,
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2236] = 2,
ACTIONS(198), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(196), 21,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
2022-06-01 20:23:46 +02:00
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[2264] = 2,
ACTIONS(202), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(200), 21,
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[2292] = 2,
ACTIONS(206), 2,
2022-06-01 20:23:46 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(204), 21,
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,
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:36:14 +02:00
anon_sym_AMP,
anon_sym_PIPE,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_then,
anon_sym_else,
anon_sym_do,
anon_sym_to,
anon_sym_end,
[2320] = 2,
ACTIONS(210), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(208), 21,
2022-06-01 20:23:46 +02:00
ts_builtin_sym_end,
anon_sym_RBRACK,
anon_sym_COMMA,
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
anon_sym_DASH,
anon_sym_STAR,
anon_sym_SLASH,
anon_sym_PLUS,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
anon_sym_AMP,
anon_sym_PIPE,
2022-06-01 20:11:52 +02:00
anon_sym_SEMI,
anon_sym_RBRACE,
2022-06-01 20:18:10 +02:00
anon_sym_then,
anon_sym_else,
2022-06-01 20:19:56 +02:00
anon_sym_do,
2022-06-01 20:23:04 +02:00
anon_sym_to,
2022-06-01 20:36:14 +02:00
anon_sym_end,
[2348] = 9,
ACTIONS(128), 1,
2022-06-01 20:11:52 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(212), 1,
2022-06-01 20:23:46 +02:00
anon_sym_SEMI,
2022-06-01 20:36:14 +02:00
ACTIONS(214), 1,
anon_sym_end,
STATE(85), 1,
2022-06-01 20:23:46 +02:00
aux_sym_sequence_expression_repeat1,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:19:56 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2382] = 9,
ACTIONS(128), 1,
2022-06-01 20:19:56 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:19:56 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(216), 1,
2022-06-01 20:19:56 +02:00
anon_sym_COMMA,
2022-06-01 20:36:14 +02:00
ACTIONS(218), 1,
anon_sym_RBRACE,
STATE(89), 1,
aux_sym_record_expression_repeat1,
ACTIONS(120), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(122), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(126), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(124), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[2416] = 9,
ACTIONS(128), 1,
anon_sym_AMP,
ACTIONS(130), 1,
anon_sym_PIPE,
ACTIONS(212), 1,
anon_sym_SEMI,
ACTIONS(220), 1,
2022-06-01 20:23:04 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
STATE(84), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(120), 2,
2022-06-01 20:19:56 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:19:56 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2450] = 9,
ACTIONS(128), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(222), 1,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:36:14 +02:00
ACTIONS(224), 1,
anon_sym_RPAREN,
STATE(83), 1,
aux_sym_function_call_repeat1,
ACTIONS(120), 2,
2022-06-01 20:11:52 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:11:52 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:11:52 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2484] = 7,
ACTIONS(128), 1,
2022-06-01 20:11:52 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:11:52 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(226), 3,
2022-06-01 20:19:56 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
anon_sym_SEMI,
anon_sym_end,
ACTIONS(124), 4,
anon_sym_GT_EQ,
anon_sym_LT_EQ,
anon_sym_EQ,
anon_sym_LT_GT,
[2514] = 9,
ACTIONS(128), 1,
anon_sym_AMP,
ACTIONS(130), 1,
anon_sym_PIPE,
ACTIONS(212), 1,
anon_sym_SEMI,
ACTIONS(228), 1,
anon_sym_end,
STATE(88), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(120), 2,
anon_sym_DASH,
anon_sym_PLUS,
ACTIONS(122), 2,
anon_sym_STAR,
anon_sym_SLASH,
ACTIONS(126), 2,
anon_sym_LT,
anon_sym_GT,
ACTIONS(124), 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:36:14 +02:00
[2548] = 7,
ACTIONS(128), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(230), 2,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
anon_sym_RBRACE,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2577] = 7,
ACTIONS(128), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(232), 2,
anon_sym_COMMA,
2022-06-01 20:23:46 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2606] = 7,
ACTIONS(128), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(234), 1,
anon_sym_to,
ACTIONS(120), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2634] = 7,
ACTIONS(128), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(236), 1,
anon_sym_do,
ACTIONS(120), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 19:58:40 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 19:58:40 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2662] = 7,
ACTIONS(128), 1,
2022-06-01 19:58:40 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 19:58:40 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(238), 1,
anon_sym_RBRACK,
ACTIONS(120), 2,
2022-06-01 20:07:00 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:07:00 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:07:00 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2690] = 7,
ACTIONS(128), 1,
2022-06-01 20:18:10 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:18:10 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(240), 1,
2022-06-01 20:23:04 +02:00
anon_sym_RBRACK,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:18:10 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:18:10 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:18:10 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2718] = 7,
ACTIONS(128), 1,
2022-06-01 20:07:00 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:07:00 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(242), 1,
ts_builtin_sym_end,
ACTIONS(120), 2,
2022-06-01 19:58:40 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 19:58:40 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 19:58:40 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2746] = 7,
ACTIONS(128), 1,
2022-06-01 20:23:04 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:23:04 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(244), 1,
2022-06-01 20:23:04 +02:00
anon_sym_do,
2022-06-01 20:36:14 +02:00
ACTIONS(120), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2774] = 7,
ACTIONS(128), 1,
2022-06-01 20:23:04 +02:00
anon_sym_AMP,
2022-06-01 20:36:14 +02:00
ACTIONS(130), 1,
2022-06-01 20:23:04 +02:00
anon_sym_PIPE,
2022-06-01 20:36:14 +02:00
ACTIONS(246), 1,
anon_sym_then,
ACTIONS(120), 2,
2022-06-01 20:23:04 +02:00
anon_sym_DASH,
anon_sym_PLUS,
2022-06-01 20:36:14 +02:00
ACTIONS(122), 2,
2022-06-01 20:23:04 +02:00
anon_sym_STAR,
anon_sym_SLASH,
2022-06-01 20:36:14 +02:00
ACTIONS(126), 2,
2022-06-01 20:23:04 +02:00
anon_sym_LT,
anon_sym_GT,
2022-06-01 20:36:14 +02:00
ACTIONS(124), 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:36:14 +02:00
[2802] = 3,
ACTIONS(248), 1,
anon_sym_in,
ACTIONS(250), 1,
anon_sym_import,
STATE(77), 3,
aux_sym__declaration_chunks,
sym__declaration_chunk,
sym_import_declaration,
[2814] = 3,
ACTIONS(250), 1,
anon_sym_import,
ACTIONS(252), 1,
anon_sym_in,
STATE(78), 3,
aux_sym__declaration_chunks,
sym__declaration_chunk,
sym_import_declaration,
[2826] = 3,
ACTIONS(254), 1,
anon_sym_in,
ACTIONS(256), 1,
anon_sym_import,
STATE(78), 3,
aux_sym__declaration_chunks,
sym__declaration_chunk,
sym_import_declaration,
[2838] = 3,
ACTIONS(259), 1,
2022-06-01 19:34:31 +02:00
anon_sym_DQUOTE,
2022-06-01 20:36:14 +02:00
STATE(82), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
2022-06-01 20:36:14 +02:00
ACTIONS(261), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
2022-06-01 20:36:14 +02:00
[2849] = 3,
ACTIONS(263), 1,
anon_sym_SEMI,
STATE(80), 1,
aux_sym_sequence_expression_repeat1,
ACTIONS(226), 2,
anon_sym_RPAREN,
anon_sym_end,
[2860] = 3,
ACTIONS(266), 1,
2022-06-01 19:33:42 +02:00
anon_sym_DQUOTE,
2022-06-01 20:36:14 +02:00
STATE(81), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
2022-06-01 20:36:14 +02:00
ACTIONS(268), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
2022-06-01 20:36:14 +02:00
[2871] = 3,
ACTIONS(271), 1,
2022-06-01 19:33:42 +02:00
anon_sym_DQUOTE,
2022-06-01 20:36:14 +02:00
STATE(81), 1,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_repeat1,
2022-06-01 20:36:14 +02:00
ACTIONS(273), 2,
2022-06-01 19:33:42 +02:00
aux_sym_string_literal_token1,
sym_escape_sequence,
2022-06-01 20:36:14 +02:00
[2882] = 3,
ACTIONS(222), 1,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:36:14 +02:00
ACTIONS(275), 1,
2022-06-01 19:34:31 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
STATE(87), 1,
2022-06-01 20:23:46 +02:00
aux_sym_function_call_repeat1,
2022-06-01 20:36:14 +02:00
[2892] = 3,
ACTIONS(212), 1,
2022-06-01 19:34:31 +02:00
anon_sym_SEMI,
2022-06-01 20:36:14 +02:00
ACTIONS(277), 1,
anon_sym_RPAREN,
STATE(80), 1,
2022-06-01 20:11:52 +02:00
aux_sym_sequence_expression_repeat1,
2022-06-01 20:36:14 +02:00
[2902] = 3,
ACTIONS(212), 1,
2022-06-01 20:23:46 +02:00
anon_sym_SEMI,
2022-06-01 20:36:14 +02:00
ACTIONS(279), 1,
anon_sym_end,
STATE(80), 1,
2022-06-01 20:23:46 +02:00
aux_sym_sequence_expression_repeat1,
2022-06-01 20:36:14 +02:00
[2912] = 3,
ACTIONS(281), 1,
anon_sym_COMMA,
ACTIONS(284), 1,
anon_sym_RBRACE,
STATE(86), 1,
aux_sym_record_expression_repeat1,
[2922] = 3,
ACTIONS(232), 1,
2022-06-01 20:23:04 +02:00
anon_sym_RPAREN,
2022-06-01 20:36:14 +02:00
ACTIONS(286), 1,
2022-06-01 20:23:46 +02:00
anon_sym_COMMA,
2022-06-01 20:36:14 +02:00
STATE(87), 1,
2022-06-01 20:23:04 +02:00
aux_sym_function_call_repeat1,
2022-06-01 20:36:14 +02:00
[2932] = 3,
ACTIONS(212), 1,
anon_sym_SEMI,
ACTIONS(289), 1,
anon_sym_end,
STATE(80), 1,
aux_sym_sequence_expression_repeat1,
[2942] = 3,
ACTIONS(216), 1,
2022-06-01 19:54:09 +02:00
anon_sym_COMMA,
2022-06-01 20:36:14 +02:00
ACTIONS(291), 1,
2022-06-01 20:19:56 +02:00
anon_sym_RBRACE,
2022-06-01 20:36:14 +02:00
STATE(86), 1,
2022-06-01 20:19:56 +02:00
aux_sym_record_expression_repeat1,
2022-06-01 20:36:14 +02:00
[2952] = 2,
ACTIONS(293), 1,
2022-06-01 20:07:00 +02:00
sym_identifier,
2022-06-01 20:36:14 +02:00
ACTIONS(295), 1,
2022-06-01 20:19:56 +02:00
anon_sym_RBRACE,
2022-06-01 20:36:14 +02:00
[2959] = 1,
ACTIONS(297), 2,
anon_sym_in,
anon_sym_import,
[2964] = 2,
ACTIONS(7), 1,
anon_sym_DQUOTE,
STATE(91), 1,
sym_string_literal,
[2971] = 1,
ACTIONS(299), 1,
2022-06-01 20:23:46 +02:00
anon_sym_of,
2022-06-01 20:36:14 +02:00
[2975] = 1,
ACTIONS(301), 1,
2022-06-01 20:23:04 +02:00
sym_identifier,
2022-06-01 20:36:14 +02:00
[2979] = 1,
ACTIONS(303), 1,
anon_sym_EQ,
[2983] = 1,
ACTIONS(305), 1,
anon_sym_COLON_EQ,
[2987] = 1,
ACTIONS(307), 1,
2022-06-01 20:23:46 +02:00
ts_builtin_sym_end,
2022-06-01 20:36:14 +02:00
[2991] = 1,
ACTIONS(309), 1,
sym_identifier,
[2995] = 1,
ACTIONS(311), 1,
2022-06-01 20:23:46 +02:00
sym_identifier,
2022-06-01 20:36:14 +02:00
[2999] = 1,
ACTIONS(313), 1,
anon_sym_EQ,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
2022-06-01 20:36:14 +02:00
[SMALL_STATE(3)] = 53,
[SMALL_STATE(4)] = 106,
[SMALL_STATE(5)] = 145,
[SMALL_STATE(6)] = 198,
[SMALL_STATE(7)] = 251,
[SMALL_STATE(8)] = 301,
[SMALL_STATE(9)] = 351,
[SMALL_STATE(10)] = 401,
[SMALL_STATE(11)] = 451,
[SMALL_STATE(12)] = 501,
[SMALL_STATE(13)] = 551,
[SMALL_STATE(14)] = 601,
[SMALL_STATE(15)] = 651,
[SMALL_STATE(16)] = 701,
[SMALL_STATE(17)] = 751,
[SMALL_STATE(18)] = 801,
[SMALL_STATE(19)] = 851,
[SMALL_STATE(20)] = 901,
[SMALL_STATE(21)] = 951,
[SMALL_STATE(22)] = 1001,
[SMALL_STATE(23)] = 1051,
[SMALL_STATE(24)] = 1101,
[SMALL_STATE(25)] = 1151,
[SMALL_STATE(26)] = 1201,
[SMALL_STATE(27)] = 1251,
[SMALL_STATE(28)] = 1301,
[SMALL_STATE(29)] = 1351,
[SMALL_STATE(30)] = 1382,
[SMALL_STATE(31)] = 1413,
[SMALL_STATE(32)] = 1450,
[SMALL_STATE(33)] = 1480,
[SMALL_STATE(34)] = 1510,
[SMALL_STATE(35)] = 1548,
[SMALL_STATE(36)] = 1586,
[SMALL_STATE(37)] = 1614,
[SMALL_STATE(38)] = 1642,
[SMALL_STATE(39)] = 1670,
[SMALL_STATE(40)] = 1698,
[SMALL_STATE(41)] = 1736,
[SMALL_STATE(42)] = 1764,
[SMALL_STATE(43)] = 1792,
[SMALL_STATE(44)] = 1820,
[SMALL_STATE(45)] = 1860,
[SMALL_STATE(46)] = 1888,
[SMALL_STATE(47)] = 1916,
[SMALL_STATE(48)] = 1954,
[SMALL_STATE(49)] = 1982,
[SMALL_STATE(50)] = 2020,
[SMALL_STATE(51)] = 2048,
[SMALL_STATE(52)] = 2076,
[SMALL_STATE(53)] = 2106,
[SMALL_STATE(54)] = 2134,
[SMALL_STATE(55)] = 2166,
[SMALL_STATE(56)] = 2200,
[SMALL_STATE(57)] = 2236,
[SMALL_STATE(58)] = 2264,
[SMALL_STATE(59)] = 2292,
[SMALL_STATE(60)] = 2320,
[SMALL_STATE(61)] = 2348,
[SMALL_STATE(62)] = 2382,
[SMALL_STATE(63)] = 2416,
[SMALL_STATE(64)] = 2450,
[SMALL_STATE(65)] = 2484,
[SMALL_STATE(66)] = 2514,
[SMALL_STATE(67)] = 2548,
[SMALL_STATE(68)] = 2577,
[SMALL_STATE(69)] = 2606,
[SMALL_STATE(70)] = 2634,
[SMALL_STATE(71)] = 2662,
[SMALL_STATE(72)] = 2690,
[SMALL_STATE(73)] = 2718,
[SMALL_STATE(74)] = 2746,
[SMALL_STATE(75)] = 2774,
[SMALL_STATE(76)] = 2802,
[SMALL_STATE(77)] = 2814,
[SMALL_STATE(78)] = 2826,
[SMALL_STATE(79)] = 2838,
[SMALL_STATE(80)] = 2849,
[SMALL_STATE(81)] = 2860,
[SMALL_STATE(82)] = 2871,
[SMALL_STATE(83)] = 2882,
[SMALL_STATE(84)] = 2892,
[SMALL_STATE(85)] = 2902,
[SMALL_STATE(86)] = 2912,
[SMALL_STATE(87)] = 2922,
[SMALL_STATE(88)] = 2932,
[SMALL_STATE(89)] = 2942,
[SMALL_STATE(90)] = 2952,
[SMALL_STATE(91)] = 2959,
[SMALL_STATE(92)] = 2964,
[SMALL_STATE(93)] = 2971,
[SMALL_STATE(94)] = 2975,
[SMALL_STATE(95)] = 2979,
[SMALL_STATE(96)] = 2983,
[SMALL_STATE(97)] = 2987,
[SMALL_STATE(98)] = 2991,
[SMALL_STATE(99)] = 2995,
[SMALL_STATE(100)] = 2999,
};
static const TSParseActionEntry ts_parse_actions[] = {
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
2022-06-01 20:36:14 +02:00
[3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4),
[5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
[15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
[17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
[21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61),
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48),
[25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66),
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
[29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__lvalue, 1),
[31] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__lvalue, 1), SHIFT(17),
[34] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
[36] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__lvalue, 1),
[38] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
[40] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63),
[42] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
2022-06-01 20:23:46 +02:00
[44] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64),
2022-06-01 20:36:14 +02:00
[46] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[48] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55),
[50] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
[52] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
[54] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67),
[56] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49),
[58] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68),
[60] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35),
[62] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75),
[64] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
[66] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44),
[68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72),
[70] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65),
[72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58),
[74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71),
[76] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47),
[78] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56),
[80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62),
[82] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
[84] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34),
[86] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54),
[88] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52),
[90] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53),
[92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_value, 4, .production_id = 13),
[94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_value, 4, .production_id = 13),
[96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_value, 3, .production_id = 6),
[98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_value, 3, .production_id = 6),
[100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1),
[102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
[106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expr, 1),
[108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
[110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2),
[112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2),
[114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3),
[116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3),
[118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 6, .production_id = 19),
[120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
[124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
[126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26),
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 1),
[134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 2),
[136] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 2),
[138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 12),
[140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 12),
[142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 2),
[144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 2),
[146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 4, .production_id = 11),
[148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 4, .production_id = 11),
[150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_expression, 4, .production_id = 10),
[152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 3, .production_id = 3),
[154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 3, .production_id = 3),
[156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 3),
[158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 3),
[160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 6, .production_id = 18),
[162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 6, .production_id = 18),
[164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 4, .production_id = 9),
[166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 14),
[170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 14),
[172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 15),
[174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 15),
[176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_expression, 6, .production_id = 17),
[178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 3),
[180] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 3),
[182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_expression, 8, .production_id = 23),
[184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_expression, 4),
[186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_expression, 4),
[188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 6, .production_id = 20),
[190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 6, .production_id = 20),
[192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 5),
[194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 5),
[196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_let_expression, 5, .production_id = 16),
[198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_let_expression, 5, .production_id = 16),
[200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_expression, 3, .production_id = 7),
[202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_expression, 3, .production_id = 7),
[204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 7, .production_id = 21),
[206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 7, .production_id = 21),
[208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 8),
[210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 8),
[212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
[214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
[218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
[222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
[224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2),
[228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 4, .production_id = 24),
[232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2),
[234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
[242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1),
[244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
[246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
[248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
[252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2),
[256] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__declaration_chunks, 2), SHIFT_REPEAT(92),
[259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
[261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
[263] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sequence_expression_repeat1, 2), SHIFT_REPEAT(18),
[266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2),
[268] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(81),
[271] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33),
[273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
[275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[281] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 22), SHIFT_REPEAT(94),
[284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, .production_id = 22),
[286] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(12),
[289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
[295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
[297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 2, .production_id = 4),
[299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
[303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[307] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
[311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
[313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
};
#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