parser: lambda function literals

This commit is contained in:
2026-04-28 20:29:18 +02:00
parent 3126d0ccd7
commit 86973c92fa
3 changed files with 32 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ void print_node(noomP_Node* node, noom_uint_t depth) {
int main(int argc, char** argv) {
// uhh uhhh uhhhhh
const char* code = "local function a(a, ...) local a = 2 end";
const char* code = "local a = function(a,b,c,...) print('hi'); end";
noom_uint_t pos = 0;
printf("LEX OUTPUT:\n");