compiler.c and other minor tweaks #7

Merged
Blendi merged 3 commits from tema5002/noom:main into main 2026-06-09 20:11:30 +02:00
Showing only changes of commit efe86cebb4 - Show all commits

View File

@@ -119,6 +119,7 @@ static noomV_Opcode noomC_what_bop_is_this(const noomP_Parser *parser, noom_uint
if (noom_startswith(parser->code + offset, "^")) return NOOMV_INSTR_POW;
if (noom_startswith(parser->code + offset, "<")) return NOOMV_INSTR_LT;
if (noom_startswith(parser->code + offset, ">")) return NOOMV_INSTR_GT;
return 0;
}
// mmap ahh function 🥀🥀🥀🥀🥀🥀🥀
@@ -366,4 +367,5 @@ noom_Exit noomC_compile(noom_LuaVM *vm, const noomP_Parser *parser, const noomP_
}
vm->mainThread->stack[vm->mainThread->stacklen++] =
(noomV_Value){.tag = NOOMV_VOBJ, .autoclose = 0, .isptr = 0, .obj = (noomV_Object*)program};
return NOOM_OK
}