From 532c751c36a1f8c33197b018dd6e947b73abbdc4 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 9 Oct 2023 14:39:47 -0400 Subject: [PATCH] Implement new grammar --- Cargo.lock | 167 + Cargo.toml | 1 + corpus/comments.txt | 6 +- corpus/control_flow.txt | 194 +- corpus/functions.txt | 38 +- corpus/lists.txt | 66 +- corpus/maps.txt | 11 +- corpus/match.txt | 170 - corpus/statements.txt | 3 + corpus/tables.txt | 35 +- corpus/while.txt | 17 +- corpus/yield.txt | 43 - grammar.js | 144 +- src/grammar.json | 552 +- src/node-types.json | 237 +- src/parser.c | 16404 +++++++++++++------------------------- 16 files changed, 6343 insertions(+), 11745 deletions(-) create mode 100644 Cargo.lock delete mode 100644 corpus/match.txt delete mode 100644 corpus/yield.txt diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..88323e2 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,167 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "aho-corasick" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab" +dependencies = [ + "memchr", +] + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "cc" +version = "1.0.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +dependencies = [ + "libc", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "crossbeam-deque" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +dependencies = [ + "cfg-if", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +dependencies = [ + "autocfg", + "cfg-if", + "crossbeam-utils", + "memoffset", + "scopeguard", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "either" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" + +[[package]] +name = "libc" +version = "0.2.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" + +[[package]] +name = "memchr" +version = "2.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" + +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + +[[package]] +name = "rayon" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "regex" +version = "1.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebee201405406dbf528b8b672104ae6d6d63e6d118cb10e4d51abbc7b58044ff" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59b23e92ee4318893fa3fe3e6fb365258efbfe6ac6ab30f090cdcbb7aa37efa9" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "tree-sitter" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e747b1f9b7b931ed39a548c1fae149101497de3c1fc8d9e18c62c1a66c683d3d" +dependencies = [ + "cc", + "regex", +] + +[[package]] +name = "tree-sitter-dust" +version = "0.0.1" +dependencies = [ + "cc", + "rayon", + "tree-sitter", +] diff --git a/Cargo.toml b/Cargo.toml index 20c63a5..c196158 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,7 @@ include = [ path = "bindings/rust/lib.rs" [dependencies] +rayon = "1.8.0" tree-sitter = "~0.20.10" [build-dependencies] diff --git a/corpus/comments.txt b/corpus/comments.txt index db187d1..93aa1ed 100644 --- a/corpus/comments.txt +++ b/corpus/comments.txt @@ -13,7 +13,8 @@ not_a_comment (expression (identifier)))) (item - (comment))) + (statement + (comment)))) ================== Partial Line Comments @@ -29,4 +30,5 @@ not_a_comment # comment (expression (identifier)))) (item - (comment))) + (statement + (comment)))) diff --git a/corpus/control_flow.txt b/corpus/control_flow.txt index 9c513f3..0546b5a 100644 --- a/corpus/control_flow.txt +++ b/corpus/control_flow.txt @@ -2,7 +2,7 @@ If ================== -if true then "True" +if true { "True" } --- @@ -10,19 +10,20 @@ if true then "True" (item (statement (if_else - (expression - (value - (boolean))) - (statement + (if (expression (value - (string)))))))) + (boolean))) + (statement + (expression + (value + (string))))))))) ================== If Assignment ================== -x = if true then 1 +x = if true { 1 } --- @@ -31,21 +32,23 @@ x = if true then 1 (statement (assignment (identifier) + (assignment_operator) (statement (if_else - (expression - (value - (boolean))) - (statement + (if (expression (value - (integer)))))))))) + (boolean))) + (statement + (expression + (value + (integer))))))))))) ================== If Else ================== -if false then "True" else "False" +if false { "True" } else { "False" } --- @@ -53,26 +56,29 @@ if false then "True" else "False" (item (statement (if_else - (expression - (value - (boolean))) - (statement + (if (expression (value - (string)))) - (statement - (expression - (value - (string)))))))) + (boolean))) + (statement + (expression + (value + (string))))) + (else + (statement + (expression + (value + (string))))))))) ================== If Else If ================== -if 1 == 1 - then "math is fun" -else if 4 == 9 - then "math is broken" +if 1 == 1 { + "math is fun" +} else if 4 == 9 { + "math is broken" +} --- @@ -80,46 +86,48 @@ else if 4 == 9 (item (statement (if_else - (expression - (logic - (expression - (value - (integer))) - (logic_operator) - (expression - (value - (integer))))) - (statement + (if (expression - (value - (string)))) - (statement - (if_else - (expression - (logic - (expression - (value - (integer))) - (logic_operator) - (expression - (value - (integer))))) - (statement + (logic (expression (value - (string)))))))))) + (integer))) + (logic_operator) + (expression + (value + (integer))))) + (statement + (expression + (value + (string))))) + (else_if + (expression + (logic + (expression + (value + (integer))) + (logic_operator) + (expression + (value + (integer))))) + (statement + (expression + (value + (string))))))))) ================== If Else Else If Else ================== -if false - then "no" -else if false - then "no" -else if 1 + 1 == 9 - then "not the answer" -else "42" +if false { + "no" +} else if false { + "no" +} else if 1 + 1 == 9 { + "not the answer" +} else { + "42" +} --- @@ -127,44 +135,44 @@ else "42" (item (statement (if_else - (expression - (value - (boolean))) - (statement + (if (expression (value - (string)))) - (statement - (if_else + (boolean))) + (statement (expression (value - (boolean))) - (statement + (string))))) + (else_if + (expression + (value + (boolean))) + (statement + (expression + (value + (string))))) + (else_if + (expression + (logic + (expression + (math + (expression + (value + (integer))) + (math_operator) + (expression + (value + (integer))))) + (logic_operator) (expression (value - (string)))) - (statement - (if_else - (expression - (logic - (expression - (math - (expression - (value - (integer))) - (math_operator) - (expression - (value - (integer))))) - (logic_operator) - (expression - (value - (integer))))) - (statement - (expression - (value - (string)))) - (statement - (expression - (value - (string)))))))))))) + (integer))))) + (statement + (expression + (value + (string))))) + (else + (statement + (expression + (value + (string))))))))) diff --git a/corpus/functions.txt b/corpus/functions.txt index 77cb57e..94737e7 100644 --- a/corpus/functions.txt +++ b/corpus/functions.txt @@ -12,10 +12,11 @@ function { "Hiya" } (expression (value (function - (statement - (expression - (value - (string)))))))))) + (item + (statement + (expression + (value + (string))))))))))) ================== Function Call @@ -54,16 +55,17 @@ function { (function (identifier) (identifier) - (statement - (expression - (tool_call - (output + (item + (statement + (expression + (function_call + (identifier) (expression - (identifier)))))) - (statement - (expression - (tool_call - (output + (identifier))))) + (statement + (expression + (function_call + (identifier) (expression (identifier)))))))))))) @@ -98,8 +100,10 @@ Complex Function Call (value (map (identifier) - (value - (integer)) + (expression + (value + (integer))) (identifier) - (value - (integer)))))))))) + (expression + (value + (integer))))))))))) diff --git a/corpus/lists.txt b/corpus/lists.txt index 76df6c8..21f8a60 100644 --- a/corpus/lists.txt +++ b/corpus/lists.txt @@ -12,16 +12,18 @@ List Declaration (expression (value (list - (value - (string)) - (value - (integer)))))))) + (expression + (value + (string))) + (expression + (value + (integer))))))))) ================== List Assignment ================== -foobar = ['answer', 42] +foobar = ['foobar'] --- @@ -30,14 +32,14 @@ foobar = ['answer', 42] (statement (assignment (identifier) + (assignment_operator) (statement (expression (value (list - (value - (string)) - (value - (integer)))))))))) + (expression + (value + (string))))))))))) ================== List Nesting @@ -53,38 +55,18 @@ List Nesting (expression (value (list - (value - (string)) - (value - (list - (value - (integer)) - (value - (list + (expression + (value + (string))) + (expression + (value + (list + (expression (value - (integer)))))))))))) - -================== -Optional Commas -================== - -['answers' [42 [666]]] - ---- - -(root - (item - (statement - (expression - (value - (list - (value - (string)) - (value - (list - (value - (integer)) - (value - (list + (integer))) + (expression (value - (integer)))))))))))) + (list + (expression + (value + (integer))))))))))))))) diff --git a/corpus/maps.txt b/corpus/maps.txt index e76f055..11a0121 100644 --- a/corpus/maps.txt +++ b/corpus/maps.txt @@ -15,8 +15,9 @@ Simple Map (value (map (identifier) - (value - (integer)))))))) + (expression + (value + (integer))))))))) ================== Map Assignment @@ -33,13 +34,15 @@ x = { (statement (assignment (identifier) + (assignment_operator) (statement (expression (value (map (identifier) - (value - (integer)))))))))) + (expression + (value + (integer))))))))))) ================== Map Access diff --git a/corpus/match.txt b/corpus/match.txt deleted file mode 100644 index 9c513f3..0000000 --- a/corpus/match.txt +++ /dev/null @@ -1,170 +0,0 @@ -================== -If -================== - -if true then "True" - ---- - -(root - (item - (statement - (if_else - (expression - (value - (boolean))) - (statement - (expression - (value - (string)))))))) - -================== -If Assignment -================== - -x = if true then 1 - ---- - -(root - (item - (statement - (assignment - (identifier) - (statement - (if_else - (expression - (value - (boolean))) - (statement - (expression - (value - (integer)))))))))) - -================== -If Else -================== - -if false then "True" else "False" - ---- - -(root - (item - (statement - (if_else - (expression - (value - (boolean))) - (statement - (expression - (value - (string)))) - (statement - (expression - (value - (string)))))))) - -================== -If Else If -================== - -if 1 == 1 - then "math is fun" -else if 4 == 9 - then "math is broken" - ---- - -(root - (item - (statement - (if_else - (expression - (logic - (expression - (value - (integer))) - (logic_operator) - (expression - (value - (integer))))) - (statement - (expression - (value - (string)))) - (statement - (if_else - (expression - (logic - (expression - (value - (integer))) - (logic_operator) - (expression - (value - (integer))))) - (statement - (expression - (value - (string)))))))))) - -================== -If Else Else If Else -================== - -if false - then "no" -else if false - then "no" -else if 1 + 1 == 9 - then "not the answer" -else "42" - ---- - -(root - (item - (statement - (if_else - (expression - (value - (boolean))) - (statement - (expression - (value - (string)))) - (statement - (if_else - (expression - (value - (boolean))) - (statement - (expression - (value - (string)))) - (statement - (if_else - (expression - (logic - (expression - (math - (expression - (value - (integer))) - (math_operator) - (expression - (value - (integer))))) - (logic_operator) - (expression - (value - (integer))))) - (statement - (expression - (value - (string)))) - (statement - (expression - (value - (string)))))))))))) diff --git a/corpus/statements.txt b/corpus/statements.txt index f12fa3d..d96448c 100644 --- a/corpus/statements.txt +++ b/corpus/statements.txt @@ -38,6 +38,7 @@ y = "one" (statement (assignment (identifier) + (assignment_operator) (statement (expression (value @@ -46,6 +47,7 @@ y = "one" (statement (assignment (identifier) + (assignment_operator) (statement (expression (value @@ -64,6 +66,7 @@ x = 1 + 1 (statement (assignment (identifier) + (assignment_operator) (expression (math (expression diff --git a/corpus/tables.txt b/corpus/tables.txt index 55e3765..a4c031e 100644 --- a/corpus/tables.txt +++ b/corpus/tables.txt @@ -16,11 +16,15 @@ table { (table (identifier) (identifier) - (list + (expression (value - (string)) - (value - (integer))))))))) + (list + (expression + (value + (string))) + (expression + (value + (integer)))))))))))) ================== Table Assignment @@ -37,17 +41,22 @@ foobar = table { (statement (assignment (identifier) + (assignment_operator) (statement (expression (value (table (identifier) (identifier) - (list + (expression (value - (string)) - (value - (integer))))))))))) + (list + (expression + (value + (string))) + (expression + (value + (integer)))))))))))))) ================== Table Access @@ -86,8 +95,10 @@ insert ['bob was here', 0] into foobar (statement (insert (list - (value - (string)) - (value - (integer))) + (expression + (value + (string))) + (expression + (value + (integer)))) (identifier))))) diff --git a/corpus/while.txt b/corpus/while.txt index a1be1d8..2da8779 100644 --- a/corpus/while.txt +++ b/corpus/while.txt @@ -3,7 +3,7 @@ While Loop ================== while true { - (output "This is a bad idea...") + (print "This is a bad idea...") } --- @@ -18,17 +18,17 @@ while true { (item (statement (expression - (tool_call - (output - (expression - (value - (string)))))))))))) + (function_call + (tool) + (expression + (value + (string))))))))))) ================== -While Assignment +While Loop Assignment ================== -foo = while true { +answer = while false { 42 } @@ -39,6 +39,7 @@ foo = while true { (statement (assignment (identifier) + (assignment_operator) (statement (while (expression diff --git a/corpus/yield.txt b/corpus/yield.txt deleted file mode 100644 index ce9f22a..0000000 --- a/corpus/yield.txt +++ /dev/null @@ -1,43 +0,0 @@ -================== -Simple Yield -================== - -1 -> output - ---- - -(root - (item - (statement - (yield - (expression - (value - (integer))) - (expression - (identifier)))))) - -================== -Complex Yield -================== - -1 + 1 -> to_string -> output - ---- - -(root - (item - (statement - (yield - (expression - (math - (expression - (value - (integer))) - (math_operator) - (expression - (value - (integer))))) - (expression - (identifier)) - (expression - (identifier)))))) diff --git a/grammar.js b/grammar.js index d6b086c..a6c61f6 100644 --- a/grammar.js +++ b/grammar.js @@ -6,38 +6,24 @@ module.exports = grammar({ rules: { root: $ => repeat1($.item), - item: $ => choice( - $.comment, - $.statement, - ), - - comment: $ => seq('#', /.*/), // TODO: New comment that can be used anyhere. - // Keep this comment type for later use. + item: $ => prec.left(repeat1($.statement)), statement: $ => choice( + $.comment, $.assignment, $.expression, $.if_else, - $.yield, $.insert, $.select, - $.loop, - $.match, $.while, ), - yield: $ => seq( - $.expression, - '->', - $.expression, - repeat(prec.left(seq('->', $.expression))) - ), + comment: $ => seq(/[#]+.*/), expression: $ => prec.right(choice( $.value, $.identifier, $.function_call, - $.tool_call, $.math, $.logic, )), @@ -68,7 +54,7 @@ module.exports = grammar({ list: $ => seq( '[', - repeat1(seq($.value, optional(','))), + repeat(seq($.expression, optional(','))), ']' ), @@ -76,7 +62,7 @@ module.exports = grammar({ 'function', optional(seq('<', repeat(seq($.identifier, optional(','))), '>')), '{', - repeat1($.item), + $.item, '}', ), @@ -84,13 +70,13 @@ module.exports = grammar({ 'table', seq('<', repeat1(seq($.identifier, optional(','))), '>'), '{', - repeat($.list), + repeat($.expression), '}', ), map: $ => seq( '{', - repeat(seq($.identifier, "=", $.value)), // TODO: Replace value with expression + repeat(seq($.identifier, "=", $.expression)), '}', ), @@ -119,48 +105,56 @@ module.exports = grammar({ '!=', '&&', '||', + '>', + '<', + ">=", + "<=", ), assignment: $ => prec.right(seq( $.identifier, - choice("=", "+=", "-="), + $.assignment_operator, $.statement, )), - select: $ => prec.right(seq( - 'select', - $.identifier, - 'from', - $.identifier, - optional( - seq('where', $.expression) - ), + assignment_operator: $ => choice( + "=", + "+=", + "-=", + ), + + if_else: $ => prec.left(seq( + $.if, + repeat(seq($.else_if)), + optional(seq($.else)), )), - insert: $ => prec.right(1, seq( - 'insert', - repeat1($.list), - 'into', - $.identifier, - optional( - seq('where', $.logic) - ), - )), - - if_else: $ => prec.left(1, seq( + if: $ => seq( 'if', $.expression, - 'then', + '{', $.statement, - optional(seq( - 'else', - $.statement, - )), - )), + '}', + ), + + else_if: $ => seq( + 'else if', + $.expression, + '{', + $.statement, + '}', + ), + + else: $ => seq( + 'else', + '{', + $.statement, + '}', + ), function_call: $ => prec.right(seq( '(', - $.identifier, + choice($.identifier, $.tool), repeat(seq($.expression, optional(','))), ')', )), @@ -173,36 +167,40 @@ module.exports = grammar({ '}', ), - loop: $ => seq( - 'loop', + for: $ => seq( + 'for', + $.identifier, + 'in', + $.expression, '{', - repeat($.statement), - 'break', - optional($.value), + $.item, '}', ), - match: $ => prec.right(seq( - 'match', - $.expression, - repeat1(seq($.expression, '=>', $.statement)), - 'catch', - $.statement - )), - - tool_call: $ => prec.right(1, seq( - '(', - $._tool, - ')', - )), - - _tool: $ => choice( - $.input, - $.output, + tool: $ => choice( + 'print', + 'read', + 'write', ), - input: $ => seq('input', $.expression), - output: $ => seq('output', $.expression), - read: $ => seq('read', $.expression), + select: $ => prec.right(seq( + 'select', + $.identifier, + 'from', + $.identifier, + optional( + seq('where', $.expression) + ), + )), + + insert: $ => prec.right(seq( + 'insert', + repeat1($.list), + 'into', + $.identifier, + optional( + seq('where', $.logic) + ), + )), } }); diff --git a/src/grammar.json b/src/grammar.json index 57a8889..b73434c 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -10,34 +10,23 @@ } }, "item": { + "type": "PREC_LEFT", + "value": 0, + "content": { + "type": "REPEAT1", + "content": { + "type": "SYMBOL", + "name": "statement" + } + } + }, + "statement": { "type": "CHOICE", "members": [ { "type": "SYMBOL", "name": "comment" }, - { - "type": "SYMBOL", - "name": "statement" - } - ] - }, - "comment": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "#" - }, - { - "type": "PATTERN", - "value": ".*" - } - ] - }, - "statement": { - "type": "CHOICE", - "members": [ { "type": "SYMBOL", "name": "assignment" @@ -50,10 +39,6 @@ "type": "SYMBOL", "name": "if_else" }, - { - "type": "SYMBOL", - "name": "yield" - }, { "type": "SYMBOL", "name": "insert" @@ -62,54 +47,18 @@ "type": "SYMBOL", "name": "select" }, - { - "type": "SYMBOL", - "name": "loop" - }, - { - "type": "SYMBOL", - "name": "match" - }, { "type": "SYMBOL", "name": "while" } ] }, - "yield": { + "comment": { "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "STRING", - "value": "->" - }, - { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "REPEAT", - "content": { - "type": "PREC_LEFT", - "value": 0, - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "->" - }, - { - "type": "SYMBOL", - "name": "expression" - } - ] - } - } + "type": "PATTERN", + "value": "[#]+.*" } ] }, @@ -131,10 +80,6 @@ "type": "SYMBOL", "name": "function_call" }, - { - "type": "SYMBOL", - "name": "tool_call" - }, { "type": "SYMBOL", "name": "math" @@ -220,13 +165,13 @@ "value": "[" }, { - "type": "REPEAT1", + "type": "REPEAT", "content": { "type": "SEQ", "members": [ { "type": "SYMBOL", - "name": "value" + "name": "expression" }, { "type": "CHOICE", @@ -306,11 +251,8 @@ "value": "{" }, { - "type": "REPEAT1", - "content": { - "type": "SYMBOL", - "name": "item" - } + "type": "SYMBOL", + "name": "item" }, { "type": "STRING", @@ -370,7 +312,7 @@ "type": "REPEAT", "content": { "type": "SYMBOL", - "name": "list" + "name": "expression" } }, { @@ -401,7 +343,7 @@ }, { "type": "SYMBOL", - "name": "value" + "name": "expression" } ] } @@ -497,6 +439,22 @@ { "type": "STRING", "value": "||" + }, + { + "type": "STRING", + "value": ">" + }, + { + "type": "STRING", + "value": "<" + }, + { + "type": "STRING", + "value": ">=" + }, + { + "type": "STRING", + "value": "<=" } ] }, @@ -511,21 +469,8 @@ "name": "identifier" }, { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "=" - }, - { - "type": "STRING", - "value": "+=" - }, - { - "type": "STRING", - "value": "-=" - } - ] + "type": "SYMBOL", + "name": "assignment_operator" }, { "type": "SYMBOL", @@ -534,90 +479,54 @@ ] } }, - "select": { - "type": "PREC_RIGHT", + "assignment_operator": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "=" + }, + { + "type": "STRING", + "value": "+=" + }, + { + "type": "STRING", + "value": "-=" + } + ] + }, + "if_else": { + "type": "PREC_LEFT", "value": 0, "content": { "type": "SEQ", "members": [ - { - "type": "STRING", - "value": "select" - }, { "type": "SYMBOL", - "name": "identifier" + "name": "if" }, { - "type": "STRING", - "value": "from" - }, - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "where" - }, - { - "type": "SYMBOL", - "name": "expression" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } - }, - "insert": { - "type": "PREC_RIGHT", - "value": 1, - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "insert" - }, - { - "type": "REPEAT1", + "type": "REPEAT", "content": { - "type": "SYMBOL", - "name": "list" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "else_if" + } + ] } }, - { - "type": "STRING", - "value": "into" - }, - { - "type": "SYMBOL", - "name": "identifier" - }, { "type": "CHOICE", "members": [ { "type": "SEQ", "members": [ - { - "type": "STRING", - "value": "where" - }, { "type": "SYMBOL", - "name": "logic" + "name": "else" } ] }, @@ -629,51 +538,76 @@ ] } }, - "if_else": { - "type": "PREC_LEFT", - "value": 1, - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "if" - }, - { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "STRING", - "value": "then" - }, - { - "type": "SYMBOL", - "name": "statement" - }, - { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "else" - }, - { - "type": "SYMBOL", - "name": "statement" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } + "if": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "if" + }, + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "STRING", + "value": "{" + }, + { + "type": "SYMBOL", + "name": "statement" + }, + { + "type": "STRING", + "value": "}" + } + ] + }, + "else_if": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "else if" + }, + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "STRING", + "value": "{" + }, + { + "type": "SYMBOL", + "name": "statement" + }, + { + "type": "STRING", + "value": "}" + } + ] + }, + "else": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "else" + }, + { + "type": "STRING", + "value": "{" + }, + { + "type": "SYMBOL", + "name": "statement" + }, + { + "type": "STRING", + "value": "}" + } + ] }, "function_call": { "type": "PREC_RIGHT", @@ -686,8 +620,17 @@ "value": "(" }, { - "type": "SYMBOL", - "name": "identifier" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "tool" + } + ] }, { "type": "REPEAT", @@ -745,39 +688,32 @@ } ] }, - "loop": { + "for": { "type": "SEQ", "members": [ { "type": "STRING", - "value": "loop" + "value": "for" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "in" + }, + { + "type": "SYMBOL", + "name": "expression" }, { "type": "STRING", "value": "{" }, { - "type": "REPEAT", - "content": { - "type": "SYMBOL", - "name": "statement" - } - }, - { - "type": "STRING", - "value": "break" - }, - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "value" - }, - { - "type": "BLANK" - } - ] + "type": "SYMBOL", + "name": "item" }, { "type": "STRING", @@ -785,7 +721,24 @@ } ] }, - "match": { + "tool": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "print" + }, + { + "type": "STRING", + "value": "read" + }, + { + "type": "STRING", + "value": "write" + } + ] + }, + "select": { "type": "PREC_RIGHT", "value": 0, "content": { @@ -793,115 +746,92 @@ "members": [ { "type": "STRING", - "value": "match" + "value": "select" }, { "type": "SYMBOL", - "name": "expression" - }, - { - "type": "REPEAT1", - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "STRING", - "value": "=>" - }, - { - "type": "SYMBOL", - "name": "statement" - } - ] - } + "name": "identifier" }, { "type": "STRING", - "value": "catch" + "value": "from" }, { "type": "SYMBOL", - "name": "statement" + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "where" + }, + { + "type": "SYMBOL", + "name": "expression" + } + ] + }, + { + "type": "BLANK" + } + ] } ] } }, - "tool_call": { + "insert": { "type": "PREC_RIGHT", - "value": 1, + "value": 0, "content": { "type": "SEQ", "members": [ { "type": "STRING", - "value": "(" + "value": "insert" }, { - "type": "SYMBOL", - "name": "_tool" + "type": "REPEAT1", + "content": { + "type": "SYMBOL", + "name": "list" + } }, { "type": "STRING", - "value": ")" + "value": "into" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "where" + }, + { + "type": "SYMBOL", + "name": "logic" + } + ] + }, + { + "type": "BLANK" + } + ] } ] } - }, - "_tool": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "input" - }, - { - "type": "SYMBOL", - "name": "output" - } - ] - }, - "input": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "input" - }, - { - "type": "SYMBOL", - "name": "expression" - } - ] - }, - "output": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "output" - }, - { - "type": "SYMBOL", - "name": "expression" - } - ] - }, - "read": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "read" - }, - { - "type": "SYMBOL", - "name": "expression" - } - ] } }, "extras": [ diff --git a/src/node-types.json b/src/node-types.json index 9ec3dd1..7cb45c8 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -7,6 +7,10 @@ "multiple": true, "required": true, "types": [ + { + "type": "assignment_operator", + "named": true + }, { "type": "identifier", "named": true @@ -18,6 +22,11 @@ ] } }, + { + "type": "assignment_operator", + "named": true, + "fields": {} + }, { "type": "boolean", "named": true, @@ -28,6 +37,40 @@ "named": true, "fields": {} }, + { + "type": "else", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "statement", + "named": true + } + ] + } + }, + { + "type": "else_if", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "statement", + "named": true + } + ] + } + }, { "type": "expression", "named": true, @@ -52,10 +95,6 @@ "type": "math", "named": true }, - { - "type": "tool_call", - "named": true - }, { "type": "value", "named": true @@ -97,12 +136,16 @@ { "type": "identifier", "named": true + }, + { + "type": "tool", + "named": true } ] } }, { - "type": "if_else", + "type": "if", "named": true, "fields": {}, "children": { @@ -121,15 +164,23 @@ } }, { - "type": "input", + "type": "if_else", "named": true, "fields": {}, "children": { - "multiple": false, + "multiple": true, "required": true, "types": [ { - "type": "expression", + "type": "else", + "named": true + }, + { + "type": "else_if", + "named": true + }, + { + "type": "if", "named": true } ] @@ -163,13 +214,9 @@ "named": true, "fields": {}, "children": { - "multiple": false, + "multiple": true, "required": true, "types": [ - { - "type": "comment", - "named": true - }, { "type": "statement", "named": true @@ -183,10 +230,10 @@ "fields": {}, "children": { "multiple": true, - "required": true, + "required": false, "types": [ { - "type": "value", + "type": "expression", "named": true } ] @@ -216,25 +263,6 @@ "named": true, "fields": {} }, - { - "type": "loop", - "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "statement", - "named": true - }, - { - "type": "value", - "named": true - } - ] - } - }, { "type": "map", "named": true, @@ -242,32 +270,13 @@ "children": { "multiple": true, "required": false, - "types": [ - { - "type": "identifier", - "named": true - }, - { - "type": "value", - "named": true - } - ] - } - }, - { - "type": "match", - "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, "types": [ { "type": "expression", "named": true }, { - "type": "statement", + "type": "identifier", "named": true } ] @@ -297,21 +306,6 @@ "named": true, "fields": {} }, - { - "type": "output", - "named": true, - "fields": {}, - "children": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - } - }, { "type": "root", "named": true, @@ -358,6 +352,10 @@ "type": "assignment", "named": true }, + { + "type": "comment", + "named": true + }, { "type": "expression", "named": true @@ -370,14 +368,6 @@ "type": "insert", "named": true }, - { - "type": "loop", - "named": true - }, - { - "type": "match", - "named": true - }, { "type": "select", "named": true @@ -385,10 +375,6 @@ { "type": "while", "named": true - }, - { - "type": "yield", - "named": true } ] } @@ -402,34 +388,20 @@ "required": true, "types": [ { - "type": "identifier", + "type": "expression", "named": true }, { - "type": "list", + "type": "identifier", "named": true } ] } }, { - "type": "tool_call", + "type": "tool", "named": true, - "fields": {}, - "children": { - "multiple": false, - "required": true, - "types": [ - { - "type": "input", - "named": true - }, - { - "type": "output", - "named": true - } - ] - } + "fields": {} }, { "type": "value", @@ -493,29 +465,10 @@ ] } }, - { - "type": "yield", - "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - } - }, { "type": "!=", "named": false }, - { - "type": "#", - "named": false - }, { "type": "%", "named": false @@ -556,10 +509,6 @@ "type": "-=", "named": false }, - { - "type": "->", - "named": false - }, { "type": "/", "named": false @@ -568,6 +517,10 @@ "type": "<", "named": false }, + { + "type": "<=", + "named": false + }, { "type": "=", "named": false @@ -577,11 +530,11 @@ "named": false }, { - "type": "=>", + "type": ">", "named": false }, { - "type": ">", + "type": ">=", "named": false }, { @@ -592,18 +545,14 @@ "type": "]", "named": false }, - { - "type": "break", - "named": false - }, - { - "type": "catch", - "named": false - }, { "type": "else", "named": false }, + { + "type": "else if", + "named": false + }, { "type": "false", "named": false @@ -612,6 +561,10 @@ "type": "float", "named": true }, + { + "type": "for", + "named": false + }, { "type": "from", "named": false @@ -629,7 +582,7 @@ "named": false }, { - "type": "input", + "type": "in", "named": false }, { @@ -645,15 +598,7 @@ "named": false }, { - "type": "loop", - "named": false - }, - { - "type": "match", - "named": false - }, - { - "type": "output", + "type": "print", "named": false }, { @@ -672,10 +617,6 @@ "type": "table", "named": false }, - { - "type": "then", - "named": false - }, { "type": "true", "named": false @@ -688,6 +629,10 @@ "type": "while", "named": false }, + { + "type": "write", + "named": false + }, { "type": "{", "named": false diff --git a/src/parser.c b/src/parser.c index b44976a..c0f1233 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,11 +6,11 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 360 +#define STATE_COUNT 210 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 87 +#define SYMBOL_COUNT 81 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 50 +#define TOKEN_COUNT 47 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 7 @@ -18,99 +18,91 @@ enum { sym_identifier = 1, - anon_sym_POUND = 2, - aux_sym_comment_token1 = 3, - anon_sym_DASH_GT = 4, - sym_integer = 5, - sym_float = 6, - sym_string = 7, - anon_sym_true = 8, - anon_sym_false = 9, - anon_sym_LBRACK = 10, - anon_sym_COMMA = 11, - anon_sym_RBRACK = 12, - anon_sym_function = 13, - anon_sym_LT = 14, - anon_sym_GT = 15, - anon_sym_LBRACE = 16, - anon_sym_RBRACE = 17, - anon_sym_table = 18, - anon_sym_EQ = 19, - anon_sym_PLUS = 20, - anon_sym_DASH = 21, - anon_sym_STAR = 22, - anon_sym_SLASH = 23, - anon_sym_PERCENT = 24, - anon_sym_EQ_EQ = 25, - anon_sym_BANG_EQ = 26, - anon_sym_AMP_AMP = 27, - anon_sym_PIPE_PIPE = 28, + aux_sym_comment_token1 = 2, + sym_integer = 3, + sym_float = 4, + sym_string = 5, + anon_sym_true = 6, + anon_sym_false = 7, + anon_sym_LBRACK = 8, + anon_sym_COMMA = 9, + anon_sym_RBRACK = 10, + anon_sym_function = 11, + anon_sym_LT = 12, + anon_sym_GT = 13, + anon_sym_LBRACE = 14, + anon_sym_RBRACE = 15, + anon_sym_table = 16, + anon_sym_EQ = 17, + anon_sym_PLUS = 18, + anon_sym_DASH = 19, + anon_sym_STAR = 20, + anon_sym_SLASH = 21, + anon_sym_PERCENT = 22, + anon_sym_EQ_EQ = 23, + anon_sym_BANG_EQ = 24, + anon_sym_AMP_AMP = 25, + anon_sym_PIPE_PIPE = 26, + anon_sym_GT_EQ = 27, + anon_sym_LT_EQ = 28, anon_sym_PLUS_EQ = 29, anon_sym_DASH_EQ = 30, - anon_sym_select = 31, - anon_sym_from = 32, - anon_sym_where = 33, - anon_sym_insert = 34, - anon_sym_into = 35, - anon_sym_if = 36, - anon_sym_then = 37, - anon_sym_else = 38, - anon_sym_LPAREN = 39, - anon_sym_RPAREN = 40, - anon_sym_while = 41, - anon_sym_loop = 42, - anon_sym_break = 43, - anon_sym_match = 44, - anon_sym_EQ_GT = 45, - anon_sym_catch = 46, - anon_sym_input = 47, - anon_sym_output = 48, - anon_sym_read = 49, - sym_root = 50, - sym_item = 51, - sym_comment = 52, - sym_statement = 53, - sym_yield = 54, - sym_expression = 55, - sym_value = 56, - sym_boolean = 57, - sym_list = 58, - sym_function = 59, - sym_table = 60, - sym_map = 61, - sym_math = 62, - sym_math_operator = 63, - sym_logic = 64, - sym_logic_operator = 65, - sym_assignment = 66, - sym_select = 67, - sym_insert = 68, - sym_if_else = 69, - sym_function_call = 70, - sym_while = 71, - sym_loop = 72, - sym_match = 73, - sym_tool_call = 74, - sym__tool = 75, - sym_input = 76, - sym_output = 77, - aux_sym_root_repeat1 = 78, - aux_sym_yield_repeat1 = 79, - aux_sym_list_repeat1 = 80, - aux_sym_function_repeat1 = 81, - aux_sym_table_repeat1 = 82, - aux_sym_map_repeat1 = 83, - aux_sym_function_call_repeat1 = 84, - aux_sym_loop_repeat1 = 85, - aux_sym_match_repeat1 = 86, + anon_sym_if = 31, + anon_sym_elseif = 32, + anon_sym_else = 33, + anon_sym_LPAREN = 34, + anon_sym_RPAREN = 35, + anon_sym_while = 36, + anon_sym_for = 37, + anon_sym_in = 38, + anon_sym_print = 39, + anon_sym_read = 40, + anon_sym_write = 41, + anon_sym_select = 42, + anon_sym_from = 43, + anon_sym_where = 44, + anon_sym_insert = 45, + anon_sym_into = 46, + sym_root = 47, + sym_item = 48, + sym_statement = 49, + sym_comment = 50, + sym_expression = 51, + sym_value = 52, + sym_boolean = 53, + sym_list = 54, + sym_function = 55, + sym_table = 56, + sym_map = 57, + sym_math = 58, + sym_math_operator = 59, + sym_logic = 60, + sym_logic_operator = 61, + sym_assignment = 62, + sym_assignment_operator = 63, + sym_if_else = 64, + sym_if = 65, + sym_else_if = 66, + sym_else = 67, + sym_function_call = 68, + sym_while = 69, + sym_tool = 70, + sym_select = 71, + sym_insert = 72, + aux_sym_root_repeat1 = 73, + aux_sym_item_repeat1 = 74, + aux_sym_list_repeat1 = 75, + aux_sym_function_repeat1 = 76, + aux_sym_table_repeat1 = 77, + aux_sym_map_repeat1 = 78, + aux_sym_if_else_repeat1 = 79, + aux_sym_insert_repeat1 = 80, }; static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", [sym_identifier] = "identifier", - [anon_sym_POUND] = "#", [aux_sym_comment_token1] = "comment_token1", - [anon_sym_DASH_GT] = "->", [sym_integer] = "integer", [sym_float] = "float", [sym_string] = "string", @@ -135,32 +127,30 @@ static const char * const ts_symbol_names[] = { [anon_sym_BANG_EQ] = "!=", [anon_sym_AMP_AMP] = "&&", [anon_sym_PIPE_PIPE] = "||", + [anon_sym_GT_EQ] = ">=", + [anon_sym_LT_EQ] = "<=", [anon_sym_PLUS_EQ] = "+=", [anon_sym_DASH_EQ] = "-=", + [anon_sym_if] = "if", + [anon_sym_elseif] = "else if", + [anon_sym_else] = "else", + [anon_sym_LPAREN] = "(", + [anon_sym_RPAREN] = ")", + [anon_sym_while] = "while", + [anon_sym_for] = "for", + [anon_sym_in] = "in", + [anon_sym_print] = "print", + [anon_sym_read] = "read", + [anon_sym_write] = "write", [anon_sym_select] = "select", [anon_sym_from] = "from", [anon_sym_where] = "where", [anon_sym_insert] = "insert", [anon_sym_into] = "into", - [anon_sym_if] = "if", - [anon_sym_then] = "then", - [anon_sym_else] = "else", - [anon_sym_LPAREN] = "(", - [anon_sym_RPAREN] = ")", - [anon_sym_while] = "while", - [anon_sym_loop] = "loop", - [anon_sym_break] = "break", - [anon_sym_match] = "match", - [anon_sym_EQ_GT] = "=>", - [anon_sym_catch] = "catch", - [anon_sym_input] = "input", - [anon_sym_output] = "output", - [anon_sym_read] = "read", [sym_root] = "root", [sym_item] = "item", - [sym_comment] = "comment", [sym_statement] = "statement", - [sym_yield] = "yield", + [sym_comment] = "comment", [sym_expression] = "expression", [sym_value] = "value", [sym_boolean] = "boolean", @@ -173,34 +163,30 @@ static const char * const ts_symbol_names[] = { [sym_logic] = "logic", [sym_logic_operator] = "logic_operator", [sym_assignment] = "assignment", - [sym_select] = "select", - [sym_insert] = "insert", + [sym_assignment_operator] = "assignment_operator", [sym_if_else] = "if_else", + [sym_if] = "if", + [sym_else_if] = "else_if", + [sym_else] = "else", [sym_function_call] = "function_call", [sym_while] = "while", - [sym_loop] = "loop", - [sym_match] = "match", - [sym_tool_call] = "tool_call", - [sym__tool] = "_tool", - [sym_input] = "input", - [sym_output] = "output", + [sym_tool] = "tool", + [sym_select] = "select", + [sym_insert] = "insert", [aux_sym_root_repeat1] = "root_repeat1", - [aux_sym_yield_repeat1] = "yield_repeat1", + [aux_sym_item_repeat1] = "item_repeat1", [aux_sym_list_repeat1] = "list_repeat1", [aux_sym_function_repeat1] = "function_repeat1", [aux_sym_table_repeat1] = "table_repeat1", [aux_sym_map_repeat1] = "map_repeat1", - [aux_sym_function_call_repeat1] = "function_call_repeat1", - [aux_sym_loop_repeat1] = "loop_repeat1", - [aux_sym_match_repeat1] = "match_repeat1", + [aux_sym_if_else_repeat1] = "if_else_repeat1", + [aux_sym_insert_repeat1] = "insert_repeat1", }; static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, [sym_identifier] = sym_identifier, - [anon_sym_POUND] = anon_sym_POUND, [aux_sym_comment_token1] = aux_sym_comment_token1, - [anon_sym_DASH_GT] = anon_sym_DASH_GT, [sym_integer] = sym_integer, [sym_float] = sym_float, [sym_string] = sym_string, @@ -225,32 +211,30 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_BANG_EQ] = anon_sym_BANG_EQ, [anon_sym_AMP_AMP] = anon_sym_AMP_AMP, [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE, + [anon_sym_GT_EQ] = anon_sym_GT_EQ, + [anon_sym_LT_EQ] = anon_sym_LT_EQ, [anon_sym_PLUS_EQ] = anon_sym_PLUS_EQ, [anon_sym_DASH_EQ] = anon_sym_DASH_EQ, + [anon_sym_if] = anon_sym_if, + [anon_sym_elseif] = anon_sym_elseif, + [anon_sym_else] = anon_sym_else, + [anon_sym_LPAREN] = anon_sym_LPAREN, + [anon_sym_RPAREN] = anon_sym_RPAREN, + [anon_sym_while] = anon_sym_while, + [anon_sym_for] = anon_sym_for, + [anon_sym_in] = anon_sym_in, + [anon_sym_print] = anon_sym_print, + [anon_sym_read] = anon_sym_read, + [anon_sym_write] = anon_sym_write, [anon_sym_select] = anon_sym_select, [anon_sym_from] = anon_sym_from, [anon_sym_where] = anon_sym_where, [anon_sym_insert] = anon_sym_insert, [anon_sym_into] = anon_sym_into, - [anon_sym_if] = anon_sym_if, - [anon_sym_then] = anon_sym_then, - [anon_sym_else] = anon_sym_else, - [anon_sym_LPAREN] = anon_sym_LPAREN, - [anon_sym_RPAREN] = anon_sym_RPAREN, - [anon_sym_while] = anon_sym_while, - [anon_sym_loop] = anon_sym_loop, - [anon_sym_break] = anon_sym_break, - [anon_sym_match] = anon_sym_match, - [anon_sym_EQ_GT] = anon_sym_EQ_GT, - [anon_sym_catch] = anon_sym_catch, - [anon_sym_input] = anon_sym_input, - [anon_sym_output] = anon_sym_output, - [anon_sym_read] = anon_sym_read, [sym_root] = sym_root, [sym_item] = sym_item, - [sym_comment] = sym_comment, [sym_statement] = sym_statement, - [sym_yield] = sym_yield, + [sym_comment] = sym_comment, [sym_expression] = sym_expression, [sym_value] = sym_value, [sym_boolean] = sym_boolean, @@ -263,26 +247,24 @@ static const TSSymbol ts_symbol_map[] = { [sym_logic] = sym_logic, [sym_logic_operator] = sym_logic_operator, [sym_assignment] = sym_assignment, - [sym_select] = sym_select, - [sym_insert] = sym_insert, + [sym_assignment_operator] = sym_assignment_operator, [sym_if_else] = sym_if_else, + [sym_if] = sym_if, + [sym_else_if] = sym_else_if, + [sym_else] = sym_else, [sym_function_call] = sym_function_call, [sym_while] = sym_while, - [sym_loop] = sym_loop, - [sym_match] = sym_match, - [sym_tool_call] = sym_tool_call, - [sym__tool] = sym__tool, - [sym_input] = sym_input, - [sym_output] = sym_output, + [sym_tool] = sym_tool, + [sym_select] = sym_select, + [sym_insert] = sym_insert, [aux_sym_root_repeat1] = aux_sym_root_repeat1, - [aux_sym_yield_repeat1] = aux_sym_yield_repeat1, + [aux_sym_item_repeat1] = aux_sym_item_repeat1, [aux_sym_list_repeat1] = aux_sym_list_repeat1, [aux_sym_function_repeat1] = aux_sym_function_repeat1, [aux_sym_table_repeat1] = aux_sym_table_repeat1, [aux_sym_map_repeat1] = aux_sym_map_repeat1, - [aux_sym_function_call_repeat1] = aux_sym_function_call_repeat1, - [aux_sym_loop_repeat1] = aux_sym_loop_repeat1, - [aux_sym_match_repeat1] = aux_sym_match_repeat1, + [aux_sym_if_else_repeat1] = aux_sym_if_else_repeat1, + [aux_sym_insert_repeat1] = aux_sym_insert_repeat1, }; static const TSSymbolMetadata ts_symbol_metadata[] = { @@ -294,18 +276,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [anon_sym_POUND] = { - .visible = true, - .named = false, - }, [aux_sym_comment_token1] = { .visible = false, .named = false, }, - [anon_sym_DASH_GT] = { - .visible = true, - .named = false, - }, [sym_integer] = { .visible = true, .named = true, @@ -402,6 +376,14 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_GT_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_LT_EQ] = { + .visible = true, + .named = false, + }, [anon_sym_PLUS_EQ] = { .visible = true, .named = false, @@ -410,6 +392,50 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_if] = { + .visible = true, + .named = false, + }, + [anon_sym_elseif] = { + .visible = true, + .named = false, + }, + [anon_sym_else] = { + .visible = true, + .named = false, + }, + [anon_sym_LPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_RPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_while] = { + .visible = true, + .named = false, + }, + [anon_sym_for] = { + .visible = true, + .named = false, + }, + [anon_sym_in] = { + .visible = true, + .named = false, + }, + [anon_sym_print] = { + .visible = true, + .named = false, + }, + [anon_sym_read] = { + .visible = true, + .named = false, + }, + [anon_sym_write] = { + .visible = true, + .named = false, + }, [anon_sym_select] = { .visible = true, .named = false, @@ -430,62 +456,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_if] = { - .visible = true, - .named = false, - }, - [anon_sym_then] = { - .visible = true, - .named = false, - }, - [anon_sym_else] = { - .visible = true, - .named = false, - }, - [anon_sym_LPAREN] = { - .visible = true, - .named = false, - }, - [anon_sym_RPAREN] = { - .visible = true, - .named = false, - }, - [anon_sym_while] = { - .visible = true, - .named = false, - }, - [anon_sym_loop] = { - .visible = true, - .named = false, - }, - [anon_sym_break] = { - .visible = true, - .named = false, - }, - [anon_sym_match] = { - .visible = true, - .named = false, - }, - [anon_sym_EQ_GT] = { - .visible = true, - .named = false, - }, - [anon_sym_catch] = { - .visible = true, - .named = false, - }, - [anon_sym_input] = { - .visible = true, - .named = false, - }, - [anon_sym_output] = { - .visible = true, - .named = false, - }, - [anon_sym_read] = { - .visible = true, - .named = false, - }, [sym_root] = { .visible = true, .named = true, @@ -494,15 +464,11 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_comment] = { - .visible = true, - .named = true, - }, [sym_statement] = { .visible = true, .named = true, }, - [sym_yield] = { + [sym_comment] = { .visible = true, .named = true, }, @@ -554,11 +520,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_select] = { - .visible = true, - .named = true, - }, - [sym_insert] = { + [sym_assignment_operator] = { .visible = true, .named = true, }, @@ -566,6 +528,18 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_if] = { + .visible = true, + .named = true, + }, + [sym_else_if] = { + .visible = true, + .named = true, + }, + [sym_else] = { + .visible = true, + .named = true, + }, [sym_function_call] = { .visible = true, .named = true, @@ -574,27 +548,15 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_loop] = { + [sym_tool] = { .visible = true, .named = true, }, - [sym_match] = { + [sym_select] = { .visible = true, .named = true, }, - [sym_tool_call] = { - .visible = true, - .named = true, - }, - [sym__tool] = { - .visible = false, - .named = true, - }, - [sym_input] = { - .visible = true, - .named = true, - }, - [sym_output] = { + [sym_insert] = { .visible = true, .named = true, }, @@ -602,7 +564,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [aux_sym_yield_repeat1] = { + [aux_sym_item_repeat1] = { .visible = false, .named = false, }, @@ -622,15 +584,11 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [aux_sym_function_call_repeat1] = { + [aux_sym_if_else_repeat1] = { .visible = false, .named = false, }, - [aux_sym_loop_repeat1] = { - .visible = false, - .named = false, - }, - [aux_sym_match_repeat1] = { + [aux_sym_insert_repeat1] = { .visible = false, .named = false, }, @@ -652,359 +610,209 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [4] = 4, [5] = 5, [6] = 6, - [7] = 6, - [8] = 3, - [9] = 6, - [10] = 5, - [11] = 3, - [12] = 5, - [13] = 5, - [14] = 3, - [15] = 6, - [16] = 16, - [17] = 17, - [18] = 18, - [19] = 16, - [20] = 17, - [21] = 16, - [22] = 16, - [23] = 18, - [24] = 18, - [25] = 17, - [26] = 17, - [27] = 18, + [7] = 7, + [8] = 8, + [9] = 9, + [10] = 7, + [11] = 11, + [12] = 8, + [13] = 9, + [14] = 14, + [15] = 7, + [16] = 9, + [17] = 8, + [18] = 14, + [19] = 19, + [20] = 20, + [21] = 21, + [22] = 22, + [23] = 23, + [24] = 24, + [25] = 25, + [26] = 26, + [27] = 27, [28] = 28, - [29] = 28, - [30] = 28, + [29] = 29, + [30] = 30, [31] = 31, [32] = 32, [33] = 33, - [34] = 31, - [35] = 31, - [36] = 33, - [37] = 33, + [34] = 25, + [35] = 35, + [36] = 36, + [37] = 37, [38] = 38, - [39] = 38, + [39] = 39, [40] = 40, [41] = 41, [42] = 42, - [43] = 41, - [44] = 38, - [45] = 41, + [43] = 43, + [44] = 44, + [45] = 45, [46] = 46, - [47] = 40, - [48] = 40, - [49] = 40, - [50] = 46, - [51] = 38, - [52] = 41, + [47] = 45, + [48] = 48, + [49] = 45, + [50] = 50, + [51] = 51, + [52] = 52, [53] = 53, [54] = 54, - [55] = 55, + [55] = 51, [56] = 56, - [57] = 57, - [58] = 58, - [59] = 59, - [60] = 60, - [61] = 55, - [62] = 62, - [63] = 63, - [64] = 64, - [65] = 56, + [57] = 48, + [58] = 52, + [59] = 48, + [60] = 51, + [61] = 53, + [62] = 56, + [63] = 53, + [64] = 56, + [65] = 52, [66] = 66, [67] = 67, [68] = 68, [69] = 69, - [70] = 53, - [71] = 71, - [72] = 54, + [70] = 70, + [71] = 67, + [72] = 72, [73] = 73, [74] = 74, - [75] = 60, - [76] = 76, - [77] = 77, - [78] = 78, - [79] = 79, - [80] = 71, - [81] = 74, - [82] = 74, - [83] = 74, - [84] = 63, - [85] = 73, - [86] = 57, - [87] = 62, - [88] = 67, - [89] = 66, - [90] = 78, - [91] = 76, - [92] = 58, - [93] = 64, - [94] = 69, - [95] = 59, - [96] = 77, - [97] = 79, - [98] = 68, + [75] = 74, + [76] = 73, + [77] = 74, + [78] = 67, + [79] = 68, + [80] = 80, + [81] = 81, + [82] = 82, + [83] = 83, + [84] = 84, + [85] = 21, + [86] = 86, + [87] = 87, + [88] = 88, + [89] = 89, + [90] = 90, + [91] = 91, + [92] = 92, + [93] = 6, + [94] = 5, + [95] = 5, + [96] = 96, + [97] = 6, + [98] = 98, [99] = 99, - [100] = 99, + [100] = 40, [101] = 101, [102] = 102, - [103] = 103, - [104] = 104, - [105] = 105, + [103] = 39, + [104] = 28, + [105] = 27, [106] = 106, - [107] = 107, - [108] = 101, - [109] = 106, - [110] = 110, - [111] = 106, - [112] = 110, - [113] = 113, - [114] = 103, - [115] = 102, - [116] = 110, - [117] = 106, - [118] = 103, - [119] = 119, - [120] = 120, - [121] = 119, - [122] = 122, - [123] = 104, - [124] = 124, - [125] = 125, - [126] = 126, - [127] = 125, - [128] = 128, - [129] = 129, - [130] = 130, - [131] = 131, - [132] = 132, - [133] = 133, - [134] = 134, + [107] = 36, + [108] = 38, + [109] = 35, + [110] = 37, + [111] = 23, + [112] = 33, + [113] = 26, + [114] = 31, + [115] = 29, + [116] = 19, + [117] = 30, + [118] = 20, + [119] = 27, + [120] = 20, + [121] = 38, + [122] = 36, + [123] = 30, + [124] = 106, + [125] = 19, + [126] = 29, + [127] = 26, + [128] = 31, + [129] = 23, + [130] = 28, + [131] = 33, + [132] = 37, + [133] = 35, + [134] = 41, [135] = 135, - [136] = 132, + [136] = 136, [137] = 137, - [138] = 135, - [139] = 137, - [140] = 134, - [141] = 141, + [138] = 138, + [139] = 139, + [140] = 139, + [141] = 139, [142] = 142, [143] = 143, - [144] = 144, - [145] = 144, - [146] = 137, + [144] = 143, + [145] = 145, + [146] = 146, [147] = 147, - [148] = 143, - [149] = 142, - [150] = 132, - [151] = 141, - [152] = 144, - [153] = 153, - [154] = 147, - [155] = 144, - [156] = 126, - [157] = 137, - [158] = 128, - [159] = 124, - [160] = 129, - [161] = 143, - [162] = 141, - [163] = 130, - [164] = 120, - [165] = 122, - [166] = 147, - [167] = 131, - [168] = 142, - [169] = 135, - [170] = 134, - [171] = 171, + [148] = 146, + [149] = 149, + [150] = 149, + [151] = 151, + [152] = 152, + [153] = 146, + [154] = 154, + [155] = 155, + [156] = 151, + [157] = 149, + [158] = 158, + [159] = 155, + [160] = 147, + [161] = 151, + [162] = 154, + [163] = 155, + [164] = 154, + [165] = 165, + [166] = 166, + [167] = 165, + [168] = 166, + [169] = 83, + [170] = 165, + [171] = 166, [172] = 172, - [173] = 53, - [174] = 54, + [173] = 84, + [174] = 174, [175] = 175, - [176] = 175, - [177] = 175, - [178] = 175, + [176] = 176, + [177] = 177, + [178] = 178, [179] = 179, - [180] = 64, + [180] = 180, [181] = 181, [182] = 182, - [183] = 181, - [184] = 182, - [185] = 66, - [186] = 58, - [187] = 187, - [188] = 68, - [189] = 69, - [190] = 181, - [191] = 187, - [192] = 182, - [193] = 78, - [194] = 63, - [195] = 77, - [196] = 79, - [197] = 59, - [198] = 57, - [199] = 62, - [200] = 73, - [201] = 187, - [202] = 181, - [203] = 67, - [204] = 55, - [205] = 56, - [206] = 206, - [207] = 60, - [208] = 55, - [209] = 71, - [210] = 76, - [211] = 211, - [212] = 212, - [213] = 213, - [214] = 214, - [215] = 215, - [216] = 216, - [217] = 211, - [218] = 216, - [219] = 216, - [220] = 220, - [221] = 211, - [222] = 211, - [223] = 223, - [224] = 99, - [225] = 225, - [226] = 226, - [227] = 227, - [228] = 223, - [229] = 223, - [230] = 230, - [231] = 231, - [232] = 231, - [233] = 231, - [234] = 234, - [235] = 235, - [236] = 236, - [237] = 237, - [238] = 237, - [239] = 235, - [240] = 237, - [241] = 236, - [242] = 237, - [243] = 102, - [244] = 236, - [245] = 236, - [246] = 101, - [247] = 235, - [248] = 235, - [249] = 249, - [250] = 250, - [251] = 249, - [252] = 249, - [253] = 253, - [254] = 254, - [255] = 255, - [256] = 256, - [257] = 256, - [258] = 250, - [259] = 256, - [260] = 260, - [261] = 250, - [262] = 262, - [263] = 256, - [264] = 249, - [265] = 255, - [266] = 250, - [267] = 253, - [268] = 268, - [269] = 253, - [270] = 262, - [271] = 253, - [272] = 255, - [273] = 262, - [274] = 255, - [275] = 119, - [276] = 262, - [277] = 104, - [278] = 126, - [279] = 279, - [280] = 125, - [281] = 120, - [282] = 124, - [283] = 69, - [284] = 63, - [285] = 59, - [286] = 122, - [287] = 68, - [288] = 128, - [289] = 62, - [290] = 129, - [291] = 279, - [292] = 131, - [293] = 104, - [294] = 57, - [295] = 67, - [296] = 130, - [297] = 279, - [298] = 64, - [299] = 58, - [300] = 300, - [301] = 125, - [302] = 302, - [303] = 303, - [304] = 66, - [305] = 302, - [306] = 279, - [307] = 302, - [308] = 302, - [309] = 119, - [310] = 310, - [311] = 311, - [312] = 312, - [313] = 311, - [314] = 314, - [315] = 315, - [316] = 316, - [317] = 312, - [318] = 318, - [319] = 319, - [320] = 320, - [321] = 314, - [322] = 322, - [323] = 315, - [324] = 311, - [325] = 310, - [326] = 320, - [327] = 314, - [328] = 316, - [329] = 329, - [330] = 330, - [331] = 319, - [332] = 332, - [333] = 319, - [334] = 315, - [335] = 335, - [336] = 320, - [337] = 337, - [338] = 311, - [339] = 316, - [340] = 315, - [341] = 318, - [342] = 320, - [343] = 316, - [344] = 344, - [345] = 314, - [346] = 335, - [347] = 310, - [348] = 330, - [349] = 330, - [350] = 329, - [351] = 329, - [352] = 318, - [353] = 335, - [354] = 310, - [355] = 318, - [356] = 344, - [357] = 312, - [358] = 344, - [359] = 344, + [183] = 183, + [184] = 181, + [185] = 185, + [186] = 186, + [187] = 181, + [188] = 186, + [189] = 189, + [190] = 190, + [191] = 191, + [192] = 192, + [193] = 193, + [194] = 177, + [195] = 195, + [196] = 175, + [197] = 191, + [198] = 177, + [199] = 180, + [200] = 191, + [201] = 193, + [202] = 186, + [203] = 179, + [204] = 189, + [205] = 190, + [206] = 189, + [207] = 185, + [208] = 175, + [209] = 185, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1012,54 +820,52 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(21); + if (eof) ADVANCE(16); if (lookahead == '!') ADVANCE(6); if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '%') ADVANCE(55); + if (lookahead == '#') ADVANCE(17); + if (lookahead == '%') ADVANCE(44); if (lookahead == '&') ADVANCE(4); if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(67); - if (lookahead == ')') ADVANCE(68); - if (lookahead == '*') ADVANCE(53); - if (lookahead == '+') ADVANCE(49); - if (lookahead == ',') ADVANCE(39); - if (lookahead == '-') ADVANCE(51); - if (lookahead == '/') ADVANCE(54); - if (lookahead == '<') ADVANCE(41); - if (lookahead == '=') ADVANCE(47); - if (lookahead == '>') ADVANCE(42); - if (lookahead == '[') ADVANCE(38); - if (lookahead == ']') ADVANCE(40); - if (lookahead == '`') ADVANCE(9); - if (lookahead == 'e') ADVANCE(30); - if (lookahead == 't') ADVANCE(29); - if (lookahead == '{') ADVANCE(43); - if (lookahead == '|') ADVANCE(33); - if (lookahead == '}') ADVANCE(44); + if (lookahead == '(') ADVANCE(56); + if (lookahead == ')') ADVANCE(57); + if (lookahead == '*') ADVANCE(42); + if (lookahead == '+') ADVANCE(38); + if (lookahead == ',') ADVANCE(29); + if (lookahead == '-') ADVANCE(41); + if (lookahead == '/') ADVANCE(43); + if (lookahead == '<') ADVANCE(31); + if (lookahead == '=') ADVANCE(36); + if (lookahead == '>') ADVANCE(33); + if (lookahead == '[') ADVANCE(28); + if (lookahead == ']') ADVANCE(30); + if (lookahead == '`') ADVANCE(8); + if (lookahead == 'e') ADVANCE(21); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '|') ADVANCE(23); + if (lookahead == '}') ADVANCE(35); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(34); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 1: if (lookahead == '!') ADVANCE(6); - if (lookahead == '%') ADVANCE(55); + if (lookahead == '%') ADVANCE(44); if (lookahead == '&') ADVANCE(4); - if (lookahead == ')') ADVANCE(68); - if (lookahead == '*') ADVANCE(53); - if (lookahead == '+') ADVANCE(48); - if (lookahead == '-') ADVANCE(52); - if (lookahead == '/') ADVANCE(54); - if (lookahead == '=') ADVANCE(7); - if (lookahead == 'e') ADVANCE(13); - if (lookahead == 't') ADVANCE(12); - if (lookahead == '{') ADVANCE(43); - if (lookahead == '|') ADVANCE(16); - if (lookahead == '}') ADVANCE(44); + if (lookahead == '*') ADVANCE(42); + if (lookahead == '+') ADVANCE(38); + if (lookahead == '-') ADVANCE(40); + if (lookahead == '/') ADVANCE(43); + if (lookahead == '<') ADVANCE(31); + if (lookahead == '=') ADVANCE(36); + if (lookahead == '>') ADVANCE(33); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '|') ADVANCE(11); + if (lookahead == '}') ADVANCE(35); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1067,398 +873,313 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 2: if (lookahead == '!') ADVANCE(6); - if (lookahead == '%') ADVANCE(55); + if (lookahead == '%') ADVANCE(44); if (lookahead == '&') ADVANCE(4); - if (lookahead == '*') ADVANCE(53); - if (lookahead == '+') ADVANCE(49); - if (lookahead == '-') ADVANCE(50); - if (lookahead == '/') ADVANCE(54); - if (lookahead == '=') ADVANCE(46); - if (lookahead == 'e') ADVANCE(13); - if (lookahead == '|') ADVANCE(16); - if (lookahead == '}') ADVANCE(44); + if (lookahead == '*') ADVANCE(42); + if (lookahead == '+') ADVANCE(37); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(43); + if (lookahead == '<') ADVANCE(31); + if (lookahead == '=') ADVANCE(7); + if (lookahead == '>') ADVANCE(33); + if (lookahead == '|') ADVANCE(23); + if (lookahead == '}') ADVANCE(35); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(2) + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 3: - if (lookahead == '"') ADVANCE(37); + if (lookahead == '"') ADVANCE(27); if (lookahead != 0) ADVANCE(3); END_STATE(); case 4: - if (lookahead == '&') ADVANCE(58); + if (lookahead == '&') ADVANCE(47); END_STATE(); case 5: - if (lookahead == '\'') ADVANCE(37); + if (lookahead == '\'') ADVANCE(27); if (lookahead != 0) ADVANCE(5); END_STATE(); case 6: - if (lookahead == '=') ADVANCE(57); + if (lookahead == '=') ADVANCE(46); END_STATE(); case 7: - if (lookahead == '=') ADVANCE(56); - if (lookahead == '>') ADVANCE(69); + if (lookahead == '=') ADVANCE(45); END_STATE(); case 8: - if (lookahead == '>') ADVANCE(25); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (lookahead == '`') ADVANCE(27); + if (lookahead != 0) ADVANCE(8); END_STATE(); case 9: - if (lookahead == '`') ADVANCE(37); - if (lookahead != 0) ADVANCE(9); + if (lookahead == 'f') ADVANCE(54); END_STATE(); case 10: - if (lookahead == 'e') ADVANCE(14); + if (lookahead == 'i') ADVANCE(9); END_STATE(); case 11: - if (lookahead == 'e') ADVANCE(65); + if (lookahead == '|') ADVANCE(48); END_STATE(); case 12: - if (lookahead == 'h') ADVANCE(10); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); END_STATE(); case 13: - if (lookahead == 'l') ADVANCE(15); + if (eof) ADVANCE(16); + if (lookahead == '!') ADVANCE(6); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(17); + if (lookahead == '%') ADVANCE(44); + if (lookahead == '&') ADVANCE(4); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(56); + if (lookahead == ')') ADVANCE(57); + if (lookahead == '*') ADVANCE(42); + if (lookahead == '+') ADVANCE(38); + if (lookahead == ',') ADVANCE(29); + if (lookahead == '-') ADVANCE(41); + if (lookahead == '/') ADVANCE(43); + if (lookahead == '<') ADVANCE(31); + if (lookahead == '=') ADVANCE(36); + if (lookahead == '>') ADVANCE(33); + if (lookahead == '[') ADVANCE(28); + if (lookahead == ']') ADVANCE(30); + if (lookahead == '`') ADVANCE(8); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '|') ADVANCE(23); + if (lookahead == '}') ADVANCE(35); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(13) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 14: - if (lookahead == 'n') ADVANCE(63); + if (eof) ADVANCE(16); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(17); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(56); + if (lookahead == ')') ADVANCE(57); + if (lookahead == ',') ADVANCE(29); + if (lookahead == '-') ADVANCE(12); + if (lookahead == '>') ADVANCE(32); + if (lookahead == '[') ADVANCE(28); + if (lookahead == ']') ADVANCE(30); + if (lookahead == '`') ADVANCE(8); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '}') ADVANCE(35); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(14) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= '|')) ADVANCE(24); END_STATE(); case 15: - if (lookahead == 's') ADVANCE(11); + if (eof) ADVANCE(16); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(17); + if (lookahead == '\'') ADVANCE(5); + if (lookahead == '(') ADVANCE(56); + if (lookahead == '-') ADVANCE(12); + if (lookahead == '[') ADVANCE(28); + if (lookahead == '`') ADVANCE(8); + if (lookahead == 'e') ADVANCE(21); + if (lookahead == '{') ADVANCE(34); + if (lookahead == '}') ADVANCE(35); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(15) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); + if (lookahead == '.' || + ('_' <= lookahead && lookahead <= '|')) ADVANCE(24); END_STATE(); case 16: - if (lookahead == '|') ADVANCE(59); - END_STATE(); - case 17: - if (eof) ADVANCE(21); - if (lookahead == '!') ADVANCE(6); - if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '%') ADVANCE(55); - if (lookahead == '&') ADVANCE(4); - if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(67); - if (lookahead == ')') ADVANCE(68); - if (lookahead == '*') ADVANCE(53); - if (lookahead == '+') ADVANCE(49); - if (lookahead == ',') ADVANCE(39); - if (lookahead == '-') ADVANCE(51); - if (lookahead == '/') ADVANCE(54); - if (lookahead == '=') ADVANCE(46); - if (lookahead == '[') ADVANCE(38); - if (lookahead == ']') ADVANCE(40); - if (lookahead == '`') ADVANCE(9); - if (lookahead == '{') ADVANCE(43); - if (lookahead == '|') ADVANCE(33); - if (lookahead == '}') ADVANCE(44); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(17) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); - if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(34); - END_STATE(); - case 18: - if (eof) ADVANCE(21); - if (lookahead == '!') ADVANCE(6); - if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '%') ADVANCE(55); - if (lookahead == '&') ADVANCE(4); - if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(67); - if (lookahead == '*') ADVANCE(53); - if (lookahead == '+') ADVANCE(49); - if (lookahead == '-') ADVANCE(51); - if (lookahead == '/') ADVANCE(54); - if (lookahead == '=') ADVANCE(46); - if (lookahead == '[') ADVANCE(38); - if (lookahead == '`') ADVANCE(9); - if (lookahead == 'e') ADVANCE(30); - if (lookahead == '{') ADVANCE(43); - if (lookahead == '|') ADVANCE(33); - if (lookahead == '}') ADVANCE(44); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(18) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); - if (lookahead == '.' || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(34); - END_STATE(); - case 19: - if (eof) ADVANCE(21); - if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(67); - if (lookahead == ')') ADVANCE(68); - if (lookahead == ',') ADVANCE(39); - if (lookahead == '-') ADVANCE(8); - if (lookahead == '=') ADVANCE(45); - if (lookahead == '>') ADVANCE(42); - if (lookahead == '[') ADVANCE(38); - if (lookahead == ']') ADVANCE(40); - if (lookahead == '`') ADVANCE(9); - if (lookahead == '{') ADVANCE(43); - if (lookahead == '}') ADVANCE(44); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(19) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); - if (lookahead == '.' || - ('_' <= lookahead && lookahead <= '|')) ADVANCE(34); - END_STATE(); - case 20: - if (eof) ADVANCE(21); - if (lookahead == '"') ADVANCE(3); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '\'') ADVANCE(5); - if (lookahead == '(') ADVANCE(67); - if (lookahead == '-') ADVANCE(8); - if (lookahead == '[') ADVANCE(38); - if (lookahead == '`') ADVANCE(9); - if (lookahead == 'e') ADVANCE(30); - if (lookahead == '{') ADVANCE(43); - if (lookahead == '}') ADVANCE(44); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(20) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); - if (lookahead == '.' || - ('_' <= lookahead && lookahead <= '|')) ADVANCE(34); - END_STATE(); - case 21: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); + case 17: + ACCEPT_TOKEN(aux_sym_comment_token1); + if (lookahead == '#') ADVANCE(17); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(18); + END_STATE(); + case 18: + ACCEPT_TOKEN(aux_sym_comment_token1); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(18); + END_STATE(); + case 19: + ACCEPT_TOKEN(sym_identifier); + END_STATE(); + case 20: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(55); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(24); + END_STATE(); + case 21: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(22); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(24); + END_STATE(); case 22: - ACCEPT_TOKEN(anon_sym_POUND); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(20); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(24); END_STATE(); case 23: - ACCEPT_TOKEN(aux_sym_comment_token1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(23); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(24); + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '|') ADVANCE(49); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(24); END_STATE(); case 24: - ACCEPT_TOKEN(aux_sym_comment_token1); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(24); + ACCEPT_TOKEN(sym_identifier); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); + if (lookahead == '.' || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z') || + lookahead == '|') ADVANCE(24); END_STATE(); case 25: - ACCEPT_TOKEN(anon_sym_DASH_GT); + ACCEPT_TOKEN(sym_integer); + if (lookahead == '.') ADVANCE(26); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); END_STATE(); case 26: - ACCEPT_TOKEN(sym_identifier); + ACCEPT_TOKEN(sym_float); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); END_STATE(); case 27: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'e') ADVANCE(31); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 28: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'e') ADVANCE(66); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 29: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'h') ADVANCE(27); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 30: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'l') ADVANCE(32); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 31: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'n') ADVANCE(64); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 32: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == 's') ADVANCE(28); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 33: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == '|') ADVANCE(60); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(34); - END_STATE(); - case 34: - ACCEPT_TOKEN(sym_identifier); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 35: - ACCEPT_TOKEN(sym_integer); - if (lookahead == '.') ADVANCE(36); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); - END_STATE(); - case 36: - ACCEPT_TOKEN(sym_float); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(36); - END_STATE(); - case 37: ACCEPT_TOKEN(sym_string); END_STATE(); - case 38: + case 28: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 39: + case 29: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 40: + case 30: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 41: + case 31: ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '=') ADVANCE(51); END_STATE(); - case 42: + case 32: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); - case 43: + case 33: + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(50); + END_STATE(); + case 34: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 44: + case 35: ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); - case 45: + case 36: ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(45); END_STATE(); - case 46: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(56); - END_STATE(); - case 47: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(56); - if (lookahead == '>') ADVANCE(69); - END_STATE(); - case 48: + case 37: ACCEPT_TOKEN(anon_sym_PLUS); END_STATE(); - case 49: + case 38: ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '=') ADVANCE(61); + if (lookahead == '=') ADVANCE(52); END_STATE(); - case 50: + case 39: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(62); - if (lookahead == '>') ADVANCE(25); END_STATE(); - case 51: + case 40: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(62); - if (lookahead == '>') ADVANCE(25); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (lookahead == '=') ADVANCE(53); END_STATE(); - case 52: + case 41: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '>') ADVANCE(25); + if (lookahead == '=') ADVANCE(53); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); END_STATE(); - case 53: + case 42: ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); - case 54: + case 43: ACCEPT_TOKEN(anon_sym_SLASH); END_STATE(); - case 55: + case 44: ACCEPT_TOKEN(anon_sym_PERCENT); END_STATE(); - case 56: + case 45: ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); - case 57: + case 46: ACCEPT_TOKEN(anon_sym_BANG_EQ); END_STATE(); - case 58: + case 47: ACCEPT_TOKEN(anon_sym_AMP_AMP); END_STATE(); - case 59: + case 48: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); END_STATE(); - case 60: + case 49: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); + lookahead == '|') ADVANCE(24); END_STATE(); - case 61: + case 50: + ACCEPT_TOKEN(anon_sym_GT_EQ); + END_STATE(); + case 51: + ACCEPT_TOKEN(anon_sym_LT_EQ); + END_STATE(); + case 52: ACCEPT_TOKEN(anon_sym_PLUS_EQ); END_STATE(); - case 62: + case 53: ACCEPT_TOKEN(anon_sym_DASH_EQ); END_STATE(); - case 63: - ACCEPT_TOKEN(anon_sym_then); + case 54: + ACCEPT_TOKEN(anon_sym_elseif); END_STATE(); - case 64: - ACCEPT_TOKEN(anon_sym_then); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + case 55: + ACCEPT_TOKEN(anon_sym_else); + if (lookahead == ' ') ADVANCE(10); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19); if (lookahead == '.' || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); + lookahead == '|') ADVANCE(24); END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_else); - END_STATE(); - case 66: - ACCEPT_TOKEN(anon_sym_else); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); - if (lookahead == '.' || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z') || - lookahead == '|') ADVANCE(34); - END_STATE(); - case 67: + case 56: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); - case 68: + case 57: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); - case 69: - ACCEPT_TOKEN(anon_sym_EQ_GT); - END_STATE(); default: return false; } @@ -1469,261 +1190,208 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (lookahead == 'b') ADVANCE(1); - if (lookahead == 'c') ADVANCE(2); - if (lookahead == 'f') ADVANCE(3); - if (lookahead == 'i') ADVANCE(4); - if (lookahead == 'l') ADVANCE(5); - if (lookahead == 'm') ADVANCE(6); - if (lookahead == 'o') ADVANCE(7); - if (lookahead == 'r') ADVANCE(8); - if (lookahead == 's') ADVANCE(9); - if (lookahead == 't') ADVANCE(10); - if (lookahead == 'w') ADVANCE(11); + if (lookahead == 'f') ADVANCE(1); + if (lookahead == 'i') ADVANCE(2); + if (lookahead == 'p') ADVANCE(3); + if (lookahead == 'r') ADVANCE(4); + if (lookahead == 's') ADVANCE(5); + if (lookahead == 't') ADVANCE(6); + if (lookahead == 'w') ADVANCE(7); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'r') ADVANCE(12); + if (lookahead == 'a') ADVANCE(8); + if (lookahead == 'o') ADVANCE(9); + if (lookahead == 'r') ADVANCE(10); + if (lookahead == 'u') ADVANCE(11); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(13); + if (lookahead == 'f') ADVANCE(12); + if (lookahead == 'n') ADVANCE(13); END_STATE(); case 3: - if (lookahead == 'a') ADVANCE(14); - if (lookahead == 'r') ADVANCE(15); - if (lookahead == 'u') ADVANCE(16); + if (lookahead == 'r') ADVANCE(14); END_STATE(); case 4: - if (lookahead == 'f') ADVANCE(17); - if (lookahead == 'n') ADVANCE(18); + if (lookahead == 'e') ADVANCE(15); END_STATE(); case 5: - if (lookahead == 'o') ADVANCE(19); + if (lookahead == 'e') ADVANCE(16); END_STATE(); case 6: - if (lookahead == 'a') ADVANCE(20); + if (lookahead == 'a') ADVANCE(17); + if (lookahead == 'r') ADVANCE(18); END_STATE(); case 7: - if (lookahead == 'u') ADVANCE(21); + if (lookahead == 'h') ADVANCE(19); + if (lookahead == 'r') ADVANCE(20); END_STATE(); case 8: - if (lookahead == 'e') ADVANCE(22); + if (lookahead == 'l') ADVANCE(21); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(23); + if (lookahead == 'r') ADVANCE(22); END_STATE(); case 10: - if (lookahead == 'a') ADVANCE(24); - if (lookahead == 'r') ADVANCE(25); + if (lookahead == 'o') ADVANCE(23); END_STATE(); case 11: - if (lookahead == 'h') ADVANCE(26); + if (lookahead == 'n') ADVANCE(24); END_STATE(); case 12: - if (lookahead == 'e') ADVANCE(27); - END_STATE(); - case 13: - if (lookahead == 't') ADVANCE(28); - END_STATE(); - case 14: - if (lookahead == 'l') ADVANCE(29); - END_STATE(); - case 15: - if (lookahead == 'o') ADVANCE(30); - END_STATE(); - case 16: - if (lookahead == 'n') ADVANCE(31); - END_STATE(); - case 17: ACCEPT_TOKEN(anon_sym_if); END_STATE(); + case 13: + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == 's') ADVANCE(25); + if (lookahead == 't') ADVANCE(26); + END_STATE(); + case 14: + if (lookahead == 'i') ADVANCE(27); + END_STATE(); + case 15: + if (lookahead == 'a') ADVANCE(28); + END_STATE(); + case 16: + if (lookahead == 'l') ADVANCE(29); + END_STATE(); + case 17: + if (lookahead == 'b') ADVANCE(30); + END_STATE(); case 18: - if (lookahead == 'p') ADVANCE(32); - if (lookahead == 's') ADVANCE(33); - if (lookahead == 't') ADVANCE(34); + if (lookahead == 'u') ADVANCE(31); END_STATE(); case 19: - if (lookahead == 'o') ADVANCE(35); + if (lookahead == 'e') ADVANCE(32); + if (lookahead == 'i') ADVANCE(33); END_STATE(); case 20: - if (lookahead == 't') ADVANCE(36); + if (lookahead == 'i') ADVANCE(34); END_STATE(); case 21: - if (lookahead == 't') ADVANCE(37); + if (lookahead == 's') ADVANCE(35); END_STATE(); case 22: - if (lookahead == 'a') ADVANCE(38); + ACCEPT_TOKEN(anon_sym_for); END_STATE(); case 23: - if (lookahead == 'l') ADVANCE(39); + if (lookahead == 'm') ADVANCE(36); END_STATE(); case 24: - if (lookahead == 'b') ADVANCE(40); + if (lookahead == 'c') ADVANCE(37); END_STATE(); case 25: - if (lookahead == 'u') ADVANCE(41); + if (lookahead == 'e') ADVANCE(38); END_STATE(); case 26: - if (lookahead == 'e') ADVANCE(42); - if (lookahead == 'i') ADVANCE(43); + if (lookahead == 'o') ADVANCE(39); END_STATE(); case 27: - if (lookahead == 'a') ADVANCE(44); + if (lookahead == 'n') ADVANCE(40); END_STATE(); case 28: - if (lookahead == 'c') ADVANCE(45); + if (lookahead == 'd') ADVANCE(41); END_STATE(); case 29: - if (lookahead == 's') ADVANCE(46); + if (lookahead == 'e') ADVANCE(42); END_STATE(); case 30: - if (lookahead == 'm') ADVANCE(47); + if (lookahead == 'l') ADVANCE(43); END_STATE(); case 31: - if (lookahead == 'c') ADVANCE(48); + if (lookahead == 'e') ADVANCE(44); END_STATE(); case 32: - if (lookahead == 'u') ADVANCE(49); + if (lookahead == 'r') ADVANCE(45); END_STATE(); case 33: - if (lookahead == 'e') ADVANCE(50); + if (lookahead == 'l') ADVANCE(46); END_STATE(); case 34: - if (lookahead == 'o') ADVANCE(51); + if (lookahead == 't') ADVANCE(47); END_STATE(); case 35: - if (lookahead == 'p') ADVANCE(52); + if (lookahead == 'e') ADVANCE(48); END_STATE(); case 36: - if (lookahead == 'c') ADVANCE(53); - END_STATE(); - case 37: - if (lookahead == 'p') ADVANCE(54); - END_STATE(); - case 38: - if (lookahead == 'd') ADVANCE(55); - END_STATE(); - case 39: - if (lookahead == 'e') ADVANCE(56); - END_STATE(); - case 40: - if (lookahead == 'l') ADVANCE(57); - END_STATE(); - case 41: - if (lookahead == 'e') ADVANCE(58); - END_STATE(); - case 42: - if (lookahead == 'r') ADVANCE(59); - END_STATE(); - case 43: - if (lookahead == 'l') ADVANCE(60); - END_STATE(); - case 44: - if (lookahead == 'k') ADVANCE(61); - END_STATE(); - case 45: - if (lookahead == 'h') ADVANCE(62); - END_STATE(); - case 46: - if (lookahead == 'e') ADVANCE(63); - END_STATE(); - case 47: ACCEPT_TOKEN(anon_sym_from); END_STATE(); - case 48: - if (lookahead == 't') ADVANCE(64); + case 37: + if (lookahead == 't') ADVANCE(49); END_STATE(); - case 49: - if (lookahead == 't') ADVANCE(65); + case 38: + if (lookahead == 'r') ADVANCE(50); END_STATE(); - case 50: - if (lookahead == 'r') ADVANCE(66); - END_STATE(); - case 51: + case 39: ACCEPT_TOKEN(anon_sym_into); END_STATE(); - case 52: - ACCEPT_TOKEN(anon_sym_loop); + case 40: + if (lookahead == 't') ADVANCE(51); END_STATE(); - case 53: - if (lookahead == 'h') ADVANCE(67); - END_STATE(); - case 54: - if (lookahead == 'u') ADVANCE(68); - END_STATE(); - case 55: + case 41: ACCEPT_TOKEN(anon_sym_read); END_STATE(); - case 56: - if (lookahead == 'c') ADVANCE(69); + case 42: + if (lookahead == 'c') ADVANCE(52); END_STATE(); - case 57: - if (lookahead == 'e') ADVANCE(70); + case 43: + if (lookahead == 'e') ADVANCE(53); END_STATE(); - case 58: + case 44: ACCEPT_TOKEN(anon_sym_true); END_STATE(); - case 59: - if (lookahead == 'e') ADVANCE(71); + case 45: + if (lookahead == 'e') ADVANCE(54); END_STATE(); - case 60: - if (lookahead == 'e') ADVANCE(72); + case 46: + if (lookahead == 'e') ADVANCE(55); END_STATE(); - case 61: - ACCEPT_TOKEN(anon_sym_break); + case 47: + if (lookahead == 'e') ADVANCE(56); END_STATE(); - case 62: - ACCEPT_TOKEN(anon_sym_catch); - END_STATE(); - case 63: + case 48: ACCEPT_TOKEN(anon_sym_false); END_STATE(); - case 64: - if (lookahead == 'i') ADVANCE(73); + case 49: + if (lookahead == 'i') ADVANCE(57); END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_input); + case 50: + if (lookahead == 't') ADVANCE(58); END_STATE(); - case 66: - if (lookahead == 't') ADVANCE(74); + case 51: + ACCEPT_TOKEN(anon_sym_print); END_STATE(); - case 67: - ACCEPT_TOKEN(anon_sym_match); + case 52: + if (lookahead == 't') ADVANCE(59); END_STATE(); - case 68: - if (lookahead == 't') ADVANCE(75); - END_STATE(); - case 69: - if (lookahead == 't') ADVANCE(76); - END_STATE(); - case 70: + case 53: ACCEPT_TOKEN(anon_sym_table); END_STATE(); - case 71: + case 54: ACCEPT_TOKEN(anon_sym_where); END_STATE(); - case 72: + case 55: ACCEPT_TOKEN(anon_sym_while); END_STATE(); - case 73: - if (lookahead == 'o') ADVANCE(77); + case 56: + ACCEPT_TOKEN(anon_sym_write); END_STATE(); - case 74: + case 57: + if (lookahead == 'o') ADVANCE(60); + END_STATE(); + case 58: ACCEPT_TOKEN(anon_sym_insert); END_STATE(); - case 75: - ACCEPT_TOKEN(anon_sym_output); - END_STATE(); - case 76: + case 59: ACCEPT_TOKEN(anon_sym_select); END_STATE(); - case 77: - if (lookahead == 'n') ADVANCE(78); + case 60: + if (lookahead == 'n') ADVANCE(61); END_STATE(); - case 78: + case 61: ACCEPT_TOKEN(anon_sym_function); END_STATE(); default: @@ -1733,373 +1401,222 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 19}, - [2] = {.lex_state = 19}, - [3] = {.lex_state = 19}, - [4] = {.lex_state = 19}, - [5] = {.lex_state = 19}, - [6] = {.lex_state = 19}, - [7] = {.lex_state = 19}, - [8] = {.lex_state = 19}, - [9] = {.lex_state = 19}, - [10] = {.lex_state = 19}, - [11] = {.lex_state = 19}, - [12] = {.lex_state = 19}, - [13] = {.lex_state = 19}, - [14] = {.lex_state = 19}, - [15] = {.lex_state = 19}, - [16] = {.lex_state = 19}, - [17] = {.lex_state = 19}, - [18] = {.lex_state = 19}, - [19] = {.lex_state = 19}, - [20] = {.lex_state = 19}, - [21] = {.lex_state = 19}, - [22] = {.lex_state = 19}, - [23] = {.lex_state = 19}, - [24] = {.lex_state = 19}, - [25] = {.lex_state = 19}, - [26] = {.lex_state = 19}, - [27] = {.lex_state = 19}, - [28] = {.lex_state = 19}, - [29] = {.lex_state = 19}, - [30] = {.lex_state = 19}, - [31] = {.lex_state = 19}, - [32] = {.lex_state = 19}, - [33] = {.lex_state = 19}, - [34] = {.lex_state = 19}, - [35] = {.lex_state = 19}, - [36] = {.lex_state = 19}, - [37] = {.lex_state = 19}, - [38] = {.lex_state = 19}, - [39] = {.lex_state = 19}, - [40] = {.lex_state = 19}, - [41] = {.lex_state = 19}, - [42] = {.lex_state = 19}, - [43] = {.lex_state = 19}, - [44] = {.lex_state = 19}, - [45] = {.lex_state = 19}, - [46] = {.lex_state = 19}, - [47] = {.lex_state = 19}, - [48] = {.lex_state = 19}, - [49] = {.lex_state = 19}, - [50] = {.lex_state = 19}, - [51] = {.lex_state = 19}, - [52] = {.lex_state = 19}, - [53] = {.lex_state = 17}, - [54] = {.lex_state = 17}, - [55] = {.lex_state = 18}, - [56] = {.lex_state = 18}, - [57] = {.lex_state = 17}, - [58] = {.lex_state = 17}, - [59] = {.lex_state = 17}, - [60] = {.lex_state = 18}, - [61] = {.lex_state = 17}, - [62] = {.lex_state = 17}, - [63] = {.lex_state = 17}, - [64] = {.lex_state = 17}, - [65] = {.lex_state = 17}, - [66] = {.lex_state = 17}, - [67] = {.lex_state = 17}, - [68] = {.lex_state = 17}, - [69] = {.lex_state = 17}, - [70] = {.lex_state = 18}, - [71] = {.lex_state = 18}, - [72] = {.lex_state = 18}, - [73] = {.lex_state = 17}, - [74] = {.lex_state = 17}, - [75] = {.lex_state = 17}, - [76] = {.lex_state = 18}, - [77] = {.lex_state = 17}, - [78] = {.lex_state = 17}, - [79] = {.lex_state = 17}, - [80] = {.lex_state = 17}, - [81] = {.lex_state = 17}, - [82] = {.lex_state = 17}, - [83] = {.lex_state = 17}, - [84] = {.lex_state = 18}, - [85] = {.lex_state = 18}, - [86] = {.lex_state = 18}, - [87] = {.lex_state = 18}, - [88] = {.lex_state = 18}, - [89] = {.lex_state = 18}, - [90] = {.lex_state = 18}, - [91] = {.lex_state = 17}, - [92] = {.lex_state = 18}, - [93] = {.lex_state = 18}, - [94] = {.lex_state = 18}, - [95] = {.lex_state = 18}, - [96] = {.lex_state = 18}, - [97] = {.lex_state = 18}, - [98] = {.lex_state = 18}, - [99] = {.lex_state = 18}, - [100] = {.lex_state = 17}, - [101] = {.lex_state = 20}, - [102] = {.lex_state = 20}, - [103] = {.lex_state = 19}, - [104] = {.lex_state = 20}, - [105] = {.lex_state = 19}, - [106] = {.lex_state = 19}, - [107] = {.lex_state = 19}, - [108] = {.lex_state = 19}, - [109] = {.lex_state = 19}, - [110] = {.lex_state = 19}, - [111] = {.lex_state = 19}, - [112] = {.lex_state = 19}, - [113] = {.lex_state = 17}, - [114] = {.lex_state = 19}, - [115] = {.lex_state = 19}, - [116] = {.lex_state = 19}, - [117] = {.lex_state = 19}, - [118] = {.lex_state = 19}, - [119] = {.lex_state = 20}, - [120] = {.lex_state = 20}, - [121] = {.lex_state = 19}, - [122] = {.lex_state = 20}, - [123] = {.lex_state = 19}, - [124] = {.lex_state = 20}, - [125] = {.lex_state = 20}, - [126] = {.lex_state = 20}, - [127] = {.lex_state = 20}, - [128] = {.lex_state = 20}, - [129] = {.lex_state = 20}, - [130] = {.lex_state = 20}, - [131] = {.lex_state = 20}, - [132] = {.lex_state = 19}, - [133] = {.lex_state = 19}, - [134] = {.lex_state = 19}, - [135] = {.lex_state = 19}, - [136] = {.lex_state = 19}, - [137] = {.lex_state = 19}, - [138] = {.lex_state = 19}, - [139] = {.lex_state = 19}, - [140] = {.lex_state = 19}, - [141] = {.lex_state = 19}, - [142] = {.lex_state = 19}, - [143] = {.lex_state = 19}, - [144] = {.lex_state = 19}, - [145] = {.lex_state = 19}, - [146] = {.lex_state = 19}, - [147] = {.lex_state = 19}, - [148] = {.lex_state = 19}, - [149] = {.lex_state = 19}, - [150] = {.lex_state = 19}, - [151] = {.lex_state = 19}, - [152] = {.lex_state = 19}, - [153] = {.lex_state = 19}, - [154] = {.lex_state = 19}, - [155] = {.lex_state = 19}, - [156] = {.lex_state = 19}, - [157] = {.lex_state = 19}, - [158] = {.lex_state = 19}, - [159] = {.lex_state = 19}, - [160] = {.lex_state = 19}, - [161] = {.lex_state = 19}, - [162] = {.lex_state = 19}, - [163] = {.lex_state = 19}, - [164] = {.lex_state = 19}, - [165] = {.lex_state = 19}, - [166] = {.lex_state = 19}, - [167] = {.lex_state = 19}, - [168] = {.lex_state = 19}, - [169] = {.lex_state = 19}, - [170] = {.lex_state = 19}, - [171] = {.lex_state = 19}, - [172] = {.lex_state = 19}, - [173] = {.lex_state = 1}, - [174] = {.lex_state = 1}, - [175] = {.lex_state = 19}, - [176] = {.lex_state = 19}, - [177] = {.lex_state = 19}, - [178] = {.lex_state = 19}, - [179] = {.lex_state = 19}, - [180] = {.lex_state = 1}, - [181] = {.lex_state = 19}, - [182] = {.lex_state = 19}, - [183] = {.lex_state = 19}, - [184] = {.lex_state = 19}, - [185] = {.lex_state = 1}, - [186] = {.lex_state = 1}, - [187] = {.lex_state = 19}, - [188] = {.lex_state = 1}, - [189] = {.lex_state = 1}, - [190] = {.lex_state = 19}, - [191] = {.lex_state = 19}, - [192] = {.lex_state = 19}, - [193] = {.lex_state = 1}, - [194] = {.lex_state = 1}, - [195] = {.lex_state = 1}, - [196] = {.lex_state = 1}, - [197] = {.lex_state = 1}, - [198] = {.lex_state = 1}, - [199] = {.lex_state = 1}, - [200] = {.lex_state = 1}, - [201] = {.lex_state = 19}, - [202] = {.lex_state = 19}, - [203] = {.lex_state = 1}, - [204] = {.lex_state = 2}, - [205] = {.lex_state = 1}, - [206] = {.lex_state = 19}, - [207] = {.lex_state = 1}, - [208] = {.lex_state = 2}, - [209] = {.lex_state = 1}, - [210] = {.lex_state = 1}, - [211] = {.lex_state = 1}, - [212] = {.lex_state = 1}, - [213] = {.lex_state = 1}, - [214] = {.lex_state = 1}, - [215] = {.lex_state = 19}, - [216] = {.lex_state = 1}, - [217] = {.lex_state = 1}, - [218] = {.lex_state = 1}, - [219] = {.lex_state = 1}, - [220] = {.lex_state = 19}, - [221] = {.lex_state = 1}, - [222] = {.lex_state = 1}, - [223] = {.lex_state = 1}, - [224] = {.lex_state = 1}, - [225] = {.lex_state = 19}, - [226] = {.lex_state = 19}, - [227] = {.lex_state = 19}, - [228] = {.lex_state = 1}, - [229] = {.lex_state = 1}, - [230] = {.lex_state = 19}, - [231] = {.lex_state = 19}, - [232] = {.lex_state = 19}, - [233] = {.lex_state = 19}, - [234] = {.lex_state = 19}, - [235] = {.lex_state = 0}, - [236] = {.lex_state = 0}, - [237] = {.lex_state = 19}, - [238] = {.lex_state = 19}, - [239] = {.lex_state = 0}, - [240] = {.lex_state = 19}, - [241] = {.lex_state = 0}, - [242] = {.lex_state = 19}, - [243] = {.lex_state = 1}, - [244] = {.lex_state = 0}, - [245] = {.lex_state = 0}, - [246] = {.lex_state = 1}, - [247] = {.lex_state = 0}, - [248] = {.lex_state = 0}, - [249] = {.lex_state = 19}, - [250] = {.lex_state = 19}, - [251] = {.lex_state = 19}, - [252] = {.lex_state = 19}, - [253] = {.lex_state = 19}, - [254] = {.lex_state = 19}, - [255] = {.lex_state = 0}, - [256] = {.lex_state = 19}, - [257] = {.lex_state = 19}, - [258] = {.lex_state = 19}, - [259] = {.lex_state = 19}, - [260] = {.lex_state = 19}, - [261] = {.lex_state = 19}, - [262] = {.lex_state = 19}, - [263] = {.lex_state = 19}, - [264] = {.lex_state = 19}, - [265] = {.lex_state = 0}, - [266] = {.lex_state = 19}, - [267] = {.lex_state = 19}, - [268] = {.lex_state = 19}, - [269] = {.lex_state = 19}, - [270] = {.lex_state = 19}, - [271] = {.lex_state = 19}, - [272] = {.lex_state = 0}, - [273] = {.lex_state = 19}, - [274] = {.lex_state = 0}, - [275] = {.lex_state = 20}, - [276] = {.lex_state = 19}, - [277] = {.lex_state = 20}, - [278] = {.lex_state = 1}, - [279] = {.lex_state = 0}, - [280] = {.lex_state = 1}, - [281] = {.lex_state = 1}, - [282] = {.lex_state = 1}, - [283] = {.lex_state = 19}, - [284] = {.lex_state = 19}, - [285] = {.lex_state = 19}, - [286] = {.lex_state = 1}, - [287] = {.lex_state = 19}, - [288] = {.lex_state = 1}, - [289] = {.lex_state = 19}, - [290] = {.lex_state = 1}, - [291] = {.lex_state = 0}, - [292] = {.lex_state = 1}, - [293] = {.lex_state = 19}, - [294] = {.lex_state = 19}, - [295] = {.lex_state = 19}, - [296] = {.lex_state = 1}, - [297] = {.lex_state = 0}, - [298] = {.lex_state = 19}, - [299] = {.lex_state = 19}, - [300] = {.lex_state = 19}, - [301] = {.lex_state = 1}, - [302] = {.lex_state = 19}, - [303] = {.lex_state = 19}, - [304] = {.lex_state = 19}, - [305] = {.lex_state = 19}, - [306] = {.lex_state = 0}, - [307] = {.lex_state = 19}, - [308] = {.lex_state = 19}, - [309] = {.lex_state = 19}, - [310] = {.lex_state = 19}, - [311] = {.lex_state = 0}, - [312] = {.lex_state = 0}, - [313] = {.lex_state = 0}, - [314] = {.lex_state = 19}, - [315] = {.lex_state = 0}, - [316] = {.lex_state = 19}, - [317] = {.lex_state = 0}, - [318] = {.lex_state = 19}, - [319] = {.lex_state = 0}, - [320] = {.lex_state = 0}, - [321] = {.lex_state = 19}, - [322] = {.lex_state = 19}, - [323] = {.lex_state = 0}, - [324] = {.lex_state = 0}, - [325] = {.lex_state = 19}, - [326] = {.lex_state = 0}, - [327] = {.lex_state = 19}, - [328] = {.lex_state = 19}, - [329] = {.lex_state = 0}, - [330] = {.lex_state = 0}, - [331] = {.lex_state = 0}, - [332] = {.lex_state = 0}, - [333] = {.lex_state = 0}, - [334] = {.lex_state = 0}, - [335] = {.lex_state = 0}, - [336] = {.lex_state = 0}, - [337] = {.lex_state = 23}, - [338] = {.lex_state = 0}, - [339] = {.lex_state = 19}, - [340] = {.lex_state = 0}, - [341] = {.lex_state = 19}, - [342] = {.lex_state = 0}, - [343] = {.lex_state = 19}, - [344] = {.lex_state = 0}, - [345] = {.lex_state = 19}, - [346] = {.lex_state = 0}, - [347] = {.lex_state = 19}, - [348] = {.lex_state = 0}, - [349] = {.lex_state = 0}, - [350] = {.lex_state = 0}, - [351] = {.lex_state = 0}, - [352] = {.lex_state = 19}, - [353] = {.lex_state = 0}, - [354] = {.lex_state = 19}, - [355] = {.lex_state = 19}, - [356] = {.lex_state = 0}, - [357] = {.lex_state = 0}, - [358] = {.lex_state = 0}, - [359] = {.lex_state = 0}, + [1] = {.lex_state = 14}, + [2] = {.lex_state = 14}, + [3] = {.lex_state = 14}, + [4] = {.lex_state = 14}, + [5] = {.lex_state = 13}, + [6] = {.lex_state = 13}, + [7] = {.lex_state = 14}, + [8] = {.lex_state = 14}, + [9] = {.lex_state = 14}, + [10] = {.lex_state = 14}, + [11] = {.lex_state = 14}, + [12] = {.lex_state = 14}, + [13] = {.lex_state = 14}, + [14] = {.lex_state = 14}, + [15] = {.lex_state = 14}, + [16] = {.lex_state = 14}, + [17] = {.lex_state = 14}, + [18] = {.lex_state = 14}, + [19] = {.lex_state = 13}, + [20] = {.lex_state = 13}, + [21] = {.lex_state = 13}, + [22] = {.lex_state = 14}, + [23] = {.lex_state = 13}, + [24] = {.lex_state = 14}, + [25] = {.lex_state = 14}, + [26] = {.lex_state = 13}, + [27] = {.lex_state = 13}, + [28] = {.lex_state = 13}, + [29] = {.lex_state = 13}, + [30] = {.lex_state = 13}, + [31] = {.lex_state = 13}, + [32] = {.lex_state = 14}, + [33] = {.lex_state = 13}, + [34] = {.lex_state = 14}, + [35] = {.lex_state = 13}, + [36] = {.lex_state = 13}, + [37] = {.lex_state = 13}, + [38] = {.lex_state = 13}, + [39] = {.lex_state = 13}, + [40] = {.lex_state = 13}, + [41] = {.lex_state = 13}, + [42] = {.lex_state = 13}, + [43] = {.lex_state = 13}, + [44] = {.lex_state = 14}, + [45] = {.lex_state = 14}, + [46] = {.lex_state = 15}, + [47] = {.lex_state = 14}, + [48] = {.lex_state = 14}, + [49] = {.lex_state = 14}, + [50] = {.lex_state = 15}, + [51] = {.lex_state = 14}, + [52] = {.lex_state = 14}, + [53] = {.lex_state = 14}, + [54] = {.lex_state = 14}, + [55] = {.lex_state = 14}, + [56] = {.lex_state = 14}, + [57] = {.lex_state = 14}, + [58] = {.lex_state = 14}, + [59] = {.lex_state = 14}, + [60] = {.lex_state = 14}, + [61] = {.lex_state = 14}, + [62] = {.lex_state = 14}, + [63] = {.lex_state = 14}, + [64] = {.lex_state = 14}, + [65] = {.lex_state = 14}, + [66] = {.lex_state = 15}, + [67] = {.lex_state = 14}, + [68] = {.lex_state = 14}, + [69] = {.lex_state = 14}, + [70] = {.lex_state = 14}, + [71] = {.lex_state = 14}, + [72] = {.lex_state = 14}, + [73] = {.lex_state = 14}, + [74] = {.lex_state = 14}, + [75] = {.lex_state = 14}, + [76] = {.lex_state = 14}, + [77] = {.lex_state = 14}, + [78] = {.lex_state = 14}, + [79] = {.lex_state = 14}, + [80] = {.lex_state = 14}, + [81] = {.lex_state = 15}, + [82] = {.lex_state = 15}, + [83] = {.lex_state = 14}, + [84] = {.lex_state = 14}, + [85] = {.lex_state = 1}, + [86] = {.lex_state = 14}, + [87] = {.lex_state = 14}, + [88] = {.lex_state = 14}, + [89] = {.lex_state = 14}, + [90] = {.lex_state = 14}, + [91] = {.lex_state = 14}, + [92] = {.lex_state = 14}, + [93] = {.lex_state = 1}, + [94] = {.lex_state = 2}, + [95] = {.lex_state = 1}, + [96] = {.lex_state = 2}, + [97] = {.lex_state = 2}, + [98] = {.lex_state = 1}, + [99] = {.lex_state = 14}, + [100] = {.lex_state = 1}, + [101] = {.lex_state = 1}, + [102] = {.lex_state = 1}, + [103] = {.lex_state = 1}, + [104] = {.lex_state = 1}, + [105] = {.lex_state = 1}, + [106] = {.lex_state = 1}, + [107] = {.lex_state = 2}, + [108] = {.lex_state = 2}, + [109] = {.lex_state = 2}, + [110] = {.lex_state = 2}, + [111] = {.lex_state = 2}, + [112] = {.lex_state = 1}, + [113] = {.lex_state = 1}, + [114] = {.lex_state = 2}, + [115] = {.lex_state = 2}, + [116] = {.lex_state = 1}, + [117] = {.lex_state = 1}, + [118] = {.lex_state = 2}, + [119] = {.lex_state = 2}, + [120] = {.lex_state = 1}, + [121] = {.lex_state = 1}, + [122] = {.lex_state = 1}, + [123] = {.lex_state = 2}, + [124] = {.lex_state = 1}, + [125] = {.lex_state = 2}, + [126] = {.lex_state = 1}, + [127] = {.lex_state = 2}, + [128] = {.lex_state = 1}, + [129] = {.lex_state = 1}, + [130] = {.lex_state = 2}, + [131] = {.lex_state = 2}, + [132] = {.lex_state = 1}, + [133] = {.lex_state = 1}, + [134] = {.lex_state = 1}, + [135] = {.lex_state = 14}, + [136] = {.lex_state = 14}, + [137] = {.lex_state = 14}, + [138] = {.lex_state = 14}, + [139] = {.lex_state = 14}, + [140] = {.lex_state = 14}, + [141] = {.lex_state = 14}, + [142] = {.lex_state = 14}, + [143] = {.lex_state = 14}, + [144] = {.lex_state = 14}, + [145] = {.lex_state = 14}, + [146] = {.lex_state = 14}, + [147] = {.lex_state = 0}, + [148] = {.lex_state = 14}, + [149] = {.lex_state = 14}, + [150] = {.lex_state = 14}, + [151] = {.lex_state = 14}, + [152] = {.lex_state = 14}, + [153] = {.lex_state = 14}, + [154] = {.lex_state = 14}, + [155] = {.lex_state = 14}, + [156] = {.lex_state = 14}, + [157] = {.lex_state = 14}, + [158] = {.lex_state = 14}, + [159] = {.lex_state = 14}, + [160] = {.lex_state = 0}, + [161] = {.lex_state = 14}, + [162] = {.lex_state = 14}, + [163] = {.lex_state = 14}, + [164] = {.lex_state = 14}, + [165] = {.lex_state = 14}, + [166] = {.lex_state = 0}, + [167] = {.lex_state = 14}, + [168] = {.lex_state = 0}, + [169] = {.lex_state = 14}, + [170] = {.lex_state = 14}, + [171] = {.lex_state = 0}, + [172] = {.lex_state = 14}, + [173] = {.lex_state = 14}, + [174] = {.lex_state = 0}, + [175] = {.lex_state = 0}, + [176] = {.lex_state = 0}, + [177] = {.lex_state = 0}, + [178] = {.lex_state = 0}, + [179] = {.lex_state = 14}, + [180] = {.lex_state = 14}, + [181] = {.lex_state = 0}, + [182] = {.lex_state = 0}, + [183] = {.lex_state = 0}, + [184] = {.lex_state = 0}, + [185] = {.lex_state = 0}, + [186] = {.lex_state = 0}, + [187] = {.lex_state = 0}, + [188] = {.lex_state = 0}, + [189] = {.lex_state = 0}, + [190] = {.lex_state = 14}, + [191] = {.lex_state = 0}, + [192] = {.lex_state = 0}, + [193] = {.lex_state = 14}, + [194] = {.lex_state = 0}, + [195] = {.lex_state = 0}, + [196] = {.lex_state = 0}, + [197] = {.lex_state = 0}, + [198] = {.lex_state = 0}, + [199] = {.lex_state = 14}, + [200] = {.lex_state = 0}, + [201] = {.lex_state = 14}, + [202] = {.lex_state = 0}, + [203] = {.lex_state = 14}, + [204] = {.lex_state = 0}, + [205] = {.lex_state = 14}, + [206] = {.lex_state = 0}, + [207] = {.lex_state = 0}, + [208] = {.lex_state = 0}, + [209] = {.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), - [anon_sym_POUND] = ACTIONS(1), - [anon_sym_DASH_GT] = ACTIONS(1), + [aux_sym_comment_token1] = ACTIONS(1), [sym_integer] = ACTIONS(1), [sym_float] = ACTIONS(1), [sym_string] = ACTIONS(1), @@ -2124,55 +1641,52 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_BANG_EQ] = ACTIONS(1), [anon_sym_AMP_AMP] = ACTIONS(1), [anon_sym_PIPE_PIPE] = ACTIONS(1), + [anon_sym_GT_EQ] = ACTIONS(1), + [anon_sym_LT_EQ] = ACTIONS(1), [anon_sym_PLUS_EQ] = ACTIONS(1), [anon_sym_DASH_EQ] = ACTIONS(1), + [anon_sym_if] = ACTIONS(1), + [anon_sym_elseif] = ACTIONS(1), + [anon_sym_else] = ACTIONS(1), + [anon_sym_LPAREN] = ACTIONS(1), + [anon_sym_RPAREN] = ACTIONS(1), + [anon_sym_while] = ACTIONS(1), + [anon_sym_for] = ACTIONS(1), + [anon_sym_in] = ACTIONS(1), + [anon_sym_print] = ACTIONS(1), + [anon_sym_read] = ACTIONS(1), + [anon_sym_write] = ACTIONS(1), [anon_sym_select] = ACTIONS(1), [anon_sym_from] = ACTIONS(1), [anon_sym_where] = ACTIONS(1), [anon_sym_insert] = ACTIONS(1), [anon_sym_into] = ACTIONS(1), - [anon_sym_if] = ACTIONS(1), - [anon_sym_then] = ACTIONS(1), - [anon_sym_else] = ACTIONS(1), - [anon_sym_LPAREN] = ACTIONS(1), - [anon_sym_RPAREN] = ACTIONS(1), - [anon_sym_while] = ACTIONS(1), - [anon_sym_loop] = ACTIONS(1), - [anon_sym_break] = ACTIONS(1), - [anon_sym_match] = ACTIONS(1), - [anon_sym_EQ_GT] = ACTIONS(1), - [anon_sym_catch] = ACTIONS(1), - [anon_sym_input] = ACTIONS(1), - [anon_sym_output] = ACTIONS(1), - [anon_sym_read] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(332), - [sym_item] = STATE(4), - [sym_comment] = STATE(172), - [sym_statement] = STATE(172), - [sym_yield] = STATE(160), - [sym_expression] = STATE(75), - [sym_value] = STATE(73), - [sym_boolean] = STATE(66), - [sym_list] = STATE(66), - [sym_function] = STATE(66), - [sym_table] = STATE(66), - [sym_map] = STATE(66), - [sym_math] = STATE(73), - [sym_logic] = STATE(73), - [sym_assignment] = STATE(160), - [sym_select] = STATE(160), - [sym_insert] = STATE(160), - [sym_if_else] = STATE(160), - [sym_function_call] = STATE(73), - [sym_while] = STATE(160), - [sym_loop] = STATE(160), - [sym_match] = STATE(160), - [sym_tool_call] = STATE(73), - [aux_sym_root_repeat1] = STATE(4), + [sym_root] = STATE(176), + [sym_item] = STATE(2), + [sym_statement] = STATE(18), + [sym_comment] = STATE(90), + [sym_expression] = STATE(40), + [sym_value] = STATE(26), + [sym_boolean] = STATE(33), + [sym_list] = STATE(33), + [sym_function] = STATE(33), + [sym_table] = STATE(33), + [sym_map] = STATE(33), + [sym_math] = STATE(26), + [sym_logic] = STATE(26), + [sym_assignment] = STATE(90), + [sym_if_else] = STATE(90), + [sym_if] = STATE(46), + [sym_function_call] = STATE(26), + [sym_while] = STATE(90), + [sym_select] = STATE(90), + [sym_insert] = STATE(90), + [aux_sym_root_repeat1] = STATE(2), + [aux_sym_item_repeat1] = STATE(18), [sym_identifier] = ACTIONS(3), - [anon_sym_POUND] = ACTIONS(5), + [aux_sym_comment_token1] = ACTIONS(5), [sym_integer] = ACTIONS(7), [sym_float] = ACTIONS(9), [sym_string] = ACTIONS(9), @@ -2182,973 +1696,46 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_function] = ACTIONS(15), [anon_sym_LBRACE] = ACTIONS(17), [anon_sym_table] = ACTIONS(19), - [anon_sym_select] = ACTIONS(21), - [anon_sym_insert] = ACTIONS(23), - [anon_sym_if] = ACTIONS(25), - [anon_sym_LPAREN] = ACTIONS(27), - [anon_sym_while] = ACTIONS(29), - [anon_sym_loop] = ACTIONS(31), - [anon_sym_match] = ACTIONS(33), + [anon_sym_if] = ACTIONS(21), + [anon_sym_LPAREN] = ACTIONS(23), + [anon_sym_while] = ACTIONS(25), + [anon_sym_select] = ACTIONS(27), + [anon_sym_insert] = ACTIONS(29), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 23, - ACTIONS(37), 1, + [0] = 22, + ACTIONS(3), 1, sym_identifier, - ACTIONS(40), 1, - anon_sym_POUND, - ACTIONS(43), 1, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, sym_integer, - ACTIONS(52), 1, + ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(55), 1, + ACTIONS(15), 1, anon_sym_function, - ACTIONS(58), 1, + ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(61), 1, + ACTIONS(19), 1, anon_sym_table, - ACTIONS(64), 1, - anon_sym_select, - ACTIONS(67), 1, - anon_sym_insert, - ACTIONS(70), 1, + ACTIONS(21), 1, anon_sym_if, - ACTIONS(73), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(76), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(79), 1, - anon_sym_loop, - ACTIONS(82), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - ACTIONS(35), 2, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + ACTIONS(31), 1, ts_builtin_sym_end, - anon_sym_RBRACE, - ACTIONS(46), 2, - sym_float, - sym_string, - ACTIONS(49), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [90] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(85), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [179] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(87), 1, - ts_builtin_sym_end, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [268] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(89), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [357] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(91), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [446] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(93), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [535] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(95), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [624] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(97), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [713] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(99), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [802] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(101), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [891] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(103), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [980] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(105), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [1069] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(107), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [1158] = 23, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(109), 1, - anon_sym_RBRACE, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(2), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [1247] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, ACTIONS(9), 2, sym_float, sym_string, @@ -3158,163 +1745,238 @@ static const uint16_t ts_small_parse_table[] = { STATE(3), 2, sym_item, aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(18), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1333] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, + sym_select, + sym_insert, + [83] = 22, ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ts_builtin_sym_end, + ACTIONS(35), 1, + sym_identifier, + ACTIONS(38), 1, + aux_sym_comment_token1, + ACTIONS(41), 1, + sym_integer, + ACTIONS(50), 1, + anon_sym_LBRACK, + ACTIONS(53), 1, + anon_sym_function, + ACTIONS(56), 1, + anon_sym_LBRACE, + ACTIONS(59), 1, + anon_sym_table, + ACTIONS(62), 1, + anon_sym_if, + ACTIONS(65), 1, + anon_sym_LPAREN, + ACTIONS(68), 1, + anon_sym_while, + ACTIONS(71), 1, + anon_sym_select, + ACTIONS(74), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, - ACTIONS(9), 2, + STATE(46), 1, + sym_if, + ACTIONS(44), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(47), 2, anon_sym_true, anon_sym_false, - STATE(10), 2, + STATE(3), 2, sym_item, aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(18), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1419] = 22, - ACTIONS(3), 1, + sym_select, + sym_insert, + [166] = 21, + ACTIONS(79), 1, sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, + ACTIONS(82), 1, + aux_sym_comment_token1, + ACTIONS(85), 1, sym_integer, - ACTIONS(13), 1, + ACTIONS(94), 1, anon_sym_LBRACK, - ACTIONS(15), 1, + ACTIONS(97), 1, anon_sym_function, - ACTIONS(17), 1, + ACTIONS(100), 1, anon_sym_LBRACE, - ACTIONS(19), 1, + ACTIONS(103), 1, anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, + ACTIONS(106), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(109), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(112), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(115), 1, + anon_sym_select, + ACTIONS(118), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, - ACTIONS(9), 2, + STATE(46), 1, + sym_if, + ACTIONS(77), 2, + ts_builtin_sym_end, + anon_sym_RBRACE, + ACTIONS(88), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(91), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(4), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1505] = 22, + sym_select, + sym_insert, + [246] = 4, + STATE(67), 1, + sym_logic_operator, + STATE(75), 1, + sym_math_operator, + ACTIONS(123), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(121), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [291] = 8, + ACTIONS(133), 1, + anon_sym_DASH, + STATE(67), 1, + sym_logic_operator, + STATE(75), 1, + sym_math_operator, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(131), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(127), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(125), 11, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + [344] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3326,21 +1988,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(186), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, @@ -3348,37 +2010,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_true, anon_sym_false, STATE(14), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1591] = 22, + sym_select, + sym_insert, + [423] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3390,59 +2046,53 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(189), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(13), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(14), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1677] = 22, + sym_select, + sym_insert, + [502] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3454,59 +2104,53 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(197), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(11), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(14), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1763] = 22, + sym_select, + sym_insert, + [581] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3518,59 +2162,53 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(202), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(8), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(14), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1849] = 22, + sym_select, + sym_insert, + [660] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3582,59 +2220,53 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(174), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(7), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(14), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [1935] = 22, + sym_select, + sym_insert, + [739] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3646,59 +2278,53 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(204), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(6), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(14), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [2021] = 22, + sym_select, + sym_insert, + [818] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3710,59 +2336,53 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, anon_sym_if, - ACTIONS(27), 1, + ACTIONS(23), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, + STATE(191), 1, + sym_item, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(5), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, + STATE(14), 2, sym_statement, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [2107] = 22, + sym_select, + sym_insert, + [897] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, - anon_sym_POUND, + aux_sym_comment_token1, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -3774,1679 +2394,610 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(19), 1, anon_sym_table, ACTIONS(21), 1, - anon_sym_select, + anon_sym_if, ACTIONS(23), 1, - anon_sym_insert, + anon_sym_LPAREN, ACTIONS(25), 1, - anon_sym_if, + anon_sym_while, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(12), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2193] = 22, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(15), 2, - sym_item, - aux_sym_root_repeat1, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2279] = 22, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(111), 1, - sym_identifier, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(127), 1, - anon_sym_select, - ACTIONS(129), 1, anon_sym_insert, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(135), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(329), 1, - sym_item, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2364] = 22, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(111), 1, - sym_identifier, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(127), 1, - anon_sym_select, - ACTIONS(129), 1, - anon_sym_insert, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(135), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(351), 1, - sym_item, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2449] = 22, - ACTIONS(5), 1, - anon_sym_POUND, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(111), 1, - sym_identifier, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(127), 1, - anon_sym_select, - ACTIONS(129), 1, - anon_sym_insert, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(135), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(350), 1, - sym_item, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(172), 2, - sym_comment, - sym_statement, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2534] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, ACTIONS(137), 1, - anon_sym_break, - STATE(75), 1, + anon_sym_RBRACE, + STATE(40), 1, sym_expression, + STATE(46), 1, + sym_if, ACTIONS(9), 2, sym_float, sym_string, ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(33), 2, + STATE(4), 2, sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [976] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, + sym_expression, + STATE(46), 1, + sym_if, + STATE(188), 1, + sym_item, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(26), 4, sym_value, sym_math, sym_logic, sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [2616] = 21, - ACTIONS(139), 1, + sym_select, + sym_insert, + [1055] = 21, + ACTIONS(3), 1, sym_identifier, - ACTIONS(142), 1, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, sym_integer, - ACTIONS(151), 1, + ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(154), 1, + ACTIONS(15), 1, anon_sym_function, - ACTIONS(157), 1, + ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(160), 1, + ACTIONS(19), 1, anon_sym_table, - ACTIONS(163), 1, - anon_sym_select, - ACTIONS(166), 1, - anon_sym_insert, - ACTIONS(169), 1, + ACTIONS(21), 1, anon_sym_if, - ACTIONS(172), 1, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, + sym_expression, + STATE(46), 1, + sym_if, + STATE(200), 1, + sym_item, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1134] = 21, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, + sym_expression, + STATE(46), 1, + sym_if, + STATE(206), 1, + sym_item, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(14), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1213] = 8, + STATE(40), 1, + sym_expression, + STATE(46), 1, + sym_if, + STATE(4), 2, + sym_statement, + aux_sym_item_repeat1, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + ACTIONS(137), 7, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(139), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [1266] = 2, + ACTIONS(143), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + anon_sym_into, + ACTIONS(141), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1306] = 2, + ACTIONS(147), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + anon_sym_into, + ACTIONS(145), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1346] = 5, + ACTIONS(153), 1, + anon_sym_EQ, + STATE(25), 1, + sym_assignment_operator, + ACTIONS(155), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(151), 15, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(149), 16, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + [1392] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, anon_sym_LPAREN, ACTIONS(175), 1, - anon_sym_while, - ACTIONS(178), 1, - anon_sym_loop, - ACTIONS(181), 1, - anon_sym_break, - ACTIONS(183), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - ACTIONS(145), 2, - sym_float, - sym_string, - ACTIONS(148), 2, - anon_sym_true, - anon_sym_false, - STATE(32), 2, - sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2698] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, anon_sym_select, - ACTIONS(23), 1, + ACTIONS(177), 1, anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(186), 1, - anon_sym_break, - STATE(75), 1, + STATE(46), 1, + sym_if, + STATE(100), 1, sym_expression, - ACTIONS(9), 2, + STATE(183), 1, + sym_statement, + ACTIONS(161), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(163), 2, anon_sym_true, anon_sym_false, - STATE(32), 2, - sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, + STATE(90), 6, + sym_comment, sym_assignment, - sym_select, - sym_insert, sym_if_else, sym_while, - sym_loop, - sym_match, - [2780] = 21, - ACTIONS(3), 1, + sym_select, + sym_insert, + [1467] = 2, + ACTIONS(181), 14, sym_identifier, - ACTIONS(7), 1, sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(188), 1, - anon_sym_break, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(36), 2, - sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2862] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, + anon_sym_LT, + anon_sym_GT, anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(190), 1, - anon_sym_break, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(37), 2, - sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [2944] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(192), 1, - anon_sym_break, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(32), 2, - sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3026] = 21, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - ACTIONS(194), 1, - anon_sym_break, - STATE(75), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(32), 2, - sym_statement, - aux_sym_loop_repeat1, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3108] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - STATE(158), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3186] = 20, - ACTIONS(196), 1, - sym_identifier, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(212), 1, - anon_sym_select, - ACTIONS(214), 1, - anon_sym_insert, - ACTIONS(216), 1, - anon_sym_if, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(220), 1, - anon_sym_while, - ACTIONS(222), 1, - anon_sym_loop, - ACTIONS(224), 1, - anon_sym_match, - STATE(60), 1, - sym_expression, - STATE(128), 1, - sym_statement, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(129), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3264] = 20, - ACTIONS(196), 1, - sym_identifier, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(212), 1, - anon_sym_select, - ACTIONS(214), 1, - anon_sym_insert, - ACTIONS(216), 1, - anon_sym_if, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(220), 1, - anon_sym_while, - ACTIONS(222), 1, - anon_sym_loop, - ACTIONS(224), 1, - anon_sym_match, - STATE(60), 1, - sym_expression, - STATE(125), 1, - sym_statement, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(129), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3342] = 20, - ACTIONS(196), 1, - sym_identifier, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(212), 1, - anon_sym_select, - ACTIONS(214), 1, - anon_sym_insert, - ACTIONS(216), 1, - anon_sym_if, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(220), 1, - anon_sym_while, - ACTIONS(222), 1, - anon_sym_loop, - ACTIONS(224), 1, - anon_sym_match, - STATE(60), 1, - sym_expression, - STATE(124), 1, - sym_statement, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(129), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3420] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - STATE(215), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3498] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - STATE(159), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3576] = 20, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(111), 1, - sym_identifier, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(127), 1, - anon_sym_select, - ACTIONS(129), 1, - anon_sym_insert, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(135), 1, - anon_sym_match, - STATE(158), 1, - sym_statement, - STATE(207), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3654] = 20, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(111), 1, - sym_identifier, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(127), 1, - anon_sym_select, - ACTIONS(129), 1, - anon_sym_insert, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(135), 1, - anon_sym_match, - STATE(159), 1, - sym_statement, - STATE(207), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3732] = 20, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(111), 1, - sym_identifier, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(127), 1, - anon_sym_select, - ACTIONS(129), 1, - anon_sym_insert, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(135), 1, - anon_sym_match, - STATE(156), 1, - sym_statement, - STATE(207), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3810] = 20, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - anon_sym_select, - ACTIONS(230), 1, - anon_sym_insert, - ACTIONS(232), 1, - anon_sym_if, - ACTIONS(234), 1, - anon_sym_while, - ACTIONS(236), 1, - anon_sym_loop, - ACTIONS(238), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(280), 1, - sym_statement, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(290), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3888] = 20, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - anon_sym_select, - ACTIONS(230), 1, - anon_sym_insert, - ACTIONS(232), 1, - anon_sym_if, - ACTIONS(234), 1, - anon_sym_while, - ACTIONS(236), 1, - anon_sym_loop, - ACTIONS(238), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(301), 1, - sym_statement, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(290), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [3966] = 20, - ACTIONS(196), 1, - sym_identifier, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(212), 1, - anon_sym_select, - ACTIONS(214), 1, - anon_sym_insert, - ACTIONS(216), 1, - anon_sym_if, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(220), 1, - anon_sym_while, - ACTIONS(222), 1, - anon_sym_loop, - ACTIONS(224), 1, - anon_sym_match, - STATE(60), 1, - sym_expression, - STATE(127), 1, - sym_statement, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(129), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [4044] = 20, - ACTIONS(3), 1, - sym_identifier, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(21), 1, - anon_sym_select, - ACTIONS(23), 1, - anon_sym_insert, - ACTIONS(25), 1, - anon_sym_if, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_while, - ACTIONS(31), 1, - anon_sym_loop, - ACTIONS(33), 1, - anon_sym_match, - STATE(75), 1, - sym_expression, - STATE(156), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(160), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [4122] = 20, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - anon_sym_select, - ACTIONS(230), 1, - anon_sym_insert, - ACTIONS(232), 1, - anon_sym_if, - ACTIONS(234), 1, - anon_sym_while, - ACTIONS(236), 1, - anon_sym_loop, - ACTIONS(238), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(288), 1, - sym_statement, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(290), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [4200] = 20, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(226), 1, - sym_identifier, - ACTIONS(228), 1, - anon_sym_select, - ACTIONS(230), 1, - anon_sym_insert, - ACTIONS(232), 1, - anon_sym_if, - ACTIONS(234), 1, - anon_sym_while, - ACTIONS(236), 1, - anon_sym_loop, - ACTIONS(238), 1, - anon_sym_match, - STATE(207), 1, - sym_expression, - STATE(282), 1, - sym_statement, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(290), 8, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_while, - sym_loop, - sym_match, - [4278] = 8, - ACTIONS(246), 1, anon_sym_DASH, - ACTIONS(250), 1, anon_sym_PIPE_PIPE, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(240), 11, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(179), 20, ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, anon_sym_COMMA, + anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(242), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, + [1506] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(21), 1, anon_sym_if, + ACTIONS(25), 1, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4331] = 4, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - ACTIONS(254), 16, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(175), 1, + anon_sym_select, + ACTIONS(177), 1, + anon_sym_insert, + STATE(46), 1, + sym_if, + STATE(100), 1, + sym_expression, + STATE(195), 1, + sym_statement, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1581] = 20, + ACTIONS(3), 1, + sym_identifier, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_select, + ACTIONS(29), 1, + anon_sym_insert, + STATE(40), 1, + sym_expression, + STATE(46), 1, + sym_if, + STATE(87), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1656] = 2, + ACTIONS(151), 14, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, + anon_sym_LT, + anon_sym_GT, anon_sym_table, anon_sym_DASH, anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, anon_sym_if, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(252), 18, + anon_sym_select, + anon_sym_insert, + ACTIONS(149), 20, ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, anon_sym_COMMA, + anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, @@ -5456,270 +3007,2117 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, anon_sym_LPAREN, anon_sym_RPAREN, - [4376] = 4, - ACTIONS(260), 1, - anon_sym_EQ, - ACTIONS(262), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(256), 15, + [1695] = 2, + ACTIONS(185), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(183), 20, ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, anon_sym_LPAREN, - ACTIONS(258), 18, + anon_sym_RPAREN, + [1734] = 2, + ACTIONS(189), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(187), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1773] = 2, + ACTIONS(193), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(191), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1812] = 2, + ACTIONS(197), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(195), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1851] = 2, + ACTIONS(201), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(199), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [1890] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(175), 1, + anon_sym_select, + ACTIONS(177), 1, + anon_sym_insert, + STATE(46), 1, + sym_if, + STATE(100), 1, + sym_expression, + STATE(182), 1, + sym_statement, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [1965] = 2, + ACTIONS(205), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(203), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2004] = 20, + ACTIONS(5), 1, + aux_sym_comment_token1, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(175), 1, + anon_sym_select, + ACTIONS(177), 1, + anon_sym_insert, + STATE(46), 1, + sym_if, + STATE(87), 1, + sym_statement, + STATE(100), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(90), 6, + sym_comment, + sym_assignment, + sym_if_else, + sym_while, + sym_select, + sym_insert, + [2079] = 2, + ACTIONS(209), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(207), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2118] = 2, + ACTIONS(213), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(211), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2157] = 2, + ACTIONS(217), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(215), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2196] = 2, + ACTIONS(221), 14, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_LT, + anon_sym_GT, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + ACTIONS(219), 20, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2235] = 8, + ACTIONS(133), 1, + anon_sym_DASH, + STATE(67), 1, + sym_logic_operator, + STATE(75), 1, + sym_math_operator, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(131), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(223), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(225), 10, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_PIPE_PIPE, + anon_sym_if, + anon_sym_while, anon_sym_select, anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4421] = 10, - ACTIONS(246), 1, + [2285] = 8, + ACTIONS(133), 1, anon_sym_DASH, - ACTIONS(250), 1, + STATE(67), 1, + sym_logic_operator, + STATE(75), 1, + sym_math_operator, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, anon_sym_PIPE_PIPE, + ACTIONS(131), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(227), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(229), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [2335] = 4, + ACTIONS(151), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + ACTIONS(231), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(149), 9, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(233), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [2375] = 9, + ACTIONS(133), 1, + anon_sym_DASH, + ACTIONS(239), 1, + anon_sym_COMMA, + STATE(67), 1, + sym_logic_operator, + STATE(75), 1, + sym_math_operator, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(131), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(235), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + ACTIONS(237), 7, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + [2423] = 8, + ACTIONS(133), 1, + anon_sym_DASH, + STATE(67), 1, + sym_logic_operator, + STATE(75), 1, + sym_math_operator, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(131), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(241), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + ACTIONS(243), 6, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + [2467] = 14, + ACTIONS(245), 1, + sym_identifier, + ACTIONS(248), 1, + sym_integer, + ACTIONS(257), 1, + anon_sym_LBRACK, + ACTIONS(262), 1, + anon_sym_function, + ACTIONS(265), 1, + anon_sym_LBRACE, ACTIONS(268), 1, - anon_sym_DASH_GT, - STATE(101), 1, - aux_sym_yield_repeat1, - STATE(148), 1, - sym_logic_operator, - STATE(149), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(264), 8, - ts_builtin_sym_end, - anon_sym_POUND, + anon_sym_table, + ACTIONS(271), 1, + anon_sym_LPAREN, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(251), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(266), 15, - sym_identifier, - sym_integer, + ACTIONS(254), 2, anon_sym_true, anon_sym_false, + ACTIONS(260), 2, + anon_sym_RBRACK, + anon_sym_RPAREN, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2520] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(276), 1, + anon_sym_RBRACK, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2572] = 6, + ACTIONS(282), 1, + anon_sym_elseif, + ACTIONS(284), 1, anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4478] = 2, - ACTIONS(272), 17, + STATE(88), 1, + sym_else, + STATE(50), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(278), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(280), 10, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_into, anon_sym_if, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(270), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [4519] = 2, - ACTIONS(276), 16, - sym_identifier, + anon_sym_select, + anon_sym_insert, + [2608] = 14, + ACTIONS(7), 1, sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(274), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, + ACTIONS(13), 1, anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, anon_sym_LPAREN, - anon_sym_RPAREN, - [4559] = 2, - ACTIONS(280), 16, + ACTIONS(274), 1, sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(278), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [4599] = 9, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, ACTIONS(286), 1, - anon_sym_DASH_GT, - STATE(148), 1, - sym_logic_operator, - STATE(149), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(282), 8, + anon_sym_RBRACK, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2660] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(288), 1, + anon_sym_RBRACE, + STATE(43), 1, + sym_expression, + STATE(62), 1, + aux_sym_table_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2712] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(290), 1, + anon_sym_RBRACK, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2764] = 6, + ACTIONS(282), 1, + anon_sym_elseif, + ACTIONS(284), 1, + anon_sym_else, + STATE(86), 1, + sym_else, + STATE(66), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(292), 8, ts_builtin_sym_end, - anon_sym_POUND, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(284), 15, + ACTIONS(294), 10, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, + anon_sym_if, + anon_sym_while, anon_sym_select, anon_sym_insert, + [2800] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(296), 1, + anon_sym_RBRACK, + STATE(42), 1, + sym_expression, + STATE(49), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2852] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(298), 1, + anon_sym_RPAREN, + STATE(42), 1, + sym_expression, + STATE(53), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2904] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(300), 1, + anon_sym_RPAREN, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2956] = 14, + ACTIONS(302), 1, + sym_identifier, + ACTIONS(305), 1, + sym_integer, + ACTIONS(314), 1, + anon_sym_LBRACK, + ACTIONS(317), 1, + anon_sym_function, + ACTIONS(320), 1, + anon_sym_LBRACE, + ACTIONS(323), 1, + anon_sym_RBRACE, + ACTIONS(325), 1, + anon_sym_table, + ACTIONS(328), 1, + anon_sym_LPAREN, + STATE(43), 1, + sym_expression, + STATE(54), 1, + aux_sym_table_repeat1, + ACTIONS(308), 2, + sym_float, + sym_string, + ACTIONS(311), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3008] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(331), 1, + anon_sym_RBRACK, + STATE(42), 1, + sym_expression, + STATE(47), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3060] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(333), 1, + anon_sym_RBRACE, + STATE(43), 1, + sym_expression, + STATE(54), 1, + aux_sym_table_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3112] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(335), 1, + anon_sym_RBRACE, + STATE(43), 1, + sym_expression, + STATE(56), 1, + aux_sym_table_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3164] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(337), 1, + anon_sym_RPAREN, + STATE(42), 1, + sym_expression, + STATE(63), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3216] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(339), 1, + anon_sym_RBRACE, + STATE(43), 1, + sym_expression, + STATE(64), 1, + aux_sym_table_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3268] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(341), 1, + anon_sym_RBRACK, + STATE(42), 1, + sym_expression, + STATE(45), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3320] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(343), 1, + anon_sym_RPAREN, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3372] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(345), 1, + anon_sym_RBRACE, + STATE(43), 1, + sym_expression, + STATE(54), 1, + aux_sym_table_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3424] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(347), 1, + anon_sym_RPAREN, + STATE(42), 1, + sym_expression, + STATE(44), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3476] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(349), 1, + anon_sym_RBRACE, + STATE(43), 1, + sym_expression, + STATE(54), 1, + aux_sym_table_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3528] = 14, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + ACTIONS(351), 1, + anon_sym_RPAREN, + STATE(42), 1, + sym_expression, + STATE(61), 1, + aux_sym_list_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3580] = 4, + ACTIONS(357), 1, + anon_sym_elseif, + STATE(66), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(353), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(355), 11, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, anon_sym_if, anon_sym_else, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4653] = 4, - ACTIONS(288), 1, + anon_sym_select, + anon_sym_insert, + [3611] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + STATE(6), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3657] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + STATE(39), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3703] = 12, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(102), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3749] = 12, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(98), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3795] = 12, + ACTIONS(362), 1, + sym_identifier, + ACTIONS(364), 1, + sym_integer, + ACTIONS(370), 1, + anon_sym_LBRACK, + ACTIONS(372), 1, + anon_sym_function, + ACTIONS(374), 1, + anon_sym_LBRACE, + ACTIONS(376), 1, + anon_sym_table, + ACTIONS(378), 1, + anon_sym_LPAREN, + STATE(97), 1, + sym_expression, + ACTIONS(366), 2, + sym_float, + sym_string, + ACTIONS(368), 2, + anon_sym_true, + anon_sym_false, + STATE(127), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(131), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3841] = 12, + ACTIONS(362), 1, + sym_identifier, + ACTIONS(364), 1, + sym_integer, + ACTIONS(370), 1, + anon_sym_LBRACK, + ACTIONS(372), 1, + anon_sym_function, + ACTIONS(374), 1, + anon_sym_LBRACE, + ACTIONS(376), 1, + anon_sym_table, + ACTIONS(378), 1, + anon_sym_LPAREN, + STATE(96), 1, + sym_expression, + ACTIONS(366), 2, + sym_float, + sym_string, + ACTIONS(368), 2, + anon_sym_true, + anon_sym_false, + STATE(127), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(131), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3887] = 13, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(124), 1, + sym_expression, + STATE(134), 1, + sym_logic, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 3, + sym_value, + sym_math, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3935] = 12, + ACTIONS(362), 1, + sym_identifier, + ACTIONS(364), 1, + sym_integer, + ACTIONS(370), 1, + anon_sym_LBRACK, + ACTIONS(372), 1, + anon_sym_function, + ACTIONS(374), 1, + anon_sym_LBRACE, + ACTIONS(376), 1, + anon_sym_table, + ACTIONS(378), 1, + anon_sym_LPAREN, + STATE(94), 1, + sym_expression, + ACTIONS(366), 2, + sym_float, + sym_string, + ACTIONS(368), 2, + anon_sym_true, + anon_sym_false, + STATE(127), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(131), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3981] = 12, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(23), 1, + anon_sym_LPAREN, + ACTIONS(274), 1, + sym_identifier, + STATE(5), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(33), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4027] = 13, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(41), 1, + sym_logic, + STATE(106), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 3, + sym_value, + sym_math, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4075] = 12, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(95), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4121] = 12, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(93), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4167] = 12, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(103), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4213] = 12, + ACTIONS(159), 1, + sym_integer, + ACTIONS(165), 1, + anon_sym_LBRACK, + ACTIONS(167), 1, + anon_sym_function, + ACTIONS(169), 1, + anon_sym_LBRACE, + ACTIONS(171), 1, + anon_sym_table, + ACTIONS(173), 1, + anon_sym_LPAREN, + ACTIONS(360), 1, + sym_identifier, + STATE(101), 1, + sym_expression, + ACTIONS(161), 2, + sym_float, + sym_string, + ACTIONS(163), 2, + anon_sym_true, + anon_sym_false, + STATE(113), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(112), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4259] = 2, + ACTIONS(380), 9, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_elseif, + anon_sym_LPAREN, + ACTIONS(382), 11, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4284] = 2, + ACTIONS(384), 9, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_elseif, + anon_sym_LPAREN, + ACTIONS(386), 11, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4309] = 3, + ACTIONS(392), 1, + anon_sym_where, + ACTIONS(388), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(390), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4335] = 3, + ACTIONS(398), 1, + anon_sym_where, + ACTIONS(394), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(396), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4361] = 5, + ACTIONS(153), 1, anon_sym_EQ, - ACTIONS(290), 2, + STATE(34), 1, + sym_assignment_operator, + ACTIONS(155), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(256), 15, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, + ACTIONS(151), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(149), 10, anon_sym_RBRACE, anon_sym_STAR, anon_sym_SLASH, @@ -5727,6503 +5125,1861 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(258), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_PLUS, - anon_sym_DASH, anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4697] = 2, - ACTIONS(294), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(292), 19, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4390] = 2, + ACTIONS(400), 8, ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, anon_sym_LPAREN, - anon_sym_RPAREN, - [4737] = 2, - ACTIONS(298), 16, + ACTIONS(402), 10, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, anon_sym_if, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(296), 19, + anon_sym_select, + anon_sym_insert, + [4413] = 2, + ACTIONS(404), 8, ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, anon_sym_LPAREN, - anon_sym_RPAREN, - [4777] = 2, - ACTIONS(302), 16, + ACTIONS(406), 10, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, anon_sym_if, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(300), 19, + anon_sym_select, + anon_sym_insert, + [4436] = 2, + ACTIONS(292), 8, ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, anon_sym_LPAREN, - anon_sym_RPAREN, - [4817] = 10, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(304), 1, - anon_sym_DASH_GT, - STATE(108), 1, - aux_sym_yield_repeat1, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, + ACTIONS(294), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4459] = 2, + ACTIONS(408), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(410), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4482] = 2, + ACTIONS(227), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(229), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4505] = 2, + ACTIONS(412), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(414), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4528] = 2, + ACTIONS(416), 8, + ts_builtin_sym_end, + aux_sym_comment_token1, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + ACTIONS(418), 10, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + anon_sym_if, + anon_sym_while, + anon_sym_select, + anon_sym_insert, + [4551] = 6, + STATE(77), 1, sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(264), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(266), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4873] = 2, - ACTIONS(308), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(306), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [4913] = 2, - ACTIONS(312), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(310), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [4953] = 2, - ACTIONS(316), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(314), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [4993] = 2, - ACTIONS(320), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(318), 19, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5033] = 8, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - STATE(148), 1, + STATE(78), 1, sym_logic_operator, - STATE(149), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, + ACTIONS(125), 2, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, anon_sym_PLUS, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(240), 9, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(242), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5085] = 8, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, - STATE(148), 1, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4581] = 4, + STATE(71), 1, sym_logic_operator, - STATE(149), 1, + STATE(74), 1, sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, + ACTIONS(123), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(121), 11, + anon_sym_RBRACE, anon_sym_PLUS, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(322), 9, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(324), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5137] = 4, - STATE(148), 1, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4607] = 4, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, sym_logic_operator, - STATE(149), 1, - sym_math_operator, - ACTIONS(252), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, + ACTIONS(123), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(121), 13, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_PLUS, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(254), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5181] = 2, - ACTIONS(258), 16, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4633] = 7, + ACTIONS(420), 1, sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(256), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5220] = 19, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(326), 1, - sym_identifier, - STATE(117), 1, - aux_sym_match_repeat1, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [5293] = 9, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(328), 1, - anon_sym_DASH_GT, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(282), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(284), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5346] = 8, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - STATE(148), 1, - sym_logic_operator, - STATE(149), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(330), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(332), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5397] = 2, - ACTIONS(336), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(334), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5436] = 2, - ACTIONS(340), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(338), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5475] = 2, - ACTIONS(344), 16, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(342), 18, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - [5514] = 8, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(322), 9, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(324), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5565] = 19, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(326), 1, - sym_identifier, - STATE(111), 1, - aux_sym_match_repeat1, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [5638] = 19, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(326), 1, - sym_identifier, - STATE(109), 1, - aux_sym_match_repeat1, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [5711] = 19, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(326), 1, - sym_identifier, - STATE(106), 1, - aux_sym_match_repeat1, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [5784] = 2, - ACTIONS(296), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(298), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5822] = 2, - ACTIONS(256), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(258), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5860] = 2, - ACTIONS(270), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(272), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5898] = 2, - ACTIONS(292), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(294), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5936] = 2, - ACTIONS(310), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(312), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [5974] = 2, - ACTIONS(306), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(308), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6012] = 2, - ACTIONS(338), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(340), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6050] = 8, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - STATE(161), 1, - sym_logic_operator, - STATE(168), 1, - sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(330), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(332), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6100] = 2, - ACTIONS(274), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(276), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6138] = 2, - ACTIONS(300), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(302), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6176] = 2, - ACTIONS(318), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(320), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6214] = 2, - ACTIONS(278), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(280), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6252] = 2, - ACTIONS(334), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(336), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6290] = 2, - ACTIONS(342), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(344), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6328] = 2, - ACTIONS(314), 16, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(316), 17, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6366] = 4, - ACTIONS(258), 2, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - ACTIONS(256), 7, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(346), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(348), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6407] = 4, - ACTIONS(258), 2, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - ACTIONS(256), 7, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(346), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(348), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6447] = 4, - ACTIONS(268), 1, - anon_sym_DASH_GT, - STATE(102), 1, - aux_sym_yield_repeat1, - ACTIONS(350), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(352), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6481] = 4, - ACTIONS(354), 1, - anon_sym_DASH_GT, - STATE(102), 1, - aux_sym_yield_repeat1, - ACTIONS(322), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(324), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6515] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - ACTIONS(359), 1, - anon_sym_RPAREN, - STATE(112), 1, - aux_sym_function_call_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6568] = 3, - ACTIONS(365), 1, - anon_sym_where, - ACTIONS(361), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(363), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6599] = 14, - ACTIONS(367), 1, - sym_identifier, - ACTIONS(370), 1, - sym_integer, - ACTIONS(379), 1, - anon_sym_LBRACK, - ACTIONS(382), 1, - anon_sym_function, - ACTIONS(385), 1, - anon_sym_LBRACE, - ACTIONS(388), 1, - anon_sym_table, - ACTIONS(391), 1, - anon_sym_LPAREN, - ACTIONS(394), 1, - anon_sym_RPAREN, - STATE(105), 1, - aux_sym_function_call_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(373), 2, - sym_float, - sym_string, - ACTIONS(376), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6652] = 14, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - ACTIONS(396), 1, - anon_sym_catch, - STATE(107), 1, - aux_sym_match_repeat1, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6705] = 14, - ACTIONS(398), 1, - sym_identifier, - ACTIONS(401), 1, - sym_integer, - ACTIONS(410), 1, - anon_sym_LBRACK, - ACTIONS(413), 1, - anon_sym_function, - ACTIONS(416), 1, - anon_sym_LBRACE, - ACTIONS(419), 1, - anon_sym_table, ACTIONS(422), 1, - anon_sym_LPAREN, - ACTIONS(425), 1, - anon_sym_catch, - STATE(107), 1, - aux_sym_match_repeat1, - STATE(212), 1, - sym_expression, - ACTIONS(404), 2, - sym_float, - sym_string, - ACTIONS(407), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6758] = 4, - ACTIONS(304), 1, - anon_sym_DASH_GT, - STATE(115), 1, - aux_sym_yield_repeat1, - ACTIONS(350), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(352), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [6791] = 14, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - ACTIONS(427), 1, - anon_sym_catch, - STATE(107), 1, - aux_sym_match_repeat1, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6844] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - ACTIONS(429), 1, - anon_sym_RPAREN, - STATE(105), 1, - aux_sym_function_call_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6897] = 14, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - ACTIONS(431), 1, - anon_sym_catch, - STATE(107), 1, - aux_sym_match_repeat1, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [6950] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - ACTIONS(433), 1, - anon_sym_RPAREN, - STATE(105), 1, - aux_sym_function_call_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7003] = 9, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(250), 1, - anon_sym_PIPE_PIPE, - ACTIONS(439), 1, - anon_sym_COMMA, - STATE(161), 1, + STATE(71), 1, sym_logic_operator, - STATE(168), 1, + STATE(74), 1, sym_math_operator, - ACTIONS(248), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(244), 4, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(131), 5, anon_sym_PLUS, + anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(435), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - ACTIONS(437), 6, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - [7046] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - ACTIONS(441), 1, - anon_sym_RPAREN, - STATE(113), 1, - sym_expression, - STATE(116), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7099] = 4, - ACTIONS(443), 1, - anon_sym_DASH_GT, - STATE(115), 1, - aux_sym_yield_repeat1, - ACTIONS(322), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(324), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7132] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - ACTIONS(446), 1, - anon_sym_RPAREN, - STATE(105), 1, - aux_sym_function_call_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7185] = 14, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4665] = 7, ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - ACTIONS(448), 1, - anon_sym_catch, - STATE(107), 1, - aux_sym_match_repeat1, - STATE(212), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7238] = 14, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - ACTIONS(450), 1, - anon_sym_RPAREN, - STATE(110), 1, - aux_sym_function_call_repeat1, - STATE(113), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7291] = 3, - ACTIONS(456), 1, - anon_sym_where, - ACTIONS(452), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(454), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7322] = 2, - ACTIONS(458), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(460), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7350] = 3, - ACTIONS(462), 1, - anon_sym_where, - ACTIONS(452), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(454), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7380] = 2, - ACTIONS(464), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(466), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7408] = 3, - ACTIONS(468), 1, - anon_sym_where, - ACTIONS(361), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(363), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7438] = 2, - ACTIONS(470), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(472), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7466] = 3, - ACTIONS(478), 1, - anon_sym_else, - ACTIONS(474), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(476), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7496] = 2, - ACTIONS(480), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(482), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7524] = 2, - ACTIONS(474), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(476), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7552] = 2, - ACTIONS(484), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(486), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7580] = 2, - ACTIONS(282), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(284), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7608] = 2, - ACTIONS(488), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(490), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7636] = 2, - ACTIONS(492), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(494), 15, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [7664] = 12, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(496), 1, + ACTIONS(127), 1, sym_identifier, STATE(71), 1, - sym_expression, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [7711] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(214), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7758] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(219), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7805] = 13, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(223), 1, - sym_expression, - STATE(224), 1, - sym_logic, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(200), 4, - sym_value, - sym_math, - sym_function_call, - sym_tool_call, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [7854] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(80), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7901] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(221), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [7948] = 13, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(99), 1, - sym_logic, - STATE(229), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(200), 4, - sym_value, - sym_math, - sym_function_call, - sym_tool_call, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [7997] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(222), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8044] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(216), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8091] = 12, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(496), 1, - sym_identifier, - STATE(56), 1, - sym_expression, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [8138] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(174), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8185] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(173), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8232] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(82), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8279] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(81), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8326] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(211), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8373] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(210), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8420] = 12, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(496), 1, - sym_identifier, - STATE(70), 1, - sym_expression, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [8467] = 12, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(496), 1, - sym_identifier, - STATE(72), 1, - sym_expression, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [8514] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(209), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8561] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(205), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8608] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, + sym_logic_operator, STATE(74), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8655] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, + sym_math_operator, + ACTIONS(129), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 5, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4697] = 6, + ACTIONS(424), 1, anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(213), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8702] = 12, - ACTIONS(198), 1, - sym_integer, - ACTIONS(204), 1, - anon_sym_LBRACK, - ACTIONS(206), 1, - anon_sym_function, - ACTIONS(208), 1, - anon_sym_LBRACE, - ACTIONS(210), 1, - anon_sym_table, - ACTIONS(218), 1, - anon_sym_LPAREN, - ACTIONS(496), 1, - sym_identifier, - STATE(76), 1, - sym_expression, - ACTIONS(200), 2, - sym_float, - sym_string, - ACTIONS(202), 2, - anon_sym_true, - anon_sym_false, - STATE(85), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - STATE(89), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [8749] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(83), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8796] = 2, - ACTIONS(480), 8, - ts_builtin_sym_end, - anon_sym_POUND, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, + sym_logic_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4726] = 2, + ACTIONS(428), 6, + aux_sym_comment_token1, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(482), 14, + ACTIONS(426), 10, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_select, - anon_sym_insert, anon_sym_if, anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [8823] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, - sym_identifier, - STATE(217), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8870] = 2, - ACTIONS(484), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(486), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, anon_sym_select, anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [8897] = 2, - ACTIONS(470), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, + [4747] = 6, + ACTIONS(227), 1, + anon_sym_RBRACE, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, + sym_logic_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4776] = 6, + ACTIONS(430), 1, + anon_sym_LBRACE, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, + sym_logic_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4805] = 6, + ACTIONS(432), 1, + anon_sym_LBRACE, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, + sym_logic_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4834] = 6, + ACTIONS(223), 1, + anon_sym_RBRACE, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, + sym_logic_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4863] = 2, + ACTIONS(189), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(187), 13, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(472), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [8924] = 2, - ACTIONS(282), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4883] = 2, + ACTIONS(185), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(183), 13, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(284), 14, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4903] = 5, + STATE(67), 1, + sym_logic_operator, + STATE(77), 1, + sym_math_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4929] = 2, + ACTIONS(213), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(211), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4949] = 2, + ACTIONS(221), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(219), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4969] = 2, + ACTIONS(209), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(207), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [4989] = 2, + ACTIONS(217), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(215), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5009] = 2, + ACTIONS(181), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(179), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5029] = 2, + ACTIONS(205), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(203), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5049] = 2, + ACTIONS(151), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(149), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5069] = 2, + ACTIONS(201), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(199), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5089] = 2, + ACTIONS(193), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(191), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5109] = 2, + ACTIONS(143), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(141), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5129] = 2, + ACTIONS(197), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(195), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5149] = 2, + ACTIONS(147), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(145), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5169] = 2, + ACTIONS(185), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(183), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5189] = 2, + ACTIONS(147), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(145), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5209] = 2, + ACTIONS(221), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(219), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5229] = 2, + ACTIONS(213), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(211), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5249] = 2, + ACTIONS(197), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(195), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5269] = 5, + STATE(77), 1, + sym_math_operator, + STATE(78), 1, + sym_logic_operator, + ACTIONS(129), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(135), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5295] = 2, + ACTIONS(143), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(141), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5315] = 2, + ACTIONS(193), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(191), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5335] = 2, + ACTIONS(151), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(149), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5355] = 2, + ACTIONS(201), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(199), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5375] = 2, + ACTIONS(181), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(179), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5395] = 2, + ACTIONS(189), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(187), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5415] = 2, + ACTIONS(205), 4, + sym_identifier, + anon_sym_LT, + anon_sym_GT, + anon_sym_PIPE_PIPE, + ACTIONS(203), 11, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5435] = 2, + ACTIONS(217), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(215), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5455] = 2, + ACTIONS(209), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(207), 13, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5475] = 3, + ACTIONS(231), 1, + anon_sym_RBRACE, + ACTIONS(151), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(149), 11, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [5496] = 2, + ACTIONS(434), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_function, anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [8951] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(53), 1, - sym_expression, - ACTIONS(9), 2, + ACTIONS(260), 7, sym_float, sym_string, - ACTIONS(11), 2, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + [5514] = 2, + ACTIONS(436), 6, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [8998] = 12, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(15), 1, anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, anon_sym_table, - ACTIONS(27), 1, + ACTIONS(438), 6, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, anon_sym_LPAREN, - ACTIONS(357), 1, + anon_sym_RPAREN, + [5531] = 2, + ACTIONS(442), 5, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(440), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [5547] = 2, + ACTIONS(446), 5, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(444), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [5563] = 3, + ACTIONS(448), 1, + sym_identifier, + STATE(58), 1, + sym_tool, + ACTIONS(450), 3, + anon_sym_print, + anon_sym_read, + anon_sym_write, + [5575] = 3, + ACTIONS(452), 1, sym_identifier, STATE(65), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, + sym_tool, + ACTIONS(450), 3, + anon_sym_print, + anon_sym_read, + anon_sym_write, + [5587] = 3, + ACTIONS(454), 1, + sym_identifier, + STATE(52), 1, + sym_tool, + ACTIONS(450), 3, + anon_sym_print, + anon_sym_read, + anon_sym_write, + [5599] = 3, + ACTIONS(456), 1, + anon_sym_LBRACK, + ACTIONS(459), 1, + anon_sym_into, + STATE(142), 2, sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [9045] = 2, - ACTIONS(488), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(490), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [9072] = 2, - ACTIONS(458), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(460), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [9099] = 2, - ACTIONS(464), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(466), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [9126] = 12, - ACTIONS(7), 1, - sym_integer, + aux_sym_insert_repeat1, + [5610] = 3, ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(91), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, + ACTIONS(461), 1, + anon_sym_into, + STATE(142), 2, sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [9173] = 2, - ACTIONS(492), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(494), 14, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [9200] = 12, - ACTIONS(7), 1, - sym_integer, + aux_sym_insert_repeat1, + [5621] = 3, ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(15), 1, - anon_sym_function, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(19), 1, - anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(357), 1, - sym_identifier, - STATE(54), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, + ACTIONS(463), 1, + anon_sym_into, + STATE(142), 2, sym_list, - sym_function, - sym_table, - sym_map, - STATE(73), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [9247] = 13, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, + aux_sym_insert_repeat1, + [5632] = 2, + ACTIONS(467), 1, + anon_sym_COMMA, + ACTIONS(465), 2, sym_identifier, - STATE(100), 1, - sym_logic, - STATE(228), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(200), 4, - sym_value, - sym_math, - sym_function_call, - sym_tool_call, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9296] = 12, - ACTIONS(113), 1, - sym_integer, - ACTIONS(119), 1, - anon_sym_LBRACK, - ACTIONS(121), 1, - anon_sym_function, - ACTIONS(123), 1, - anon_sym_LBRACE, - ACTIONS(125), 1, - anon_sym_table, - ACTIONS(133), 1, - anon_sym_LPAREN, - ACTIONS(326), 1, + anon_sym_GT, + [5640] = 3, + ACTIONS(469), 1, sym_identifier, - STATE(218), 1, - sym_expression, - ACTIONS(115), 2, - sym_float, - sym_string, - ACTIONS(117), 2, - anon_sym_true, - anon_sym_false, - STATE(185), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(200), 5, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_tool_call, - [9343] = 2, - ACTIONS(498), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, + ACTIONS(471), 1, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(500), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_match, - [9368] = 2, - ACTIONS(502), 8, - ts_builtin_sym_end, - anon_sym_POUND, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(504), 12, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_while, - anon_sym_loop, - anon_sym_match, - [9393] = 6, - ACTIONS(246), 1, - anon_sym_DASH, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(240), 7, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9424] = 4, - ACTIONS(254), 1, - anon_sym_DASH, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(252), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9451] = 11, - ACTIONS(7), 1, - sym_integer, + STATE(159), 1, + aux_sym_map_repeat1, + [5650] = 2, ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(508), 1, - anon_sym_RBRACK, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - STATE(179), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, + STATE(143), 2, sym_list, - sym_function, - sym_table, - sym_map, - [9491] = 11, - ACTIONS(7), 1, - sym_integer, + aux_sym_insert_repeat1, + [5658] = 3, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(473), 1, + anon_sym_RBRACE, + STATE(163), 1, + aux_sym_map_repeat1, + [5668] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(477), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5678] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(479), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5688] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(481), 1, + anon_sym_GT, + STATE(150), 1, + aux_sym_function_repeat1, + [5698] = 3, + ACTIONS(483), 1, + sym_identifier, + ACTIONS(486), 1, + anon_sym_RBRACE, + STATE(152), 1, + aux_sym_map_repeat1, + [5708] = 3, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(488), 1, + anon_sym_RBRACE, + STATE(155), 1, + aux_sym_map_repeat1, + [5718] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(490), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5728] = 3, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(492), 1, + anon_sym_RBRACE, + STATE(152), 1, + aux_sym_map_repeat1, + [5738] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(494), 1, + anon_sym_GT, + STATE(149), 1, + aux_sym_function_repeat1, + [5748] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(496), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5758] = 3, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(501), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5768] = 3, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(503), 1, + anon_sym_RBRACE, + STATE(152), 1, + aux_sym_map_repeat1, + [5778] = 2, ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - ACTIONS(514), 1, - anon_sym_RBRACK, - STATE(179), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, + STATE(144), 2, sym_list, - sym_function, - sym_table, - sym_map, - [9531] = 11, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, + aux_sym_insert_repeat1, + [5786] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(505), 1, + anon_sym_GT, + STATE(157), 1, + aux_sym_function_repeat1, + [5796] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(507), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5806] = 3, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(509), 1, + anon_sym_RBRACE, + STATE(152), 1, + aux_sym_map_repeat1, + [5816] = 3, + ACTIONS(475), 1, + sym_identifier, + ACTIONS(511), 1, + anon_sym_GT, + STATE(158), 1, + aux_sym_function_repeat1, + [5826] = 2, + ACTIONS(475), 1, + sym_identifier, + STATE(154), 1, + aux_sym_function_repeat1, + [5833] = 2, + ACTIONS(513), 1, + anon_sym_LT, + ACTIONS(515), 1, anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - ACTIONS(516), 1, - anon_sym_RBRACK, - STATE(179), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9571] = 11, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, + [5840] = 2, + ACTIONS(475), 1, + sym_identifier, + STATE(164), 1, + aux_sym_function_repeat1, + [5847] = 2, + ACTIONS(517), 1, + anon_sym_LT, + ACTIONS(519), 1, anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - ACTIONS(518), 1, - anon_sym_RBRACK, - STATE(179), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9611] = 11, - ACTIONS(520), 1, - sym_integer, + [5854] = 2, + ACTIONS(388), 1, + anon_sym_RBRACE, + ACTIONS(521), 1, + anon_sym_where, + [5861] = 2, + ACTIONS(475), 1, + sym_identifier, + STATE(162), 1, + aux_sym_function_repeat1, + [5868] = 2, + ACTIONS(523), 1, + anon_sym_LT, + ACTIONS(525), 1, + anon_sym_LBRACE, + [5875] = 1, + ACTIONS(501), 2, + sym_identifier, + anon_sym_GT, + [5880] = 2, + ACTIONS(394), 1, + anon_sym_RBRACE, + ACTIONS(527), 1, + anon_sym_where, + [5887] = 1, ACTIONS(529), 1, - anon_sym_LBRACK, - ACTIONS(532), 1, - anon_sym_RBRACK, - ACTIONS(534), 1, - anon_sym_function, + anon_sym_RBRACE, + [5891] = 1, + ACTIONS(531), 1, + anon_sym_LBRACE, + [5895] = 1, + ACTIONS(533), 1, + ts_builtin_sym_end, + [5899] = 1, + ACTIONS(535), 1, + anon_sym_LBRACE, + [5903] = 1, ACTIONS(537), 1, anon_sym_LBRACE, - ACTIONS(540), 1, - anon_sym_table, - STATE(179), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(523), 2, - sym_float, - sym_string, - ACTIONS(526), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9651] = 2, - ACTIONS(302), 1, - anon_sym_DASH, - ACTIONS(300), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9672] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - STATE(175), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9709] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, + [5907] = 1, + ACTIONS(539), 1, + sym_identifier, + [5911] = 1, + ACTIONS(541), 1, + sym_identifier, + [5915] = 1, ACTIONS(543), 1, - anon_sym_RBRACE, - STATE(335), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9746] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - STATE(176), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9783] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, + [5919] = 1, ACTIONS(545), 1, anon_sym_RBRACE, - STATE(353), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9820] = 2, - ACTIONS(308), 1, - anon_sym_DASH, - ACTIONS(306), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9841] = 2, - ACTIONS(276), 1, - anon_sym_DASH, - ACTIONS(274), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9862] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, + [5923] = 1, ACTIONS(547), 1, anon_sym_RBRACE, - STATE(348), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9899] = 2, - ACTIONS(316), 1, - anon_sym_DASH, - ACTIONS(314), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9920] = 2, - ACTIONS(320), 1, - anon_sym_DASH, - ACTIONS(318), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [9941] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - STATE(177), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [9978] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, + [5927] = 1, ACTIONS(549), 1, - anon_sym_RBRACE, - STATE(349), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [10015] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, + [5931] = 1, ACTIONS(551), 1, - anon_sym_RBRACE, - STATE(346), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [10052] = 2, - ACTIONS(340), 1, - anon_sym_DASH, - ACTIONS(338), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10073] = 2, - ACTIONS(298), 1, - anon_sym_DASH, - ACTIONS(296), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10094] = 2, - ACTIONS(336), 1, - anon_sym_DASH, - ACTIONS(334), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10115] = 2, - ACTIONS(344), 1, - anon_sym_DASH, - ACTIONS(342), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10136] = 2, - ACTIONS(280), 1, - anon_sym_DASH, - ACTIONS(278), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10157] = 2, - ACTIONS(272), 1, - anon_sym_DASH, - ACTIONS(270), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10178] = 2, - ACTIONS(294), 1, - anon_sym_DASH, - ACTIONS(292), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10199] = 2, - ACTIONS(258), 1, - anon_sym_DASH, - ACTIONS(256), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10220] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, + anon_sym_LT, + [5935] = 1, ACTIONS(553), 1, anon_sym_RBRACE, - STATE(330), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [10257] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(510), 1, - anon_sym_function, - ACTIONS(512), 1, - anon_sym_table, - STATE(178), 1, - aux_sym_list_repeat1, - STATE(227), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(506), 2, - anon_sym_true, - anon_sym_false, - STATE(66), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [10294] = 2, - ACTIONS(312), 1, - anon_sym_DASH, - ACTIONS(310), 15, - anon_sym_DASH_GT, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_then, - anon_sym_else, - anon_sym_RPAREN, - anon_sym_EQ_GT, - [10315] = 4, + [5939] = 1, ACTIONS(555), 1, - anon_sym_EQ, - ACTIONS(258), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(557), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(256), 10, - anon_sym_DASH_GT, + anon_sym_LBRACE, + [5943] = 1, + ACTIONS(557), 1, anon_sym_RBRACE, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_else, - [10339] = 8, - ACTIONS(246), 1, - anon_sym_DASH, + [5947] = 1, ACTIONS(559), 1, - anon_sym_DASH_GT, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - STATE(246), 1, - aux_sym_yield_repeat1, - ACTIONS(264), 2, anon_sym_RBRACE, - anon_sym_else, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - [10371] = 9, + [5951] = 1, ACTIONS(561), 1, - sym_integer, - ACTIONS(567), 1, - anon_sym_LBRACK, - ACTIONS(569), 1, - anon_sym_function, - ACTIONS(571), 1, - anon_sym_LBRACE, - ACTIONS(573), 1, - anon_sym_table, - STATE(300), 1, - sym_value, - ACTIONS(563), 2, - sym_float, - sym_string, - ACTIONS(565), 2, - anon_sym_true, - anon_sym_false, - STATE(304), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [10405] = 7, - ACTIONS(246), 1, - anon_sym_DASH, - ACTIONS(575), 1, - anon_sym_DASH_GT, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(282), 2, + anon_sym_from, + [5955] = 1, + ACTIONS(563), 1, anon_sym_RBRACE, - anon_sym_else, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - [10434] = 4, - ACTIONS(577), 1, + [5959] = 1, + ACTIONS(565), 1, anon_sym_EQ, - ACTIONS(258), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(579), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(256), 9, - anon_sym_DASH_GT, - anon_sym_RBRACE, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - [10457] = 6, - ACTIONS(246), 1, - anon_sym_DASH, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(322), 3, - anon_sym_DASH_GT, - anon_sym_RBRACE, - anon_sym_else, - ACTIONS(244), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - [10484] = 5, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(330), 2, - anon_sym_RBRACE, - anon_sym_else, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10508] = 5, - ACTIONS(581), 1, - anon_sym_then, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10531] = 5, - ACTIONS(583), 1, - anon_sym_EQ_GT, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10554] = 5, - ACTIONS(585), 1, - anon_sym_RPAREN, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10577] = 5, - ACTIONS(587), 1, - anon_sym_RPAREN, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10600] = 2, - ACTIONS(591), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(589), 7, + [5963] = 1, + ACTIONS(567), 1, sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - anon_sym_catch, - [10617] = 5, - ACTIONS(593), 1, + [5967] = 1, + ACTIONS(569), 1, anon_sym_LBRACE, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10640] = 5, + [5971] = 1, + ACTIONS(571), 1, + anon_sym_RBRACE, + [5975] = 1, + ACTIONS(573), 1, + anon_sym_LBRACE, + [5979] = 1, + ACTIONS(575), 1, + anon_sym_RBRACE, + [5983] = 1, + ACTIONS(577), 1, + anon_sym_LBRACE, + [5987] = 1, + ACTIONS(579), 1, + sym_identifier, + [5991] = 1, + ACTIONS(581), 1, + anon_sym_RBRACE, + [5995] = 1, + ACTIONS(583), 1, + sym_identifier, + [5999] = 1, + ACTIONS(585), 1, + anon_sym_RBRACE, + [6003] = 1, + ACTIONS(587), 1, + sym_identifier, + [6007] = 1, + ACTIONS(589), 1, + anon_sym_RBRACE, + [6011] = 1, + ACTIONS(591), 1, + anon_sym_from, + [6015] = 1, + ACTIONS(593), 1, + anon_sym_RBRACE, + [6019] = 1, ACTIONS(595), 1, - anon_sym_then, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10663] = 5, + anon_sym_LT, + [6023] = 1, ACTIONS(597), 1, anon_sym_LBRACE, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10686] = 5, + [6027] = 1, ACTIONS(599), 1, - anon_sym_LBRACE, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10709] = 2, - ACTIONS(394), 6, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(601), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [10726] = 5, - ACTIONS(603), 1, - anon_sym_then, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10749] = 5, - ACTIONS(605), 1, - anon_sym_then, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10772] = 4, - STATE(142), 1, - sym_math_operator, - STATE(143), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10792] = 2, - ACTIONS(346), 2, - anon_sym_RBRACE, - anon_sym_else, - ACTIONS(256), 9, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - [10808] = 2, - ACTIONS(609), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(607), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [10824] = 2, - ACTIONS(613), 5, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(611), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [10840] = 3, - ACTIONS(615), 1, - sym_integer, - ACTIONS(619), 1, - anon_sym_COMMA, - ACTIONS(617), 9, - sym_float, - sym_string, - anon_sym_true, - anon_sym_false, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_function, - anon_sym_LBRACE, - anon_sym_table, - [10858] = 4, - STATE(142), 1, - sym_math_operator, - STATE(161), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10878] = 4, - STATE(142), 1, - sym_math_operator, - STATE(148), 1, - sym_logic_operator, - ACTIONS(248), 4, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - ACTIONS(244), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - [10898] = 2, - ACTIONS(621), 1, - sym_integer, - ACTIONS(532), 9, - sym_float, - sym_string, - anon_sym_true, - anon_sym_false, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_function, - anon_sym_LBRACE, - anon_sym_table, - [10913] = 4, - ACTIONS(623), 1, - sym_identifier, - ACTIONS(625), 1, - anon_sym_input, - ACTIONS(627), 1, - anon_sym_output, - STATE(317), 3, - sym__tool, - sym_input, - sym_output, - [10928] = 4, - ACTIONS(625), 1, - anon_sym_input, - ACTIONS(627), 1, - anon_sym_output, - ACTIONS(629), 1, - sym_identifier, - STATE(357), 3, - sym__tool, - sym_input, - sym_output, - [10943] = 4, - ACTIONS(625), 1, - anon_sym_input, - ACTIONS(627), 1, - anon_sym_output, - ACTIONS(631), 1, - sym_identifier, - STATE(312), 3, - sym__tool, - sym_input, - sym_output, - [10958] = 3, - ACTIONS(633), 1, - anon_sym_LBRACK, - ACTIONS(636), 2, - anon_sym_RBRACE, - anon_sym_into, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [10970] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(638), 1, - anon_sym_RBRACE, - STATE(245), 2, - sym_list, - aux_sym_table_repeat1, - [10981] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(640), 1, - anon_sym_RBRACE, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [10992] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(642), 1, - anon_sym_into, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11003] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(644), 1, - anon_sym_into, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11014] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(646), 1, - anon_sym_RBRACE, - STATE(236), 2, - sym_list, - aux_sym_table_repeat1, - [11025] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(648), 1, - anon_sym_into, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11036] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(650), 1, - anon_sym_RBRACE, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11047] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(652), 1, - anon_sym_into, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11058] = 3, - ACTIONS(654), 1, - anon_sym_DASH_GT, - STATE(243), 1, - aux_sym_yield_repeat1, - ACTIONS(322), 2, - anon_sym_RBRACE, - anon_sym_else, - [11069] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(657), 1, - anon_sym_RBRACE, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11080] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(659), 1, - anon_sym_RBRACE, - STATE(234), 2, - sym_list, - aux_sym_table_repeat1, - [11091] = 3, - ACTIONS(559), 1, - anon_sym_DASH_GT, - STATE(243), 1, - aux_sym_yield_repeat1, - ACTIONS(350), 2, - anon_sym_RBRACE, - anon_sym_else, - [11102] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(661), 1, - anon_sym_RBRACE, - STATE(244), 2, - sym_list, - aux_sym_table_repeat1, - [11113] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(663), 1, - anon_sym_RBRACE, - STATE(241), 2, - sym_list, - aux_sym_table_repeat1, - [11124] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(667), 1, - anon_sym_RBRACE, - STATE(271), 1, - aux_sym_map_repeat1, - [11134] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(671), 1, - anon_sym_GT, - STATE(257), 1, - aux_sym_function_repeat1, - [11144] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(673), 1, - anon_sym_RBRACE, - STATE(253), 1, - aux_sym_map_repeat1, - [11154] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(675), 1, - anon_sym_RBRACE, - STATE(267), 1, - aux_sym_map_repeat1, - [11164] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(677), 1, - anon_sym_RBRACE, - STATE(260), 1, - aux_sym_map_repeat1, - [11174] = 2, - ACTIONS(681), 1, - anon_sym_COMMA, - ACTIONS(679), 2, - sym_identifier, - anon_sym_GT, - [11182] = 2, - ACTIONS(13), 1, - anon_sym_LBRACK, - STATE(238), 2, - sym_list, - aux_sym_table_repeat1, - [11190] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(683), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11200] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(685), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11210] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(687), 1, - anon_sym_GT, - STATE(256), 1, - aux_sym_function_repeat1, - [11220] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(689), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11230] = 3, - ACTIONS(691), 1, - sym_identifier, - ACTIONS(694), 1, - anon_sym_RBRACE, - STATE(260), 1, - aux_sym_map_repeat1, - [11240] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(696), 1, - anon_sym_GT, - STATE(259), 1, - aux_sym_function_repeat1, - [11250] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(698), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11260] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(700), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11270] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(702), 1, - anon_sym_RBRACE, - STATE(269), 1, - aux_sym_map_repeat1, - [11280] = 2, - ACTIONS(13), 1, - anon_sym_LBRACK, - STATE(237), 2, - sym_list, - aux_sym_table_repeat1, - [11288] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(704), 1, - anon_sym_GT, - STATE(263), 1, - aux_sym_function_repeat1, - [11298] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(706), 1, - anon_sym_RBRACE, - STATE(260), 1, - aux_sym_map_repeat1, - [11308] = 3, - ACTIONS(708), 1, - sym_identifier, - ACTIONS(711), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11318] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(713), 1, - anon_sym_RBRACE, - STATE(260), 1, - aux_sym_map_repeat1, - [11328] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(715), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11338] = 3, - ACTIONS(665), 1, - sym_identifier, - ACTIONS(717), 1, - anon_sym_RBRACE, - STATE(260), 1, - aux_sym_map_repeat1, - [11348] = 2, - ACTIONS(13), 1, - anon_sym_LBRACK, - STATE(242), 2, - sym_list, - aux_sym_table_repeat1, - [11356] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(719), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11366] = 2, - ACTIONS(13), 1, - anon_sym_LBRACK, - STATE(240), 2, - sym_list, - aux_sym_table_repeat1, - [11374] = 2, - ACTIONS(721), 1, - anon_sym_where, - ACTIONS(452), 2, - anon_sym_RBRACE, - anon_sym_else, - [11382] = 3, - ACTIONS(669), 1, - sym_identifier, - ACTIONS(723), 1, - anon_sym_GT, - STATE(268), 1, - aux_sym_function_repeat1, - [11392] = 2, - ACTIONS(725), 1, - anon_sym_where, - ACTIONS(361), 2, - anon_sym_RBRACE, - anon_sym_else, - [11400] = 1, - ACTIONS(480), 2, - anon_sym_RBRACE, - anon_sym_else, - [11405] = 2, - ACTIONS(727), 1, - anon_sym_LT, - ACTIONS(729), 1, - anon_sym_LBRACE, - [11412] = 2, - ACTIONS(474), 1, - anon_sym_RBRACE, - ACTIONS(731), 1, - anon_sym_else, - [11419] = 1, - ACTIONS(458), 2, - anon_sym_RBRACE, - anon_sym_else, - [11424] = 1, - ACTIONS(470), 2, - anon_sym_RBRACE, - anon_sym_else, - [11429] = 1, - ACTIONS(318), 2, - sym_identifier, - anon_sym_RBRACE, - [11434] = 1, - ACTIONS(296), 2, - sym_identifier, - anon_sym_RBRACE, - [11439] = 1, - ACTIONS(278), 2, - sym_identifier, - anon_sym_RBRACE, - [11444] = 1, - ACTIONS(464), 2, - anon_sym_RBRACE, - anon_sym_else, - [11449] = 1, - ACTIONS(314), 2, - sym_identifier, - anon_sym_RBRACE, - [11454] = 1, - ACTIONS(484), 2, - anon_sym_RBRACE, - anon_sym_else, - [11459] = 1, - ACTIONS(292), 2, - sym_identifier, - anon_sym_RBRACE, - [11464] = 1, - ACTIONS(282), 2, - anon_sym_RBRACE, - anon_sym_else, - [11469] = 2, - ACTIONS(733), 1, - anon_sym_LT, - ACTIONS(735), 1, - anon_sym_LBRACE, - [11476] = 1, - ACTIONS(492), 2, - anon_sym_RBRACE, - anon_sym_else, - [11481] = 2, - ACTIONS(361), 1, - anon_sym_RBRACE, - ACTIONS(725), 1, - anon_sym_where, - [11488] = 1, - ACTIONS(270), 2, - sym_identifier, - anon_sym_RBRACE, - [11493] = 1, - ACTIONS(310), 2, - sym_identifier, - anon_sym_RBRACE, - [11498] = 1, - ACTIONS(488), 2, - anon_sym_RBRACE, - anon_sym_else, - [11503] = 2, - ACTIONS(737), 1, - anon_sym_LT, - ACTIONS(739), 1, - anon_sym_LBRACE, - [11510] = 1, - ACTIONS(300), 2, - sym_identifier, - anon_sym_RBRACE, - [11515] = 1, - ACTIONS(274), 2, - sym_identifier, - anon_sym_RBRACE, - [11520] = 1, - ACTIONS(741), 2, - sym_identifier, - anon_sym_RBRACE, - [11525] = 1, - ACTIONS(474), 2, - anon_sym_RBRACE, - anon_sym_else, - [11530] = 2, - ACTIONS(669), 1, - sym_identifier, - STATE(262), 1, - aux_sym_function_repeat1, - [11537] = 1, - ACTIONS(711), 2, - sym_identifier, - anon_sym_GT, - [11542] = 1, - ACTIONS(306), 2, - sym_identifier, - anon_sym_RBRACE, - [11547] = 2, - ACTIONS(669), 1, - sym_identifier, - STATE(270), 1, - aux_sym_function_repeat1, - [11554] = 2, - ACTIONS(743), 1, - anon_sym_LT, - ACTIONS(745), 1, - anon_sym_LBRACE, - [11561] = 2, - ACTIONS(669), 1, - sym_identifier, - STATE(273), 1, - aux_sym_function_repeat1, - [11568] = 2, - ACTIONS(669), 1, - sym_identifier, - STATE(276), 1, - aux_sym_function_repeat1, - [11575] = 2, - ACTIONS(452), 1, - anon_sym_RBRACE, - ACTIONS(721), 1, - anon_sym_where, - [11582] = 1, - ACTIONS(747), 1, - sym_identifier, - [11586] = 1, - ACTIONS(749), 1, - anon_sym_LBRACE, - [11590] = 1, - ACTIONS(751), 1, - anon_sym_RPAREN, - [11594] = 1, - ACTIONS(753), 1, - anon_sym_LBRACE, - [11598] = 1, - ACTIONS(755), 1, - anon_sym_from, - [11602] = 1, - ACTIONS(757), 1, - anon_sym_LBRACE, - [11606] = 1, - ACTIONS(759), 1, - sym_identifier, - [11610] = 1, - ACTIONS(761), 1, - anon_sym_RPAREN, - [11614] = 1, - ACTIONS(763), 1, - sym_identifier, - [11618] = 1, - ACTIONS(765), 1, - anon_sym_LBRACE, - [11622] = 1, - ACTIONS(767), 1, - anon_sym_LBRACE, - [11626] = 1, - ACTIONS(769), 1, - anon_sym_from, - [11630] = 1, - ACTIONS(771), 1, - anon_sym_EQ, - [11634] = 1, - ACTIONS(773), 1, - anon_sym_LBRACE, - [11638] = 1, - ACTIONS(775), 1, - anon_sym_LBRACE, - [11642] = 1, - ACTIONS(777), 1, - sym_identifier, - [11646] = 1, - ACTIONS(779), 1, - anon_sym_LBRACE, - [11650] = 1, - ACTIONS(781), 1, - anon_sym_from, - [11654] = 1, - ACTIONS(783), 1, - sym_identifier, - [11658] = 1, - ACTIONS(785), 1, - anon_sym_RBRACE, - [11662] = 1, - ACTIONS(543), 1, - anon_sym_RBRACE, - [11666] = 1, - ACTIONS(787), 1, - anon_sym_LBRACE, - [11670] = 1, - ACTIONS(789), 1, - ts_builtin_sym_end, - [11674] = 1, - ACTIONS(791), 1, - anon_sym_LBRACE, - [11678] = 1, - ACTIONS(793), 1, - anon_sym_LBRACE, - [11682] = 1, - ACTIONS(795), 1, - anon_sym_RBRACE, - [11686] = 1, - ACTIONS(797), 1, - anon_sym_LBRACE, - [11690] = 1, - ACTIONS(799), 1, - aux_sym_comment_token1, - [11694] = 1, - ACTIONS(801), 1, - anon_sym_LBRACE, - [11698] = 1, - ACTIONS(803), 1, - sym_identifier, - [11702] = 1, - ACTIONS(805), 1, - anon_sym_LBRACE, - [11706] = 1, - ACTIONS(807), 1, - sym_identifier, - [11710] = 1, - ACTIONS(809), 1, - anon_sym_LBRACE, - [11714] = 1, - ACTIONS(811), 1, - sym_identifier, - [11718] = 1, - ACTIONS(813), 1, - anon_sym_LT, - [11722] = 1, - ACTIONS(815), 1, - anon_sym_from, - [11726] = 1, - ACTIONS(817), 1, - anon_sym_RBRACE, - [11730] = 1, - ACTIONS(819), 1, - sym_identifier, - [11734] = 1, - ACTIONS(545), 1, - anon_sym_RBRACE, - [11738] = 1, - ACTIONS(551), 1, - anon_sym_RBRACE, - [11742] = 1, - ACTIONS(821), 1, - anon_sym_RBRACE, - [11746] = 1, - ACTIONS(823), 1, - anon_sym_RBRACE, - [11750] = 1, - ACTIONS(825), 1, - sym_identifier, - [11754] = 1, - ACTIONS(827), 1, - anon_sym_RBRACE, - [11758] = 1, - ACTIONS(829), 1, - sym_identifier, - [11762] = 1, - ACTIONS(831), 1, - sym_identifier, - [11766] = 1, - ACTIONS(833), 1, - anon_sym_LT, - [11770] = 1, - ACTIONS(835), 1, - anon_sym_RPAREN, - [11774] = 1, - ACTIONS(837), 1, - anon_sym_LT, - [11778] = 1, - ACTIONS(839), 1, anon_sym_LT, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 90, - [SMALL_STATE(4)] = 179, - [SMALL_STATE(5)] = 268, - [SMALL_STATE(6)] = 357, - [SMALL_STATE(7)] = 446, - [SMALL_STATE(8)] = 535, - [SMALL_STATE(9)] = 624, - [SMALL_STATE(10)] = 713, - [SMALL_STATE(11)] = 802, - [SMALL_STATE(12)] = 891, - [SMALL_STATE(13)] = 980, - [SMALL_STATE(14)] = 1069, - [SMALL_STATE(15)] = 1158, - [SMALL_STATE(16)] = 1247, - [SMALL_STATE(17)] = 1333, - [SMALL_STATE(18)] = 1419, - [SMALL_STATE(19)] = 1505, - [SMALL_STATE(20)] = 1591, - [SMALL_STATE(21)] = 1677, - [SMALL_STATE(22)] = 1763, - [SMALL_STATE(23)] = 1849, - [SMALL_STATE(24)] = 1935, - [SMALL_STATE(25)] = 2021, - [SMALL_STATE(26)] = 2107, - [SMALL_STATE(27)] = 2193, - [SMALL_STATE(28)] = 2279, - [SMALL_STATE(29)] = 2364, - [SMALL_STATE(30)] = 2449, - [SMALL_STATE(31)] = 2534, - [SMALL_STATE(32)] = 2616, - [SMALL_STATE(33)] = 2698, - [SMALL_STATE(34)] = 2780, - [SMALL_STATE(35)] = 2862, - [SMALL_STATE(36)] = 2944, - [SMALL_STATE(37)] = 3026, - [SMALL_STATE(38)] = 3108, - [SMALL_STATE(39)] = 3186, - [SMALL_STATE(40)] = 3264, - [SMALL_STATE(41)] = 3342, - [SMALL_STATE(42)] = 3420, - [SMALL_STATE(43)] = 3498, - [SMALL_STATE(44)] = 3576, - [SMALL_STATE(45)] = 3654, - [SMALL_STATE(46)] = 3732, - [SMALL_STATE(47)] = 3810, - [SMALL_STATE(48)] = 3888, - [SMALL_STATE(49)] = 3966, - [SMALL_STATE(50)] = 4044, - [SMALL_STATE(51)] = 4122, - [SMALL_STATE(52)] = 4200, - [SMALL_STATE(53)] = 4278, - [SMALL_STATE(54)] = 4331, - [SMALL_STATE(55)] = 4376, - [SMALL_STATE(56)] = 4421, - [SMALL_STATE(57)] = 4478, - [SMALL_STATE(58)] = 4519, - [SMALL_STATE(59)] = 4559, - [SMALL_STATE(60)] = 4599, - [SMALL_STATE(61)] = 4653, - [SMALL_STATE(62)] = 4697, - [SMALL_STATE(63)] = 4737, - [SMALL_STATE(64)] = 4777, - [SMALL_STATE(65)] = 4817, - [SMALL_STATE(66)] = 4873, - [SMALL_STATE(67)] = 4913, - [SMALL_STATE(68)] = 4953, - [SMALL_STATE(69)] = 4993, - [SMALL_STATE(70)] = 5033, - [SMALL_STATE(71)] = 5085, - [SMALL_STATE(72)] = 5137, - [SMALL_STATE(73)] = 5181, - [SMALL_STATE(74)] = 5220, - [SMALL_STATE(75)] = 5293, - [SMALL_STATE(76)] = 5346, - [SMALL_STATE(77)] = 5397, - [SMALL_STATE(78)] = 5436, - [SMALL_STATE(79)] = 5475, - [SMALL_STATE(80)] = 5514, - [SMALL_STATE(81)] = 5565, - [SMALL_STATE(82)] = 5638, - [SMALL_STATE(83)] = 5711, - [SMALL_STATE(84)] = 5784, - [SMALL_STATE(85)] = 5822, - [SMALL_STATE(86)] = 5860, - [SMALL_STATE(87)] = 5898, - [SMALL_STATE(88)] = 5936, - [SMALL_STATE(89)] = 5974, - [SMALL_STATE(90)] = 6012, - [SMALL_STATE(91)] = 6050, - [SMALL_STATE(92)] = 6100, - [SMALL_STATE(93)] = 6138, - [SMALL_STATE(94)] = 6176, - [SMALL_STATE(95)] = 6214, - [SMALL_STATE(96)] = 6252, - [SMALL_STATE(97)] = 6290, - [SMALL_STATE(98)] = 6328, - [SMALL_STATE(99)] = 6366, - [SMALL_STATE(100)] = 6407, - [SMALL_STATE(101)] = 6447, - [SMALL_STATE(102)] = 6481, - [SMALL_STATE(103)] = 6515, - [SMALL_STATE(104)] = 6568, - [SMALL_STATE(105)] = 6599, - [SMALL_STATE(106)] = 6652, - [SMALL_STATE(107)] = 6705, - [SMALL_STATE(108)] = 6758, - [SMALL_STATE(109)] = 6791, - [SMALL_STATE(110)] = 6844, - [SMALL_STATE(111)] = 6897, - [SMALL_STATE(112)] = 6950, - [SMALL_STATE(113)] = 7003, - [SMALL_STATE(114)] = 7046, - [SMALL_STATE(115)] = 7099, - [SMALL_STATE(116)] = 7132, - [SMALL_STATE(117)] = 7185, - [SMALL_STATE(118)] = 7238, - [SMALL_STATE(119)] = 7291, - [SMALL_STATE(120)] = 7322, - [SMALL_STATE(121)] = 7350, - [SMALL_STATE(122)] = 7380, - [SMALL_STATE(123)] = 7408, - [SMALL_STATE(124)] = 7438, - [SMALL_STATE(125)] = 7466, - [SMALL_STATE(126)] = 7496, - [SMALL_STATE(127)] = 7524, - [SMALL_STATE(128)] = 7552, - [SMALL_STATE(129)] = 7580, - [SMALL_STATE(130)] = 7608, - [SMALL_STATE(131)] = 7636, - [SMALL_STATE(132)] = 7664, - [SMALL_STATE(133)] = 7711, - [SMALL_STATE(134)] = 7758, - [SMALL_STATE(135)] = 7805, - [SMALL_STATE(136)] = 7854, - [SMALL_STATE(137)] = 7901, - [SMALL_STATE(138)] = 7948, - [SMALL_STATE(139)] = 7997, - [SMALL_STATE(140)] = 8044, - [SMALL_STATE(141)] = 8091, - [SMALL_STATE(142)] = 8138, - [SMALL_STATE(143)] = 8185, - [SMALL_STATE(144)] = 8232, - [SMALL_STATE(145)] = 8279, - [SMALL_STATE(146)] = 8326, - [SMALL_STATE(147)] = 8373, - [SMALL_STATE(148)] = 8420, - [SMALL_STATE(149)] = 8467, - [SMALL_STATE(150)] = 8514, - [SMALL_STATE(151)] = 8561, - [SMALL_STATE(152)] = 8608, - [SMALL_STATE(153)] = 8655, - [SMALL_STATE(154)] = 8702, - [SMALL_STATE(155)] = 8749, - [SMALL_STATE(156)] = 8796, - [SMALL_STATE(157)] = 8823, - [SMALL_STATE(158)] = 8870, - [SMALL_STATE(159)] = 8897, - [SMALL_STATE(160)] = 8924, - [SMALL_STATE(161)] = 8951, - [SMALL_STATE(162)] = 8998, - [SMALL_STATE(163)] = 9045, - [SMALL_STATE(164)] = 9072, - [SMALL_STATE(165)] = 9099, - [SMALL_STATE(166)] = 9126, - [SMALL_STATE(167)] = 9173, - [SMALL_STATE(168)] = 9200, - [SMALL_STATE(169)] = 9247, - [SMALL_STATE(170)] = 9296, - [SMALL_STATE(171)] = 9343, - [SMALL_STATE(172)] = 9368, - [SMALL_STATE(173)] = 9393, - [SMALL_STATE(174)] = 9424, - [SMALL_STATE(175)] = 9451, - [SMALL_STATE(176)] = 9491, - [SMALL_STATE(177)] = 9531, - [SMALL_STATE(178)] = 9571, - [SMALL_STATE(179)] = 9611, - [SMALL_STATE(180)] = 9651, - [SMALL_STATE(181)] = 9672, - [SMALL_STATE(182)] = 9709, - [SMALL_STATE(183)] = 9746, - [SMALL_STATE(184)] = 9783, - [SMALL_STATE(185)] = 9820, - [SMALL_STATE(186)] = 9841, - [SMALL_STATE(187)] = 9862, - [SMALL_STATE(188)] = 9899, - [SMALL_STATE(189)] = 9920, - [SMALL_STATE(190)] = 9941, - [SMALL_STATE(191)] = 9978, - [SMALL_STATE(192)] = 10015, - [SMALL_STATE(193)] = 10052, - [SMALL_STATE(194)] = 10073, - [SMALL_STATE(195)] = 10094, - [SMALL_STATE(196)] = 10115, - [SMALL_STATE(197)] = 10136, - [SMALL_STATE(198)] = 10157, - [SMALL_STATE(199)] = 10178, - [SMALL_STATE(200)] = 10199, - [SMALL_STATE(201)] = 10220, - [SMALL_STATE(202)] = 10257, - [SMALL_STATE(203)] = 10294, - [SMALL_STATE(204)] = 10315, - [SMALL_STATE(205)] = 10339, - [SMALL_STATE(206)] = 10371, - [SMALL_STATE(207)] = 10405, - [SMALL_STATE(208)] = 10434, - [SMALL_STATE(209)] = 10457, - [SMALL_STATE(210)] = 10484, - [SMALL_STATE(211)] = 10508, - [SMALL_STATE(212)] = 10531, - [SMALL_STATE(213)] = 10554, - [SMALL_STATE(214)] = 10577, - [SMALL_STATE(215)] = 10600, - [SMALL_STATE(216)] = 10617, - [SMALL_STATE(217)] = 10640, - [SMALL_STATE(218)] = 10663, - [SMALL_STATE(219)] = 10686, - [SMALL_STATE(220)] = 10709, - [SMALL_STATE(221)] = 10726, - [SMALL_STATE(222)] = 10749, - [SMALL_STATE(223)] = 10772, - [SMALL_STATE(224)] = 10792, - [SMALL_STATE(225)] = 10808, - [SMALL_STATE(226)] = 10824, - [SMALL_STATE(227)] = 10840, - [SMALL_STATE(228)] = 10858, - [SMALL_STATE(229)] = 10878, - [SMALL_STATE(230)] = 10898, - [SMALL_STATE(231)] = 10913, - [SMALL_STATE(232)] = 10928, - [SMALL_STATE(233)] = 10943, - [SMALL_STATE(234)] = 10958, - [SMALL_STATE(235)] = 10970, - [SMALL_STATE(236)] = 10981, - [SMALL_STATE(237)] = 10992, - [SMALL_STATE(238)] = 11003, - [SMALL_STATE(239)] = 11014, - [SMALL_STATE(240)] = 11025, - [SMALL_STATE(241)] = 11036, - [SMALL_STATE(242)] = 11047, - [SMALL_STATE(243)] = 11058, - [SMALL_STATE(244)] = 11069, - [SMALL_STATE(245)] = 11080, - [SMALL_STATE(246)] = 11091, - [SMALL_STATE(247)] = 11102, - [SMALL_STATE(248)] = 11113, - [SMALL_STATE(249)] = 11124, - [SMALL_STATE(250)] = 11134, - [SMALL_STATE(251)] = 11144, - [SMALL_STATE(252)] = 11154, - [SMALL_STATE(253)] = 11164, - [SMALL_STATE(254)] = 11174, - [SMALL_STATE(255)] = 11182, - [SMALL_STATE(256)] = 11190, - [SMALL_STATE(257)] = 11200, - [SMALL_STATE(258)] = 11210, - [SMALL_STATE(259)] = 11220, - [SMALL_STATE(260)] = 11230, - [SMALL_STATE(261)] = 11240, - [SMALL_STATE(262)] = 11250, - [SMALL_STATE(263)] = 11260, - [SMALL_STATE(264)] = 11270, - [SMALL_STATE(265)] = 11280, - [SMALL_STATE(266)] = 11288, - [SMALL_STATE(267)] = 11298, - [SMALL_STATE(268)] = 11308, - [SMALL_STATE(269)] = 11318, - [SMALL_STATE(270)] = 11328, - [SMALL_STATE(271)] = 11338, - [SMALL_STATE(272)] = 11348, - [SMALL_STATE(273)] = 11356, - [SMALL_STATE(274)] = 11366, - [SMALL_STATE(275)] = 11374, - [SMALL_STATE(276)] = 11382, - [SMALL_STATE(277)] = 11392, - [SMALL_STATE(278)] = 11400, - [SMALL_STATE(279)] = 11405, - [SMALL_STATE(280)] = 11412, - [SMALL_STATE(281)] = 11419, - [SMALL_STATE(282)] = 11424, - [SMALL_STATE(283)] = 11429, - [SMALL_STATE(284)] = 11434, - [SMALL_STATE(285)] = 11439, - [SMALL_STATE(286)] = 11444, - [SMALL_STATE(287)] = 11449, - [SMALL_STATE(288)] = 11454, - [SMALL_STATE(289)] = 11459, - [SMALL_STATE(290)] = 11464, - [SMALL_STATE(291)] = 11469, - [SMALL_STATE(292)] = 11476, - [SMALL_STATE(293)] = 11481, - [SMALL_STATE(294)] = 11488, - [SMALL_STATE(295)] = 11493, - [SMALL_STATE(296)] = 11498, - [SMALL_STATE(297)] = 11503, - [SMALL_STATE(298)] = 11510, - [SMALL_STATE(299)] = 11515, - [SMALL_STATE(300)] = 11520, - [SMALL_STATE(301)] = 11525, - [SMALL_STATE(302)] = 11530, - [SMALL_STATE(303)] = 11537, - [SMALL_STATE(304)] = 11542, - [SMALL_STATE(305)] = 11547, - [SMALL_STATE(306)] = 11554, - [SMALL_STATE(307)] = 11561, - [SMALL_STATE(308)] = 11568, - [SMALL_STATE(309)] = 11575, - [SMALL_STATE(310)] = 11582, - [SMALL_STATE(311)] = 11586, - [SMALL_STATE(312)] = 11590, - [SMALL_STATE(313)] = 11594, - [SMALL_STATE(314)] = 11598, - [SMALL_STATE(315)] = 11602, - [SMALL_STATE(316)] = 11606, - [SMALL_STATE(317)] = 11610, - [SMALL_STATE(318)] = 11614, - [SMALL_STATE(319)] = 11618, - [SMALL_STATE(320)] = 11622, - [SMALL_STATE(321)] = 11626, - [SMALL_STATE(322)] = 11630, - [SMALL_STATE(323)] = 11634, - [SMALL_STATE(324)] = 11638, - [SMALL_STATE(325)] = 11642, - [SMALL_STATE(326)] = 11646, - [SMALL_STATE(327)] = 11650, - [SMALL_STATE(328)] = 11654, - [SMALL_STATE(329)] = 11658, - [SMALL_STATE(330)] = 11662, - [SMALL_STATE(331)] = 11666, - [SMALL_STATE(332)] = 11670, - [SMALL_STATE(333)] = 11674, - [SMALL_STATE(334)] = 11678, - [SMALL_STATE(335)] = 11682, - [SMALL_STATE(336)] = 11686, - [SMALL_STATE(337)] = 11690, - [SMALL_STATE(338)] = 11694, - [SMALL_STATE(339)] = 11698, - [SMALL_STATE(340)] = 11702, - [SMALL_STATE(341)] = 11706, - [SMALL_STATE(342)] = 11710, - [SMALL_STATE(343)] = 11714, - [SMALL_STATE(344)] = 11718, - [SMALL_STATE(345)] = 11722, - [SMALL_STATE(346)] = 11726, - [SMALL_STATE(347)] = 11730, - [SMALL_STATE(348)] = 11734, - [SMALL_STATE(349)] = 11738, - [SMALL_STATE(350)] = 11742, - [SMALL_STATE(351)] = 11746, - [SMALL_STATE(352)] = 11750, - [SMALL_STATE(353)] = 11754, - [SMALL_STATE(354)] = 11758, - [SMALL_STATE(355)] = 11762, - [SMALL_STATE(356)] = 11766, - [SMALL_STATE(357)] = 11770, - [SMALL_STATE(358)] = 11774, - [SMALL_STATE(359)] = 11778, + [SMALL_STATE(3)] = 83, + [SMALL_STATE(4)] = 166, + [SMALL_STATE(5)] = 246, + [SMALL_STATE(6)] = 291, + [SMALL_STATE(7)] = 344, + [SMALL_STATE(8)] = 423, + [SMALL_STATE(9)] = 502, + [SMALL_STATE(10)] = 581, + [SMALL_STATE(11)] = 660, + [SMALL_STATE(12)] = 739, + [SMALL_STATE(13)] = 818, + [SMALL_STATE(14)] = 897, + [SMALL_STATE(15)] = 976, + [SMALL_STATE(16)] = 1055, + [SMALL_STATE(17)] = 1134, + [SMALL_STATE(18)] = 1213, + [SMALL_STATE(19)] = 1266, + [SMALL_STATE(20)] = 1306, + [SMALL_STATE(21)] = 1346, + [SMALL_STATE(22)] = 1392, + [SMALL_STATE(23)] = 1467, + [SMALL_STATE(24)] = 1506, + [SMALL_STATE(25)] = 1581, + [SMALL_STATE(26)] = 1656, + [SMALL_STATE(27)] = 1695, + [SMALL_STATE(28)] = 1734, + [SMALL_STATE(29)] = 1773, + [SMALL_STATE(30)] = 1812, + [SMALL_STATE(31)] = 1851, + [SMALL_STATE(32)] = 1890, + [SMALL_STATE(33)] = 1965, + [SMALL_STATE(34)] = 2004, + [SMALL_STATE(35)] = 2079, + [SMALL_STATE(36)] = 2118, + [SMALL_STATE(37)] = 2157, + [SMALL_STATE(38)] = 2196, + [SMALL_STATE(39)] = 2235, + [SMALL_STATE(40)] = 2285, + [SMALL_STATE(41)] = 2335, + [SMALL_STATE(42)] = 2375, + [SMALL_STATE(43)] = 2423, + [SMALL_STATE(44)] = 2467, + [SMALL_STATE(45)] = 2520, + [SMALL_STATE(46)] = 2572, + [SMALL_STATE(47)] = 2608, + [SMALL_STATE(48)] = 2660, + [SMALL_STATE(49)] = 2712, + [SMALL_STATE(50)] = 2764, + [SMALL_STATE(51)] = 2800, + [SMALL_STATE(52)] = 2852, + [SMALL_STATE(53)] = 2904, + [SMALL_STATE(54)] = 2956, + [SMALL_STATE(55)] = 3008, + [SMALL_STATE(56)] = 3060, + [SMALL_STATE(57)] = 3112, + [SMALL_STATE(58)] = 3164, + [SMALL_STATE(59)] = 3216, + [SMALL_STATE(60)] = 3268, + [SMALL_STATE(61)] = 3320, + [SMALL_STATE(62)] = 3372, + [SMALL_STATE(63)] = 3424, + [SMALL_STATE(64)] = 3476, + [SMALL_STATE(65)] = 3528, + [SMALL_STATE(66)] = 3580, + [SMALL_STATE(67)] = 3611, + [SMALL_STATE(68)] = 3657, + [SMALL_STATE(69)] = 3703, + [SMALL_STATE(70)] = 3749, + [SMALL_STATE(71)] = 3795, + [SMALL_STATE(72)] = 3841, + [SMALL_STATE(73)] = 3887, + [SMALL_STATE(74)] = 3935, + [SMALL_STATE(75)] = 3981, + [SMALL_STATE(76)] = 4027, + [SMALL_STATE(77)] = 4075, + [SMALL_STATE(78)] = 4121, + [SMALL_STATE(79)] = 4167, + [SMALL_STATE(80)] = 4213, + [SMALL_STATE(81)] = 4259, + [SMALL_STATE(82)] = 4284, + [SMALL_STATE(83)] = 4309, + [SMALL_STATE(84)] = 4335, + [SMALL_STATE(85)] = 4361, + [SMALL_STATE(86)] = 4390, + [SMALL_STATE(87)] = 4413, + [SMALL_STATE(88)] = 4436, + [SMALL_STATE(89)] = 4459, + [SMALL_STATE(90)] = 4482, + [SMALL_STATE(91)] = 4505, + [SMALL_STATE(92)] = 4528, + [SMALL_STATE(93)] = 4551, + [SMALL_STATE(94)] = 4581, + [SMALL_STATE(95)] = 4607, + [SMALL_STATE(96)] = 4633, + [SMALL_STATE(97)] = 4665, + [SMALL_STATE(98)] = 4697, + [SMALL_STATE(99)] = 4726, + [SMALL_STATE(100)] = 4747, + [SMALL_STATE(101)] = 4776, + [SMALL_STATE(102)] = 4805, + [SMALL_STATE(103)] = 4834, + [SMALL_STATE(104)] = 4863, + [SMALL_STATE(105)] = 4883, + [SMALL_STATE(106)] = 4903, + [SMALL_STATE(107)] = 4929, + [SMALL_STATE(108)] = 4949, + [SMALL_STATE(109)] = 4969, + [SMALL_STATE(110)] = 4989, + [SMALL_STATE(111)] = 5009, + [SMALL_STATE(112)] = 5029, + [SMALL_STATE(113)] = 5049, + [SMALL_STATE(114)] = 5069, + [SMALL_STATE(115)] = 5089, + [SMALL_STATE(116)] = 5109, + [SMALL_STATE(117)] = 5129, + [SMALL_STATE(118)] = 5149, + [SMALL_STATE(119)] = 5169, + [SMALL_STATE(120)] = 5189, + [SMALL_STATE(121)] = 5209, + [SMALL_STATE(122)] = 5229, + [SMALL_STATE(123)] = 5249, + [SMALL_STATE(124)] = 5269, + [SMALL_STATE(125)] = 5295, + [SMALL_STATE(126)] = 5315, + [SMALL_STATE(127)] = 5335, + [SMALL_STATE(128)] = 5355, + [SMALL_STATE(129)] = 5375, + [SMALL_STATE(130)] = 5395, + [SMALL_STATE(131)] = 5415, + [SMALL_STATE(132)] = 5435, + [SMALL_STATE(133)] = 5455, + [SMALL_STATE(134)] = 5475, + [SMALL_STATE(135)] = 5496, + [SMALL_STATE(136)] = 5514, + [SMALL_STATE(137)] = 5531, + [SMALL_STATE(138)] = 5547, + [SMALL_STATE(139)] = 5563, + [SMALL_STATE(140)] = 5575, + [SMALL_STATE(141)] = 5587, + [SMALL_STATE(142)] = 5599, + [SMALL_STATE(143)] = 5610, + [SMALL_STATE(144)] = 5621, + [SMALL_STATE(145)] = 5632, + [SMALL_STATE(146)] = 5640, + [SMALL_STATE(147)] = 5650, + [SMALL_STATE(148)] = 5658, + [SMALL_STATE(149)] = 5668, + [SMALL_STATE(150)] = 5678, + [SMALL_STATE(151)] = 5688, + [SMALL_STATE(152)] = 5698, + [SMALL_STATE(153)] = 5708, + [SMALL_STATE(154)] = 5718, + [SMALL_STATE(155)] = 5728, + [SMALL_STATE(156)] = 5738, + [SMALL_STATE(157)] = 5748, + [SMALL_STATE(158)] = 5758, + [SMALL_STATE(159)] = 5768, + [SMALL_STATE(160)] = 5778, + [SMALL_STATE(161)] = 5786, + [SMALL_STATE(162)] = 5796, + [SMALL_STATE(163)] = 5806, + [SMALL_STATE(164)] = 5816, + [SMALL_STATE(165)] = 5826, + [SMALL_STATE(166)] = 5833, + [SMALL_STATE(167)] = 5840, + [SMALL_STATE(168)] = 5847, + [SMALL_STATE(169)] = 5854, + [SMALL_STATE(170)] = 5861, + [SMALL_STATE(171)] = 5868, + [SMALL_STATE(172)] = 5875, + [SMALL_STATE(173)] = 5880, + [SMALL_STATE(174)] = 5887, + [SMALL_STATE(175)] = 5891, + [SMALL_STATE(176)] = 5895, + [SMALL_STATE(177)] = 5899, + [SMALL_STATE(178)] = 5903, + [SMALL_STATE(179)] = 5907, + [SMALL_STATE(180)] = 5911, + [SMALL_STATE(181)] = 5915, + [SMALL_STATE(182)] = 5919, + [SMALL_STATE(183)] = 5923, + [SMALL_STATE(184)] = 5927, + [SMALL_STATE(185)] = 5931, + [SMALL_STATE(186)] = 5935, + [SMALL_STATE(187)] = 5939, + [SMALL_STATE(188)] = 5943, + [SMALL_STATE(189)] = 5947, + [SMALL_STATE(190)] = 5951, + [SMALL_STATE(191)] = 5955, + [SMALL_STATE(192)] = 5959, + [SMALL_STATE(193)] = 5963, + [SMALL_STATE(194)] = 5967, + [SMALL_STATE(195)] = 5971, + [SMALL_STATE(196)] = 5975, + [SMALL_STATE(197)] = 5979, + [SMALL_STATE(198)] = 5983, + [SMALL_STATE(199)] = 5987, + [SMALL_STATE(200)] = 5991, + [SMALL_STATE(201)] = 5995, + [SMALL_STATE(202)] = 5999, + [SMALL_STATE(203)] = 6003, + [SMALL_STATE(204)] = 6007, + [SMALL_STATE(205)] = 6011, + [SMALL_STATE(206)] = 6015, + [SMALL_STATE(207)] = 6019, + [SMALL_STATE(208)] = 6023, + [SMALL_STATE(209)] = 6027, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), - [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(344), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(339), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(274), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), - [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(61), - [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(337), - [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(66), - [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(66), - [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(67), - [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(181), - [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(306), - [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(264), - [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(344), - [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(339), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(274), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(137), - [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(233), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(140), - [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(333), - [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(145), - [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), - [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), - [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), - [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), - [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), - [125] = {.entry = {.count = 1, .reusable = false}}, SHIFT(356), - [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), - [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), - [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), - [137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), - [139] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(61), - [142] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(66), - [145] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(66), - [148] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(67), - [151] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(181), - [154] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(306), - [157] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(264), - [160] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(344), - [163] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(339), - [166] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(274), - [169] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(137), - [172] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(233), - [175] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(140), - [178] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(333), - [181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), - [183] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_loop_repeat1, 2), SHIFT_REPEAT(145), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), - [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), - [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), - [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), - [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), - [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), - [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), - [206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291), - [208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [210] = {.entry = {.count = 1, .reusable = false}}, SHIFT(359), - [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(316), - [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265), - [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170), - [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319), - [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), - [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204), - [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(328), - [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272), - [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), - [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(331), - [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), - [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [242] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), - [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225), - [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), - [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(226), - [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), - [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), - [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), - [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), - [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [288] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), - [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), - [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), - [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), - [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), - [326] = {.entry = {.count = 1, .reusable = false}}, SHIFT(200), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), - [332] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), - [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool_call, 3), - [336] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool_call, 3), - [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [340] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [344] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), - [348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), - [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), - [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), - [354] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(132), - [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), - [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), - [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), - [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), - [367] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(73), - [370] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(66), - [373] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(66), - [376] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(67), - [379] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(181), - [382] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(306), - [385] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(264), - [388] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(344), - [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(233), - [394] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), - [396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [398] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(200), - [401] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(185), - [404] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(185), - [407] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(203), - [410] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(190), - [413] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(279), - [416] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(252), - [419] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(356), - [422] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(231), - [425] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [427] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), - [429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [431] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), - [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [435] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), - [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), - [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), - [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [443] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(136), - [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [448] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), - [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), - [456] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), - [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), - [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), - [462] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), - [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 5), - [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 5), - [468] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), - [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), - [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), - [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), - [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), - [478] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), - [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), - [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 4), - [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 4), - [496] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), - [500] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), - [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [520] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(66), - [523] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(66), - [526] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(67), - [529] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(181), - [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [534] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(306), - [537] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(264), - [540] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(344), - [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [555] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), - [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [561] = {.entry = {.count = 1, .reusable = false}}, SHIFT(304), - [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), - [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), - [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), - [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [577] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), - [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_output, 2), - [587] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_input, 2), - [589] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [601] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), - [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [607] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [611] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [615] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [621] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [623] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), - [625] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), - [627] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), - [629] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), - [631] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), - [633] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(181), - [636] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), - [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), - [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), - [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), - [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), - [654] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(150), - [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), - [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), - [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), - [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), - [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), - [679] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342), - [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), - [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), - [691] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(322), - [694] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), - [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), - [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), - [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), - [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [708] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(254), - [711] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), - [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), - [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), - [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), - [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [741] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), - [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), - [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345), - [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341), - [771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [773] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), - [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), - [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), - [783] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327), - [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [789] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [791] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [793] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [795] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [799] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), - [805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), - [809] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), - [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), - [817] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [821] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [823] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [825] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [827] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [829] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), - [831] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), - [833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), - [835] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [837] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), - [839] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(171), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [35] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(21), + [38] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(89), + [41] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(33), + [44] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(33), + [47] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(28), + [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(55), + [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(171), + [56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(148), + [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(185), + [62] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(70), + [65] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(139), + [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(69), + [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(180), + [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(160), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(21), + [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(89), + [85] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(33), + [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(33), + [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(28), + [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(55), + [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(171), + [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(148), + [103] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(185), + [106] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(70), + [109] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(139), + [112] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(69), + [115] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(180), + [118] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_item_repeat1, 2), SHIFT_REPEAT(160), + [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), + [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), + [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [143] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [153] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [157] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), + [159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), + [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168), + [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207), + [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(199), + [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147), + [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), + [183] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), + [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), + [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), + [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 1), + [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 1), + [245] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(26), + [248] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(33), + [251] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(33), + [254] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(28), + [257] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(55), + [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [262] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(171), + [265] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(148), + [268] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(185), + [271] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(139), + [274] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [284] = {.entry = {.count = 1, .reusable = false}}, SHIFT(178), + [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [302] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(26), + [305] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(33), + [308] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(33), + [311] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(28), + [314] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(55), + [317] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(171), + [320] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(148), + [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), + [325] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(185), + [328] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(139), + [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [355] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [357] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(80), + [360] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), + [362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), + [364] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), + [366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [368] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [372] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), + [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [376] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209), + [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 5), + [382] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 5), + [384] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 5), + [386] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 5), + [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), + [390] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), + [392] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [394] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), + [396] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [398] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76), + [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [402] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [406] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 1), + [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 1), + [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 4), + [414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 4), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 5), + [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 5), + [420] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_map_repeat1, 3), + [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tool, 1), + [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tool, 1), + [440] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [444] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [448] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [450] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136), + [452] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), + [454] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), + [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_repeat1, 2), SHIFT_REPEAT(55), + [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_insert_repeat1, 2), + [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [465] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [471] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [483] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(192), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [496] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [498] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(145), + [501] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [505] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [525] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [533] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), }; #ifdef __cplusplus