wip: working on walker (externs)

Begin working on extern walking (libs metadata collet + opcode gen)
This commit is contained in:
samsonium
2026-10-31 18:45:33 +03:00
parent a4aa220cfa
commit 4d9c4ddd21
5 changed files with 40 additions and 4 deletions
+3 -2
View File
@@ -20,8 +20,9 @@ typedef enum
FZL_OPCODE_JMP = 0xF20001, // Jump to specified IP address
FZL_OPCODE_JZ = 0xF20002, // Jump if top value in dstack is zero
FZL_OPCODE_CALL = 0xF30001, // Call function
FZL_OPCODE_RET = 0xF30002, // Return from function
FZL_OPCODE_CALL = 0xF30001, // Call function
FZL_OPCODE_RET = 0xF30002, // Return from function
FZL_OPCODE_CALL_EXTERN = 0xF30003, // Call external function
FZL_OPCODE_ALLOC_OBJECT = 0xFA0001, // Allocate N slots
FZL_OPCODE_GET_FIELD = 0xFA0002, // Get field N of an object at dstack