ref: merge stack and arg_stack into single stack

This commit is contained in:
samsonium
2026-10-11 06:00:26 +03:00
parent e01bf6e4ab
commit 028c8270f7
5 changed files with 38 additions and 48 deletions
-1
View File
@@ -5,7 +5,6 @@
typedef enum
{
FZL_OPCODE_LOADCONST, // Load const into T (temp) reg
FZL_OPCODE_PUSHARG, // Push argument from T into args stack
FZL_OPCODE_CALL_BUILTIN, // Call builtin function
FZL_OPCODE_PUSHNUM, // Push number into stack
+10
View File
@@ -0,0 +1,10 @@
#ifndef FZL_TYPES_H
#define FZL_TYPES_H
typedef enum
{
FZL_TYPE_STRING,
FZL_TYPE_NUMBER
} fzl_type_t;
#endif // FZL_TYPES_H