parser: returns

This commit is contained in:
2026-04-29 12:28:14 +02:00
parent 86973c92fa
commit 7ad81d55e2
3 changed files with 88 additions and 1 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 a = function(a,b,c,...) print('hi'); end";
const char* code = "function fact(n) if n == 0 then return 1 end return n*fact(n-1) end";
noom_uint_t pos = 0;
printf("LEX OUTPUT:\n");