start working on runtime

This commit is contained in:
2025-06-20 02:50:05 +01:00
parent e5e4f22481
commit bddfb59886
7 changed files with 55 additions and 10 deletions

19
src/runtime/runtime.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef RUNTIME_H
#define RUNTIME_H
#include "../translator/translator.h"
typedef struct {
uint64_t *registers;
size_t head;
} RuntimeState;
typedef struct {
} ArObject;
void run_instruction(Translated *translated, RuntimeState *state);
void runtime(Translated translated);
#endif // RUNTIME_H