diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index f9aafe3..0000000 --- a/Cargo.lock +++ /dev/null @@ -1,80 +0,0 @@ -# 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 = "cc" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] - -[[package]] -name = "libc" -version = "0.2.148" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" - -[[package]] -name = "memchr" -version = "2.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" - -[[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 = "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", - "tree-sitter", -] diff --git a/corpus/functions.txt b/corpus/functions.txt index 5c61b6c..67e173c 100644 --- a/corpus/functions.txt +++ b/corpus/functions.txt @@ -6,7 +6,6 @@ function { "Hiya" } --- - (root (item (statement @@ -22,7 +21,7 @@ function { "Hiya" } Function Call ================== -(foobar "Hiya") +foobar("Hiya") --- @@ -66,4 +65,41 @@ function { (identifier))) (statement (expression - (identifier))))))))) \ No newline at end of file + (identifier))))))))) + +================== +Complex Function Call +================== + +foobar ( + "hi" + 42 + { + x = 1 + y = 2 + } +) + +--- + +(root + (item + (statement + (expression + (function_call + (identifier) + (expression + (value + (string))) + (expression + (value + (integer))) + (expression + (value + (map + (identifier) + (value + (integer)) + (identifier) + (value + (integer)))))))))) diff --git a/corpus/maps.txt b/corpus/maps.txt index 398b14f..4b0c022 100644 --- a/corpus/maps.txt +++ b/corpus/maps.txt @@ -22,7 +22,7 @@ Simple Map Map Assignment ================== -{ +x = { answer = 42 } @@ -31,12 +31,15 @@ Map Assignment (root (item (statement - (expression - (value - (map - (identifier) + (assignment + (identifier) + (statement + (expression (value - (integer)))))))) + (map + (identifier) + (value + (integer)))))))))) ================== Map Access diff --git a/examples/assets/faithful.csv b/examples/assets/faithful.csv deleted file mode 100644 index a11030a..0000000 --- a/examples/assets/faithful.csv +++ /dev/null @@ -1,273 +0,0 @@ -"Index", "Eruption length (mins)","Eruption wait (mins)" - 1, 3.600, 79 - 2, 1.800, 54 - 3, 3.333, 74 - 4, 2.283, 62 - 5, 4.533, 85 - 6, 2.883, 55 - 7, 4.700, 88 - 8, 3.600, 85 - 9, 1.950, 51 - 10, 4.350, 85 - 11, 1.833, 54 - 12, 3.917, 84 - 13, 4.200, 78 - 14, 1.750, 47 - 15, 4.700, 83 - 16, 2.167, 52 - 17, 1.750, 62 - 18, 4.800, 84 - 19, 1.600, 52 - 20, 4.250, 79 - 21, 1.800, 51 - 22, 1.750, 47 - 23, 3.450, 78 - 24, 3.067, 69 - 25, 4.533, 74 - 26, 3.600, 83 - 27, 1.967, 55 - 28, 4.083, 76 - 29, 3.850, 78 - 30, 4.433, 79 - 31, 4.300, 73 - 32, 4.467, 77 - 33, 3.367, 66 - 34, 4.033, 80 - 35, 3.833, 74 - 36, 2.017, 52 - 37, 1.867, 48 - 38, 4.833, 80 - 39, 1.833, 59 - 40, 4.783, 90 - 41, 4.350, 80 - 42, 1.883, 58 - 43, 4.567, 84 - 44, 1.750, 58 - 45, 4.533, 73 - 46, 3.317, 83 - 47, 3.833, 64 - 48, 2.100, 53 - 49, 4.633, 82 - 50, 2.000, 59 - 51, 4.800, 75 - 52, 4.716, 90 - 53, 1.833, 54 - 54, 4.833, 80 - 55, 1.733, 54 - 56, 4.883, 83 - 57, 3.717, 71 - 58, 1.667, 64 - 59, 4.567, 77 - 60, 4.317, 81 - 61, 2.233, 59 - 62, 4.500, 84 - 63, 1.750, 48 - 64, 4.800, 82 - 65, 1.817, 60 - 66, 4.400, 92 - 67, 4.167, 78 - 68, 4.700, 78 - 69, 2.067, 65 - 70, 4.700, 73 - 71, 4.033, 82 - 72, 1.967, 56 - 73, 4.500, 79 - 74, 4.000, 71 - 75, 1.983, 62 - 76, 5.067, 76 - 77, 2.017, 60 - 78, 4.567, 78 - 79, 3.883, 76 - 80, 3.600, 83 - 81, 4.133, 75 - 82, 4.333, 82 - 83, 4.100, 70 - 84, 2.633, 65 - 85, 4.067, 73 - 86, 4.933, 88 - 87, 3.950, 76 - 88, 4.517, 80 - 89, 2.167, 48 - 90, 4.000, 86 - 91, 2.200, 60 - 92, 4.333, 90 - 93, 1.867, 50 - 94, 4.817, 78 - 95, 1.833, 63 - 96, 4.300, 72 - 97, 4.667, 84 - 98, 3.750, 75 - 99, 1.867, 51 -100, 4.900, 82 -101, 2.483, 62 -102, 4.367, 88 -103, 2.100, 49 -104, 4.500, 83 -105, 4.050, 81 -106, 1.867, 47 -107, 4.700, 84 -108, 1.783, 52 -109, 4.850, 86 -110, 3.683, 81 -111, 4.733, 75 -112, 2.300, 59 -113, 4.900, 89 -114, 4.417, 79 -115, 1.700, 59 -116, 4.633, 81 -117, 2.317, 50 -118, 4.600, 85 -119, 1.817, 59 -120, 4.417, 87 -121, 2.617, 53 -122, 4.067, 69 -123, 4.250, 77 -124, 1.967, 56 -125, 4.600, 88 -126, 3.767, 81 -127, 1.917, 45 -128, 4.500, 82 -129, 2.267, 55 -130, 4.650, 90 -131, 1.867, 45 -132, 4.167, 83 -133, 2.800, 56 -134, 4.333, 89 -135, 1.833, 46 -136, 4.383, 82 -137, 1.883, 51 -138, 4.933, 86 -139, 2.033, 53 -140, 3.733, 79 -141, 4.233, 81 -142, 2.233, 60 -143, 4.533, 82 -144, 4.817, 77 -145, 4.333, 76 -146, 1.983, 59 -147, 4.633, 80 -148, 2.017, 49 -149, 5.100, 96 -150, 1.800, 53 -151, 5.033, 77 -152, 4.000, 77 -153, 2.400, 65 -154, 4.600, 81 -155, 3.567, 71 -156, 4.000, 70 -157, 4.500, 81 -158, 4.083, 93 -159, 1.800, 53 -160, 3.967, 89 -161, 2.200, 45 -162, 4.150, 86 -163, 2.000, 58 -164, 3.833, 78 -165, 3.500, 66 -166, 4.583, 76 -167, 2.367, 63 -168, 5.000, 88 -169, 1.933, 52 -170, 4.617, 93 -171, 1.917, 49 -172, 2.083, 57 -173, 4.583, 77 -174, 3.333, 68 -175, 4.167, 81 -176, 4.333, 81 -177, 4.500, 73 -178, 2.417, 50 -179, 4.000, 85 -180, 4.167, 74 -181, 1.883, 55 -182, 4.583, 77 -183, 4.250, 83 -184, 3.767, 83 -185, 2.033, 51 -186, 4.433, 78 -187, 4.083, 84 -188, 1.833, 46 -189, 4.417, 83 -190, 2.183, 55 -191, 4.800, 81 -192, 1.833, 57 -193, 4.800, 76 -194, 4.100, 84 -195, 3.966, 77 -196, 4.233, 81 -197, 3.500, 87 -198, 4.366, 77 -199, 2.250, 51 -200, 4.667, 78 -201, 2.100, 60 -202, 4.350, 82 -203, 4.133, 91 -204, 1.867, 53 -205, 4.600, 78 -206, 1.783, 46 -207, 4.367, 77 -208, 3.850, 84 -209, 1.933, 49 -210, 4.500, 83 -211, 2.383, 71 -212, 4.700, 80 -213, 1.867, 49 -214, 3.833, 75 -215, 3.417, 64 -216, 4.233, 76 -217, 2.400, 53 -218, 4.800, 94 -219, 2.000, 55 -220, 4.150, 76 -221, 1.867, 50 -222, 4.267, 82 -223, 1.750, 54 -224, 4.483, 75 -225, 4.000, 78 -226, 4.117, 79 -227, 4.083, 78 -228, 4.267, 78 -229, 3.917, 70 -230, 4.550, 79 -231, 4.083, 70 -232, 2.417, 54 -233, 4.183, 86 -234, 2.217, 50 -235, 4.450, 90 -236, 1.883, 54 -237, 1.850, 54 -238, 4.283, 77 -239, 3.950, 79 -240, 2.333, 64 -241, 4.150, 75 -242, 2.350, 47 -243, 4.933, 86 -244, 2.900, 63 -245, 4.583, 85 -246, 3.833, 82 -247, 2.083, 57 -248, 4.367, 82 -249, 2.133, 67 -250, 4.350, 74 -251, 2.200, 54 -252, 4.450, 83 -253, 3.567, 73 -254, 4.500, 73 -255, 4.150, 88 -256, 3.817, 80 -257, 3.917, 71 -258, 4.450, 83 -259, 2.000, 56 -260, 4.283, 79 -261, 4.767, 78 -262, 4.533, 84 -263, 1.850, 58 -264, 4.250, 83 -265, 1.983, 43 -266, 2.250, 60 -267, 4.750, 75 -268, 4.117, 81 -269, 2.150, 46 -270, 4.417, 90 -271, 1.817, 46 -272, 4.467, 74 diff --git a/examples/clue_solver.ds b/examples/clue_solver.ds deleted file mode 100644 index 657a7eb..0000000 --- a/examples/clue_solver.ds +++ /dev/null @@ -1,15 +0,0 @@ -suspects = ("White", "Green"); -rooms = ("Library", "Kitchen"); -weapons = ("Rope", "Lead Pipe"); - -make_guess = { - current_room = input.0; - - if length(suspects) == 1 - && length(rooms) == 1 - && length(weapons) == 1 - then - output 'It was ' + suspects.0 + ' in the ' + rooms.0 + ' with the ' + weapons.0 '!'; - else - output 'I accuse ' + random(suspects) + ' in the ' + current_room + ' with the ' + random(weapons) '!'; -}; diff --git a/examples/collections.ds b/examples/collections.ds deleted file mode 100644 index 4099e71..0000000 --- a/examples/collections.ds +++ /dev/null @@ -1,114 +0,0 @@ -# transform - -list = (1, 2, 3); -test = transform(list, 'input + 1'); -assert_equal((2, 3, 4), test); - -# string - -test = string(42); -assert_equal("42", test); - -test = string(42.42); -assert_equal("42.42", test); - -test = string(false); -assert_equal("false", test); - -# create_table - -table = create_table( - ("text", "num"), - ( - ("foo", 1), - ("bar", 2) - ) -); - -# rows - -test = rows(table); -assert_equal( - ( - ("foo", 1), - ("bar", 2) - ), - test -); - -# insert - -test = insert( - table, - ( - ("foo", 1), - ("bar", 2) - ) -); -assert_equal( - create_table( - ("text", "num"), - ( - ("foo", 1), - ("bar", 2), - ("foo", 1), - ("bar", 2) - ) - ), - test -); - -# select - -table = create_table( - ("text", "number", "bool"), - ( - ("a", 1, true), - ("b", 2, true), - ("a", 3, true) - ) -); - -test_table = create_table( - ("text", "bool"), - ( - ("a", true), - ("b", true), - ("a", true) - ) -); - -assert_equal(select(table, ("text", "bool")), test_table); - -test_table = create_table( - ("text", "number", "bool"), - ( - ("a", 1, true), - ("a", 3, true) - ) -); - -assert_equal(where(table, 'text == "a"'), test_table); - -# count - -table = create_table( - ("text", "number", "bool"), - ( - ("a", 1, true), - ("b", 2, true), - ("a", 3, true) - ) -); -test = count(table); -assert_equal(3, test); - -test = count("123"); -assert_equal(3, test); - -test = count(1, 2, 3); -assert_equal(3, test); - -map.x.z.y = 1; -test = count(map); -assert_equal(1, test); diff --git a/examples/data_formats.ds b/examples/data_formats.ds deleted file mode 100644 index 6264143..0000000 --- a/examples/data_formats.ds +++ /dev/null @@ -1,4 +0,0 @@ -dob = from_toml("1979-05-27T07:32:00-08:00"); -toml = to_toml(dob); - -assert_equal(toml, "1979-05-27T07:32:00-08:00"); diff --git a/examples/fetch.ds b/examples/fetch.ds deleted file mode 100644 index ea0e5da..0000000 --- a/examples/fetch.ds +++ /dev/null @@ -1,4 +0,0 @@ -raw_data = download <"https://api.sampleapis.com/futurama/cast"> -dust_data = from_json - -assert_equal <"Billy West", data.0.name> diff --git a/examples/fizzbuzz.ds b/examples/fizzbuzz.ds deleted file mode 100644 index 43421a9..0000000 --- a/examples/fizzbuzz.ds +++ /dev/null @@ -1,34 +0,0 @@ -fizzbuzz_basic = function { - count = 1 - - while count < limit { - count += 1 - - if count % 3 == 0 && count % 5 == 0 { - output 'fizzbuzz' - } else { - if count % 3 == 0 { - output 'fizz' - } - - if count % 5 == 0 { - output 'buzz' - } - } - } -} - -fizzbuzz_match { - count = 1 - - while count < 1 { - output match [count % 3 == 0, count % 5 == 0] { - [true, false] => 'fizz' - [false, true] => 'buzz' - [true, true] => 'fizzbuzz' - } - } -} - -fizzbuzz_basic<15> -fizzbuzz_match<15> diff --git a/examples/gui_rendering.ds b/examples/gui_rendering.ds deleted file mode 100644 index 8d7ce33..0000000 --- a/examples/gui_rendering.ds +++ /dev/null @@ -1,6 +0,0 @@ -# This will read a CSV file and display it as a line plot in a GUI window. -read_file("examples/assets/faithful.csv") - -> from_csv(input) - -> rows(input) - -> transform(input, 'input.1') - -> plot(input); diff --git a/examples/list.ds b/examples/list.ds deleted file mode 100644 index c27f974..0000000 --- a/examples/list.ds +++ /dev/null @@ -1,7 +0,0 @@ -numbers = [1, 2, 3] - -x = numbers.0 -y = numbers.1 -z = numbers.2 - -assert_equal diff --git a/examples/scope.ds b/examples/scope.ds deleted file mode 100644 index 0bf0a5b..0000000 --- a/examples/scope.ds +++ /dev/null @@ -1,9 +0,0 @@ -foo = "bar"; -func = 'foo'; - -assert_equal("bar", func()); - -foo = "xyz"; - -assert_equal("xyz", func()); - diff --git a/examples/table.ds b/examples/table.ds deleted file mode 100644 index 65b75cc..0000000 --- a/examples/table.ds +++ /dev/null @@ -1,29 +0,0 @@ -table = create_table( - ("text", "number", "bool"), - ( - ("a", 1, true), - ("b", 2, true), - ("a", 3, true) - ) -); - -test_table = create_table( - ("text", "bool"), - ( - ("a", true), - ("b", true), - ("a", true) - ) -); - -assert_equal(select(table, ("text", "bool")), test_table); - -test_table = create_table( - ("text", "number", "bool"), - ( - ("a", 1, true), - ("a", 3, true) - ) -); - -assert_equal(where(table, 'text == "a"'), test_table); diff --git a/examples/variables.ds b/examples/variables.ds deleted file mode 100644 index 94be0d8..0000000 --- a/examples/variables.ds +++ /dev/null @@ -1,10 +0,0 @@ -x = 1 -y = "hello dust!" -z = 42.0 -list = (3, 2, x) -big_list = (x, y, z, list) -foo = { - x = "bar" - y = 42 - z = 0 -} diff --git a/grammar.js b/grammar.js index 293070b..78c5ef8 100644 --- a/grammar.js +++ b/grammar.js @@ -158,8 +158,8 @@ module.exports = grammar({ )), function_call: $ => prec.right(seq( - '(', $.identifier, + '(', repeat(seq($.expression)), ')', )), diff --git a/src/grammar.json b/src/grammar.json index 508b2c5..9c1ac6d 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -677,14 +677,14 @@ "content": { "type": "SEQ", "members": [ - { - "type": "STRING", - "value": "(" - }, { "type": "SYMBOL", "name": "identifier" }, + { + "type": "STRING", + "value": "(" + }, { "type": "REPEAT", "content": { diff --git a/src/parser.c b/src/parser.c index 4acc6ed..c2e635b 100644 --- a/src/parser.c +++ b/src/parser.c @@ -609,7 +609,7 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [3] = 3, [4] = 4, [5] = 5, - [6] = 6, + [6] = 4, [7] = 7, [8] = 8, [9] = 9, @@ -626,40 +626,40 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [20] = 20, [21] = 21, [22] = 22, - [23] = 22, - [24] = 22, - [25] = 10, - [26] = 26, - [27] = 26, - [28] = 26, - [29] = 20, - [30] = 20, - [31] = 31, + [23] = 23, + [24] = 24, + [25] = 25, + [26] = 24, + [27] = 23, + [28] = 28, + [29] = 28, + [30] = 24, + [31] = 23, [32] = 32, - [33] = 33, + [33] = 28, [34] = 34, [35] = 35, - [36] = 35, - [37] = 37, - [38] = 38, - [39] = 33, - [40] = 33, - [41] = 34, - [42] = 35, + [36] = 36, + [37] = 36, + [38] = 35, + [39] = 39, + [40] = 40, + [41] = 41, + [42] = 41, [43] = 43, - [44] = 34, + [44] = 35, [45] = 45, - [46] = 37, - [47] = 47, - [48] = 48, + [46] = 39, + [47] = 41, + [48] = 39, [49] = 49, [50] = 50, [51] = 51, - [52] = 50, + [52] = 49, [53] = 53, - [54] = 51, - [55] = 48, - [56] = 56, + [54] = 50, + [55] = 55, + [56] = 51, [57] = 57, [58] = 58, [59] = 59, @@ -667,11 +667,11 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [61] = 61, [62] = 62, [63] = 63, - [64] = 62, - [65] = 65, - [66] = 61, - [67] = 63, - [68] = 68, + [64] = 64, + [65] = 63, + [66] = 62, + [67] = 67, + [68] = 64, [69] = 69, [70] = 70, [71] = 71, @@ -681,51 +681,51 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [75] = 75, [76] = 76, [77] = 77, - [78] = 70, - [79] = 79, + [78] = 78, + [79] = 71, [80] = 80, - [81] = 80, + [81] = 81, [82] = 82, - [83] = 82, + [83] = 81, [84] = 84, - [85] = 85, + [85] = 80, [86] = 86, [87] = 87, - [88] = 85, + [88] = 88, [89] = 89, - [90] = 87, - [91] = 91, + [90] = 88, + [91] = 86, [92] = 92, [93] = 93, [94] = 94, [95] = 93, - [96] = 93, - [97] = 97, + [96] = 96, + [97] = 93, [98] = 98, - [99] = 97, - [100] = 97, + [99] = 99, + [100] = 98, [101] = 101, - [102] = 15, - [103] = 103, - [104] = 14, + [102] = 98, + [103] = 14, + [104] = 17, [105] = 105, [106] = 106, - [107] = 106, - [108] = 8, - [109] = 11, - [110] = 13, - [111] = 111, - [112] = 5, - [113] = 6, - [114] = 7, - [115] = 47, - [116] = 16, - [117] = 17, - [118] = 45, - [119] = 4, - [120] = 9, - [121] = 38, - [122] = 122, + [107] = 20, + [108] = 106, + [109] = 109, + [110] = 7, + [111] = 18, + [112] = 13, + [113] = 19, + [114] = 12, + [115] = 16, + [116] = 43, + [117] = 11, + [118] = 9, + [119] = 10, + [120] = 34, + [121] = 45, + [122] = 5, [123] = 123, [124] = 124, [125] = 125, @@ -734,70 +734,70 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [128] = 128, [129] = 129, [130] = 130, - [131] = 130, + [131] = 131, [132] = 130, - [133] = 129, - [134] = 129, - [135] = 135, - [136] = 136, + [133] = 133, + [134] = 130, + [135] = 133, + [136] = 133, [137] = 137, [138] = 138, [139] = 139, - [140] = 140, - [141] = 139, - [142] = 138, + [140] = 139, + [141] = 141, + [142] = 142, [143] = 137, - [144] = 137, - [145] = 136, - [146] = 146, - [147] = 147, - [148] = 139, - [149] = 149, - [150] = 136, - [151] = 147, - [152] = 147, - [153] = 138, - [154] = 8, - [155] = 155, - [156] = 156, + [144] = 144, + [145] = 145, + [146] = 138, + [147] = 145, + [148] = 144, + [149] = 139, + [150] = 145, + [151] = 151, + [152] = 137, + [153] = 153, + [154] = 144, + [155] = 138, + [156] = 5, [157] = 157, - [158] = 158, - [159] = 157, - [160] = 5, - [161] = 11, - [162] = 6, - [163] = 13, - [164] = 156, - [165] = 157, - [166] = 7, - [167] = 17, - [168] = 16, - [169] = 9, - [170] = 4, - [171] = 156, - [172] = 172, - [173] = 173, + [158] = 10, + [159] = 159, + [160] = 157, + [161] = 12, + [162] = 7, + [163] = 11, + [164] = 164, + [165] = 165, + [166] = 18, + [167] = 157, + [168] = 13, + [169] = 164, + [170] = 19, + [171] = 16, + [172] = 164, + [173] = 9, [174] = 174, [175] = 175, [176] = 176, - [177] = 177, - [178] = 173, + [177] = 174, + [178] = 178, [179] = 179, [180] = 180, [181] = 176, [182] = 182, - [183] = 180, + [183] = 178, [184] = 184, - [185] = 173, - [186] = 172, - [187] = 187, + [185] = 185, + [186] = 174, + [187] = 178, [188] = 188, - [189] = 180, - [190] = 176, - [191] = 191, - [192] = 188, + [189] = 189, + [190] = 190, + [191] = 176, + [192] = 184, [193] = 193, - [194] = 188, + [194] = 184, [195] = 195, }; @@ -844,6 +844,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '!') ADVANCE(5); if (lookahead == '%') ADVANCE(51); if (lookahead == '&') ADVANCE(3); + if (lookahead == '(') ADVANCE(65); if (lookahead == '*') ADVANCE(49); if (lookahead == '+') ADVANCE(45); if (lookahead == '-') ADVANCE(47); @@ -942,7 +943,6 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '"') ADVANCE(2); if (lookahead == '#') ADVANCE(19); if (lookahead == '\'') ADVANCE(4); - if (lookahead == '(') ADVANCE(65); if (lookahead == ')') ADVANCE(66); if (lookahead == ',') ADVANCE(36); if (lookahead == '-') ADVANCE(7); @@ -1446,7 +1446,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [5] = {.lex_state = 16}, [6] = {.lex_state = 16}, [7] = {.lex_state = 16}, - [8] = {.lex_state = 16}, + [8] = {.lex_state = 17}, [9] = {.lex_state = 16}, [10] = {.lex_state = 16}, [11] = {.lex_state = 16}, @@ -1456,14 +1456,14 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [15] = {.lex_state = 16}, [16] = {.lex_state = 16}, [17] = {.lex_state = 16}, - [18] = {.lex_state = 17}, - [19] = {.lex_state = 17}, - [20] = {.lex_state = 17}, - [21] = {.lex_state = 16}, - [22] = {.lex_state = 17}, + [18] = {.lex_state = 16}, + [19] = {.lex_state = 16}, + [20] = {.lex_state = 16}, + [21] = {.lex_state = 17}, + [22] = {.lex_state = 16}, [23] = {.lex_state = 17}, [24] = {.lex_state = 17}, - [25] = {.lex_state = 16}, + [25] = {.lex_state = 17}, [26] = {.lex_state = 17}, [27] = {.lex_state = 17}, [28] = {.lex_state = 17}, @@ -1472,20 +1472,20 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [31] = {.lex_state = 17}, [32] = {.lex_state = 16}, [33] = {.lex_state = 17}, - [34] = {.lex_state = 17}, + [34] = {.lex_state = 16}, [35] = {.lex_state = 17}, - [36] = {.lex_state = 17}, + [36] = {.lex_state = 16}, [37] = {.lex_state = 16}, - [38] = {.lex_state = 16}, + [38] = {.lex_state = 17}, [39] = {.lex_state = 17}, - [40] = {.lex_state = 17}, + [40] = {.lex_state = 16}, [41] = {.lex_state = 17}, [42] = {.lex_state = 17}, [43] = {.lex_state = 16}, [44] = {.lex_state = 17}, [45] = {.lex_state = 16}, - [46] = {.lex_state = 16}, - [47] = {.lex_state = 16}, + [46] = {.lex_state = 17}, + [47] = {.lex_state = 17}, [48] = {.lex_state = 17}, [49] = {.lex_state = 17}, [50] = {.lex_state = 17}, @@ -1494,9 +1494,9 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [53] = {.lex_state = 17}, [54] = {.lex_state = 17}, [55] = {.lex_state = 17}, - [56] = {.lex_state = 16}, + [56] = {.lex_state = 17}, [57] = {.lex_state = 16}, - [58] = {.lex_state = 17}, + [58] = {.lex_state = 16}, [59] = {.lex_state = 17}, [60] = {.lex_state = 17}, [61] = {.lex_state = 17}, @@ -1540,10 +1540,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [99] = {.lex_state = 17}, [100] = {.lex_state = 17}, [101] = {.lex_state = 17}, - [102] = {.lex_state = 1}, - [103] = {.lex_state = 17}, + [102] = {.lex_state = 17}, + [103] = {.lex_state = 1}, [104] = {.lex_state = 1}, - [105] = {.lex_state = 1}, + [105] = {.lex_state = 17}, [106] = {.lex_state = 1}, [107] = {.lex_state = 1}, [108] = {.lex_state = 1}, @@ -1560,26 +1560,26 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [119] = {.lex_state = 1}, [120] = {.lex_state = 1}, [121] = {.lex_state = 1}, - [122] = {.lex_state = 17}, - [123] = {.lex_state = 17}, + [122] = {.lex_state = 1}, + [123] = {.lex_state = 1}, [124] = {.lex_state = 17}, [125] = {.lex_state = 17}, [126] = {.lex_state = 17}, [127] = {.lex_state = 17}, [128] = {.lex_state = 17}, - [129] = {.lex_state = 0}, + [129] = {.lex_state = 17}, [130] = {.lex_state = 0}, - [131] = {.lex_state = 0}, + [131] = {.lex_state = 17}, [132] = {.lex_state = 0}, [133] = {.lex_state = 0}, [134] = {.lex_state = 0}, - [135] = {.lex_state = 17}, - [136] = {.lex_state = 17}, + [135] = {.lex_state = 0}, + [136] = {.lex_state = 0}, [137] = {.lex_state = 17}, [138] = {.lex_state = 17}, [139] = {.lex_state = 17}, - [140] = {.lex_state = 0}, - [141] = {.lex_state = 17}, + [140] = {.lex_state = 17}, + [141] = {.lex_state = 0}, [142] = {.lex_state = 17}, [143] = {.lex_state = 17}, [144] = {.lex_state = 17}, @@ -1594,7 +1594,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [153] = {.lex_state = 17}, [154] = {.lex_state = 17}, [155] = {.lex_state = 17}, - [156] = {.lex_state = 0}, + [156] = {.lex_state = 17}, [157] = {.lex_state = 17}, [158] = {.lex_state = 17}, [159] = {.lex_state = 17}, @@ -1607,33 +1607,33 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [166] = {.lex_state = 17}, [167] = {.lex_state = 17}, [168] = {.lex_state = 17}, - [169] = {.lex_state = 17}, + [169] = {.lex_state = 0}, [170] = {.lex_state = 17}, - [171] = {.lex_state = 0}, - [172] = {.lex_state = 17}, - [173] = {.lex_state = 0}, + [171] = {.lex_state = 17}, + [172] = {.lex_state = 0}, + [173] = {.lex_state = 17}, [174] = {.lex_state = 0}, [175] = {.lex_state = 0}, [176] = {.lex_state = 0}, - [177] = {.lex_state = 17}, + [177] = {.lex_state = 0}, [178] = {.lex_state = 0}, [179] = {.lex_state = 17}, [180] = {.lex_state = 0}, [181] = {.lex_state = 0}, - [182] = {.lex_state = 17}, + [182] = {.lex_state = 20}, [183] = {.lex_state = 0}, - [184] = {.lex_state = 17}, + [184] = {.lex_state = 0}, [185] = {.lex_state = 0}, - [186] = {.lex_state = 17}, - [187] = {.lex_state = 20}, - [188] = {.lex_state = 0}, - [189] = {.lex_state = 0}, - [190] = {.lex_state = 0}, + [186] = {.lex_state = 0}, + [187] = {.lex_state = 0}, + [188] = {.lex_state = 17}, + [189] = {.lex_state = 17}, + [190] = {.lex_state = 17}, [191] = {.lex_state = 0}, [192] = {.lex_state = 0}, - [193] = {.lex_state = 0}, + [193] = {.lex_state = 17}, [194] = {.lex_state = 0}, - [195] = {.lex_state = 17}, + [195] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1688,27 +1688,27 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_catch] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(174), + [sym_root] = STATE(180), [sym_item] = STATE(2), - [sym_comment] = STATE(92), - [sym_statement] = STATE(92), - [sym_yield] = STATE(77), - [sym_expression] = STATE(21), - [sym_value] = STATE(47), - [sym_boolean] = STATE(6), - [sym_list] = STATE(6), - [sym_function] = STATE(6), - [sym_table] = STATE(6), - [sym_map] = STATE(6), - [sym_math] = STATE(47), - [sym_logic] = STATE(47), - [sym_assignment] = STATE(77), - [sym_select] = STATE(77), - [sym_insert] = STATE(77), - [sym_if_else] = STATE(77), - [sym_function_call] = STATE(47), - [sym_loop] = STATE(77), - [sym_match] = STATE(77), + [sym_comment] = STATE(94), + [sym_statement] = STATE(94), + [sym_yield] = STATE(73), + [sym_expression] = STATE(22), + [sym_value] = STATE(43), + [sym_boolean] = STATE(12), + [sym_list] = STATE(12), + [sym_function] = STATE(12), + [sym_table] = STATE(12), + [sym_map] = STATE(12), + [sym_math] = STATE(43), + [sym_logic] = STATE(43), + [sym_assignment] = STATE(73), + [sym_select] = STATE(73), + [sym_insert] = STATE(73), + [sym_if_else] = STATE(73), + [sym_function_call] = STATE(43), + [sym_loop] = STATE(73), + [sym_match] = STATE(73), [aux_sym_root_repeat1] = STATE(2), [sym_identifier] = ACTIONS(3), [anon_sym_POUND] = ACTIONS(5), @@ -1724,14 +1724,13 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_select] = ACTIONS(21), [anon_sym_insert] = ACTIONS(23), [anon_sym_if] = ACTIONS(25), - [anon_sym_LPAREN] = ACTIONS(27), - [anon_sym_loop] = ACTIONS(29), - [anon_sym_match] = ACTIONS(31), + [anon_sym_loop] = ACTIONS(27), + [anon_sym_match] = ACTIONS(29), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 22, + [0] = 21, ACTIONS(3), 1, sym_identifier, ACTIONS(5), 1, @@ -1753,14 +1752,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - ACTIONS(33), 1, + ACTIONS(31), 1, ts_builtin_sym_end, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -1771,21 +1768,21 @@ static const uint16_t ts_small_parse_table[] = { STATE(3), 2, sym_item, aux_sym_root_repeat1, - STATE(92), 2, + STATE(94), 2, sym_comment, sym_statement, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -1793,61 +1790,59 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [84] = 22, - ACTIONS(35), 1, + [81] = 21, + ACTIONS(33), 1, ts_builtin_sym_end, - ACTIONS(37), 1, + ACTIONS(35), 1, sym_identifier, - ACTIONS(40), 1, + ACTIONS(38), 1, anon_sym_POUND, - ACTIONS(43), 1, + ACTIONS(41), 1, sym_integer, - ACTIONS(52), 1, + ACTIONS(50), 1, anon_sym_LBRACK, - ACTIONS(55), 1, + ACTIONS(53), 1, anon_sym_function, - ACTIONS(58), 1, + ACTIONS(56), 1, anon_sym_LBRACE, - ACTIONS(61), 1, + ACTIONS(59), 1, anon_sym_table, - ACTIONS(64), 1, + ACTIONS(62), 1, anon_sym_select, - ACTIONS(67), 1, + ACTIONS(65), 1, anon_sym_insert, - ACTIONS(70), 1, + ACTIONS(68), 1, anon_sym_if, - ACTIONS(73), 1, - anon_sym_LPAREN, - ACTIONS(76), 1, + ACTIONS(71), 1, anon_sym_loop, - ACTIONS(79), 1, + ACTIONS(74), 1, anon_sym_match, - STATE(21), 1, + STATE(22), 1, sym_expression, - ACTIONS(46), 2, + ACTIONS(44), 2, sym_float, sym_string, - ACTIONS(49), 2, + ACTIONS(47), 2, anon_sym_true, anon_sym_false, STATE(3), 2, sym_item, aux_sym_root_repeat1, - STATE(92), 2, + STATE(94), 2, sym_comment, sym_statement, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -1855,8 +1850,51 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [168] = 2, - ACTIONS(82), 19, + [162] = 5, + ACTIONS(81), 1, + anon_sym_EQ, + ACTIONS(85), 1, + anon_sym_LPAREN, + ACTIONS(83), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(77), 14, + 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_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(79), 19, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [210] = 2, + ACTIONS(87), 18, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -1874,9 +1912,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(84), 19, + ACTIONS(89), 19, sym_identifier, sym_integer, anon_sym_true, @@ -1896,213 +1933,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [211] = 2, - ACTIONS(88), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(86), 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, + [252] = 5, + ACTIONS(85), 1, anon_sym_LPAREN, - anon_sym_RPAREN, - [253] = 2, - ACTIONS(92), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(90), 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, - [295] = 2, - ACTIONS(96), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(94), 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, - [337] = 2, - ACTIONS(100), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(98), 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, - [379] = 2, - ACTIONS(104), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(102), 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, - [421] = 4, - ACTIONS(110), 1, + ACTIONS(91), 1, anon_sym_EQ, - ACTIONS(112), 2, + ACTIONS(93), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(106), 15, + ACTIONS(77), 14, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2117,8 +1956,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(108), 19, + ACTIONS(79), 18, sym_identifier, sym_integer, anon_sym_true, @@ -2133,32 +1971,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_select, anon_sym_insert, anon_sym_if, - anon_sym_else, anon_sym_loop, anon_sym_break, anon_sym_match, anon_sym_catch, - [467] = 2, - ACTIONS(116), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(114), 19, + [299] = 2, + ACTIONS(95), 18, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2176,33 +1994,344 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, - [509] = 10, + ACTIONS(97), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [340] = 20, + ACTIONS(99), 1, + sym_identifier, + ACTIONS(102), 1, + sym_integer, + ACTIONS(111), 1, + anon_sym_LBRACK, + ACTIONS(114), 1, + anon_sym_function, + ACTIONS(117), 1, + anon_sym_LBRACE, + ACTIONS(120), 1, + anon_sym_RBRACE, ACTIONS(122), 1, + anon_sym_table, + ACTIONS(125), 1, + anon_sym_select, + ACTIONS(128), 1, + anon_sym_insert, + ACTIONS(131), 1, + anon_sym_if, + ACTIONS(134), 1, + anon_sym_loop, + ACTIONS(137), 1, + anon_sym_break, + ACTIONS(139), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + ACTIONS(105), 2, + sym_float, + sym_string, + ACTIONS(108), 2, + anon_sym_true, + anon_sym_false, + STATE(8), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [417] = 2, + ACTIONS(142), 18, + ts_builtin_sym_end, + anon_sym_POUND, anon_sym_DASH_GT, - ACTIONS(126), 1, + 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_RPAREN, + ACTIONS(144), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [458] = 2, + ACTIONS(146), 18, + 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_RPAREN, + ACTIONS(148), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [499] = 2, + ACTIONS(150), 18, + 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_RPAREN, + ACTIONS(152), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [540] = 2, + ACTIONS(154), 18, + 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_RPAREN, + ACTIONS(156), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [581] = 2, + ACTIONS(158), 18, + 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_RPAREN, + ACTIONS(160), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [622] = 4, + STATE(80), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(162), 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_RPAREN, + ACTIONS(164), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [667] = 10, + ACTIONS(170), 1, + anon_sym_DASH_GT, + ACTIONS(174), 1, anon_sym_DASH, STATE(59), 1, aux_sym_yield_repeat1, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, + STATE(80), 1, sym_math_operator, - ACTIONS(128), 3, + STATE(90), 1, + sym_logic_operator, + ACTIONS(176), 3, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(130), 3, + ACTIONS(178), 3, anon_sym_PIPE_PIPE, anon_sym_and, anon_sym_or, - ACTIONS(124), 4, + ACTIONS(172), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(118), 8, + ACTIONS(166), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -2210,8 +2339,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(120), 14, + ACTIONS(168), 14, sym_identifier, sym_integer, anon_sym_true, @@ -2226,27 +2354,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [567] = 2, - ACTIONS(134), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(132), 19, + [724] = 2, + ACTIONS(180), 18, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2264,14 +2373,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, - [609] = 4, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, + ACTIONS(182), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [765] = 4, + STATE(80), 1, sym_math_operator, - ACTIONS(136), 17, + STATE(90), 1, + sym_logic_operator, + ACTIONS(184), 16, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2287,9 +2414,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(138), 18, + ACTIONS(186), 18, sym_identifier, sym_integer, anon_sym_true, @@ -2308,69 +2434,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [655] = 4, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, - sym_math_operator, - ACTIONS(140), 17, - 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, - anon_sym_RPAREN, - ACTIONS(142), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [701] = 2, - ACTIONS(146), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - ACTIONS(144), 19, + [810] = 2, + ACTIONS(188), 18, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2388,10 +2453,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, - [743] = 2, - ACTIONS(150), 18, + ACTIONS(190), 18, sym_identifier, sym_integer, anon_sym_true, @@ -2410,7 +2473,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - ACTIONS(148), 19, + [851] = 2, + ACTIONS(192), 18, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -2428,68 +2492,66 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, - [785] = 21, - ACTIONS(152), 1, + ACTIONS(194), 18, sym_identifier, - ACTIONS(155), 1, sym_integer, - ACTIONS(164), 1, - anon_sym_LBRACK, - ACTIONS(167), 1, - anon_sym_function, - ACTIONS(170), 1, - anon_sym_LBRACE, - ACTIONS(173), 1, - anon_sym_RBRACE, - ACTIONS(175), 1, - anon_sym_table, - ACTIONS(178), 1, - anon_sym_select, - ACTIONS(181), 1, - anon_sym_insert, - ACTIONS(184), 1, - anon_sym_if, - ACTIONS(187), 1, - anon_sym_LPAREN, - ACTIONS(190), 1, - anon_sym_loop, - ACTIONS(193), 1, - anon_sym_break, - ACTIONS(195), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - ACTIONS(158), 2, - sym_float, - sym_string, - ACTIONS(161), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [865] = 20, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [892] = 3, + ACTIONS(85), 1, + anon_sym_LPAREN, + ACTIONS(77), 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_RPAREN, + ACTIONS(79), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [934] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2509,14 +2571,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - ACTIONS(198), 1, + ACTIONS(196), 1, anon_sym_break, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2524,21 +2584,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(31), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2546,7 +2606,52 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [942] = 20, + [1008] = 9, + ACTIONS(174), 1, + anon_sym_DASH, + ACTIONS(202), 1, + anon_sym_DASH_GT, + STATE(80), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(176), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(178), 3, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + ACTIONS(172), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(198), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(200), 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_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [1062] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2566,14 +2671,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - ACTIONS(200), 1, + ACTIONS(204), 1, anon_sym_RBRACE, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2581,21 +2684,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2603,53 +2706,62 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1019] = 9, - ACTIONS(126), 1, - anon_sym_DASH, + [1136] = 19, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, ACTIONS(206), 1, - anon_sym_DASH_GT, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, - sym_math_operator, - ACTIONS(128), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(130), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(124), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(202), 8, - ts_builtin_sym_end, - anon_sym_POUND, + anon_sym_RBRACE, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(204), 14, - sym_identifier, - sym_integer, + ACTIONS(11), 2, 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_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [1074] = 20, + STATE(8), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1210] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2669,14 +2781,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, ACTIONS(208), 1, - anon_sym_RBRACE, - STATE(21), 1, + anon_sym_break, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2684,21 +2794,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(21), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2706,7 +2816,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1151] = 20, + [1284] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2726,14 +2836,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, ACTIONS(210), 1, anon_sym_RBRACE, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2741,21 +2849,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2763,7 +2871,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1228] = 20, + [1358] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2783,14 +2891,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, ACTIONS(212), 1, anon_sym_RBRACE, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2798,21 +2904,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2820,48 +2926,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1305] = 4, - ACTIONS(214), 1, - anon_sym_EQ, - ACTIONS(216), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(106), 15, - 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_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_LPAREN, - ACTIONS(108), 18, - 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [1350] = 20, + [1432] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2881,14 +2946,122 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, + anon_sym_match, + ACTIONS(214), 1, + anon_sym_RBRACE, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(8), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1506] = 19, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + ACTIONS(216), 1, + anon_sym_RBRACE, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(8), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [1580] = 19, + 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_loop, + ACTIONS(29), 1, anon_sym_match, ACTIONS(218), 1, anon_sym_RBRACE, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2896,21 +3069,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2918,7 +3091,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1427] = 20, + [1654] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -2938,14 +3111,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, ACTIONS(220), 1, anon_sym_RBRACE, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -2953,21 +3124,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -2975,255 +3146,27 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1504] = 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_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(222), 1, - anon_sym_RBRACE, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1581] = 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_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(224), 1, - anon_sym_RBRACE, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1658] = 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_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(226), 1, - anon_sym_RBRACE, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1735] = 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_loop, - ACTIONS(31), 1, - anon_sym_match, - ACTIONS(228), 1, - anon_sym_break, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [1812] = 8, - ACTIONS(126), 1, + [1728] = 8, + ACTIONS(174), 1, anon_sym_DASH, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, + STATE(80), 1, sym_math_operator, - ACTIONS(128), 3, + STATE(90), 1, + sym_logic_operator, + ACTIONS(176), 3, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(130), 3, + ACTIONS(178), 3, anon_sym_PIPE_PIPE, anon_sym_and, anon_sym_or, - ACTIONS(124), 4, + ACTIONS(172), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(230), 9, + ACTIONS(222), 8, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -3232,8 +3175,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(232), 14, + ACTIONS(224), 14, sym_identifier, sym_integer, anon_sym_true, @@ -3248,7 +3190,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [1865] = 19, + [1780] = 19, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -3268,12 +3210,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - STATE(21), 1, + ACTIONS(226), 1, + anon_sym_RBRACE, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -3281,21 +3223,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(29), 2, + STATE(8), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -3303,62 +3245,44 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [1939] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, + [1854] = 2, + ACTIONS(228), 16, + ts_builtin_sym_end, + anon_sym_POUND, + anon_sym_DASH_GT, sym_float, sym_string, - ACTIONS(11), 2, + 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_RPAREN, + ACTIONS(230), 18, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(22), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2013] = 19, + anon_sym_function, + anon_sym_table, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [1893] = 18, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -3378,12 +3302,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -3394,18 +3316,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(28), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -3413,7 +3335,113 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [2087] = 19, + [1964] = 18, + ACTIONS(174), 1, + anon_sym_DASH, + ACTIONS(232), 1, + sym_identifier, + ACTIONS(234), 1, + sym_integer, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(242), 1, + anon_sym_function, + ACTIONS(244), 1, + anon_sym_LBRACE, + ACTIONS(246), 1, + anon_sym_table, + STATE(63), 1, + aux_sym_match_repeat1, + STATE(80), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + STATE(109), 1, + sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, + ACTIONS(238), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(176), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(178), 3, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + ACTIONS(172), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(116), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(114), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2035] = 18, + ACTIONS(174), 1, + anon_sym_DASH, + ACTIONS(232), 1, + sym_identifier, + ACTIONS(234), 1, + sym_integer, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(242), 1, + anon_sym_function, + ACTIONS(244), 1, + anon_sym_LBRACE, + ACTIONS(246), 1, + anon_sym_table, + STATE(65), 1, + aux_sym_match_repeat1, + STATE(80), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + STATE(109), 1, + sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, + ACTIONS(238), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(176), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(178), 3, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + ACTIONS(172), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(116), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(114), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [2106] = 18, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -3433,12 +3461,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -3446,21 +3472,21 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(26), 2, + STATE(33), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -3468,63 +3494,300 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [2161] = 19, - ACTIONS(126), 1, - anon_sym_DASH, - ACTIONS(234), 1, + [2177] = 18, + ACTIONS(3), 1, sym_identifier, - ACTIONS(236), 1, + ACTIONS(7), 1, sym_integer, - ACTIONS(242), 1, + ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(244), 1, + ACTIONS(15), 1, anon_sym_function, - ACTIONS(246), 1, + ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(248), 1, + ACTIONS(19), 1, anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - STATE(66), 1, - aux_sym_match_repeat1, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, - sym_math_operator, - STATE(105), 1, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(25), 1, + anon_sym_if, + ACTIONS(27), 1, + anon_sym_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, sym_expression, - ACTIONS(238), 2, + ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(240), 2, + ACTIONS(11), 2, anon_sym_true, anon_sym_false, - ACTIONS(128), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(130), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(124), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(115), 4, + STATE(31), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(113), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [2235] = 2, - ACTIONS(252), 17, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2248] = 8, + ACTIONS(174), 1, + anon_sym_DASH, + STATE(80), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(176), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + ACTIONS(178), 3, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + ACTIONS(172), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(248), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(250), 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_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [2299] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(24), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2370] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(30), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2441] = 2, + ACTIONS(77), 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_RPAREN, + ACTIONS(79), 18, + 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_and, + anon_sym_or, + anon_sym_select, + anon_sym_insert, + anon_sym_if, + anon_sym_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [2480] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(29), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2551] = 2, + ACTIONS(252), 16, ts_builtin_sym_end, anon_sym_POUND, anon_sym_DASH_GT, @@ -3540,7 +3803,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, anon_sym_RPAREN, ACTIONS(254), 18, sym_identifier, @@ -3561,7 +3823,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [2275] = 19, + [2590] = 18, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -3581,177 +3843,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(30), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2349] = 19, - 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_loop, - ACTIONS(31), 1, anon_sym_match, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(20), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2423] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(24), 2, - sym_statement, - aux_sym_function_repeat2, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2497] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -3762,18 +3857,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(27), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -3781,51 +3876,7 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [2571] = 8, - ACTIONS(126), 1, - anon_sym_DASH, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, - sym_math_operator, - ACTIONS(128), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(130), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(124), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(256), 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(258), 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_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2623] = 19, + [2661] = 18, ACTIONS(3), 1, sym_identifier, ACTIONS(7), 1, @@ -3845,12 +3896,63 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(25), 1, anon_sym_if, ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, anon_sym_loop, - ACTIONS(31), 1, + ACTIONS(29), 1, anon_sym_match, - STATE(21), 1, + STATE(22), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(26), 2, + sym_statement, + aux_sym_function_repeat2, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2732] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -3861,18 +3963,18 @@ static const uint16_t ts_small_parse_table[] = { STATE(23), 2, sym_statement, aux_sym_function_repeat2, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - STATE(77), 7, + STATE(73), 7, sym_yield, sym_assignment, sym_select, @@ -3880,16 +3982,429 @@ static const uint16_t ts_small_parse_table[] = { sym_if_else, sym_loop, sym_match, - [2697] = 2, - ACTIONS(260), 17, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + [2803] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(77), 1, + sym_statement, + ACTIONS(9), 2, sym_float, sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2873] = 18, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, anon_sym_LBRACK, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(19), 1, + anon_sym_table, + ACTIONS(21), 1, + anon_sym_select, + ACTIONS(23), 1, + anon_sym_insert, + ACTIONS(27), 1, + anon_sym_loop, + ACTIONS(256), 1, + sym_identifier, + ACTIONS(258), 1, + anon_sym_if, + ACTIONS(260), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(79), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [2943] = 18, + 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(27), 1, + anon_sym_loop, + ACTIONS(256), 1, + sym_identifier, + ACTIONS(258), 1, + anon_sym_if, + ACTIONS(260), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(76), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [3013] = 18, + 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(27), 1, + anon_sym_loop, + ACTIONS(256), 1, + sym_identifier, + ACTIONS(258), 1, + anon_sym_if, + ACTIONS(260), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(77), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [3083] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(72), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [3153] = 18, + 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(27), 1, + anon_sym_loop, + ACTIONS(256), 1, + sym_identifier, + ACTIONS(258), 1, + anon_sym_if, + ACTIONS(260), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(71), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [3223] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(125), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [3293] = 18, + 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_loop, + ACTIONS(29), 1, + anon_sym_match, + STATE(22), 1, + sym_expression, + STATE(76), 1, + sym_statement, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + STATE(73), 7, + sym_yield, + sym_assignment, + sym_select, + sym_insert, + sym_if_else, + sym_loop, + sym_match, + [3363] = 4, + ACTIONS(79), 4, + anon_sym_DASH, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + ACTIONS(77), 7, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -3897,19 +4412,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(262), 18, + ACTIONS(262), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(264), 14, 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_and, - anon_sym_or, anon_sym_select, anon_sym_insert, anon_sym_if, @@ -3918,546 +4435,45 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [2737] = 19, - ACTIONS(126), 1, + [3404] = 8, + ACTIONS(174), 1, anon_sym_DASH, - ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, - sym_integer, - ACTIONS(242), 1, - anon_sym_LBRACK, - ACTIONS(244), 1, - anon_sym_function, - ACTIONS(246), 1, - anon_sym_LBRACE, - ACTIONS(248), 1, - anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - STATE(61), 1, - aux_sym_match_repeat1, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, + STATE(80), 1, sym_math_operator, - STATE(105), 1, - sym_expression, - ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(128), 3, + STATE(90), 1, + sym_logic_operator, + ACTIONS(176), 3, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, - ACTIONS(130), 3, + ACTIONS(178), 3, anon_sym_PIPE_PIPE, anon_sym_and, anon_sym_or, - ACTIONS(124), 4, + ACTIONS(172), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(115), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(113), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [2811] = 2, - ACTIONS(106), 17, - ts_builtin_sym_end, - anon_sym_POUND, - anon_sym_DASH_GT, + ACTIONS(268), 5, 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, anon_sym_RPAREN, - ACTIONS(108), 18, + ACTIONS(266), 6, 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_and, - anon_sym_or, - anon_sym_select, - anon_sym_insert, - anon_sym_if, - anon_sym_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [2851] = 19, - 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(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(264), 1, - sym_identifier, - ACTIONS(266), 1, - anon_sym_if, - ACTIONS(268), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(78), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2924] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(74), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [2997] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(72), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3070] = 19, - 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(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(264), 1, - sym_identifier, - ACTIONS(266), 1, - anon_sym_if, - ACTIONS(268), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(75), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3143] = 19, - 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(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(264), 1, - sym_identifier, - ACTIONS(266), 1, - anon_sym_if, - ACTIONS(268), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(72), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3216] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(122), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3289] = 19, - 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_loop, - ACTIONS(31), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(75), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3362] = 19, - 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(27), 1, - anon_sym_LPAREN, - ACTIONS(29), 1, - anon_sym_loop, - ACTIONS(264), 1, - sym_identifier, - ACTIONS(266), 1, - anon_sym_if, - ACTIONS(268), 1, - anon_sym_match, - STATE(21), 1, - sym_expression, - STATE(70), 1, - sym_statement, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - STATE(77), 7, - sym_yield, - sym_assignment, - sym_select, - sym_insert, - sym_if_else, - sym_loop, - sym_match, - [3435] = 4, - ACTIONS(108), 4, - anon_sym_DASH, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(106), 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(270), 8, + [3445] = 4, + ACTIONS(170), 1, + anon_sym_DASH_GT, + STATE(60), 1, + aux_sym_yield_repeat1, + ACTIONS(270), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4465,7 +4481,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, ACTIONS(272), 14, sym_identifier, sym_integer, @@ -4481,46 +4496,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [3477] = 8, - ACTIONS(126), 1, - anon_sym_DASH, - STATE(81), 1, - sym_logic_operator, - STATE(83), 1, - sym_math_operator, - ACTIONS(128), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - ACTIONS(130), 3, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - ACTIONS(124), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(274), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - ACTIONS(276), 6, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - [3519] = 4, - ACTIONS(278), 1, + [3477] = 4, + ACTIONS(274), 1, anon_sym_DASH_GT, - STATE(58), 1, + STATE(60), 1, aux_sym_yield_repeat1, - ACTIONS(230), 8, + ACTIONS(222), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4528,8 +4509,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(232), 14, + ACTIONS(224), 14, sym_identifier, sym_integer, anon_sym_true, @@ -4544,150 +4524,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [3552] = 4, - ACTIONS(122), 1, - anon_sym_DASH_GT, - STATE(58), 1, - aux_sym_yield_repeat1, - ACTIONS(281), 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(283), 14, + [3509] = 13, + ACTIONS(277), 1, sym_identifier, + ACTIONS(280), 1, 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_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [3585] = 14, - ACTIONS(285), 1, - sym_identifier, - ACTIONS(288), 1, - sym_integer, - ACTIONS(297), 1, + ACTIONS(289), 1, anon_sym_LBRACK, - ACTIONS(300), 1, + ACTIONS(292), 1, anon_sym_function, - ACTIONS(303), 1, + ACTIONS(295), 1, anon_sym_LBRACE, - ACTIONS(306), 1, + ACTIONS(298), 1, anon_sym_table, - ACTIONS(309), 1, - anon_sym_LPAREN, - ACTIONS(312), 1, - anon_sym_catch, - STATE(60), 1, - aux_sym_match_repeat1, - STATE(105), 1, - sym_expression, - ACTIONS(291), 2, - sym_float, - sym_string, - ACTIONS(294), 2, - anon_sym_true, - anon_sym_false, - STATE(115), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(113), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3637] = 14, - ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, - sym_integer, - ACTIONS(242), 1, - anon_sym_LBRACK, - ACTIONS(244), 1, - anon_sym_function, - ACTIONS(246), 1, - anon_sym_LBRACE, - ACTIONS(248), 1, - anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - ACTIONS(314), 1, - anon_sym_catch, - STATE(60), 1, - aux_sym_match_repeat1, - STATE(105), 1, - sym_expression, - ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, - anon_sym_true, - anon_sym_false, - STATE(115), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(113), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3689] = 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(316), 1, - sym_identifier, - ACTIONS(318), 1, + ACTIONS(301), 1, anon_sym_RPAREN, - STATE(57), 1, + STATE(58), 1, sym_expression, - STATE(65), 1, + STATE(61), 1, aux_sym_function_call_repeat1, - ACTIONS(9), 2, + ACTIONS(283), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(286), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [3741] = 14, + [3558] = 13, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -4698,13 +4571,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(19), 1, anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(316), 1, + ACTIONS(303), 1, sym_identifier, - ACTIONS(320), 1, + ACTIONS(305), 1, anon_sym_RPAREN, - STATE(57), 1, + STATE(58), 1, sym_expression, STATE(64), 1, aux_sym_function_call_repeat1, @@ -4714,132 +4585,54 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [3793] = 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(316), 1, + [3607] = 13, + ACTIONS(232), 1, sym_identifier, - ACTIONS(322), 1, - anon_sym_RPAREN, - STATE(57), 1, - sym_expression, - STATE(65), 1, - aux_sym_function_call_repeat1, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3845] = 14, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(327), 1, - sym_integer, - ACTIONS(336), 1, - anon_sym_LBRACK, - ACTIONS(339), 1, - anon_sym_function, - ACTIONS(342), 1, - anon_sym_LBRACE, - ACTIONS(345), 1, - anon_sym_table, - ACTIONS(348), 1, - anon_sym_LPAREN, - ACTIONS(351), 1, - anon_sym_RPAREN, - STATE(57), 1, - sym_expression, - STATE(65), 1, - aux_sym_function_call_repeat1, - ACTIONS(330), 2, - sym_float, - sym_string, - ACTIONS(333), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [3897] = 14, ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, sym_integer, - ACTIONS(242), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(244), 1, + ACTIONS(242), 1, anon_sym_function, - ACTIONS(246), 1, + ACTIONS(244), 1, anon_sym_LBRACE, - ACTIONS(248), 1, + ACTIONS(246), 1, anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - ACTIONS(353), 1, + ACTIONS(307), 1, anon_sym_catch, - STATE(60), 1, + STATE(67), 1, aux_sym_match_repeat1, - STATE(105), 1, + STATE(109), 1, sym_expression, - ACTIONS(238), 2, + ACTIONS(236), 2, sym_float, sym_string, - ACTIONS(240), 2, + ACTIONS(238), 2, anon_sym_true, anon_sym_false, - STATE(115), 4, + STATE(116), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(113), 5, + STATE(114), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [3949] = 14, + [3656] = 13, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -4850,15 +4643,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(19), 1, anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(316), 1, + ACTIONS(303), 1, sym_identifier, - ACTIONS(355), 1, + ACTIONS(309), 1, anon_sym_RPAREN, - STATE(57), 1, + STATE(58), 1, sym_expression, - STATE(62), 1, + STATE(61), 1, aux_sym_function_call_repeat1, ACTIONS(9), 2, sym_float, @@ -4866,21 +4657,165 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4001] = 3, - ACTIONS(361), 1, + [3705] = 13, + ACTIONS(232), 1, + sym_identifier, + ACTIONS(234), 1, + sym_integer, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(242), 1, + anon_sym_function, + ACTIONS(244), 1, + anon_sym_LBRACE, + ACTIONS(246), 1, + anon_sym_table, + ACTIONS(311), 1, + anon_sym_catch, + STATE(67), 1, + aux_sym_match_repeat1, + STATE(109), 1, + sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, + ACTIONS(238), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(114), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3754] = 13, + 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(303), 1, + sym_identifier, + ACTIONS(313), 1, + anon_sym_RPAREN, + STATE(58), 1, + sym_expression, + STATE(68), 1, + aux_sym_function_call_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3803] = 13, + ACTIONS(315), 1, + sym_identifier, + ACTIONS(318), 1, + sym_integer, + ACTIONS(327), 1, + anon_sym_LBRACK, + ACTIONS(330), 1, + anon_sym_function, + ACTIONS(333), 1, + anon_sym_LBRACE, + ACTIONS(336), 1, + anon_sym_table, + ACTIONS(339), 1, + anon_sym_catch, + STATE(67), 1, + aux_sym_match_repeat1, + STATE(109), 1, + sym_expression, + ACTIONS(321), 2, + sym_float, + sym_string, + ACTIONS(324), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(114), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3852] = 13, + 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(303), 1, + sym_identifier, + ACTIONS(341), 1, + anon_sym_RPAREN, + STATE(58), 1, + sym_expression, + STATE(61), 1, + aux_sym_function_call_repeat1, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [3901] = 3, + ACTIONS(347), 1, anon_sym_where, - ACTIONS(357), 8, + ACTIONS(343), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4888,8 +4823,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(359), 14, + ACTIONS(345), 14, sym_identifier, sym_integer, anon_sym_true, @@ -4904,10 +4838,106 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4031] = 3, - ACTIONS(367), 1, + [3930] = 3, + ACTIONS(353), 1, anon_sym_where, - ACTIONS(363), 8, + ACTIONS(349), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(351), 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_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3959] = 2, + ACTIONS(355), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(357), 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_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [3985] = 2, + ACTIONS(359), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(361), 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_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4011] = 2, + ACTIONS(198), 7, + ts_builtin_sym_end, + anon_sym_POUND, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(200), 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_else, + anon_sym_loop, + anon_sym_break, + anon_sym_match, + anon_sym_catch, + [4037] = 2, + ACTIONS(363), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4915,7 +4945,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, ACTIONS(365), 14, sym_identifier, sym_integer, @@ -4931,8 +4960,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4061] = 2, - ACTIONS(369), 8, + [4063] = 2, + ACTIONS(367), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4940,8 +4969,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(371), 14, + ACTIONS(369), 14, sym_identifier, sym_integer, anon_sym_true, @@ -4956,8 +4984,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4088] = 2, - ACTIONS(373), 8, + [4089] = 2, + ACTIONS(371), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4965,8 +4993,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(375), 14, + ACTIONS(373), 14, sym_identifier, sym_integer, anon_sym_true, @@ -4982,7 +5009,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_match, anon_sym_catch, [4115] = 2, - ACTIONS(377), 8, + ACTIONS(375), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -4990,8 +5017,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(379), 14, + ACTIONS(377), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5006,8 +5032,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4142] = 2, - ACTIONS(381), 8, + [4141] = 2, + ACTIONS(379), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5015,8 +5041,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(383), 14, + ACTIONS(381), 14, sym_identifier, sym_integer, anon_sym_true, @@ -5031,8 +5056,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4169] = 2, - ACTIONS(385), 8, + [4167] = 3, + ACTIONS(383), 1, + anon_sym_else, + ACTIONS(355), 7, ts_builtin_sym_end, anon_sym_POUND, sym_float, @@ -5040,110 +5067,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - ACTIONS(387), 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_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4196] = 2, - ACTIONS(389), 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(391), 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_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4223] = 2, - ACTIONS(393), 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(395), 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_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4250] = 2, - ACTIONS(202), 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(204), 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_else, - anon_sym_loop, - anon_sym_break, - anon_sym_match, - anon_sym_catch, - [4277] = 3, - ACTIONS(397), 1, - anon_sym_else, - ACTIONS(369), 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(371), 13, + ACTIONS(357), 13, sym_identifier, sym_integer, anon_sym_true, @@ -5157,76 +5081,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_break, anon_sym_match, anon_sym_catch, - [4306] = 13, - ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, - sym_integer, - ACTIONS(242), 1, - anon_sym_LBRACK, - ACTIONS(244), 1, - anon_sym_function, - ACTIONS(246), 1, - anon_sym_LBRACE, - ACTIONS(248), 1, - anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - STATE(56), 1, - sym_logic, - STATE(111), 1, - sym_expression, - ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, - anon_sym_true, - anon_sym_false, - STATE(115), 3, - sym_value, - sym_math, - sym_function_call, - STATE(113), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4354] = 12, - ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, - sym_integer, - ACTIONS(242), 1, - anon_sym_LBRACK, - ACTIONS(244), 1, - anon_sym_function, - ACTIONS(246), 1, - anon_sym_LBRACE, - ACTIONS(248), 1, - anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - STATE(102), 1, - sym_expression, - ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, - anon_sym_true, - anon_sym_false, - STATE(115), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(113), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4400] = 12, + [4195] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5237,11 +5092,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(19), 1, anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(316), 1, + ACTIONS(303), 1, sym_identifier, - STATE(15), 1, + STATE(17), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -5249,52 +5102,50 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4446] = 12, - ACTIONS(234), 1, + [4238] = 11, + ACTIONS(232), 1, sym_identifier, - ACTIONS(236), 1, + ACTIONS(234), 1, sym_integer, - ACTIONS(242), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(244), 1, + ACTIONS(242), 1, anon_sym_function, - ACTIONS(246), 1, + ACTIONS(244), 1, anon_sym_LBRACE, - ACTIONS(248), 1, + ACTIONS(246), 1, anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - STATE(104), 1, + STATE(108), 1, sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, anon_sym_true, anon_sym_false, - STATE(115), 4, + STATE(116), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(113), 5, + STATE(114), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4492] = 12, + [4281] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5305,11 +5156,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(19), 1, anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(316), 1, + ACTIONS(303), 1, sym_identifier, - STATE(14), 1, + STATE(40), 1, sym_expression, ACTIONS(9), 2, sym_float, @@ -5317,222 +5166,115 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4538] = 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(316), 1, + [4324] = 11, + ACTIONS(232), 1, sym_identifier, - STATE(12), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4584] = 12, ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, sym_integer, - ACTIONS(242), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(244), 1, + ACTIONS(242), 1, anon_sym_function, - ACTIONS(246), 1, + ACTIONS(244), 1, anon_sym_LBRACE, - ACTIONS(248), 1, + ACTIONS(246), 1, anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, STATE(106), 1, sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, anon_sym_true, anon_sym_false, - STATE(115), 4, + STATE(116), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(113), 5, + STATE(114), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4630] = 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(316), 1, + [4367] = 12, + ACTIONS(232), 1, sym_identifier, - STATE(32), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4676] = 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(316), 1, - sym_identifier, - STATE(46), 1, - sym_expression, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(11), 2, - anon_sym_true, - anon_sym_false, - STATE(47), 4, - sym_value, - sym_math, - sym_logic, - sym_function_call, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4722] = 12, ACTIONS(234), 1, - sym_identifier, - ACTIONS(236), 1, sym_integer, + ACTIONS(240), 1, + anon_sym_LBRACK, ACTIONS(242), 1, - anon_sym_LBRACK, + anon_sym_function, ACTIONS(244), 1, - anon_sym_function, + anon_sym_LBRACE, ACTIONS(246), 1, - anon_sym_LBRACE, - ACTIONS(248), 1, anon_sym_table, - ACTIONS(250), 1, - anon_sym_LPAREN, - STATE(107), 1, + STATE(57), 1, + sym_logic, + STATE(123), 1, sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, ACTIONS(238), 2, - sym_float, - sym_string, - ACTIONS(240), 2, anon_sym_true, anon_sym_false, - STATE(115), 4, + STATE(116), 3, sym_value, sym_math, - sym_logic, sym_function_call, - STATE(113), 5, + STATE(114), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4768] = 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(316), 1, + [4412] = 11, + ACTIONS(232), 1, sym_identifier, - STATE(43), 1, + ACTIONS(234), 1, + sym_integer, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(242), 1, + anon_sym_function, + ACTIONS(244), 1, + anon_sym_LBRACE, + ACTIONS(246), 1, + anon_sym_table, + STATE(104), 1, sym_expression, - ACTIONS(9), 2, + ACTIONS(236), 2, sym_float, sym_string, - ACTIONS(11), 2, + ACTIONS(238), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(116), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(114), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4814] = 12, + [4455] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, @@ -5543,9 +5285,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(19), 1, anon_sym_table, - ACTIONS(27), 1, - anon_sym_LPAREN, - ACTIONS(316), 1, + ACTIONS(303), 1, sym_identifier, STATE(37), 1, sym_expression, @@ -5555,27 +5295,244 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(11), 2, anon_sym_true, anon_sym_false, - STATE(47), 4, + STATE(43), 4, sym_value, sym_math, sym_logic, sym_function_call, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4860] = 2, - ACTIONS(399), 7, + [4498] = 11, + 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(303), 1, + sym_identifier, + STATE(15), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4541] = 11, + ACTIONS(232), 1, + sym_identifier, + ACTIONS(234), 1, + sym_integer, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(242), 1, + anon_sym_function, + ACTIONS(244), 1, + anon_sym_LBRACE, + ACTIONS(246), 1, + anon_sym_table, + STATE(103), 1, + sym_expression, + ACTIONS(236), 2, + sym_float, + sym_string, + ACTIONS(238), 2, + anon_sym_true, + anon_sym_false, + STATE(116), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(114), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4584] = 11, + 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(303), 1, + sym_identifier, + STATE(32), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4627] = 11, + 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(303), 1, + sym_identifier, + STATE(14), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4670] = 11, + 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(303), 1, + sym_identifier, + STATE(36), 1, + sym_expression, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(11), 2, + anon_sym_true, + anon_sym_false, + STATE(43), 4, + sym_value, + sym_math, + sym_logic, + sym_function_call, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4713] = 11, + ACTIONS(385), 1, + sym_integer, + ACTIONS(394), 1, + anon_sym_LBRACK, + ACTIONS(397), 1, + anon_sym_RBRACK, + ACTIONS(399), 1, + anon_sym_function, + ACTIONS(402), 1, + anon_sym_LBRACE, + ACTIONS(405), 1, + anon_sym_table, + STATE(92), 1, + aux_sym_list_repeat1, + STATE(124), 1, + sym_value, + ACTIONS(388), 2, + sym_float, + sym_string, + ACTIONS(391), 2, + anon_sym_true, + anon_sym_false, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4753] = 11, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(410), 1, + anon_sym_RBRACK, + ACTIONS(412), 1, + anon_sym_function, + ACTIONS(414), 1, + anon_sym_table, + STATE(92), 1, + aux_sym_list_repeat1, + STATE(124), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(408), 2, + anon_sym_true, + anon_sym_false, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4793] = 2, + ACTIONS(416), 6, ts_builtin_sym_end, anon_sym_POUND, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(401), 11, + ACTIONS(418), 11, sym_identifier, sym_integer, anon_sym_true, @@ -5587,16 +5544,44 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_loop, anon_sym_match, - [4883] = 2, - ACTIONS(403), 7, + [4815] = 11, + ACTIONS(7), 1, + sym_integer, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(17), 1, + anon_sym_LBRACE, + ACTIONS(412), 1, + anon_sym_function, + ACTIONS(414), 1, + anon_sym_table, + ACTIONS(420), 1, + anon_sym_RBRACK, + STATE(92), 1, + aux_sym_list_repeat1, + STATE(124), 1, + sym_value, + ACTIONS(9), 2, + sym_float, + sym_string, + ACTIONS(408), 2, + anon_sym_true, + anon_sym_false, + STATE(12), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [4855] = 2, + ACTIONS(422), 6, ts_builtin_sym_end, anon_sym_POUND, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(405), 11, + ACTIONS(424), 11, sym_identifier, sym_integer, anon_sym_true, @@ -5608,445 +5593,312 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_if, anon_sym_loop, anon_sym_match, - [4906] = 11, + [4877] = 11, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(409), 1, - anon_sym_RBRACK, - ACTIONS(411), 1, + ACTIONS(412), 1, anon_sym_function, - ACTIONS(413), 1, + ACTIONS(414), 1, anon_sym_table, - STATE(94), 1, + ACTIONS(426), 1, + anon_sym_RBRACK, + STATE(92), 1, aux_sym_list_repeat1, - STATE(125), 1, + STATE(124), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(407), 2, + ACTIONS(408), 2, anon_sym_true, anon_sym_false, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [4946] = 11, - ACTIONS(415), 1, - sym_integer, - ACTIONS(424), 1, - anon_sym_LBRACK, - ACTIONS(427), 1, - anon_sym_RBRACK, - ACTIONS(429), 1, - anon_sym_function, - ACTIONS(432), 1, - anon_sym_LBRACE, - ACTIONS(435), 1, - anon_sym_table, - STATE(94), 1, - aux_sym_list_repeat1, - STATE(125), 1, - sym_value, - ACTIONS(418), 2, - sym_float, - sym_string, - ACTIONS(421), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [4986] = 11, + [4917] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(411), 1, + ACTIONS(412), 1, anon_sym_function, - ACTIONS(413), 1, + ACTIONS(414), 1, anon_sym_table, - ACTIONS(438), 1, - anon_sym_RBRACK, - STATE(94), 1, + STATE(97), 1, aux_sym_list_repeat1, - STATE(125), 1, + STATE(124), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(407), 2, + ACTIONS(408), 2, anon_sym_true, anon_sym_false, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5026] = 11, + [4954] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(411), 1, + ACTIONS(412), 1, anon_sym_function, - ACTIONS(413), 1, + ACTIONS(414), 1, anon_sym_table, - ACTIONS(440), 1, - anon_sym_RBRACK, - STATE(94), 1, - aux_sym_list_repeat1, - STATE(125), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(407), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5066] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(411), 1, - anon_sym_function, - ACTIONS(413), 1, - anon_sym_table, - STATE(95), 1, - aux_sym_list_repeat1, - STATE(125), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(407), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5103] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(411), 1, - anon_sym_function, - ACTIONS(413), 1, - anon_sym_table, - ACTIONS(442), 1, + ACTIONS(428), 1, anon_sym_RBRACE, - STATE(193), 1, + STATE(175), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(407), 2, + ACTIONS(408), 2, anon_sym_true, anon_sym_false, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5140] = 10, + [4991] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(411), 1, + ACTIONS(412), 1, anon_sym_function, - ACTIONS(413), 1, - anon_sym_table, - STATE(96), 1, - aux_sym_list_repeat1, - STATE(125), 1, - sym_value, - ACTIONS(9), 2, - sym_float, - sym_string, - ACTIONS(407), 2, - anon_sym_true, - anon_sym_false, - STATE(6), 5, - sym_boolean, - sym_list, - sym_function, - sym_table, - sym_map, - [5177] = 10, - ACTIONS(7), 1, - sym_integer, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(17), 1, - anon_sym_LBRACE, - ACTIONS(411), 1, - anon_sym_function, - ACTIONS(413), 1, + ACTIONS(414), 1, anon_sym_table, STATE(93), 1, aux_sym_list_repeat1, - STATE(125), 1, + STATE(124), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(407), 2, + ACTIONS(408), 2, anon_sym_true, anon_sym_false, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5214] = 10, + [5028] = 10, ACTIONS(7), 1, sym_integer, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(411), 1, + ACTIONS(412), 1, anon_sym_function, - ACTIONS(413), 1, + ACTIONS(414), 1, anon_sym_table, - ACTIONS(444), 1, + ACTIONS(430), 1, anon_sym_RBRACE, - STATE(191), 1, + STATE(195), 1, sym_value, ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(407), 2, + ACTIONS(408), 2, anon_sym_true, anon_sym_false, - STATE(6), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5251] = 3, - STATE(80), 1, - sym_logic_operator, - STATE(82), 1, - sym_math_operator, - ACTIONS(140), 13, - 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_and, - anon_sym_or, - anon_sym_then, - anon_sym_EQ_GT, - [5273] = 9, - ACTIONS(446), 1, + [5065] = 10, + ACTIONS(7), 1, sym_integer, - ACTIONS(452), 1, + ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(454), 1, - anon_sym_function, - ACTIONS(456), 1, + ACTIONS(17), 1, anon_sym_LBRACE, - ACTIONS(458), 1, + ACTIONS(412), 1, + anon_sym_function, + ACTIONS(414), 1, anon_sym_table, - STATE(158), 1, + STATE(95), 1, + aux_sym_list_repeat1, + STATE(124), 1, sym_value, - ACTIONS(448), 2, + ACTIONS(9), 2, sym_float, sym_string, - ACTIONS(450), 2, + ACTIONS(408), 2, anon_sym_true, anon_sym_false, - STATE(162), 5, + STATE(12), 5, sym_boolean, sym_list, sym_function, sym_table, sym_map, - [5307] = 3, - STATE(80), 1, - sym_logic_operator, - STATE(82), 1, + [5102] = 3, + STATE(85), 1, sym_math_operator, - ACTIONS(136), 13, - 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_and, - anon_sym_or, - anon_sym_then, - anon_sym_EQ_GT, - [5329] = 5, - ACTIONS(460), 1, - anon_sym_EQ_GT, - STATE(80), 1, + STATE(88), 1, sym_logic_operator, - STATE(82), 1, - sym_math_operator, - ACTIONS(124), 5, + ACTIONS(162), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(128), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_and, anon_sym_or, - [5354] = 5, - ACTIONS(462), 1, anon_sym_then, - STATE(80), 1, + anon_sym_EQ_GT, + [5124] = 3, + STATE(85), 1, + sym_math_operator, + STATE(88), 1, sym_logic_operator, - STATE(82), 1, - sym_math_operator, - ACTIONS(124), 5, + ACTIONS(184), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(128), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_and, anon_sym_or, - [5379] = 5, - ACTIONS(464), 1, anon_sym_then, - STATE(80), 1, + anon_sym_EQ_GT, + [5146] = 9, + ACTIONS(432), 1, + sym_integer, + ACTIONS(438), 1, + anon_sym_LBRACK, + ACTIONS(440), 1, + anon_sym_function, + ACTIONS(442), 1, + anon_sym_LBRACE, + ACTIONS(444), 1, + anon_sym_table, + STATE(159), 1, + sym_value, + ACTIONS(434), 2, + sym_float, + sym_string, + ACTIONS(436), 2, + anon_sym_true, + anon_sym_false, + STATE(161), 5, + sym_boolean, + sym_list, + sym_function, + sym_table, + sym_map, + [5180] = 5, + ACTIONS(446), 1, + anon_sym_then, + STATE(85), 1, + sym_math_operator, + STATE(88), 1, sym_logic_operator, - STATE(82), 1, + ACTIONS(172), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(176), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + [5205] = 2, + ACTIONS(448), 1, + anon_sym_LPAREN, + ACTIONS(77), 13, + 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_and, + anon_sym_or, + anon_sym_then, + anon_sym_EQ_GT, + [5224] = 5, + ACTIONS(450), 1, + anon_sym_then, + STATE(85), 1, sym_math_operator, - ACTIONS(124), 5, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(128), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_and, - anon_sym_or, - [5404] = 1, - ACTIONS(98), 13, - 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_and, - anon_sym_or, - anon_sym_then, - anon_sym_EQ_GT, - [5420] = 1, - ACTIONS(114), 13, - 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_and, - anon_sym_or, - anon_sym_then, - anon_sym_EQ_GT, - [5436] = 1, - ACTIONS(132), 13, - 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_and, - anon_sym_or, - anon_sym_then, - anon_sym_EQ_GT, - [5452] = 4, - STATE(81), 1, + STATE(88), 1, sym_logic_operator, - STATE(82), 1, + ACTIONS(172), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(176), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + [5249] = 5, + ACTIONS(452), 1, + anon_sym_EQ_GT, + STATE(85), 1, sym_math_operator, - ACTIONS(124), 5, + STATE(88), 1, + sym_logic_operator, + ACTIONS(172), 5, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(128), 6, + ACTIONS(176), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_and, anon_sym_or, - [5474] = 1, - ACTIONS(86), 13, + [5274] = 1, + ACTIONS(95), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6060,8 +5912,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5490] = 1, - ACTIONS(90), 13, + [5290] = 1, + ACTIONS(188), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6075,8 +5927,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5506] = 1, - ACTIONS(94), 13, + [5306] = 1, + ACTIONS(158), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6090,8 +5942,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5522] = 1, - ACTIONS(106), 13, + [5322] = 1, + ACTIONS(192), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6105,8 +5957,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5538] = 1, - ACTIONS(144), 13, + [5338] = 1, + ACTIONS(154), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6120,8 +5972,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5554] = 1, - ACTIONS(148), 13, + [5354] = 1, + ACTIONS(180), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6135,8 +5987,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5570] = 1, - ACTIONS(260), 13, + [5370] = 1, + ACTIONS(77), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6150,8 +6002,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5586] = 1, - ACTIONS(82), 13, + [5386] = 1, + ACTIONS(150), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6165,8 +6017,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5602] = 1, - ACTIONS(102), 13, + [5402] = 1, + ACTIONS(142), 13, anon_sym_PLUS, anon_sym_DASH, anon_sym_STAR, @@ -6180,7 +6032,37 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5618] = 1, + [5418] = 1, + ACTIONS(146), 13, + 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_and, + anon_sym_or, + anon_sym_then, + anon_sym_EQ_GT, + [5434] = 1, + ACTIONS(228), 13, + 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_and, + anon_sym_or, + anon_sym_then, + anon_sym_EQ_GT, + [5450] = 1, ACTIONS(252), 13, anon_sym_PLUS, anon_sym_DASH, @@ -6195,14 +6077,61 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_then, anon_sym_EQ_GT, - [5634] = 2, - ACTIONS(468), 5, + [5466] = 1, + ACTIONS(87), 13, + 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_and, + anon_sym_or, + anon_sym_then, + anon_sym_EQ_GT, + [5482] = 4, + STATE(85), 1, + sym_math_operator, + STATE(90), 1, + sym_logic_operator, + ACTIONS(172), 5, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(176), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_and, + anon_sym_or, + [5504] = 3, + ACTIONS(454), 1, + sym_integer, + ACTIONS(458), 1, + anon_sym_COMMA, + ACTIONS(456), 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, + [5522] = 2, + ACTIONS(462), 4, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(466), 7, + ACTIONS(460), 7, sym_identifier, sym_integer, anon_sym_true, @@ -6210,13 +6139,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_table, anon_sym_catch, - [5651] = 2, - ACTIONS(472), 5, + [5538] = 2, + ACTIONS(464), 1, + sym_integer, + ACTIONS(397), 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, + [5553] = 2, + ACTIONS(468), 4, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(466), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_function, + anon_sym_table, + [5568] = 2, + ACTIONS(472), 4, sym_float, sym_string, anon_sym_LBRACK, anon_sym_LBRACE, - anon_sym_LPAREN, ACTIONS(470), 6, sym_identifier, sym_integer, @@ -6224,872 +6178,818 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_function, anon_sym_table, - [5667] = 2, - ACTIONS(476), 5, - sym_float, - sym_string, + [5583] = 3, + ACTIONS(474), 1, anon_sym_LBRACK, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(474), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_function, - anon_sym_table, - [5683] = 3, - ACTIONS(478), 1, - sym_integer, - ACTIONS(482), 1, - anon_sym_COMMA, - ACTIONS(480), 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, - [5701] = 2, - ACTIONS(484), 1, - sym_integer, - ACTIONS(427), 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, - [5716] = 3, - ACTIONS(486), 1, - anon_sym_LBRACK, - ACTIONS(489), 2, + ACTIONS(477), 2, anon_sym_RBRACE, anon_sym_into, - STATE(127), 2, - sym_list, - aux_sym_table_repeat1, - [5728] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(491), 1, - anon_sym_into, - STATE(127), 2, - sym_list, - aux_sym_table_repeat1, - [5739] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(493), 1, - anon_sym_RBRACE, - STATE(127), 2, - sym_list, - aux_sym_table_repeat1, - [5750] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, - ACTIONS(495), 1, - anon_sym_RBRACE, STATE(129), 2, sym_list, aux_sym_table_repeat1, - [5761] = 3, + [5595] = 3, ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(497), 1, + ACTIONS(479), 1, + anon_sym_RBRACE, + STATE(136), 2, + sym_list, + aux_sym_table_repeat1, + [5606] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(481), 1, + anon_sym_into, + STATE(129), 2, + sym_list, + aux_sym_table_repeat1, + [5617] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(483), 1, anon_sym_RBRACE, STATE(133), 2, sym_list, aux_sym_table_repeat1, - [5772] = 3, + [5628] = 3, ACTIONS(13), 1, anon_sym_LBRACK, + ACTIONS(485), 1, + anon_sym_RBRACE, + STATE(129), 2, + sym_list, + aux_sym_table_repeat1, + [5639] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(487), 1, + anon_sym_RBRACE, + STATE(135), 2, + sym_list, + aux_sym_table_repeat1, + [5650] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(489), 1, + anon_sym_RBRACE, + STATE(129), 2, + sym_list, + aux_sym_table_repeat1, + [5661] = 3, + ACTIONS(13), 1, + anon_sym_LBRACK, + ACTIONS(491), 1, + anon_sym_RBRACE, + STATE(129), 2, + sym_list, + aux_sym_table_repeat1, + [5672] = 3, + ACTIONS(493), 1, + sym_identifier, + ACTIONS(495), 1, + anon_sym_GT, + STATE(142), 1, + aux_sym_function_repeat1, + [5682] = 3, + ACTIONS(497), 1, + sym_identifier, ACTIONS(499), 1, anon_sym_RBRACE, - STATE(134), 2, - sym_list, - aux_sym_table_repeat1, - [5783] = 3, - ACTIONS(13), 1, - anon_sym_LBRACK, + STATE(153), 1, + aux_sym_map_repeat1, + [5692] = 3, + ACTIONS(493), 1, + sym_identifier, ACTIONS(501), 1, - anon_sym_RBRACE, - STATE(127), 2, - sym_list, - aux_sym_table_repeat1, - [5794] = 3, + anon_sym_GT, + STATE(142), 1, + aux_sym_function_repeat1, + [5702] = 3, + ACTIONS(493), 1, + sym_identifier, + ACTIONS(503), 1, + anon_sym_GT, + STATE(142), 1, + aux_sym_function_repeat1, + [5712] = 2, ACTIONS(13), 1, anon_sym_LBRACK, - ACTIONS(503), 1, - anon_sym_RBRACE, - STATE(127), 2, + STATE(131), 2, sym_list, aux_sym_table_repeat1, - [5805] = 3, + [5720] = 3, ACTIONS(505), 1, sym_identifier, ACTIONS(508), 1, anon_sym_GT, - STATE(135), 1, + STATE(142), 1, aux_sym_function_repeat1, - [5815] = 3, + [5730] = 3, + ACTIONS(493), 1, + sym_identifier, ACTIONS(510), 1, + anon_sym_GT, + STATE(142), 1, + aux_sym_function_repeat1, + [5740] = 3, + ACTIONS(497), 1, sym_identifier, ACTIONS(512), 1, - anon_sym_GT, - STATE(151), 1, - aux_sym_function_repeat1, - [5825] = 3, + anon_sym_RBRACE, + STATE(146), 1, + aux_sym_map_repeat1, + [5750] = 3, + ACTIONS(493), 1, + sym_identifier, ACTIONS(514), 1, + anon_sym_GT, + STATE(137), 1, + aux_sym_function_repeat1, + [5760] = 3, + ACTIONS(497), 1, sym_identifier, ACTIONS(516), 1, anon_sym_RBRACE, - STATE(149), 1, + STATE(153), 1, aux_sym_map_repeat1, - [5835] = 3, - ACTIONS(514), 1, + [5770] = 3, + ACTIONS(493), 1, sym_identifier, ACTIONS(518), 1, - anon_sym_RBRACE, - STATE(137), 1, - aux_sym_map_repeat1, - [5845] = 3, - ACTIONS(510), 1, + anon_sym_GT, + STATE(143), 1, + aux_sym_function_repeat1, + [5780] = 3, + ACTIONS(497), 1, sym_identifier, ACTIONS(520), 1, - anon_sym_GT, - STATE(135), 1, - aux_sym_function_repeat1, - [5855] = 2, - ACTIONS(13), 1, - anon_sym_LBRACK, - STATE(128), 2, - sym_list, - aux_sym_table_repeat1, - [5863] = 3, - ACTIONS(510), 1, + anon_sym_RBRACE, + STATE(155), 1, + aux_sym_map_repeat1, + [5790] = 3, + ACTIONS(493), 1, sym_identifier, ACTIONS(522), 1, anon_sym_GT, - STATE(135), 1, + STATE(142), 1, aux_sym_function_repeat1, - [5873] = 3, - ACTIONS(514), 1, + [5800] = 3, + ACTIONS(493), 1, sym_identifier, ACTIONS(524), 1, - anon_sym_RBRACE, - STATE(144), 1, - aux_sym_map_repeat1, - [5883] = 3, - ACTIONS(514), 1, - sym_identifier, - ACTIONS(526), 1, - anon_sym_RBRACE, - STATE(149), 1, - aux_sym_map_repeat1, - [5893] = 3, - ACTIONS(514), 1, - sym_identifier, - ACTIONS(528), 1, - anon_sym_RBRACE, - STATE(149), 1, - aux_sym_map_repeat1, - [5903] = 3, - ACTIONS(510), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_GT, - STATE(147), 1, - aux_sym_function_repeat1, - [5913] = 2, - ACTIONS(534), 1, - anon_sym_COMMA, - ACTIONS(532), 2, - sym_identifier, - anon_sym_GT, - [5921] = 3, - ACTIONS(510), 1, - sym_identifier, - ACTIONS(536), 1, - anon_sym_GT, - STATE(135), 1, - aux_sym_function_repeat1, - [5931] = 3, - ACTIONS(510), 1, - sym_identifier, - ACTIONS(538), 1, - anon_sym_GT, - STATE(135), 1, - aux_sym_function_repeat1, - [5941] = 3, - ACTIONS(540), 1, - sym_identifier, - ACTIONS(543), 1, - anon_sym_RBRACE, - STATE(149), 1, - aux_sym_map_repeat1, - [5951] = 3, - ACTIONS(510), 1, - sym_identifier, - ACTIONS(545), 1, anon_sym_GT, STATE(152), 1, aux_sym_function_repeat1, - [5961] = 3, - ACTIONS(510), 1, + [5810] = 2, + ACTIONS(528), 1, + anon_sym_COMMA, + ACTIONS(526), 2, sym_identifier, - ACTIONS(547), 1, anon_sym_GT, - STATE(135), 1, - aux_sym_function_repeat1, - [5971] = 3, - ACTIONS(510), 1, + [5818] = 3, + ACTIONS(493), 1, sym_identifier, - ACTIONS(549), 1, + ACTIONS(530), 1, anon_sym_GT, - STATE(135), 1, + STATE(142), 1, aux_sym_function_repeat1, - [5981] = 3, - ACTIONS(514), 1, + [5828] = 3, + ACTIONS(532), 1, sym_identifier, - ACTIONS(551), 1, + ACTIONS(535), 1, anon_sym_RBRACE, - STATE(143), 1, + STATE(153), 1, aux_sym_map_repeat1, - [5991] = 1, - ACTIONS(98), 2, + [5838] = 3, + ACTIONS(497), 1, + sym_identifier, + ACTIONS(537), 1, + anon_sym_RBRACE, + STATE(138), 1, + aux_sym_map_repeat1, + [5848] = 3, + ACTIONS(497), 1, + sym_identifier, + ACTIONS(539), 1, + anon_sym_RBRACE, + STATE(153), 1, + aux_sym_map_repeat1, + [5858] = 1, + ACTIONS(87), 2, sym_identifier, anon_sym_RBRACE, - [5996] = 1, - ACTIONS(508), 2, + [5863] = 2, + ACTIONS(493), 1, sym_identifier, - anon_sym_GT, - [6001] = 2, - ACTIONS(553), 1, - anon_sym_LT, - ACTIONS(555), 1, - anon_sym_LBRACE, - [6008] = 2, - ACTIONS(510), 1, - sym_identifier, - STATE(141), 1, + STATE(149), 1, aux_sym_function_repeat1, - [6015] = 1, - ACTIONS(557), 2, + [5870] = 1, + ACTIONS(146), 2, sym_identifier, anon_sym_RBRACE, - [6020] = 2, - ACTIONS(510), 1, + [5875] = 1, + ACTIONS(541), 2, + sym_identifier, + anon_sym_RBRACE, + [5880] = 2, + ACTIONS(493), 1, sym_identifier, STATE(139), 1, aux_sym_function_repeat1, - [6027] = 1, - ACTIONS(86), 2, + [5887] = 1, + ACTIONS(154), 2, sym_identifier, anon_sym_RBRACE, - [6032] = 1, - ACTIONS(114), 2, + [5892] = 1, + ACTIONS(95), 2, sym_identifier, anon_sym_RBRACE, - [6037] = 1, - ACTIONS(90), 2, + [5897] = 1, + ACTIONS(150), 2, sym_identifier, anon_sym_RBRACE, - [6042] = 1, - ACTIONS(132), 2, - sym_identifier, - anon_sym_RBRACE, - [6047] = 2, - ACTIONS(559), 1, + [5902] = 2, + ACTIONS(543), 1, anon_sym_LT, + ACTIONS(545), 1, + anon_sym_LBRACE, + [5909] = 1, + ACTIONS(508), 2, + sym_identifier, + anon_sym_GT, + [5914] = 1, + ACTIONS(188), 2, + sym_identifier, + anon_sym_RBRACE, + [5919] = 2, + ACTIONS(493), 1, + sym_identifier, + STATE(140), 1, + aux_sym_function_repeat1, + [5926] = 1, + ACTIONS(158), 2, + sym_identifier, + anon_sym_RBRACE, + [5931] = 2, + ACTIONS(547), 1, + anon_sym_LT, + ACTIONS(549), 1, + anon_sym_LBRACE, + [5938] = 1, + ACTIONS(192), 2, + sym_identifier, + anon_sym_RBRACE, + [5943] = 1, + ACTIONS(180), 2, + sym_identifier, + anon_sym_RBRACE, + [5948] = 2, + ACTIONS(551), 1, + anon_sym_LT, + ACTIONS(553), 1, + anon_sym_LBRACE, + [5955] = 1, + ACTIONS(142), 2, + sym_identifier, + anon_sym_RBRACE, + [5960] = 1, + ACTIONS(555), 1, + anon_sym_LBRACE, + [5964] = 1, + ACTIONS(557), 1, + anon_sym_RBRACE, + [5968] = 1, + ACTIONS(559), 1, + anon_sym_LBRACE, + [5972] = 1, ACTIONS(561), 1, anon_sym_LBRACE, - [6054] = 2, - ACTIONS(510), 1, - sym_identifier, - STATE(148), 1, - aux_sym_function_repeat1, - [6061] = 1, - ACTIONS(94), 2, - sym_identifier, - anon_sym_RBRACE, - [6066] = 1, - ACTIONS(148), 2, - sym_identifier, - anon_sym_RBRACE, - [6071] = 1, - ACTIONS(144), 2, - sym_identifier, - anon_sym_RBRACE, - [6076] = 1, - ACTIONS(102), 2, - sym_identifier, - anon_sym_RBRACE, - [6081] = 1, - ACTIONS(82), 2, - sym_identifier, - anon_sym_RBRACE, - [6086] = 2, + [5976] = 1, ACTIONS(563), 1, - anon_sym_LT, - ACTIONS(565), 1, anon_sym_LBRACE, - [6093] = 1, - ACTIONS(567), 1, + [5980] = 1, + ACTIONS(565), 1, sym_identifier, - [6097] = 1, + [5984] = 1, + ACTIONS(567), 1, + ts_builtin_sym_end, + [5988] = 1, ACTIONS(569), 1, anon_sym_LBRACE, - [6101] = 1, + [5992] = 1, ACTIONS(571), 1, - ts_builtin_sym_end, - [6105] = 1, + aux_sym_comment_token1, + [5996] = 1, ACTIONS(573), 1, anon_sym_LBRACE, - [6109] = 1, + [6000] = 1, ACTIONS(575), 1, - anon_sym_LBRACE, - [6113] = 1, + anon_sym_LT, + [6004] = 1, ACTIONS(577), 1, - sym_identifier, - [6117] = 1, + anon_sym_LBRACE, + [6008] = 1, ACTIONS(579), 1, anon_sym_LBRACE, - [6121] = 1, + [6012] = 1, ACTIONS(581), 1, - anon_sym_EQ, - [6125] = 1, + anon_sym_LBRACE, + [6016] = 1, ACTIONS(583), 1, - anon_sym_LBRACE, - [6129] = 1, + sym_identifier, + [6020] = 1, ACTIONS(585), 1, - anon_sym_LBRACE, - [6133] = 1, + sym_identifier, + [6024] = 1, ACTIONS(587), 1, - anon_sym_from, - [6137] = 1, + anon_sym_EQ, + [6028] = 1, ACTIONS(589), 1, anon_sym_LBRACE, - [6141] = 1, + [6032] = 1, ACTIONS(591), 1, - sym_identifier, - [6145] = 1, + anon_sym_LT, + [6036] = 1, ACTIONS(593), 1, - anon_sym_LBRACE, - [6149] = 1, + anon_sym_from, + [6040] = 1, ACTIONS(595), 1, - sym_identifier, - [6153] = 1, - ACTIONS(597), 1, - aux_sym_comment_token1, - [6157] = 1, - ACTIONS(599), 1, anon_sym_LT, - [6161] = 1, - ACTIONS(601), 1, - anon_sym_LBRACE, - [6165] = 1, - ACTIONS(603), 1, - anon_sym_LBRACE, - [6169] = 1, - ACTIONS(442), 1, + [6044] = 1, + ACTIONS(428), 1, anon_sym_RBRACE, - [6173] = 1, - ACTIONS(605), 1, - anon_sym_LT, - [6177] = 1, - ACTIONS(607), 1, - anon_sym_RBRACE, - [6181] = 1, - ACTIONS(609), 1, - anon_sym_LT, - [6185] = 1, - ACTIONS(611), 1, - sym_identifier, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 84, - [SMALL_STATE(4)] = 168, - [SMALL_STATE(5)] = 211, - [SMALL_STATE(6)] = 253, - [SMALL_STATE(7)] = 295, - [SMALL_STATE(8)] = 337, - [SMALL_STATE(9)] = 379, - [SMALL_STATE(10)] = 421, - [SMALL_STATE(11)] = 467, - [SMALL_STATE(12)] = 509, - [SMALL_STATE(13)] = 567, - [SMALL_STATE(14)] = 609, - [SMALL_STATE(15)] = 655, - [SMALL_STATE(16)] = 701, - [SMALL_STATE(17)] = 743, - [SMALL_STATE(18)] = 785, - [SMALL_STATE(19)] = 865, - [SMALL_STATE(20)] = 942, - [SMALL_STATE(21)] = 1019, - [SMALL_STATE(22)] = 1074, - [SMALL_STATE(23)] = 1151, - [SMALL_STATE(24)] = 1228, - [SMALL_STATE(25)] = 1305, - [SMALL_STATE(26)] = 1350, - [SMALL_STATE(27)] = 1427, - [SMALL_STATE(28)] = 1504, - [SMALL_STATE(29)] = 1581, - [SMALL_STATE(30)] = 1658, - [SMALL_STATE(31)] = 1735, - [SMALL_STATE(32)] = 1812, - [SMALL_STATE(33)] = 1865, - [SMALL_STATE(34)] = 1939, - [SMALL_STATE(35)] = 2013, - [SMALL_STATE(36)] = 2087, - [SMALL_STATE(37)] = 2161, - [SMALL_STATE(38)] = 2235, - [SMALL_STATE(39)] = 2275, - [SMALL_STATE(40)] = 2349, - [SMALL_STATE(41)] = 2423, - [SMALL_STATE(42)] = 2497, - [SMALL_STATE(43)] = 2571, - [SMALL_STATE(44)] = 2623, - [SMALL_STATE(45)] = 2697, - [SMALL_STATE(46)] = 2737, - [SMALL_STATE(47)] = 2811, - [SMALL_STATE(48)] = 2851, - [SMALL_STATE(49)] = 2924, - [SMALL_STATE(50)] = 2997, - [SMALL_STATE(51)] = 3070, - [SMALL_STATE(52)] = 3143, - [SMALL_STATE(53)] = 3216, - [SMALL_STATE(54)] = 3289, - [SMALL_STATE(55)] = 3362, - [SMALL_STATE(56)] = 3435, - [SMALL_STATE(57)] = 3477, - [SMALL_STATE(58)] = 3519, - [SMALL_STATE(59)] = 3552, - [SMALL_STATE(60)] = 3585, - [SMALL_STATE(61)] = 3637, - [SMALL_STATE(62)] = 3689, - [SMALL_STATE(63)] = 3741, - [SMALL_STATE(64)] = 3793, - [SMALL_STATE(65)] = 3845, - [SMALL_STATE(66)] = 3897, - [SMALL_STATE(67)] = 3949, - [SMALL_STATE(68)] = 4001, - [SMALL_STATE(69)] = 4031, - [SMALL_STATE(70)] = 4061, - [SMALL_STATE(71)] = 4088, - [SMALL_STATE(72)] = 4115, - [SMALL_STATE(73)] = 4142, - [SMALL_STATE(74)] = 4169, - [SMALL_STATE(75)] = 4196, - [SMALL_STATE(76)] = 4223, - [SMALL_STATE(77)] = 4250, - [SMALL_STATE(78)] = 4277, - [SMALL_STATE(79)] = 4306, - [SMALL_STATE(80)] = 4354, - [SMALL_STATE(81)] = 4400, - [SMALL_STATE(82)] = 4446, - [SMALL_STATE(83)] = 4492, - [SMALL_STATE(84)] = 4538, - [SMALL_STATE(85)] = 4584, - [SMALL_STATE(86)] = 4630, - [SMALL_STATE(87)] = 4676, - [SMALL_STATE(88)] = 4722, - [SMALL_STATE(89)] = 4768, - [SMALL_STATE(90)] = 4814, - [SMALL_STATE(91)] = 4860, - [SMALL_STATE(92)] = 4883, - [SMALL_STATE(93)] = 4906, - [SMALL_STATE(94)] = 4946, - [SMALL_STATE(95)] = 4986, - [SMALL_STATE(96)] = 5026, - [SMALL_STATE(97)] = 5066, - [SMALL_STATE(98)] = 5103, - [SMALL_STATE(99)] = 5140, - [SMALL_STATE(100)] = 5177, - [SMALL_STATE(101)] = 5214, - [SMALL_STATE(102)] = 5251, - [SMALL_STATE(103)] = 5273, - [SMALL_STATE(104)] = 5307, - [SMALL_STATE(105)] = 5329, - [SMALL_STATE(106)] = 5354, - [SMALL_STATE(107)] = 5379, - [SMALL_STATE(108)] = 5404, - [SMALL_STATE(109)] = 5420, - [SMALL_STATE(110)] = 5436, - [SMALL_STATE(111)] = 5452, - [SMALL_STATE(112)] = 5474, - [SMALL_STATE(113)] = 5490, - [SMALL_STATE(114)] = 5506, - [SMALL_STATE(115)] = 5522, - [SMALL_STATE(116)] = 5538, - [SMALL_STATE(117)] = 5554, - [SMALL_STATE(118)] = 5570, - [SMALL_STATE(119)] = 5586, - [SMALL_STATE(120)] = 5602, - [SMALL_STATE(121)] = 5618, - [SMALL_STATE(122)] = 5634, - [SMALL_STATE(123)] = 5651, - [SMALL_STATE(124)] = 5667, - [SMALL_STATE(125)] = 5683, - [SMALL_STATE(126)] = 5701, - [SMALL_STATE(127)] = 5716, - [SMALL_STATE(128)] = 5728, - [SMALL_STATE(129)] = 5739, - [SMALL_STATE(130)] = 5750, - [SMALL_STATE(131)] = 5761, - [SMALL_STATE(132)] = 5772, - [SMALL_STATE(133)] = 5783, - [SMALL_STATE(134)] = 5794, - [SMALL_STATE(135)] = 5805, - [SMALL_STATE(136)] = 5815, - [SMALL_STATE(137)] = 5825, - [SMALL_STATE(138)] = 5835, - [SMALL_STATE(139)] = 5845, - [SMALL_STATE(140)] = 5855, - [SMALL_STATE(141)] = 5863, - [SMALL_STATE(142)] = 5873, - [SMALL_STATE(143)] = 5883, - [SMALL_STATE(144)] = 5893, - [SMALL_STATE(145)] = 5903, - [SMALL_STATE(146)] = 5913, - [SMALL_STATE(147)] = 5921, - [SMALL_STATE(148)] = 5931, - [SMALL_STATE(149)] = 5941, - [SMALL_STATE(150)] = 5951, - [SMALL_STATE(151)] = 5961, - [SMALL_STATE(152)] = 5971, - [SMALL_STATE(153)] = 5981, - [SMALL_STATE(154)] = 5991, - [SMALL_STATE(155)] = 5996, - [SMALL_STATE(156)] = 6001, - [SMALL_STATE(157)] = 6008, - [SMALL_STATE(158)] = 6015, - [SMALL_STATE(159)] = 6020, - [SMALL_STATE(160)] = 6027, - [SMALL_STATE(161)] = 6032, - [SMALL_STATE(162)] = 6037, - [SMALL_STATE(163)] = 6042, - [SMALL_STATE(164)] = 6047, - [SMALL_STATE(165)] = 6054, - [SMALL_STATE(166)] = 6061, - [SMALL_STATE(167)] = 6066, - [SMALL_STATE(168)] = 6071, - [SMALL_STATE(169)] = 6076, - [SMALL_STATE(170)] = 6081, - [SMALL_STATE(171)] = 6086, - [SMALL_STATE(172)] = 6093, - [SMALL_STATE(173)] = 6097, - [SMALL_STATE(174)] = 6101, - [SMALL_STATE(175)] = 6105, - [SMALL_STATE(176)] = 6109, - [SMALL_STATE(177)] = 6113, - [SMALL_STATE(178)] = 6117, - [SMALL_STATE(179)] = 6121, - [SMALL_STATE(180)] = 6125, - [SMALL_STATE(181)] = 6129, - [SMALL_STATE(182)] = 6133, - [SMALL_STATE(183)] = 6137, - [SMALL_STATE(184)] = 6141, - [SMALL_STATE(185)] = 6145, - [SMALL_STATE(186)] = 6149, - [SMALL_STATE(187)] = 6153, - [SMALL_STATE(188)] = 6157, - [SMALL_STATE(189)] = 6161, - [SMALL_STATE(190)] = 6165, - [SMALL_STATE(191)] = 6169, - [SMALL_STATE(192)] = 6173, - [SMALL_STATE(193)] = 6177, - [SMALL_STATE(194)] = 6181, - [SMALL_STATE(195)] = 6185, + [SMALL_STATE(3)] = 81, + [SMALL_STATE(4)] = 162, + [SMALL_STATE(5)] = 210, + [SMALL_STATE(6)] = 252, + [SMALL_STATE(7)] = 299, + [SMALL_STATE(8)] = 340, + [SMALL_STATE(9)] = 417, + [SMALL_STATE(10)] = 458, + [SMALL_STATE(11)] = 499, + [SMALL_STATE(12)] = 540, + [SMALL_STATE(13)] = 581, + [SMALL_STATE(14)] = 622, + [SMALL_STATE(15)] = 667, + [SMALL_STATE(16)] = 724, + [SMALL_STATE(17)] = 765, + [SMALL_STATE(18)] = 810, + [SMALL_STATE(19)] = 851, + [SMALL_STATE(20)] = 892, + [SMALL_STATE(21)] = 934, + [SMALL_STATE(22)] = 1008, + [SMALL_STATE(23)] = 1062, + [SMALL_STATE(24)] = 1136, + [SMALL_STATE(25)] = 1210, + [SMALL_STATE(26)] = 1284, + [SMALL_STATE(27)] = 1358, + [SMALL_STATE(28)] = 1432, + [SMALL_STATE(29)] = 1506, + [SMALL_STATE(30)] = 1580, + [SMALL_STATE(31)] = 1654, + [SMALL_STATE(32)] = 1728, + [SMALL_STATE(33)] = 1780, + [SMALL_STATE(34)] = 1854, + [SMALL_STATE(35)] = 1893, + [SMALL_STATE(36)] = 1964, + [SMALL_STATE(37)] = 2035, + [SMALL_STATE(38)] = 2106, + [SMALL_STATE(39)] = 2177, + [SMALL_STATE(40)] = 2248, + [SMALL_STATE(41)] = 2299, + [SMALL_STATE(42)] = 2370, + [SMALL_STATE(43)] = 2441, + [SMALL_STATE(44)] = 2480, + [SMALL_STATE(45)] = 2551, + [SMALL_STATE(46)] = 2590, + [SMALL_STATE(47)] = 2661, + [SMALL_STATE(48)] = 2732, + [SMALL_STATE(49)] = 2803, + [SMALL_STATE(50)] = 2873, + [SMALL_STATE(51)] = 2943, + [SMALL_STATE(52)] = 3013, + [SMALL_STATE(53)] = 3083, + [SMALL_STATE(54)] = 3153, + [SMALL_STATE(55)] = 3223, + [SMALL_STATE(56)] = 3293, + [SMALL_STATE(57)] = 3363, + [SMALL_STATE(58)] = 3404, + [SMALL_STATE(59)] = 3445, + [SMALL_STATE(60)] = 3477, + [SMALL_STATE(61)] = 3509, + [SMALL_STATE(62)] = 3558, + [SMALL_STATE(63)] = 3607, + [SMALL_STATE(64)] = 3656, + [SMALL_STATE(65)] = 3705, + [SMALL_STATE(66)] = 3754, + [SMALL_STATE(67)] = 3803, + [SMALL_STATE(68)] = 3852, + [SMALL_STATE(69)] = 3901, + [SMALL_STATE(70)] = 3930, + [SMALL_STATE(71)] = 3959, + [SMALL_STATE(72)] = 3985, + [SMALL_STATE(73)] = 4011, + [SMALL_STATE(74)] = 4037, + [SMALL_STATE(75)] = 4063, + [SMALL_STATE(76)] = 4089, + [SMALL_STATE(77)] = 4115, + [SMALL_STATE(78)] = 4141, + [SMALL_STATE(79)] = 4167, + [SMALL_STATE(80)] = 4195, + [SMALL_STATE(81)] = 4238, + [SMALL_STATE(82)] = 4281, + [SMALL_STATE(83)] = 4324, + [SMALL_STATE(84)] = 4367, + [SMALL_STATE(85)] = 4412, + [SMALL_STATE(86)] = 4455, + [SMALL_STATE(87)] = 4498, + [SMALL_STATE(88)] = 4541, + [SMALL_STATE(89)] = 4584, + [SMALL_STATE(90)] = 4627, + [SMALL_STATE(91)] = 4670, + [SMALL_STATE(92)] = 4713, + [SMALL_STATE(93)] = 4753, + [SMALL_STATE(94)] = 4793, + [SMALL_STATE(95)] = 4815, + [SMALL_STATE(96)] = 4855, + [SMALL_STATE(97)] = 4877, + [SMALL_STATE(98)] = 4917, + [SMALL_STATE(99)] = 4954, + [SMALL_STATE(100)] = 4991, + [SMALL_STATE(101)] = 5028, + [SMALL_STATE(102)] = 5065, + [SMALL_STATE(103)] = 5102, + [SMALL_STATE(104)] = 5124, + [SMALL_STATE(105)] = 5146, + [SMALL_STATE(106)] = 5180, + [SMALL_STATE(107)] = 5205, + [SMALL_STATE(108)] = 5224, + [SMALL_STATE(109)] = 5249, + [SMALL_STATE(110)] = 5274, + [SMALL_STATE(111)] = 5290, + [SMALL_STATE(112)] = 5306, + [SMALL_STATE(113)] = 5322, + [SMALL_STATE(114)] = 5338, + [SMALL_STATE(115)] = 5354, + [SMALL_STATE(116)] = 5370, + [SMALL_STATE(117)] = 5386, + [SMALL_STATE(118)] = 5402, + [SMALL_STATE(119)] = 5418, + [SMALL_STATE(120)] = 5434, + [SMALL_STATE(121)] = 5450, + [SMALL_STATE(122)] = 5466, + [SMALL_STATE(123)] = 5482, + [SMALL_STATE(124)] = 5504, + [SMALL_STATE(125)] = 5522, + [SMALL_STATE(126)] = 5538, + [SMALL_STATE(127)] = 5553, + [SMALL_STATE(128)] = 5568, + [SMALL_STATE(129)] = 5583, + [SMALL_STATE(130)] = 5595, + [SMALL_STATE(131)] = 5606, + [SMALL_STATE(132)] = 5617, + [SMALL_STATE(133)] = 5628, + [SMALL_STATE(134)] = 5639, + [SMALL_STATE(135)] = 5650, + [SMALL_STATE(136)] = 5661, + [SMALL_STATE(137)] = 5672, + [SMALL_STATE(138)] = 5682, + [SMALL_STATE(139)] = 5692, + [SMALL_STATE(140)] = 5702, + [SMALL_STATE(141)] = 5712, + [SMALL_STATE(142)] = 5720, + [SMALL_STATE(143)] = 5730, + [SMALL_STATE(144)] = 5740, + [SMALL_STATE(145)] = 5750, + [SMALL_STATE(146)] = 5760, + [SMALL_STATE(147)] = 5770, + [SMALL_STATE(148)] = 5780, + [SMALL_STATE(149)] = 5790, + [SMALL_STATE(150)] = 5800, + [SMALL_STATE(151)] = 5810, + [SMALL_STATE(152)] = 5818, + [SMALL_STATE(153)] = 5828, + [SMALL_STATE(154)] = 5838, + [SMALL_STATE(155)] = 5848, + [SMALL_STATE(156)] = 5858, + [SMALL_STATE(157)] = 5863, + [SMALL_STATE(158)] = 5870, + [SMALL_STATE(159)] = 5875, + [SMALL_STATE(160)] = 5880, + [SMALL_STATE(161)] = 5887, + [SMALL_STATE(162)] = 5892, + [SMALL_STATE(163)] = 5897, + [SMALL_STATE(164)] = 5902, + [SMALL_STATE(165)] = 5909, + [SMALL_STATE(166)] = 5914, + [SMALL_STATE(167)] = 5919, + [SMALL_STATE(168)] = 5926, + [SMALL_STATE(169)] = 5931, + [SMALL_STATE(170)] = 5938, + [SMALL_STATE(171)] = 5943, + [SMALL_STATE(172)] = 5948, + [SMALL_STATE(173)] = 5955, + [SMALL_STATE(174)] = 5960, + [SMALL_STATE(175)] = 5964, + [SMALL_STATE(176)] = 5968, + [SMALL_STATE(177)] = 5972, + [SMALL_STATE(178)] = 5976, + [SMALL_STATE(179)] = 5980, + [SMALL_STATE(180)] = 5984, + [SMALL_STATE(181)] = 5988, + [SMALL_STATE(182)] = 5992, + [SMALL_STATE(183)] = 5996, + [SMALL_STATE(184)] = 6000, + [SMALL_STATE(185)] = 6004, + [SMALL_STATE(186)] = 6008, + [SMALL_STATE(187)] = 6012, + [SMALL_STATE(188)] = 6016, + [SMALL_STATE(189)] = 6020, + [SMALL_STATE(190)] = 6024, + [SMALL_STATE(191)] = 6028, + [SMALL_STATE(192)] = 6032, + [SMALL_STATE(193)] = 6036, + [SMALL_STATE(194)] = 6040, + [SMALL_STATE(195)] = 6044, }; 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(25), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [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(25), - [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(187), - [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(6), - [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(6), - [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(7), - [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(100), - [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(156), - [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(138), - [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(188), - [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(184), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(140), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(85), - [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(172), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(175), - [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(90), - [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [84] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), - [88] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), - [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [92] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [96] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), - [100] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), - [102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [104] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [110] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), - [116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), - [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), - [120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), - [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124), - [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [130] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123), - [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), - [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), - [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [152] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(25), - [155] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(6), - [158] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(6), - [161] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(7), - [164] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(100), - [167] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(156), - [170] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(138), - [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), - [175] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(188), - [178] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(184), - [181] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(140), - [184] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(85), - [187] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(172), - [190] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(175), - [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), - [195] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(90), - [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), - [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), - [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), - [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), - [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), - [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(171), - [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), - [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [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(6), + [38] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(182), + [41] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(12), + [44] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(12), + [47] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(7), + [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(98), + [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(164), + [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(184), + [62] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(179), + [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(141), + [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(83), + [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(185), + [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(86), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [81] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), + [83] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [91] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [99] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(6), + [102] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(12), + [105] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(12), + [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(7), + [111] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(98), + [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(164), + [117] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(148), + [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat2, 2), + [122] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(184), + [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(179), + [128] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(141), + [131] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(83), + [134] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(185), + [137] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), + [139] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_repeat2, 2), SHIFT_REPEAT(86), + [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 6), + [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 6), + [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 7), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 7), + [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 3), + [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 3), + [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), + [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), + [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 6), + [182] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 6), + [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 7), + [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 7), + [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), + [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_yield_repeat1, 2), + [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107), + [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), + [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), + [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), + [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), + [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), + [250] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 6), - [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 6), - [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [262] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [264] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), - [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), - [268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), - [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), - [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), - [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), - [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), - [278] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(86), - [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), - [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), - [285] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(115), - [288] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(113), - [291] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(113), - [294] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(114), - [297] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(99), - [300] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(171), - [303] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(142), - [306] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(192), - [309] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(186), - [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [314] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), - [316] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), - [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(47), - [327] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(6), - [330] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(6), - [333] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(7), - [336] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(100), - [339] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(156), - [342] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(138), - [345] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(188), - [348] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(172), - [351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), - [353] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [357] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), - [359] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), - [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), - [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), - [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), - [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), - [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), - [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), - [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 4), - [375] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 4), - [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), - [379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), - [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), - [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), - [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), - [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), - [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), - [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), - [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), - [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), - [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), - [399] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), - [401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), - [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [405] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), - [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [415] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(6), - [418] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(6), - [421] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(7), - [424] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(100), - [427] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [429] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(156), - [432] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(138), - [435] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(188), - [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [446] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162), - [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [486] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(100), - [489] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), - [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [505] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(146), + [256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 6), + [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 6), + [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 1), + [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 1), + [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 4), + [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 4), + [274] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_yield_repeat1, 2), SHIFT_REPEAT(89), + [277] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(20), + [280] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(12), + [283] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(12), + [286] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(7), + [289] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(98), + [292] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(164), + [295] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(148), + [298] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_call_repeat1, 2), SHIFT_REPEAT(184), + [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_call_repeat1, 2), + [303] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [307] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [311] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [315] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(107), + [318] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(114), + [321] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(114), + [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(110), + [327] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(102), + [330] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(169), + [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(144), + [336] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(192), + [339] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), + [345] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), + [347] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), + [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), + [351] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [353] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), + [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 4), + [357] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 4), + [359] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 6), + [361] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 6), + [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 6), + [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 6), + [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 4), + [369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 4), + [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 5), + [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 5), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3), + [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3), + [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_loop, 5), + [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_loop, 5), + [383] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [385] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(12), + [388] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(12), + [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(7), + [394] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(98), + [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [399] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(164), + [402] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(148), + [405] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(184), + [408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [424] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [432] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), + [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [464] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [474] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), SHIFT_REPEAT(98), + [477] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_repeat1, 2), + [479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [505] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(151), [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), - [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [540] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(179), - [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [571] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 1), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [532] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(190), + [535] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [541] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [567] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), }; #ifdef __cplusplus diff --git a/tests/dust_examples.rs b/tests/dust_examples.rs deleted file mode 100644 index 0daea19..0000000 --- a/tests/dust_examples.rs +++ /dev/null @@ -1,57 +0,0 @@ -use std::fs::read_to_string; - -use dust::*; - -#[test] -fn collections() { - let file_contents = read_to_string("examples/collections.ds").unwrap(); - - for result in eval(&file_contents) { - result.unwrap(); - } -} - -#[test] -fn list() { - let file_contents = read_to_string("examples/list.ds").unwrap(); - - for result in eval(&file_contents) { - result.unwrap(); - } -} - -#[test] -fn table() { - let file_contents = read_to_string("examples/table.ds").unwrap(); - - for result in eval(&file_contents) { - result.unwrap(); - } -} - -#[test] -fn variables() { - let file_contents = read_to_string("examples/variables.ds").unwrap(); - - for result in eval(&file_contents) { - result.unwrap(); - } -} - -#[test] -fn scope() { - let file_contents = read_to_string("examples/scope.ds").unwrap(); - - for result in eval(&file_contents) { - result.unwrap(); - } -} - -#[test] -fn data_formats() { - let file_contents = read_to_string("examples/data_formats.ds").unwrap(); - - for result in eval(&file_contents) { - result.unwrap(); - } -}