boilerplate hopefully down

This commit is contained in:
2026-08-03 17:02:20 +10:00
parent 87208566fc
commit b4cb3aa56e
15 changed files with 286 additions and 21 deletions

17
src/instruction.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef __GRAVITY__INSTRUCTION_H
#define __GRAVITY__INSTRUCTION_H
#include "value.h"
#include <stddef.h>
typedef enum {
GravityOpcodeAdd = 0
} GravityOpcode;
typedef struct {
GravityOpcode opcode;
GravityValue* operands;
size_t numOperands;
} GravityInstruction;
#endif