write bytecode debugging script and start working on functions

This commit is contained in:
2025-06-15 05:05:33 +01:00
parent dd1ba0c0a6
commit e5e4f22481
13 changed files with 204 additions and 36 deletions

View File

@@ -7,7 +7,7 @@
#include <stddef.h>
#include <stdint.h>
typedef enum { OP_LOAD_CONST = 255, OP_DECLARE, OP_LOAD_NULL, OP_JUMP } OperationType;
typedef enum { OP_LOAD_CONST = 255, OP_DECLARE, OP_LOAD_NULL } OperationType;
typedef enum { TYPE_OP_STRING = 255, TYPE_OP_NUMBER } types;
typedef struct {